aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>2000-05-13 04:21:27 +0800
committerbillf <billf@FreeBSD.org>2000-05-13 04:21:27 +0800
commita4df77b2a4b63ac2e8e27a15233be4e10b1f543f (patch)
tree5a7039669a50939081869c4233c2b558f9efaeac /net
parent825db43f95c6061e3167d7db587fe208e027f89f (diff)
downloadfreebsd-ports-gnome-a4df77b2a4b63ac2e8e27a15233be4e10b1f543f.tar.gz
freebsd-ports-gnome-a4df77b2a4b63ac2e8e27a15233be4e10b1f543f.tar.zst
freebsd-ports-gnome-a4df77b2a4b63ac2e8e27a15233be4e10b1f543f.zip
First crack at updating to 4.1.1, more features to come, but at least
the newest version is here.
Diffstat (limited to 'net')
-rw-r--r--net/net-snmp/Makefile13
-rw-r--r--net/net-snmp/distinfo3
-rw-r--r--net/net-snmp/files/patch-ad4
-rw-r--r--net/net-snmp/files/patch-af4
-rw-r--r--net/net-snmp/pkg-plist5
-rw-r--r--net/net-snmp4/Makefile13
-rw-r--r--net/net-snmp4/distinfo3
-rw-r--r--net/net-snmp4/files/patch-ad4
-rw-r--r--net/net-snmp4/files/patch-af4
-rw-r--r--net/net-snmp4/pkg-plist5
-rw-r--r--net/ucd-snmp/Makefile13
-rw-r--r--net/ucd-snmp/distinfo3
-rw-r--r--net/ucd-snmp/files/patch-ad4
-rw-r--r--net/ucd-snmp/files/patch-af4
-rw-r--r--net/ucd-snmp/pkg-plist5
15 files changed, 30 insertions, 57 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index 3dde6cad0d45..cba8ebad748c 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -6,26 +6,22 @@
#
PORTNAME= ucd-snmp
-PORTVERSION= 4.0.1
+PORTVERSION= 4.1.1
CATEGORIES= net
MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \
ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/
-PATCH_SITES= http://ucd-snmp.ucdavis.edu/patches/
-PATCHFILES= 012.patch
-PATCH_DIST_STRIP= -p0 -d ${WRKSRC}/agent
-
MAINTAINER= billf@FreeBSD.org
CONFIGURE_ARGS= --enable-shared
-
GNU_CONFIGURE= YES
.if defined(BATCH)
CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where
.else
IS_INTERACTIVE= yes
.endif
+USE_GMAKE= YES
#CFLAGS= -g
MAN1= snmpbulkwalk.1 snmpd.1 snmpdelta.1 snmpget.1 snmpgetnext.1 \
@@ -43,9 +39,6 @@ STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample
.include <bsd.port.pre.mk>
-.if ${PORTOBJFORMAT} == "aout"
-BROKEN= "aout build breaks: ld: internal error: RRS relocs exceed allocation 343"
-.endif
.if ${OSVERSION} >= 400000
CONFIGURE_ARGS+= --with-out-mib-modules="ucd-snmp/vmstat_freebsd2 ucd-snmp/memory_freebsd2"
.endif
@@ -63,7 +56,7 @@ post-install:
@( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * )
@( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so )
@${MKDIR} ${PREFIX}/share/examples/ucd-snmp
- @for F in ${WRKSRC}/etc/* ; do \
+ @for F in ${WRKSRC}/EXAMPLE.conf ${WRKSRC}/agent/mibgroup/examples/ucdDemoPublic.conf; do \
${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done
@if [ ! -f ${STARTUP_FILE} ]; then \
${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \
diff --git a/net/net-snmp/distinfo b/net/net-snmp/distinfo
index 932a6aa7b86a..e8b6587c2ae2 100644
--- a/net/net-snmp/distinfo
+++ b/net/net-snmp/distinfo
@@ -1,2 +1 @@
-MD5 (ucd-snmp-4.0.1.tar.gz) = ba72a7b8c9efd226b72baf74d68d4511
-MD5 (012.patch) = 4e5cbbeacaccafedc985698fafb89d15
+MD5 (ucd-snmp-4.1.1.tar.gz) = 2f0d6130af510a8ce283dfdb557a85fa
diff --git a/net/net-snmp/files/patch-ad b/net/net-snmp/files/patch-ad
index f47168018a61..6f28af0a528f 100644
--- a/net/net-snmp/files/patch-ad
+++ b/net/net-snmp/files/patch-ad
@@ -4,7 +4,7 @@
physaddrbuf = 0;
}
ifm = (struct if_msghdr *)rtm;
-+#if defined(freebsd3) || defined(freebsd4)
++#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5)
+ if (physaddrs != 0) physaddrs[naddrs] = (void*)(ifm + 1);
+ naddrs++;
+#endif
@@ -12,7 +12,7 @@
cp += ifm->ifm_msglen;
rtm = (struct rt_msghdr *)cp;
while (ilen > 0 && rtm->rtm_type == RTM_NEWADDR) {
-+#if defined(freebsd3) || defined(freebsd4)
++#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5)
+ ilen -= rtm->rtm_msglen;
+ cp += rtm->rtm_msglen;
+#else
diff --git a/net/net-snmp/files/patch-af b/net/net-snmp/files/patch-af
index 2f197dc4c0c0..546933895230 100644
--- a/net/net-snmp/files/patch-af
+++ b/net/net-snmp/files/patch-af
@@ -1,12 +1,14 @@
--- agent/mibgroup/ucd_snmp.h.orig Fri Feb 26 03:03:41 1999
+++ agent/mibgroup/ucd_snmp.h Sun Apr 4 13:52:23 1999
-@@ -18,5 +18,9 @@
+@@ -18,5 +18,11 @@
config_arch_require(bsdi3, ucd-snmp/memory)
config_arch_require(linux, ucd-snmp/vmstat)
config_arch_require(freebsd2, ucd-snmp/vmstat_freebsd2)
+config_arch_require(freebsd3, ucd-snmp/vmstat_freebsd2)
+config_arch_require(freebsd4, ucd-snmp/vmstat_freebsd2)
++config_arch_require(freebsd5, ucd-snmp/vmstat_freebsd2)
config_arch_require(freebsd2, ucd-snmp/memory_freebsd2)
+config_arch_require(freebsd3, ucd-snmp/memory_freebsd2)
+config_arch_require(freebsd4, ucd-snmp/memory_freebsd2)
++config_arch_require(freebsd5, ucd-snmp/memory_freebsd2)
config_add_mib(UCD-SNMP-MIB)
diff --git a/net/net-snmp/pkg-plist b/net/net-snmp/pkg-plist
index 5e1fb0b00e9d..52d02eb3986c 100644
--- a/net/net-snmp/pkg-plist
+++ b/net/net-snmp/pkg-plist
@@ -37,10 +37,7 @@ lib/libsnmp.so.%%shlib%%
sbin/snmpd
sbin/snmptrapd
share/examples/ucd-snmp/README
-share/examples/ucd-snmp/acl.conf
-share/examples/ucd-snmp/context.conf
-share/examples/ucd-snmp/party.conf
-share/examples/ucd-snmp/view.conf
+share/examples/ucdDemoPublic.conf
@dirrm share/examples/ucd-snmp
share/snmp/mibs/DLMOD-MIB.txt
share/snmp/mibs/EtherLike-MIB.txt
diff --git a/net/net-snmp4/Makefile b/net/net-snmp4/Makefile
index 3dde6cad0d45..cba8ebad748c 100644
--- a/net/net-snmp4/Makefile
+++ b/net/net-snmp4/Makefile
@@ -6,26 +6,22 @@
#
PORTNAME= ucd-snmp
-PORTVERSION= 4.0.1
+PORTVERSION= 4.1.1
CATEGORIES= net
MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \
ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/
-PATCH_SITES= http://ucd-snmp.ucdavis.edu/patches/
-PATCHFILES= 012.patch
-PATCH_DIST_STRIP= -p0 -d ${WRKSRC}/agent
-
MAINTAINER= billf@FreeBSD.org
CONFIGURE_ARGS= --enable-shared
-
GNU_CONFIGURE= YES
.if defined(BATCH)
CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where
.else
IS_INTERACTIVE= yes
.endif
+USE_GMAKE= YES
#CFLAGS= -g
MAN1= snmpbulkwalk.1 snmpd.1 snmpdelta.1 snmpget.1 snmpgetnext.1 \
@@ -43,9 +39,6 @@ STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample
.include <bsd.port.pre.mk>
-.if ${PORTOBJFORMAT} == "aout"
-BROKEN= "aout build breaks: ld: internal error: RRS relocs exceed allocation 343"
-.endif
.if ${OSVERSION} >= 400000
CONFIGURE_ARGS+= --with-out-mib-modules="ucd-snmp/vmstat_freebsd2 ucd-snmp/memory_freebsd2"
.endif
@@ -63,7 +56,7 @@ post-install:
@( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * )
@( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so )
@${MKDIR} ${PREFIX}/share/examples/ucd-snmp
- @for F in ${WRKSRC}/etc/* ; do \
+ @for F in ${WRKSRC}/EXAMPLE.conf ${WRKSRC}/agent/mibgroup/examples/ucdDemoPublic.conf; do \
${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done
@if [ ! -f ${STARTUP_FILE} ]; then \
${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \
diff --git a/net/net-snmp4/distinfo b/net/net-snmp4/distinfo
index 932a6aa7b86a..e8b6587c2ae2 100644
--- a/net/net-snmp4/distinfo
+++ b/net/net-snmp4/distinfo
@@ -1,2 +1 @@
-MD5 (ucd-snmp-4.0.1.tar.gz) = ba72a7b8c9efd226b72baf74d68d4511
-MD5 (012.patch) = 4e5cbbeacaccafedc985698fafb89d15
+MD5 (ucd-snmp-4.1.1.tar.gz) = 2f0d6130af510a8ce283dfdb557a85fa
diff --git a/net/net-snmp4/files/patch-ad b/net/net-snmp4/files/patch-ad
index f47168018a61..6f28af0a528f 100644
--- a/net/net-snmp4/files/patch-ad
+++ b/net/net-snmp4/files/patch-ad
@@ -4,7 +4,7 @@
physaddrbuf = 0;
}
ifm = (struct if_msghdr *)rtm;
-+#if defined(freebsd3) || defined(freebsd4)
++#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5)
+ if (physaddrs != 0) physaddrs[naddrs] = (void*)(ifm + 1);
+ naddrs++;
+#endif
@@ -12,7 +12,7 @@
cp += ifm->ifm_msglen;
rtm = (struct rt_msghdr *)cp;
while (ilen > 0 && rtm->rtm_type == RTM_NEWADDR) {
-+#if defined(freebsd3) || defined(freebsd4)
++#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5)
+ ilen -= rtm->rtm_msglen;
+ cp += rtm->rtm_msglen;
+#else
diff --git a/net/net-snmp4/files/patch-af b/net/net-snmp4/files/patch-af
index 2f197dc4c0c0..546933895230 100644
--- a/net/net-snmp4/files/patch-af
+++ b/net/net-snmp4/files/patch-af
@@ -1,12 +1,14 @@
--- agent/mibgroup/ucd_snmp.h.orig Fri Feb 26 03:03:41 1999
+++ agent/mibgroup/ucd_snmp.h Sun Apr 4 13:52:23 1999
-@@ -18,5 +18,9 @@
+@@ -18,5 +18,11 @@
config_arch_require(bsdi3, ucd-snmp/memory)
config_arch_require(linux, ucd-snmp/vmstat)
config_arch_require(freebsd2, ucd-snmp/vmstat_freebsd2)
+config_arch_require(freebsd3, ucd-snmp/vmstat_freebsd2)
+config_arch_require(freebsd4, ucd-snmp/vmstat_freebsd2)
++config_arch_require(freebsd5, ucd-snmp/vmstat_freebsd2)
config_arch_require(freebsd2, ucd-snmp/memory_freebsd2)
+config_arch_require(freebsd3, ucd-snmp/memory_freebsd2)
+config_arch_require(freebsd4, ucd-snmp/memory_freebsd2)
++config_arch_require(freebsd5, ucd-snmp/memory_freebsd2)
config_add_mib(UCD-SNMP-MIB)
diff --git a/net/net-snmp4/pkg-plist b/net/net-snmp4/pkg-plist
index 5e1fb0b00e9d..52d02eb3986c 100644
--- a/net/net-snmp4/pkg-plist
+++ b/net/net-snmp4/pkg-plist
@@ -37,10 +37,7 @@ lib/libsnmp.so.%%shlib%%
sbin/snmpd
sbin/snmptrapd
share/examples/ucd-snmp/README
-share/examples/ucd-snmp/acl.conf
-share/examples/ucd-snmp/context.conf
-share/examples/ucd-snmp/party.conf
-share/examples/ucd-snmp/view.conf
+share/examples/ucdDemoPublic.conf
@dirrm share/examples/ucd-snmp
share/snmp/mibs/DLMOD-MIB.txt
share/snmp/mibs/EtherLike-MIB.txt
diff --git a/net/ucd-snmp/Makefile b/net/ucd-snmp/Makefile
index 3dde6cad0d45..cba8ebad748c 100644
--- a/net/ucd-snmp/Makefile
+++ b/net/ucd-snmp/Makefile
@@ -6,26 +6,22 @@
#
PORTNAME= ucd-snmp
-PORTVERSION= 4.0.1
+PORTVERSION= 4.1.1
CATEGORIES= net
MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \
ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/
-PATCH_SITES= http://ucd-snmp.ucdavis.edu/patches/
-PATCHFILES= 012.patch
-PATCH_DIST_STRIP= -p0 -d ${WRKSRC}/agent
-
MAINTAINER= billf@FreeBSD.org
CONFIGURE_ARGS= --enable-shared
-
GNU_CONFIGURE= YES
.if defined(BATCH)
CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where
.else
IS_INTERACTIVE= yes
.endif
+USE_GMAKE= YES
#CFLAGS= -g
MAN1= snmpbulkwalk.1 snmpd.1 snmpdelta.1 snmpget.1 snmpgetnext.1 \
@@ -43,9 +39,6 @@ STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample
.include <bsd.port.pre.mk>
-.if ${PORTOBJFORMAT} == "aout"
-BROKEN= "aout build breaks: ld: internal error: RRS relocs exceed allocation 343"
-.endif
.if ${OSVERSION} >= 400000
CONFIGURE_ARGS+= --with-out-mib-modules="ucd-snmp/vmstat_freebsd2 ucd-snmp/memory_freebsd2"
.endif
@@ -63,7 +56,7 @@ post-install:
@( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * )
@( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so )
@${MKDIR} ${PREFIX}/share/examples/ucd-snmp
- @for F in ${WRKSRC}/etc/* ; do \
+ @for F in ${WRKSRC}/EXAMPLE.conf ${WRKSRC}/agent/mibgroup/examples/ucdDemoPublic.conf; do \
${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done
@if [ ! -f ${STARTUP_FILE} ]; then \
${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \
diff --git a/net/ucd-snmp/distinfo b/net/ucd-snmp/distinfo
index 932a6aa7b86a..e8b6587c2ae2 100644
--- a/net/ucd-snmp/distinfo
+++ b/net/ucd-snmp/distinfo
@@ -1,2 +1 @@
-MD5 (ucd-snmp-4.0.1.tar.gz) = ba72a7b8c9efd226b72baf74d68d4511
-MD5 (012.patch) = 4e5cbbeacaccafedc985698fafb89d15
+MD5 (ucd-snmp-4.1.1.tar.gz) = 2f0d6130af510a8ce283dfdb557a85fa
diff --git a/net/ucd-snmp/files/patch-ad b/net/ucd-snmp/files/patch-ad
index f47168018a61..6f28af0a528f 100644
--- a/net/ucd-snmp/files/patch-ad
+++ b/net/ucd-snmp/files/patch-ad
@@ -4,7 +4,7 @@
physaddrbuf = 0;
}
ifm = (struct if_msghdr *)rtm;
-+#if defined(freebsd3) || defined(freebsd4)
++#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5)
+ if (physaddrs != 0) physaddrs[naddrs] = (void*)(ifm + 1);
+ naddrs++;
+#endif
@@ -12,7 +12,7 @@
cp += ifm->ifm_msglen;
rtm = (struct rt_msghdr *)cp;
while (ilen > 0 && rtm->rtm_type == RTM_NEWADDR) {
-+#if defined(freebsd3) || defined(freebsd4)
++#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5)
+ ilen -= rtm->rtm_msglen;
+ cp += rtm->rtm_msglen;
+#else
diff --git a/net/ucd-snmp/files/patch-af b/net/ucd-snmp/files/patch-af
index 2f197dc4c0c0..546933895230 100644
--- a/net/ucd-snmp/files/patch-af
+++ b/net/ucd-snmp/files/patch-af
@@ -1,12 +1,14 @@
--- agent/mibgroup/ucd_snmp.h.orig Fri Feb 26 03:03:41 1999
+++ agent/mibgroup/ucd_snmp.h Sun Apr 4 13:52:23 1999
-@@ -18,5 +18,9 @@
+@@ -18,5 +18,11 @@
config_arch_require(bsdi3, ucd-snmp/memory)
config_arch_require(linux, ucd-snmp/vmstat)
config_arch_require(freebsd2, ucd-snmp/vmstat_freebsd2)
+config_arch_require(freebsd3, ucd-snmp/vmstat_freebsd2)
+config_arch_require(freebsd4, ucd-snmp/vmstat_freebsd2)
++config_arch_require(freebsd5, ucd-snmp/vmstat_freebsd2)
config_arch_require(freebsd2, ucd-snmp/memory_freebsd2)
+config_arch_require(freebsd3, ucd-snmp/memory_freebsd2)
+config_arch_require(freebsd4, ucd-snmp/memory_freebsd2)
++config_arch_require(freebsd5, ucd-snmp/memory_freebsd2)
config_add_mib(UCD-SNMP-MIB)
diff --git a/net/ucd-snmp/pkg-plist b/net/ucd-snmp/pkg-plist
index 5e1fb0b00e9d..52d02eb3986c 100644
--- a/net/ucd-snmp/pkg-plist
+++ b/net/ucd-snmp/pkg-plist
@@ -37,10 +37,7 @@ lib/libsnmp.so.%%shlib%%
sbin/snmpd
sbin/snmptrapd
share/examples/ucd-snmp/README
-share/examples/ucd-snmp/acl.conf
-share/examples/ucd-snmp/context.conf
-share/examples/ucd-snmp/party.conf
-share/examples/ucd-snmp/view.conf
+share/examples/ucdDemoPublic.conf
@dirrm share/examples/ucd-snmp
share/snmp/mibs/DLMOD-MIB.txt
share/snmp/mibs/EtherLike-MIB.txt