1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

add confregdecode

Cisco Systems IOS(tm) configuration register decoder

PR:		27631
Submitted by:	Joe Marcus Clarke <marcus@marcuscom.com>
This commit is contained in:
Ying-Chieh Liao 2001-05-29 17:02:57 +00:00
parent cfe6e9364d
commit 17863b3fc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43279
15 changed files with 163 additions and 0 deletions

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (confregdecode-src-1.0.tar.gz) = 3bd8ec11e298f42b2ae0f672940cf5d6

View File

@ -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

View File

@ -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

View File

@ -0,0 +1 @@
Cisco Systems IOS(tm) configuration register decoder

View File

@ -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

View File

@ -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

View File

@ -49,6 +49,7 @@
SUBDIR += coda_intro
SUBDIR += coda_server
SUBDIR += conference
SUBDIR += confregdecode
SUBDIR += corkscrew
SUBDIR += crescendo
SUBDIR += cricket

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (confregdecode-src-1.0.tar.gz) = 3bd8ec11e298f42b2ae0f672940cf5d6

View File

@ -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

View File

@ -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

View File

@ -0,0 +1 @@
Cisco Systems IOS(tm) configuration register decoder

View File

@ -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

View File

@ -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