diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-05-30 01:02:57 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-05-30 01:02:57 +0800 |
commit | 7e1be96bb16365330995072265134f17e42b914c (patch) | |
tree | fdd2eb4780f1fde4ded7200a9dd18d52f88336ca | |
parent | 0cd3b558a2ec03ebdd484e3fc73daea22fbb1ec0 (diff) | |
download | freebsd-ports-gnome-7e1be96bb16365330995072265134f17e42b914c.tar.gz freebsd-ports-gnome-7e1be96bb16365330995072265134f17e42b914c.tar.zst freebsd-ports-gnome-7e1be96bb16365330995072265134f17e42b914c.zip |
add confregdecode
Cisco Systems IOS(tm) configuration register decoder
PR: 27631
Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
-rw-r--r-- | net-mgmt/confregdecode/Makefile | 37 | ||||
-rw-r--r-- | net-mgmt/confregdecode/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/confregdecode/files/confregdecode | 14 | ||||
-rw-r--r-- | net-mgmt/confregdecode/files/patch-ab | 13 | ||||
-rw-r--r-- | net-mgmt/confregdecode/pkg-comment | 1 | ||||
-rw-r--r-- | net-mgmt/confregdecode/pkg-descr | 9 | ||||
-rw-r--r-- | net-mgmt/confregdecode/pkg-plist | 6 | ||||
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/confregdecode/Makefile | 37 | ||||
-rw-r--r-- | net/confregdecode/distinfo | 1 | ||||
-rw-r--r-- | net/confregdecode/files/confregdecode | 14 | ||||
-rw-r--r-- | net/confregdecode/files/patch-ab | 13 | ||||
-rw-r--r-- | net/confregdecode/pkg-comment | 1 | ||||
-rw-r--r-- | net/confregdecode/pkg-descr | 9 | ||||
-rw-r--r-- | net/confregdecode/pkg-plist | 6 |
15 files changed, 163 insertions, 0 deletions
diff --git a/net-mgmt/confregdecode/Makefile b/net-mgmt/confregdecode/Makefile new file mode 100644 index 000000000000..ac6e49f971d0 --- /dev/null +++ b/net-mgmt/confregdecode/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: The cisco Systems IOS(tm) config register decoder +# Date created: 24 May 2001 +# Whom: Joe Clarke <marcus@marcuscom.com> +# +# $FreeBSD$ +# + +PORTNAME= confregdecode +PORTVERSION= 1.0 +CATEGORIES= net java +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= cosi-nms +DISTNAME= confregdecode-src-${PORTVERSION} + +MAINTAINER= marcus@marcuscom.com + +BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk +RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk \ + ${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper + +ALL_TARGET= jar + +do-install: + @${MKDIR} ${PREFIX}/share/java + @${INSTALL_DATA} ${WRKSRC}/confregdecode.jar ${LOCALBASE}/share/java + @${SED} \ + -e s,%%PREFIX%%,${PREFIX}, \ + -e s,%%LOCALBASE%%,${LOCALBASE}, \ + < ${FILESDIR}/confregdecode > ${PREFIX}/bin/confregdecode; \ + ${CHMOD} a+x ${PREFIX}/bin/confregdecode + +post-install: + @${MKDIR} ${PREFIX}/share/doc/confregdecode + @${INSTALL_DATA} ${WRKSRC}/README.txt ${LOCALBASE}/share/doc/confregdecode + @${INSTALL_DATA} ${WRKSRC}/ConfregDecode.html ${LOCALBASE}/share/doc/confregdecode + +.include <bsd.port.mk> diff --git a/net-mgmt/confregdecode/distinfo b/net-mgmt/confregdecode/distinfo new file mode 100644 index 000000000000..58d3f03cf77d --- /dev/null +++ b/net-mgmt/confregdecode/distinfo @@ -0,0 +1 @@ +MD5 (confregdecode-src-1.0.tar.gz) = 3bd8ec11e298f42b2ae0f672940cf5d6 diff --git a/net-mgmt/confregdecode/files/confregdecode b/net-mgmt/confregdecode/files/confregdecode new file mode 100644 index 000000000000..bc401781ca8a --- /dev/null +++ b/net-mgmt/confregdecode/files/confregdecode @@ -0,0 +1,14 @@ +#!/bin/sh + +# +# Copyright (c)2000-2001 by MarcusCom, Inc. All rights reserved. +# $Id: confregdecode.sh,v 1.3 2001/05/24 20:22:44 jmarcus Exp $ +# + +# Change this to your path to jre +JRE=%%LOCALBASE%%/bin/javavm +# End changeable things + +CLASSPATH=%%PREFIX%%/share/java/confregdecode.jar:${CLASSPATH} + +exec ${JRE} -classpath ${CLASSPATH} com.marcuscom.confregdecode.ConfregDecode diff --git a/net-mgmt/confregdecode/files/patch-ab b/net-mgmt/confregdecode/files/patch-ab new file mode 100644 index 000000000000..d6d7acf981b5 --- /dev/null +++ b/net-mgmt/confregdecode/files/patch-ab @@ -0,0 +1,13 @@ +--- Makefile.orig Thu May 24 22:06:27 2001 ++++ Makefile Thu May 24 22:06:42 2001 +@@ -12,8 +12,8 @@ + $(JAVAC) $(JAVAC_FLAGS) com/marcuscom/confregdecode/ConfregDecode.java + + jar: all +- jar -cvf cd.jar com/marcuscom/confregdecode/*.class ++ jar -cvf confregdecode.jar com/marcuscom/confregdecode/*.class + + clean: + $(RM) -f com/marcuscom/confregdecode/*.class +- $(RM) -f cd.jar ++ $(RM) -f cconfregdecode.jar diff --git a/net-mgmt/confregdecode/pkg-comment b/net-mgmt/confregdecode/pkg-comment new file mode 100644 index 000000000000..e39fab55360b --- /dev/null +++ b/net-mgmt/confregdecode/pkg-comment @@ -0,0 +1 @@ +Cisco Systems IOS(tm) configuration register decoder diff --git a/net-mgmt/confregdecode/pkg-descr b/net-mgmt/confregdecode/pkg-descr new file mode 100644 index 000000000000..8d1b80d7fe7b --- /dev/null +++ b/net-mgmt/confregdecode/pkg-descr @@ -0,0 +1,9 @@ +This is a Java applet and application that can encode and decode a Cisco +router's configuration register. + +It also shows some valuable notes for each router family that can help +with disaster recovery. + +It is being released as part of the Cisco-centric Open Source Initiative. + +WWW: http://cosi-nms.sourceforge.net diff --git a/net-mgmt/confregdecode/pkg-plist b/net-mgmt/confregdecode/pkg-plist new file mode 100644 index 000000000000..f9871f8f458b --- /dev/null +++ b/net-mgmt/confregdecode/pkg-plist @@ -0,0 +1,6 @@ +bin/confregdecode +share/java/confregdecode.jar +share/doc/confregdecode/README.txt +share/doc/confregdecode/ConfregDecode.html +@dirrm share/doc/confregdecode +@unexec rmdir %D/share/java || true diff --git a/net/Makefile b/net/Makefile index 25ff939fa3a0..9322cb4786bf 100644 --- a/net/Makefile +++ b/net/Makefile @@ -49,6 +49,7 @@ SUBDIR += coda_intro SUBDIR += coda_server SUBDIR += conference + SUBDIR += confregdecode SUBDIR += corkscrew SUBDIR += crescendo SUBDIR += cricket diff --git a/net/confregdecode/Makefile b/net/confregdecode/Makefile new file mode 100644 index 000000000000..ac6e49f971d0 --- /dev/null +++ b/net/confregdecode/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: The cisco Systems IOS(tm) config register decoder +# Date created: 24 May 2001 +# Whom: Joe Clarke <marcus@marcuscom.com> +# +# $FreeBSD$ +# + +PORTNAME= confregdecode +PORTVERSION= 1.0 +CATEGORIES= net java +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= cosi-nms +DISTNAME= confregdecode-src-${PORTVERSION} + +MAINTAINER= marcus@marcuscom.com + +BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk +RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk \ + ${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper + +ALL_TARGET= jar + +do-install: + @${MKDIR} ${PREFIX}/share/java + @${INSTALL_DATA} ${WRKSRC}/confregdecode.jar ${LOCALBASE}/share/java + @${SED} \ + -e s,%%PREFIX%%,${PREFIX}, \ + -e s,%%LOCALBASE%%,${LOCALBASE}, \ + < ${FILESDIR}/confregdecode > ${PREFIX}/bin/confregdecode; \ + ${CHMOD} a+x ${PREFIX}/bin/confregdecode + +post-install: + @${MKDIR} ${PREFIX}/share/doc/confregdecode + @${INSTALL_DATA} ${WRKSRC}/README.txt ${LOCALBASE}/share/doc/confregdecode + @${INSTALL_DATA} ${WRKSRC}/ConfregDecode.html ${LOCALBASE}/share/doc/confregdecode + +.include <bsd.port.mk> diff --git a/net/confregdecode/distinfo b/net/confregdecode/distinfo new file mode 100644 index 000000000000..58d3f03cf77d --- /dev/null +++ b/net/confregdecode/distinfo @@ -0,0 +1 @@ +MD5 (confregdecode-src-1.0.tar.gz) = 3bd8ec11e298f42b2ae0f672940cf5d6 diff --git a/net/confregdecode/files/confregdecode b/net/confregdecode/files/confregdecode new file mode 100644 index 000000000000..bc401781ca8a --- /dev/null +++ b/net/confregdecode/files/confregdecode @@ -0,0 +1,14 @@ +#!/bin/sh + +# +# Copyright (c)2000-2001 by MarcusCom, Inc. All rights reserved. +# $Id: confregdecode.sh,v 1.3 2001/05/24 20:22:44 jmarcus Exp $ +# + +# Change this to your path to jre +JRE=%%LOCALBASE%%/bin/javavm +# End changeable things + +CLASSPATH=%%PREFIX%%/share/java/confregdecode.jar:${CLASSPATH} + +exec ${JRE} -classpath ${CLASSPATH} com.marcuscom.confregdecode.ConfregDecode diff --git a/net/confregdecode/files/patch-ab b/net/confregdecode/files/patch-ab new file mode 100644 index 000000000000..d6d7acf981b5 --- /dev/null +++ b/net/confregdecode/files/patch-ab @@ -0,0 +1,13 @@ +--- Makefile.orig Thu May 24 22:06:27 2001 ++++ Makefile Thu May 24 22:06:42 2001 +@@ -12,8 +12,8 @@ + $(JAVAC) $(JAVAC_FLAGS) com/marcuscom/confregdecode/ConfregDecode.java + + jar: all +- jar -cvf cd.jar com/marcuscom/confregdecode/*.class ++ jar -cvf confregdecode.jar com/marcuscom/confregdecode/*.class + + clean: + $(RM) -f com/marcuscom/confregdecode/*.class +- $(RM) -f cd.jar ++ $(RM) -f cconfregdecode.jar diff --git a/net/confregdecode/pkg-comment b/net/confregdecode/pkg-comment new file mode 100644 index 000000000000..e39fab55360b --- /dev/null +++ b/net/confregdecode/pkg-comment @@ -0,0 +1 @@ +Cisco Systems IOS(tm) configuration register decoder diff --git a/net/confregdecode/pkg-descr b/net/confregdecode/pkg-descr new file mode 100644 index 000000000000..8d1b80d7fe7b --- /dev/null +++ b/net/confregdecode/pkg-descr @@ -0,0 +1,9 @@ +This is a Java applet and application that can encode and decode a Cisco +router's configuration register. + +It also shows some valuable notes for each router family that can help +with disaster recovery. + +It is being released as part of the Cisco-centric Open Source Initiative. + +WWW: http://cosi-nms.sourceforge.net diff --git a/net/confregdecode/pkg-plist b/net/confregdecode/pkg-plist new file mode 100644 index 000000000000..f9871f8f458b --- /dev/null +++ b/net/confregdecode/pkg-plist @@ -0,0 +1,6 @@ +bin/confregdecode +share/java/confregdecode.jar +share/doc/confregdecode/README.txt +share/doc/confregdecode/ConfregDecode.html +@dirrm share/doc/confregdecode +@unexec rmdir %D/share/java || true |