View | Details | Raw Unified | Return to bug 192212
Collapse All | Expand All

(-)net-mgmt/docsis/Makefile (-13 / +15 lines)
Lines 2-33 Link Here
2
# $FreeBSD: head/net-mgmt/docsis/Makefile 362806 2014-07-24 15:36:50Z bapt $
2
# $FreeBSD: head/net-mgmt/docsis/Makefile 362806 2014-07-24 15:36:50Z bapt $
3
3
4
PORTNAME=	docsis
4
PORTNAME=	docsis
5
PORTVERSION=	0.9.5
5
PORTVERSION=	0.9.6
6
PORTREVISION=	5
7
CATEGORIES=	net-mgmt
6
CATEGORIES=	net-mgmt
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
9
8
10
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	DOCSIS(tm) binary configuration file encoder/decoder
10
COMMENT=	Binary configuration file encoder/decoder
11
12
LICENSE=	GPLv2 # (or later)
12
13
13
BUILD_DEPENDS=	gm4:${PORTSDIR}/devel/m4
14
BUILD_DEPENDS=	gm4:${PORTSDIR}/devel/m4
14
LIB_DEPENDS=	libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
15
LIB_DEPENDS=	libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
15
16
16
GNU_CONFIGURE=	yes
17
USE_OPENSSL=	yes
18
USES=		bison
17
USES=		bison
18
USE_OPENSSL=	yes
19
GNU_CONFIGURE=	yes
19
20
20
PLIST_SUB=	MIBS=share/snmp/mibs
21
PLIST_SUB=	MIBS=share/snmp/mibs
21
22
22
NO_STAGE=	yes
23
BROKEN_amd64=	Produces corrupt files on amd64
23
.include <bsd.port.pre.mk>
24
24
25
.if ${ARCH} == "amd64"
25
OPTIONS_DEFINE=	DOCS EXAMPLES
26
BROKEN=		Produces corrupt files on amd64
27
.endif
28
26
29
post-patch:
27
post-patch:
30
	@${REINPLACE_CMD} -e 's|^htmldocdir =.*|htmldocdir = ${DOCSDIR}|' ${WRKSRC}/doc/Makefile.in
28
	@${REINPLACE_CMD} -e \
31
	@${REINPLACE_CMD} -e 's|^examplesdir =.*|examplesdir = ${EXAMPLESDIR}|' ${WRKSRC}/examples/Makefile.in
29
		'/^htmldocdir/s|share/docsis|share/doc/docsis|' \
30
		${WRKSRC}/doc/Makefile.in
31
	@${REINPLACE_CMD} -e \
32
		'/^examplesdir/s|docsis/examples|examples/docsis|' \
33
		${WRKSRC}/examples/Makefile.in
32
34
33
.include <bsd.port.post.mk>
35
.include <bsd.port.mk>
(-)net-mgmt/docsis/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (docsis-0.9.5.tar.gz) = 4256fc4e60f8a336ddbeff6ff3fad0debf269239fbcc45fbf36ff5728125b11e
1
SHA256 (docsis-0.9.6.tar.gz) = 71633f58d29231b2084ebe993683a723bce813dbd893388563a21197aa3c0ca0
2
SIZE (docsis-0.9.5.tar.gz) = 509674
2
SIZE (docsis-0.9.6.tar.gz) = 614310
(-)net-mgmt/docsis/files/patch-configure (-13 lines)
Lines 1-13 Link Here
1
--- configure.orig	Wed Jul  6 01:53:59 2005
2
+++ configure	Wed Jul 11 00:09:11 2007
3
@@ -19510,8 +19510,8 @@
4
    { (exit 1); exit 1; }; }
5
 else
6
   ac_m4_vers=`$M4 --version 2>/dev/null | head -1` ;
7
-  ac_is_gnu_m4=`echo $ac_m4_vers | cut -d' ' -f1`;
8
-  if test "x$ac_is_gnu_m4" = "xGNU"; then
9
+  ac_is_gnu_m4=`echo $ac_m4_vers | grep GNU`;
10
+  if test "x$ac_is_gnu_m4" != "x"; then
11
 	echo "$as_me:$LINENO: result:    found $ac_m4_vers at $M4 " >&5
12
 echo "${ECHO_T}   found $ac_m4_vers at $M4 " >&6
13
   else
(-)net-mgmt/docsis/files/patch-md5.h (-22 lines)
Lines 1-22 Link Here
1
# $FreeBSD: head/net-mgmt/docsis/files/patch-md5.h 340725 2014-01-22 17:40:44Z mat $
2
--- src/md5.h.orig	2004-03-17 07:09:31.000000000 -0800
3
+++ src/md5.h	2009-05-07 19:41:20.000000000 -0700
4
@@ -22,14 +22,16 @@
5
 documentation and/or software.
6
  */
7
 
8
+#include <stdint.h>
9
+
10
 /* POINTER defines a generic pointer type */
11
 typedef unsigned char *POINTER;
12
 
13
 /* UINT2 defines a two byte word */
14
-typedef unsigned short int UINT2;
15
+typedef uint16_t UINT2;
16
 
17
 /* UINT4 defines a four byte word */
18
-typedef unsigned long int UINT4;
19
+typedef uint32_t UINT4;
20
 
21
 /* MD5 context. */
22
 typedef struct {
(-)net-mgmt/docsis/pkg-plist (-42 / +66 lines)
Lines 1-43 Link Here
1
bin/docsis
1
bin/docsis
2
%%DOCSDIR%%/config-format.html
2
%%PORTDOCS%%%%DOCSDIR%%/config-format.html
3
%%DOCSDIR%%/config-settings.html
3
%%PORTDOCS%%%%DOCSDIR%%/config-settings.html
4
%%DOCSDIR%%/index.html
4
%%PORTDOCS%%%%DOCSDIR%%/index.html
5
%%EXAMPLESDIR%%/docsis1.0_2class_non-rfc2669.cfg
5
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.txt
6
%%EXAMPLESDIR%%/docsis1.0_2class_rfc2669.cfg
6
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_2class_non-rfc2669.cfg
7
%%EXAMPLESDIR%%/docsis1.0_basic.cfg
7
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_2class_non-rfc2669.txt
8
%%EXAMPLESDIR%%/docsis1.0_basic_bpi.cfg
8
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_2class_rfc2669.cfg
9
%%EXAMPLESDIR%%/docsis1.0_basic_upgrade.cfg
9
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_2class_rfc2669.txt
10
%%EXAMPLESDIR%%/docsis1.0_example.cfg
10
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_basic.cfg
11
%%EXAMPLESDIR%%/docsis1.0_filters2_oidnum.cfg
11
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_basic.txt
12
%%EXAMPLESDIR%%/docsis1.0_filters2_oidtext.cfg
12
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_basic_bpi.cfg
13
%%EXAMPLESDIR%%/docsis1.0_filters_NmAccess.cfg
13
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_basic_bpi.txt
14
%%EXAMPLESDIR%%/docsis1.0_filters_oidnum.cfg
14
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_basic_upgrade.cfg
15
%%EXAMPLESDIR%%/docsis1.0_filters_oidtext.cfg
15
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_basic_upgrade.txt
16
%%EXAMPLESDIR%%/docsis1.1_classifiers.cfg
16
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_example.cfg
17
%%EXAMPLESDIR%%/docsis1.1_classifiers2.cfg
17
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_example.txt
18
%%EXAMPLESDIR%%/docsis1.1_oss_v3coex.cfg
18
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters2_oidnum.cfg
19
%%EXAMPLESDIR%%/docsis1.1_simple.cfg
19
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters2_oidnum.txt
20
%%EXAMPLESDIR%%/docsis1.1_stress_test.cfg
20
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters2_oidtext.cfg
21
%%EXAMPLESDIR%%/docsis20.cfg
21
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters2_oidtext.txt
22
%%EXAMPLESDIR%%/docsis20_no_snmp.cfg
22
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters_NmAccess.cfg
23
%%EXAMPLESDIR%%/docsis20_stresstest.cfg
23
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters_NmAccess.txt
24
%%EXAMPLESDIR%%/keyfile
24
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters_oidnum.cfg
25
%%EXAMPLESDIR%%/packetcable_mta.cfg
25
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters_oidnum.txt
26
%%EXAMPLESDIR%%/readme.txt
26
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters_oidtext.cfg
27
%%EXAMPLESDIR%%/testkey.key
27
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.0_filters_oidtext.txt
28
%%MIBS%%/CLAB-DEF-MIB.txt
28
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_classifiers.cfg
29
%%MIBS%%/DOCS-BPI-MIB.mib
29
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_classifiers.txt
30
%%MIBS%%/DOCS-BPI2-MIB.mib
30
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_classifiers2.cfg
31
%%MIBS%%/DOCS-CABLE-DEVICE-MIB.mib
31
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_classifiers2.txt
32
%%MIBS%%/DOCS-CABLE-DEVICE-TRAP-MIB.mib
32
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_oss_v3coex.cfg
33
%%MIBS%%/DOCS-IF-EXT-MIB.mib
33
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_oss_v3coex.txt
34
%%MIBS%%/DOCS-IF-MIB.mib
34
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_simple.cfg
35
%%MIBS%%/DOCS-QOS-MIB.mib
35
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_simple.txt
36
%%MIBS%%/DOCS-SUBMGT-MIB.mib
36
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_stress_test.cfg
37
%%MIBS%%/IGMP-STD-MIB.mib
37
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis1.1_stress_test.txt
38
%%MIBS%%/PKTC-EVENT-MIB.mib
38
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis20.cfg
39
%%MIBS%%/PKTC-MTA-MIB.mib
39
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis20.txt
40
%%MIBS%%/PKTC-SIG-MIB.mib
40
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis20_no_snmp.cfg
41
@dirrmtry %%MIBS%%
41
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis20_no_snmp.txt
42
@dirrm %%DOCSDIR%%
42
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis20_stresstest.cfg
43
@dirrm %%EXAMPLESDIR%%
43
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docsis20_stresstest.txt
44
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keyfile
45
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/packetcable_mta.cfg
46
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/packetcable_mta.txt
47
%%MIBS%%/CLAB-DEF-MIB
48
%%MIBS%%/DIFFSERV-DSCP-TC
49
%%MIBS%%/DIFFSERV-MIB
50
%%MIBS%%/DOCS-BPI-MIB
51
%%MIBS%%/DOCS-BPI2-MIB
52
%%MIBS%%/DOCS-CABLE-DEVICE-MIB
53
%%MIBS%%/DOCS-CABLE-DEVICE-TRAP-MIB
54
%%MIBS%%/DOCS-IF-EXT-MIB
55
%%MIBS%%/DOCS-IF-MIB
56
%%MIBS%%/DOCS-QOS-MIB
57
%%MIBS%%/DOCS-SUBMGT-MIB
58
%%MIBS%%/IGMP-STD-MIB
59
%%MIBS%%/INTEGRATED-SERVICES-MIB
60
%%MIBS%%/PKTC-EVENT-MIB
61
%%MIBS%%/PKTC-IETF-SIG-MIB
62
%%MIBS%%/PKTC-MTA-MIB
63
%%MIBS%%/PKTC-SIG-MIB
64
%%MIBS%%/RMON2-MIB
65
%%MIBS%%/TOKEN-RING-RMON-MIB
66
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
67
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 192212