From 03bf2e359e8ce65df672e06779e7097eddd2e1b6 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 10 Feb 2010 17:32:17 +0000 Subject: Retire flan. --- net/Makefile | 4 +--- net/flan/DESCR | 10 ---------- net/flan/Makefile | 35 ----------------------------------- net/flan/PLIST | 6 ------ net/flan/distinfo | 6 ------ net/flan/files/flan | 1 - net/flan/patches/patch-aa | 35 ----------------------------------- 7 files changed, 1 insertion(+), 96 deletions(-) delete mode 100644 net/flan/DESCR delete mode 100644 net/flan/Makefile delete mode 100644 net/flan/PLIST delete mode 100644 net/flan/distinfo delete mode 100644 net/flan/files/flan delete mode 100644 net/flan/patches/patch-aa diff --git a/net/Makefile b/net/Makefile index 28191dea59b..1f508a96016 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.798 2010/02/10 17:13:02 joerg Exp $ +# $NetBSD: Makefile,v 1.799 2010/02/10 17:32:17 joerg Exp $ # COMMENT= Networking tools @@ -35,7 +35,6 @@ SUBDIR+= balance SUBDIR+= barnyard SUBDIR+= batchftp SUBDIR+= bftpd -SUBDIR+= bind9 SUBDIR+= bind95 SUBDIR+= bind96 SUBDIR+= bing @@ -111,7 +110,6 @@ SUBDIR+= fair-identd SUBDIR+= fetch SUBDIR+= filezilla SUBDIR+= firewalk -SUBDIR+= flan SUBDIR+= flodo SUBDIR+= flow-tools SUBDIR+= fmirror diff --git a/net/flan/DESCR b/net/flan/DESCR deleted file mode 100644 index 1f0c819268c..00000000000 --- a/net/flan/DESCR +++ /dev/null @@ -1,10 +0,0 @@ -Flan is a network simluator written in java, and is now fully -functionnal. The IP protocol is implemented, with a quite complete -RIPv2 routing algorithm. The protocols are also written in java, so -GO AHEAD ! Flan is under GNU Public License, so download it, modify -it, and distribute it. - -The networks are now encoded in XML, using XMLCoDe. This very useful -library (included in the flan tarball as jars) automatically creates -an XML image of a java object, like the flan nets (XMLCoDe is entirely -written by Sylvain Guerin). diff --git a/net/flan/Makefile b/net/flan/Makefile deleted file mode 100644 index d94cbb76492..00000000000 --- a/net/flan/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# $NetBSD: Makefile,v 1.19 2006/03/04 21:30:18 jlam Exp $ -# - -DISTNAME= Flan -PKGNAME= flan-1.1rc1 -PKGREVISION= 1 -CATEGORIES= net java -MASTER_SITES= http://picolibre.enst-bretagne.fr/projects/flan/ - -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://picolibre.enst-bretagne.fr/projects/flan/index.html -COMMENT= Simulator for IP networks written in Java - -WRKSRC= ${WRKDIR}/src -USE_JAVA= yes -PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 jdk14 -USE_TOOLS+= gmake -INSTALLATION_DIRS= bin - -post-build: - cd ${WRKSRC} ; ${PKG_JAVA_HOME}/bin/jar cf flan.jar flan/ graphic/ - ${SED} -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g' \ - -e 's,@PREFIX@,${PREFIX},g' \ - < ${FILESDIR}/flan > ${WRKDIR}/flan - -do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib/java/flan - ${INSTALL_DATA} ${WRKSRC}/xmlcode.jar ${PREFIX}/lib/java/flan - ${INSTALL_DATA} ${WRKSRC}/xalan2.jar ${PREFIX}/lib/java/flan - ${INSTALL_DATA} ${WRKSRC}/crimson.jar ${PREFIX}/lib/java/flan - ${INSTALL_DATA} ${WRKSRC}/flan.jar ${PREFIX}/lib/java/flan - ${INSTALL_SCRIPT} ${WRKDIR}/flan ${PREFIX}/bin - -.include "../../mk/java-vm.mk" -.include "../../mk/bsd.pkg.mk" diff --git a/net/flan/PLIST b/net/flan/PLIST deleted file mode 100644 index 9862771721a..00000000000 --- a/net/flan/PLIST +++ /dev/null @@ -1,6 +0,0 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:09:27 joerg Exp $ -bin/flan -lib/java/flan/crimson.jar -lib/java/flan/flan.jar -lib/java/flan/xalan2.jar -lib/java/flan/xmlcode.jar diff --git a/net/flan/distinfo b/net/flan/distinfo deleted file mode 100644 index 5443620650c..00000000000 --- a/net/flan/distinfo +++ /dev/null @@ -1,6 +0,0 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 12:13:46 agc Exp $ - -SHA1 (Flan.tar.gz) = 7f6eaf55abd6f4318db2e7bdca2c6ae65fbbd355 -RMD160 (Flan.tar.gz) = ebb0fdd4873f42d85d5c306db1a2549e4bbff281 -Size (Flan.tar.gz) = 990458 bytes -SHA1 (patch-aa) = dc5d016fe8bb77259f1fb20bad400d8da05b61d6 diff --git a/net/flan/files/flan b/net/flan/files/flan deleted file mode 100644 index d642b4f1c35..00000000000 --- a/net/flan/files/flan +++ /dev/null @@ -1 +0,0 @@ -@JAVA_HOME@/bin/java -classpath $CLASSPATH:@PREFIX@/lib/java/flan/flan.jar:@PREFIX@/lib/java/flan/crimson.jar:@PREFIX@/lib/java/flan/xalan2.jar:@PREFIX@/lib/java/flan/xmlcode.jar flan.frontend.Interface diff --git a/net/flan/patches/patch-aa b/net/flan/patches/patch-aa deleted file mode 100644 index 89be120381d..00000000000 --- a/net/flan/patches/patch-aa +++ /dev/null @@ -1,35 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2002/07/24 11:59:02 agc Exp $ - ---- graphic/Graphique.java 2002/07/24 11:42:22 1.1 -+++ graphic/Graphique.java 2002/07/24 11:48:27 -@@ -46,6 +46,7 @@ - public class Graphique extends CBufferedCanvas implements ItemListener - { - protected StatManager statManager; -+ protected boolean statManagerSet; - - /** - * The list of all the traces -@@ -112,6 +113,7 @@ - public void setStatManager(StatManager statManager) - { - this.statManager = statManager; -+ this.statManagerSet = true; - } - - /** -@@ -178,7 +180,13 @@ - - // At first, see if the trace is in out bounds - -- int iteration= statManager.getIteration(); // just a temp variable -+ int iteration; -+ -+ if (statManagerSet) -+ iteration = statManager.getIteration(); // just a temp variable -+ else -+ iteration = 0; -+ - - if (iteration > xMax) - xMax = iteration; -- cgit v1.2.3