summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgrant <grant>2002-06-25 04:12:52 +0000
committergrant <grant>2002-06-25 04:12:52 +0000
commitb1bbe05f3dc3b3b3effe8c4238a3c39201128337 (patch)
tree5f5b5057d22491919143fce4e2e2f8e1a6e13fb6 /net
parente4a70ddf5233c2444eb04e6f156ab1f70ed3b1ae (diff)
downloadpkgsrc-b1bbe05f3dc3b3b3effe8c4238a3c39201128337.tar.gz
Initial import of docsis-0.7.5.
docsis is a small program that can be used to generate binary configuration files for DOCSIS-compliant cable modems. It can be used to implement a cable modem provisioning system, as well as testing of DOCSIS-compliant cable modems.
Diffstat (limited to 'net')
-rw-r--r--net/docsis/DESCR5
-rw-r--r--net/docsis/Makefile29
-rw-r--r--net/docsis/PLIST22
-rw-r--r--net/docsis/distinfo5
-rw-r--r--net/docsis/patches/patch-aa15
5 files changed, 76 insertions, 0 deletions
diff --git a/net/docsis/DESCR b/net/docsis/DESCR
new file mode 100644
index 00000000000..9c333d5a286
--- /dev/null
+++ b/net/docsis/DESCR
@@ -0,0 +1,5 @@
+docsis is a small program that can be used to generate binary
+configuration files for DOCSIS-compliant cable modems.
+
+It can be used to implement a cable modem provisioning system, as well
+as testing of DOCSIS-compliant cable modems.
diff --git a/net/docsis/Makefile b/net/docsis/Makefile
new file mode 100644
index 00000000000..50149b98036
--- /dev/null
+++ b/net/docsis/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/06/25 04:12:52 grant Exp $
+#
+
+DISTNAME= docsis-0.7.5-RELEASE
+PKGNAME= ${DISTNAME:S/-RELEASE//}
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docsis/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= grant@netbsd.org
+HOMEPAGE= http://docsis.sourceforge.net/
+COMMENT= utility for manipulating DOCSIS-compliant cable modems
+
+BUILD_DEPENDS+= bison>=1.25:../../devel/bison
+USE_BUILDLINK_ONLY= # defined
+
+ALL_TARGET= docsis
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/docsis ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/docsis
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/docsis
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/docsis
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/docsis
+ cd ${WRKSRC}/examples; ${PAX} -rw . ${PREFIX}/share/examples/docsis
+
+.include "../../security/openssl/buildlink.mk"
+.include "../../net/ucd-snmp/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/docsis/PLIST b/net/docsis/PLIST
new file mode 100644
index 00000000000..97fa91082f3
--- /dev/null
+++ b/net/docsis/PLIST
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/25 04:12:52 grant Exp $
+bin/docsis
+share/doc/docsis/CHANGES
+share/doc/docsis/README
+share/examples/docsis/docsis20.cfg
+share/examples/docsis/docsis20_no_snmp.cfg
+share/examples/docsis/example-non-rfc2669.cfg
+share/examples/docsis/example.cfg
+share/examples/docsis/hoof-lab.cfg
+share/examples/docsis/hoof-lab1.cfg
+share/examples/docsis/keyfile
+share/examples/docsis/modem-b.cfg
+share/examples/docsis/modem-oid.cfg
+share/examples/docsis/modem-text.cfg
+share/examples/docsis/modem.cfg
+share/examples/docsis/modem1.cfg
+share/examples/docsis/rolab-oid.cfg
+share/examples/docsis/rolab-text.cfg
+share/examples/docsis/snmp20.cfg
+share/examples/docsis/testkey.key
+@dirrm share/examples/docsis
+@dirrm share/doc/docsis
diff --git a/net/docsis/distinfo b/net/docsis/distinfo
new file mode 100644
index 00000000000..8d864dde3e4
--- /dev/null
+++ b/net/docsis/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/06/25 04:12:52 grant Exp $
+
+SHA1 (docsis-0.7.5-RELEASE.tgz) = 2bf8ffd0af0dd6dcebaf2f657cad2196c05b3ac6
+Size (docsis-0.7.5-RELEASE.tgz) = 42517 bytes
+SHA1 (patch-aa) = 5e0fec5f4d12e467d57b1dd2fff0a1a690ad4753
diff --git a/net/docsis/patches/patch-aa b/net/docsis/patches/patch-aa
new file mode 100644
index 00000000000..56cd3d3ab12
--- /dev/null
+++ b/net/docsis/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/06/25 04:12:53 grant Exp $
+
+--- Makefile.orig Tue Jun 25 23:29:11 2002
++++ Makefile Tue Jun 25 23:31:55 2002
+@@ -7,8 +7,8 @@
+ # -lcrypto is OpenSSL.
+ #
+ # CFLAGS = -g -Wall -I/usr/local/include
+-CFLAGS = -g -Wall -I/opt/ucd-snmp-4.2/include
+-LIBS = -L/opt/ucd-snmp-4.2/lib -lsnmp -lcrypto -lnsl -lfl -lm
++CFLAGS = -g -Wall ${CPPFLAGS}
++LIBS = ${LDFLAGS} -lsnmp -lcrypto -lfl -lm
+
+ docsis: Makefile docsis_decode.o docsis_yy.o docsis_main.o md5.o hmac_md5.o docsis_snmp.o ethermac.h ethermac.o version.h docsis_encode.o
+ $(CC) $(CFLAGS) $(DEFS) -g -o docsis docsis_main.o docsis_encode.o docsis_decode.o docsis_yy.o md5.o hmac_md5.o docsis_snmp.o ethermac.o $(LIBS)