pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net Retire flan.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4de725928121
branches:  trunk
changeset: 571268:4de725928121
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Feb 10 17:32:17 2010 +0000

description:
Retire flan.

diffstat:

 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 insertions(+), 96 deletions(-)

diffs (142 lines):

diff -r 1cf1f863aa43 -r 4de725928121 net/Makefile
--- a/net/Makefile      Wed Feb 10 17:31:00 2010 +0000
+++ b/net/Makefile      Wed Feb 10 17:32:17 2010 +0000
@@ -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+=       barnyard
 SUBDIR+=       batchftp
 SUBDIR+=       bftpd
-SUBDIR+=       bind9
 SUBDIR+=       bind95
 SUBDIR+=       bind96
 SUBDIR+=       bing
@@ -111,7 +110,6 @@
 SUBDIR+=       fetch
 SUBDIR+=       filezilla
 SUBDIR+=       firewalk
-SUBDIR+=       flan
 SUBDIR+=       flodo
 SUBDIR+=       flow-tools
 SUBDIR+=       fmirror
diff -r 1cf1f863aa43 -r 4de725928121 net/flan/DESCR
--- a/net/flan/DESCR    Wed Feb 10 17:31:00 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 1cf1f863aa43 -r 4de725928121 net/flan/Makefile
--- a/net/flan/Makefile Wed Feb 10 17:31:00 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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@localhost
-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 -r 1cf1f863aa43 -r 4de725928121 net/flan/PLIST
--- a/net/flan/PLIST    Wed Feb 10 17:31:00 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 1cf1f863aa43 -r 4de725928121 net/flan/distinfo
--- a/net/flan/distinfo Wed Feb 10 17:31:00 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 1cf1f863aa43 -r 4de725928121 net/flan/files/flan
--- a/net/flan/files/flan       Wed Feb 10 17:31:00 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,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 -r 1cf1f863aa43 -r 4de725928121 net/flan/patches/patch-aa
--- a/net/flan/patches/patch-aa Wed Feb 10 17:31:00 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index