aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/confregdecode
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-29 17:02:57 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-29 17:02:57 +0000
commit17863b3fc99a8b46ab4ef6df895f357208bb4ea7 (patch)
tree2a64d76681248d9607b693868830270d7a0df7b3 /net-mgmt/confregdecode
parentcfe6e9364d9d1a80e7dd437aa2d6bfad4ed77d09 (diff)
downloadports-17863b3fc99a8b46ab4ef6df895f357208bb4ea7.tar.gz
ports-17863b3fc99a8b46ab4ef6df895f357208bb4ea7.zip
Notes
Diffstat (limited to 'net-mgmt/confregdecode')
-rw-r--r--net-mgmt/confregdecode/Makefile37
-rw-r--r--net-mgmt/confregdecode/distinfo1
-rw-r--r--net-mgmt/confregdecode/files/confregdecode14
-rw-r--r--net-mgmt/confregdecode/files/patch-ab13
-rw-r--r--net-mgmt/confregdecode/pkg-comment1
-rw-r--r--net-mgmt/confregdecode/pkg-descr9
-rw-r--r--net-mgmt/confregdecode/pkg-plist6
7 files changed, 81 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