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:
parent
cfe6e9364d
commit
17863b3fc9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43279
37
net-mgmt/confregdecode/Makefile
Normal file
37
net-mgmt/confregdecode/Makefile
Normal 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>
|
1
net-mgmt/confregdecode/distinfo
Normal file
1
net-mgmt/confregdecode/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (confregdecode-src-1.0.tar.gz) = 3bd8ec11e298f42b2ae0f672940cf5d6
|
14
net-mgmt/confregdecode/files/confregdecode
Normal file
14
net-mgmt/confregdecode/files/confregdecode
Normal 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
|
13
net-mgmt/confregdecode/files/patch-ab
Normal file
13
net-mgmt/confregdecode/files/patch-ab
Normal 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
|
1
net-mgmt/confregdecode/pkg-comment
Normal file
1
net-mgmt/confregdecode/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Cisco Systems IOS(tm) configuration register decoder
|
9
net-mgmt/confregdecode/pkg-descr
Normal file
9
net-mgmt/confregdecode/pkg-descr
Normal 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
|
6
net-mgmt/confregdecode/pkg-plist
Normal file
6
net-mgmt/confregdecode/pkg-plist
Normal 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
|
@ -49,6 +49,7 @@
|
||||
SUBDIR += coda_intro
|
||||
SUBDIR += coda_server
|
||||
SUBDIR += conference
|
||||
SUBDIR += confregdecode
|
||||
SUBDIR += corkscrew
|
||||
SUBDIR += crescendo
|
||||
SUBDIR += cricket
|
||||
|
37
net/confregdecode/Makefile
Normal file
37
net/confregdecode/Makefile
Normal 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>
|
1
net/confregdecode/distinfo
Normal file
1
net/confregdecode/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (confregdecode-src-1.0.tar.gz) = 3bd8ec11e298f42b2ae0f672940cf5d6
|
14
net/confregdecode/files/confregdecode
Normal file
14
net/confregdecode/files/confregdecode
Normal 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
|
13
net/confregdecode/files/patch-ab
Normal file
13
net/confregdecode/files/patch-ab
Normal 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
|
1
net/confregdecode/pkg-comment
Normal file
1
net/confregdecode/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Cisco Systems IOS(tm) configuration register decoder
|
9
net/confregdecode/pkg-descr
Normal file
9
net/confregdecode/pkg-descr
Normal 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
|
6
net/confregdecode/pkg-plist
Normal file
6
net/confregdecode/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user