Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2014 16:26:08 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363493 - in head/net-mgmt/docsis: . files
Message-ID:  <201407301626.s6UGQ8L2007327@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Wed Jul 30 16:26:08 2014
New Revision: 363493
URL: http://svnweb.freebsd.org/changeset/ports/363493
QAT: https://qat.redports.org/buildarchive/r363493/

Log:
  net-mgmt/docsis: update to 0.9.6
  
  - Add LICENSE
  - Support stage
  - Define options
  
  PR:		192212
  Submitted by:	tkato432 yahoo com

Deleted:
  head/net-mgmt/docsis/files/patch-configure
  head/net-mgmt/docsis/files/patch-md5.h
Modified:
  head/net-mgmt/docsis/Makefile
  head/net-mgmt/docsis/distinfo
  head/net-mgmt/docsis/pkg-plist

Modified: head/net-mgmt/docsis/Makefile
==============================================================================
--- head/net-mgmt/docsis/Makefile	Wed Jul 30 16:17:39 2014	(r363492)
+++ head/net-mgmt/docsis/Makefile	Wed Jul 30 16:26:08 2014	(r363493)
@@ -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
+	@${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.post.mk>
+.include <bsd.port.mk>

Modified: head/net-mgmt/docsis/distinfo
==============================================================================
--- head/net-mgmt/docsis/distinfo	Wed Jul 30 16:17:39 2014	(r363492)
+++ head/net-mgmt/docsis/distinfo	Wed Jul 30 16:26:08 2014	(r363493)
@@ -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

Modified: head/net-mgmt/docsis/pkg-plist
==============================================================================
--- head/net-mgmt/docsis/pkg-plist	Wed Jul 30 16:17:39 2014	(r363492)
+++ head/net-mgmt/docsis/pkg-plist	Wed Jul 30 16:26:08 2014	(r363493)
@@ -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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407301626.s6UGQ8L2007327>