aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/docsis
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2014-07-31 00:26:08 +0800
committerwg <wg@FreeBSD.org>2014-07-31 00:26:08 +0800
commit5c8081f7445d710e1746d777328ccec31a7bf506 (patch)
treeab4450a216e34fab853ac09f5e7435f2934e7bb6 /net-mgmt/docsis
parent1e5f69ec426329d9addd2db2aef225a665282719 (diff)
downloadfreebsd-ports-gnome-5c8081f7445d710e1746d777328ccec31a7bf506.tar.gz
freebsd-ports-gnome-5c8081f7445d710e1746d777328ccec31a7bf506.tar.zst
freebsd-ports-gnome-5c8081f7445d710e1746d777328ccec31a7bf506.zip
net-mgmt/docsis: update to 0.9.6
- Add LICENSE - Support stage - Define options PR: 192212 Submitted by: tkato432 yahoo com
Diffstat (limited to 'net-mgmt/docsis')
-rw-r--r--net-mgmt/docsis/Makefile26
-rw-r--r--net-mgmt/docsis/distinfo4
-rw-r--r--net-mgmt/docsis/files/patch-configure13
-rw-r--r--net-mgmt/docsis/files/patch-md5.h22
-rw-r--r--net-mgmt/docsis/pkg-plist108
5 files changed, 82 insertions, 91 deletions
diff --git a/net-mgmt/docsis/Makefile b/net-mgmt/docsis/Makefile
index cef056703502..273224ef8970 100644
--- a/net-mgmt/docsis/Makefile
+++ b/net-mgmt/docsis/Makefile
@@ -2,13 +2,14 @@
# $FreeBSD$
PORTNAME= docsis
-PORTVERSION= 0.9.5
-PORTREVISION= 5
+PORTVERSION= 0.9.6
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= DOCSIS(tm) binary configuration file encoder/decoder
+COMMENT= Binary configuration file encoder/decoder
+
+LICENSE= GPLv2 # (or later)
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
@@ -19,15 +20,16 @@ USES= bison
PLIST_SUB= MIBS=share/snmp/mibs
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+BROKEN_amd64= Produces corrupt files on amd64
-.if ${ARCH} == "amd64"
-BROKEN= Produces corrupt files on amd64
-.endif
+OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
- @${REINPLACE_CMD} -e 's|^htmldocdir =.*|htmldocdir = ${DOCSDIR}|' ${WRKSRC}/doc/Makefile.in
- @${REINPLACE_CMD} -e 's|^examplesdir =.*|examplesdir = ${EXAMPLESDIR}|' ${WRKSRC}/examples/Makefile.in
-
-.include <bsd.port.post.mk>
+ @${REINPLACE_CMD} -e \
+ '/^htmldocdir/s|share/docsis|share/doc/docsis|' \
+ ${WRKSRC}/doc/Makefile.in
+ @${REINPLACE_CMD} -e \
+ '/^examplesdir/s|docsis/examples|examples/docsis|' \
+ ${WRKSRC}/examples/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/docsis/distinfo b/net-mgmt/docsis/distinfo
index 1e209775b4ba..301fc91f694d 100644
--- a/net-mgmt/docsis/distinfo
+++ b/net-mgmt/docsis/distinfo
@@ -1,2 +1,2 @@
-SHA256 (docsis-0.9.5.tar.gz) = 4256fc4e60f8a336ddbeff6ff3fad0debf269239fbcc45fbf36ff5728125b11e
-SIZE (docsis-0.9.5.tar.gz) = 509674
+SHA256 (docsis-0.9.6.tar.gz) = 71633f58d29231b2084ebe993683a723bce813dbd893388563a21197aa3c0ca0
+SIZE (docsis-0.9.6.tar.gz) = 614310
diff --git a/net-mgmt/docsis/files/patch-configure b/net-mgmt/docsis/files/patch-configure
deleted file mode 100644
index e911629bc753..000000000000
--- a/net-mgmt/docsis/files/patch-configure
+++ /dev/null
@@ -1,13 +0,0 @@
---- configure.orig Wed Jul 6 01:53:59 2005
-+++ configure Wed Jul 11 00:09:11 2007
-@@ -19510,8 +19510,8 @@
- { (exit 1); exit 1; }; }
- else
- ac_m4_vers=`$M4 --version 2>/dev/null | head -1` ;
-- ac_is_gnu_m4=`echo $ac_m4_vers | cut -d' ' -f1`;
-- if test "x$ac_is_gnu_m4" = "xGNU"; then
-+ ac_is_gnu_m4=`echo $ac_m4_vers | grep GNU`;
-+ if test "x$ac_is_gnu_m4" != "x"; then
- echo "$as_me:$LINENO: result: found $ac_m4_vers at $M4 " >&5
- echo "${ECHO_T} found $ac_m4_vers at $M4 " >&6
- else
diff --git a/net-mgmt/docsis/files/patch-md5.h b/net-mgmt/docsis/files/patch-md5.h
deleted file mode 100644
index b82cd66a30f8..000000000000
--- a/net-mgmt/docsis/files/patch-md5.h
+++ /dev/null
@@ -1,22 +0,0 @@
-# $FreeBSD$
---- src/md5.h.orig 2004-03-17 07:09:31.000000000 -0800
-+++ src/md5.h 2009-05-07 19:41:20.000000000 -0700
-@@ -22,14 +22,16 @@
- documentation and/or software.
- */
-
-+#include <stdint.h>
-+
- /* POINTER defines a generic pointer type */
- typedef unsigned char *POINTER;
-
- /* UINT2 defines a two byte word */
--typedef unsigned short int UINT2;
-+typedef uint16_t UINT2;
-
- /* UINT4 defines a four byte word */
--typedef unsigned long int UINT4;
-+typedef uint32_t UINT4;
-
- /* MD5 context. */
- typedef struct {
diff --git a/net-mgmt/docsis/pkg-plist b/net-mgmt/docsis/pkg-plist
index 3f8b1448135e..8febeddfde4a 100644
--- a/net-mgmt/docsis/pkg-plist
+++ b/net-mgmt/docsis/pkg-plist
@@ -1,43 +1,67 @@
bin/docsis
-%%DOCSDIR%%/config-format.html
-%%DOCSDIR%%/config-settings.html
-%%DOCSDIR%%/index.html
-%%EXAMPLESDIR%%/docsis1.0_2class_non-rfc2669.cfg
-%%EXAMPLESDIR%%/docsis1.0_2class_rfc2669.cfg
-%%EXAMPLESDIR%%/docsis1.0_basic.cfg
-%%EXAMPLESDIR%%/docsis1.0_basic_bpi.cfg
-%%EXAMPLESDIR%%/docsis1.0_basic_upgrade.cfg
-%%EXAMPLESDIR%%/docsis1.0_example.cfg
-%%EXAMPLESDIR%%/docsis1.0_filters2_oidnum.cfg
-%%EXAMPLESDIR%%/docsis1.0_filters2_oidtext.cfg
-%%EXAMPLESDIR%%/docsis1.0_filters_NmAccess.cfg
-%%EXAMPLESDIR%%/docsis1.0_filters_oidnum.cfg
-%%EXAMPLESDIR%%/docsis1.0_filters_oidtext.cfg
-%%EXAMPLESDIR%%/docsis1.1_classifiers.cfg
-%%EXAMPLESDIR%%/docsis1.1_classifiers2.cfg
-%%EXAMPLESDIR%%/docsis1.1_oss_v3coex.cfg
-%%EXAMPLESDIR%%/docsis1.1_simple.cfg
-%%EXAMPLESDIR%%/docsis1.1_stress_test.cfg
-%%EXAMPLESDIR%%/docsis20.cfg
-%%EXAMPLESDIR%%/docsis20_no_snmp.cfg
-%%EXAMPLESDIR%%/docsis20_stresstest.cfg
-%%EXAMPLESDIR%%/keyfile
-%%EXAMPLESDIR%%/packetcable_mta.cfg
-%%EXAMPLESDIR%%/readme.txt
-%%EXAMPLESDIR%%/testkey.key
-%%MIBS%%/CLAB-DEF-MIB.txt
-%%MIBS%%/DOCS-BPI-MIB.mib
-%%MIBS%%/DOCS-BPI2-MIB.mib
-%%MIBS%%/DOCS-CABLE-DEVICE-MIB.mib
-%%MIBS%%/DOCS-CABLE-DEVICE-TRAP-MIB.mib
-%%MIBS%%/DOCS-IF-EXT-MIB.mib
-%%MIBS%%/DOCS-IF-MIB.mib
-%%MIBS%%/DOCS-QOS-MIB.mib
-%%MIBS%%/DOCS-SUBMGT-MIB.mib
-%%MIBS%%/IGMP-STD-MIB.mib
-%%MIBS%%/PKTC-EVENT-MIB.mib
-%%MIBS%%/PKTC-MTA-MIB.mib
-%%MIBS%%/PKTC-SIG-MIB.mib
-@dirrmtry %%MIBS%%
-@dirrm %%DOCSDIR%%
-@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/config-format.html
+%%PORTDOCS%%%%DOCSDIR%%/config-settings.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_2class_non-rfc2669.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_2class_non-rfc2669.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_2class_rfc2669.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_2class_rfc2669.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_basic.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_basic.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_basic_bpi.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_basic_bpi.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_basic_upgrade.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_basic_upgrade.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_example.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_example.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters2_oidnum.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters2_oidnum.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters2_oidtext.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters2_oidtext.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters_NmAccess.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters_NmAccess.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters_oidnum.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters_oidnum.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters_oidtext.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters_oidtext.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_classifiers.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_classifiers.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_classifiers2.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_classifiers2.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_oss_v3coex.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_oss_v3coex.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_simple.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_simple.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_stress_test.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_stress_test.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis20.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis20.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis20_no_snmp.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis20_no_snmp.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis20_stresstest.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis20_stresstest.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keyfile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/packetcable_mta.cfg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/packetcable_mta.txt
+%%MIBS%%/CLAB-DEF-MIB
+%%MIBS%%/DIFFSERV-DSCP-TC
+%%MIBS%%/DIFFSERV-MIB
+%%MIBS%%/DOCS-BPI-MIB
+%%MIBS%%/DOCS-BPI2-MIB
+%%MIBS%%/DOCS-CABLE-DEVICE-MIB
+%%MIBS%%/DOCS-CABLE-DEVICE-TRAP-MIB
+%%MIBS%%/DOCS-IF-EXT-MIB
+%%MIBS%%/DOCS-IF-MIB
+%%MIBS%%/DOCS-QOS-MIB
+%%MIBS%%/DOCS-SUBMGT-MIB
+%%MIBS%%/IGMP-STD-MIB
+%%MIBS%%/INTEGRATED-SERVICES-MIB
+%%MIBS%%/PKTC-EVENT-MIB
+%%MIBS%%/PKTC-IETF-SIG-MIB
+%%MIBS%%/PKTC-MTA-MIB
+%%MIBS%%/PKTC-SIG-MIB
+%%MIBS%%/RMON2-MIB
+%%MIBS%%/TOKEN-RING-RMON-MIB
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%