Index: head/net/net-snmp/Makefile =================================================================== --- head/net/net-snmp/Makefile (revision 21263) +++ head/net/net-snmp/Makefile (revision 21264) @@ -1,71 +1,75 @@ # New ports collection makefile for: ucd-snmp # Version required: 3.6.1 # Date created: 26 June 1996 # Whom: gpalmer # # $FreeBSD$ # DISTNAME= ucd-snmp-4.0.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= gpalmer@FreeBSD.org CONFIGURE_ARGS= --enable-shared -USE_CONFIGURE= YES GNU_CONFIGURE= YES .if defined(BATCH) CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where .else IS_INTERACTIVE= yes .endif #CFLAGS= -g MAN1= snmpbulkwalk.1 snmpd.1 snmpdelta.1 snmpget.1 snmpgetnext.1 \ snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \ snmptranslate.1 snmptrap.1 snmpwalk.1 snmpcmd.1 snmpusm.1 MAN3= read_config.3 mib_api.3 snmp_api.3 snmp_sess_api.3 MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ snmptrapd.conf.5 variables.5 MAN8= snmptrapd.8 BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \ snmpstatus snmptest snmptranslate snmptrap snmpwalk SBIN= snmpd snmptrapd STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample .include .if ${PORTOBJFORMAT} == "aout" BROKEN= "aout build breaks: ld: internal error: RRS relocs exceed allocation 343" .endif .if ${OSVERSION} >= 400000 BROKEN= "Uses the old VM system interfaces" .endif -SHLIB_VERSION=3 +SHLIB_VERSION=4 PLIST_SUB= shlib=${SHLIB_VERSION} post-patch: @${CP} ${FILESDIR}/freebsd4.h ${WRKSRC}/s post-install: - ( cd ${PREFIX}/bin && strip ${BIN} ) - ( cd ${PREFIX}/sbin && strip ${SBIN} ) - ( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so ) + @( cd ${PREFIX}/bin && strip ${BIN} ) + @( cd ${PREFIX}/sbin && strip ${SBIN} ) + @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) + @( 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 \ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done @if [ ! -f ${STARTUP_FILE} ]; then \ ${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \ ${ECHO} "#!/bin/sh" > ${STARTUP_FILE}; \ ${ECHO} "[ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && ${ECHO} -n ' snmpd'" >> ${STARTUP_FILE}; \ ${CHMOD} 751 ${STARTUP_FILE}; \ fi ${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib .include Property changes on: head/net/net-snmp/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.33 \ No newline at end of property +1.34 \ No newline at end of property Index: head/net/net-snmp/distinfo =================================================================== --- head/net/net-snmp/distinfo (revision 21263) +++ head/net/net-snmp/distinfo (revision 21264) @@ -1 +1,2 @@ MD5 (ucd-snmp-4.0.1.tar.gz) = ba72a7b8c9efd226b72baf74d68d4511 +MD5 (012.patch) = 4e5cbbeacaccafedc985698fafb89d15 Property changes on: head/net/net-snmp/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/net/net-snmp/files/patch-ag =================================================================== --- head/net/net-snmp/files/patch-ag (nonexistent) +++ head/net/net-snmp/files/patch-ag (revision 21264) @@ -0,0 +1,11 @@ +--- snmplib/ucd-snmp-includes.h.orig Wed Jan 20 18:18:42 1999 ++++ snmplib/ucd-snmp-includes.h Sat Aug 28 02:13:56 1999 +@@ -4,7 +4,7 @@ + #include + + /* uncomment if you don't have in_addr_t in netinet/in.h */ +-/* typedef u_int in_addr_t; */ ++typedef u_int in_addr_t; + + #include + #include Property changes on: head/net/net-snmp/files/patch-ag ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net/net-snmp/files/patch-ah =================================================================== --- head/net/net-snmp/files/patch-ah (nonexistent) +++ head/net/net-snmp/files/patch-ah (revision 21264) @@ -0,0 +1,8 @@ +--- local/tkmib.orig Wed Jul 21 19:06:52 1999 ++++ local/tkmib Sat Aug 28 02:37:57 1999 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + + require 5; + Property changes on: head/net/net-snmp/files/patch-ah ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net/net-snmp4/Makefile =================================================================== --- head/net/net-snmp4/Makefile (revision 21263) +++ head/net/net-snmp4/Makefile (revision 21264) @@ -1,71 +1,75 @@ # New ports collection makefile for: ucd-snmp # Version required: 3.6.1 # Date created: 26 June 1996 # Whom: gpalmer # # $FreeBSD$ # DISTNAME= ucd-snmp-4.0.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= gpalmer@FreeBSD.org CONFIGURE_ARGS= --enable-shared -USE_CONFIGURE= YES GNU_CONFIGURE= YES .if defined(BATCH) CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where .else IS_INTERACTIVE= yes .endif #CFLAGS= -g MAN1= snmpbulkwalk.1 snmpd.1 snmpdelta.1 snmpget.1 snmpgetnext.1 \ snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \ snmptranslate.1 snmptrap.1 snmpwalk.1 snmpcmd.1 snmpusm.1 MAN3= read_config.3 mib_api.3 snmp_api.3 snmp_sess_api.3 MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ snmptrapd.conf.5 variables.5 MAN8= snmptrapd.8 BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \ snmpstatus snmptest snmptranslate snmptrap snmpwalk SBIN= snmpd snmptrapd STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample .include .if ${PORTOBJFORMAT} == "aout" BROKEN= "aout build breaks: ld: internal error: RRS relocs exceed allocation 343" .endif .if ${OSVERSION} >= 400000 BROKEN= "Uses the old VM system interfaces" .endif -SHLIB_VERSION=3 +SHLIB_VERSION=4 PLIST_SUB= shlib=${SHLIB_VERSION} post-patch: @${CP} ${FILESDIR}/freebsd4.h ${WRKSRC}/s post-install: - ( cd ${PREFIX}/bin && strip ${BIN} ) - ( cd ${PREFIX}/sbin && strip ${SBIN} ) - ( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so ) + @( cd ${PREFIX}/bin && strip ${BIN} ) + @( cd ${PREFIX}/sbin && strip ${SBIN} ) + @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) + @( 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 \ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done @if [ ! -f ${STARTUP_FILE} ]; then \ ${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \ ${ECHO} "#!/bin/sh" > ${STARTUP_FILE}; \ ${ECHO} "[ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && ${ECHO} -n ' snmpd'" >> ${STARTUP_FILE}; \ ${CHMOD} 751 ${STARTUP_FILE}; \ fi ${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib .include Property changes on: head/net/net-snmp4/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.33 \ No newline at end of property +1.34 \ No newline at end of property Index: head/net/net-snmp4/distinfo =================================================================== --- head/net/net-snmp4/distinfo (revision 21263) +++ head/net/net-snmp4/distinfo (revision 21264) @@ -1 +1,2 @@ MD5 (ucd-snmp-4.0.1.tar.gz) = ba72a7b8c9efd226b72baf74d68d4511 +MD5 (012.patch) = 4e5cbbeacaccafedc985698fafb89d15 Property changes on: head/net/net-snmp4/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/net/net-snmp4/files/patch-ag =================================================================== --- head/net/net-snmp4/files/patch-ag (nonexistent) +++ head/net/net-snmp4/files/patch-ag (revision 21264) @@ -0,0 +1,11 @@ +--- snmplib/ucd-snmp-includes.h.orig Wed Jan 20 18:18:42 1999 ++++ snmplib/ucd-snmp-includes.h Sat Aug 28 02:13:56 1999 +@@ -4,7 +4,7 @@ + #include + + /* uncomment if you don't have in_addr_t in netinet/in.h */ +-/* typedef u_int in_addr_t; */ ++typedef u_int in_addr_t; + + #include + #include Property changes on: head/net/net-snmp4/files/patch-ag ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net/net-snmp4/files/patch-ah =================================================================== --- head/net/net-snmp4/files/patch-ah (nonexistent) +++ head/net/net-snmp4/files/patch-ah (revision 21264) @@ -0,0 +1,8 @@ +--- local/tkmib.orig Wed Jul 21 19:06:52 1999 ++++ local/tkmib Sat Aug 28 02:37:57 1999 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + + require 5; + Property changes on: head/net/net-snmp4/files/patch-ah ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net/ucd-snmp/Makefile =================================================================== --- head/net/ucd-snmp/Makefile (revision 21263) +++ head/net/ucd-snmp/Makefile (revision 21264) @@ -1,71 +1,75 @@ # New ports collection makefile for: ucd-snmp # Version required: 3.6.1 # Date created: 26 June 1996 # Whom: gpalmer # # $FreeBSD$ # DISTNAME= ucd-snmp-4.0.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= gpalmer@FreeBSD.org CONFIGURE_ARGS= --enable-shared -USE_CONFIGURE= YES GNU_CONFIGURE= YES .if defined(BATCH) CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where .else IS_INTERACTIVE= yes .endif #CFLAGS= -g MAN1= snmpbulkwalk.1 snmpd.1 snmpdelta.1 snmpget.1 snmpgetnext.1 \ snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \ snmptranslate.1 snmptrap.1 snmpwalk.1 snmpcmd.1 snmpusm.1 MAN3= read_config.3 mib_api.3 snmp_api.3 snmp_sess_api.3 MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ snmptrapd.conf.5 variables.5 MAN8= snmptrapd.8 BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \ snmpstatus snmptest snmptranslate snmptrap snmpwalk SBIN= snmpd snmptrapd STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample .include .if ${PORTOBJFORMAT} == "aout" BROKEN= "aout build breaks: ld: internal error: RRS relocs exceed allocation 343" .endif .if ${OSVERSION} >= 400000 BROKEN= "Uses the old VM system interfaces" .endif -SHLIB_VERSION=3 +SHLIB_VERSION=4 PLIST_SUB= shlib=${SHLIB_VERSION} post-patch: @${CP} ${FILESDIR}/freebsd4.h ${WRKSRC}/s post-install: - ( cd ${PREFIX}/bin && strip ${BIN} ) - ( cd ${PREFIX}/sbin && strip ${SBIN} ) - ( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so ) + @( cd ${PREFIX}/bin && strip ${BIN} ) + @( cd ${PREFIX}/sbin && strip ${SBIN} ) + @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) + @( 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 \ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done @if [ ! -f ${STARTUP_FILE} ]; then \ ${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \ ${ECHO} "#!/bin/sh" > ${STARTUP_FILE}; \ ${ECHO} "[ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && ${ECHO} -n ' snmpd'" >> ${STARTUP_FILE}; \ ${CHMOD} 751 ${STARTUP_FILE}; \ fi ${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib .include Property changes on: head/net/ucd-snmp/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.33 \ No newline at end of property +1.34 \ No newline at end of property Index: head/net/ucd-snmp/distinfo =================================================================== --- head/net/ucd-snmp/distinfo (revision 21263) +++ head/net/ucd-snmp/distinfo (revision 21264) @@ -1 +1,2 @@ MD5 (ucd-snmp-4.0.1.tar.gz) = ba72a7b8c9efd226b72baf74d68d4511 +MD5 (012.patch) = 4e5cbbeacaccafedc985698fafb89d15 Property changes on: head/net/ucd-snmp/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/net/ucd-snmp/files/patch-ag =================================================================== --- head/net/ucd-snmp/files/patch-ag (nonexistent) +++ head/net/ucd-snmp/files/patch-ag (revision 21264) @@ -0,0 +1,11 @@ +--- snmplib/ucd-snmp-includes.h.orig Wed Jan 20 18:18:42 1999 ++++ snmplib/ucd-snmp-includes.h Sat Aug 28 02:13:56 1999 +@@ -4,7 +4,7 @@ + #include + + /* uncomment if you don't have in_addr_t in netinet/in.h */ +-/* typedef u_int in_addr_t; */ ++typedef u_int in_addr_t; + + #include + #include Property changes on: head/net/ucd-snmp/files/patch-ag ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net/ucd-snmp/files/patch-ah =================================================================== --- head/net/ucd-snmp/files/patch-ah (nonexistent) +++ head/net/ucd-snmp/files/patch-ah (revision 21264) @@ -0,0 +1,8 @@ +--- local/tkmib.orig Wed Jul 21 19:06:52 1999 ++++ local/tkmib Sat Aug 28 02:37:57 1999 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + + require 5; + Property changes on: head/net/ucd-snmp/files/patch-ah ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-mgmt/net-snmp/Makefile =================================================================== --- head/net-mgmt/net-snmp/Makefile (revision 21263) +++ head/net-mgmt/net-snmp/Makefile (revision 21264) @@ -1,71 +1,75 @@ # New ports collection makefile for: ucd-snmp # Version required: 3.6.1 # Date created: 26 June 1996 # Whom: gpalmer # # $FreeBSD$ # DISTNAME= ucd-snmp-4.0.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= gpalmer@FreeBSD.org CONFIGURE_ARGS= --enable-shared -USE_CONFIGURE= YES GNU_CONFIGURE= YES .if defined(BATCH) CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where .else IS_INTERACTIVE= yes .endif #CFLAGS= -g MAN1= snmpbulkwalk.1 snmpd.1 snmpdelta.1 snmpget.1 snmpgetnext.1 \ snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \ snmptranslate.1 snmptrap.1 snmpwalk.1 snmpcmd.1 snmpusm.1 MAN3= read_config.3 mib_api.3 snmp_api.3 snmp_sess_api.3 MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ snmptrapd.conf.5 variables.5 MAN8= snmptrapd.8 BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \ snmpstatus snmptest snmptranslate snmptrap snmpwalk SBIN= snmpd snmptrapd STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample .include .if ${PORTOBJFORMAT} == "aout" BROKEN= "aout build breaks: ld: internal error: RRS relocs exceed allocation 343" .endif .if ${OSVERSION} >= 400000 BROKEN= "Uses the old VM system interfaces" .endif -SHLIB_VERSION=3 +SHLIB_VERSION=4 PLIST_SUB= shlib=${SHLIB_VERSION} post-patch: @${CP} ${FILESDIR}/freebsd4.h ${WRKSRC}/s post-install: - ( cd ${PREFIX}/bin && strip ${BIN} ) - ( cd ${PREFIX}/sbin && strip ${SBIN} ) - ( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so ) + @( cd ${PREFIX}/bin && strip ${BIN} ) + @( cd ${PREFIX}/sbin && strip ${SBIN} ) + @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) + @( 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 \ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done @if [ ! -f ${STARTUP_FILE} ]; then \ ${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \ ${ECHO} "#!/bin/sh" > ${STARTUP_FILE}; \ ${ECHO} "[ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && ${ECHO} -n ' snmpd'" >> ${STARTUP_FILE}; \ ${CHMOD} 751 ${STARTUP_FILE}; \ fi ${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib .include Property changes on: head/net-mgmt/net-snmp/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.33 \ No newline at end of property +1.34 \ No newline at end of property Index: head/net-mgmt/net-snmp/distinfo =================================================================== --- head/net-mgmt/net-snmp/distinfo (revision 21263) +++ head/net-mgmt/net-snmp/distinfo (revision 21264) @@ -1 +1,2 @@ MD5 (ucd-snmp-4.0.1.tar.gz) = ba72a7b8c9efd226b72baf74d68d4511 +MD5 (012.patch) = 4e5cbbeacaccafedc985698fafb89d15 Property changes on: head/net-mgmt/net-snmp/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/net-mgmt/net-snmp/files/patch-ag =================================================================== --- head/net-mgmt/net-snmp/files/patch-ag (nonexistent) +++ head/net-mgmt/net-snmp/files/patch-ag (revision 21264) @@ -0,0 +1,11 @@ +--- snmplib/ucd-snmp-includes.h.orig Wed Jan 20 18:18:42 1999 ++++ snmplib/ucd-snmp-includes.h Sat Aug 28 02:13:56 1999 +@@ -4,7 +4,7 @@ + #include + + /* uncomment if you don't have in_addr_t in netinet/in.h */ +-/* typedef u_int in_addr_t; */ ++typedef u_int in_addr_t; + + #include + #include Property changes on: head/net-mgmt/net-snmp/files/patch-ag ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-mgmt/net-snmp/files/patch-ah =================================================================== --- head/net-mgmt/net-snmp/files/patch-ah (nonexistent) +++ head/net-mgmt/net-snmp/files/patch-ah (revision 21264) @@ -0,0 +1,8 @@ +--- local/tkmib.orig Wed Jul 21 19:06:52 1999 ++++ local/tkmib Sat Aug 28 02:37:57 1999 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + + require 5; + Property changes on: head/net-mgmt/net-snmp/files/patch-ah ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-mgmt/net-snmp-devel/Makefile =================================================================== --- head/net-mgmt/net-snmp-devel/Makefile (revision 21263) +++ head/net-mgmt/net-snmp-devel/Makefile (revision 21264) @@ -1,71 +1,75 @@ # New ports collection makefile for: ucd-snmp # Version required: 3.6.1 # Date created: 26 June 1996 # Whom: gpalmer # # $FreeBSD$ # DISTNAME= ucd-snmp-4.0.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= gpalmer@FreeBSD.org CONFIGURE_ARGS= --enable-shared -USE_CONFIGURE= YES GNU_CONFIGURE= YES .if defined(BATCH) CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where .else IS_INTERACTIVE= yes .endif #CFLAGS= -g MAN1= snmpbulkwalk.1 snmpd.1 snmpdelta.1 snmpget.1 snmpgetnext.1 \ snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \ snmptranslate.1 snmptrap.1 snmpwalk.1 snmpcmd.1 snmpusm.1 MAN3= read_config.3 mib_api.3 snmp_api.3 snmp_sess_api.3 MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ snmptrapd.conf.5 variables.5 MAN8= snmptrapd.8 BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \ snmpstatus snmptest snmptranslate snmptrap snmpwalk SBIN= snmpd snmptrapd STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample .include .if ${PORTOBJFORMAT} == "aout" BROKEN= "aout build breaks: ld: internal error: RRS relocs exceed allocation 343" .endif .if ${OSVERSION} >= 400000 BROKEN= "Uses the old VM system interfaces" .endif -SHLIB_VERSION=3 +SHLIB_VERSION=4 PLIST_SUB= shlib=${SHLIB_VERSION} post-patch: @${CP} ${FILESDIR}/freebsd4.h ${WRKSRC}/s post-install: - ( cd ${PREFIX}/bin && strip ${BIN} ) - ( cd ${PREFIX}/sbin && strip ${SBIN} ) - ( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so ) + @( cd ${PREFIX}/bin && strip ${BIN} ) + @( cd ${PREFIX}/sbin && strip ${SBIN} ) + @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) + @( 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 \ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done @if [ ! -f ${STARTUP_FILE} ]; then \ ${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \ ${ECHO} "#!/bin/sh" > ${STARTUP_FILE}; \ ${ECHO} "[ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && ${ECHO} -n ' snmpd'" >> ${STARTUP_FILE}; \ ${CHMOD} 751 ${STARTUP_FILE}; \ fi ${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib .include Property changes on: head/net-mgmt/net-snmp-devel/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.33 \ No newline at end of property +1.34 \ No newline at end of property Index: head/net-mgmt/net-snmp-devel/distinfo =================================================================== --- head/net-mgmt/net-snmp-devel/distinfo (revision 21263) +++ head/net-mgmt/net-snmp-devel/distinfo (revision 21264) @@ -1 +1,2 @@ MD5 (ucd-snmp-4.0.1.tar.gz) = ba72a7b8c9efd226b72baf74d68d4511 +MD5 (012.patch) = 4e5cbbeacaccafedc985698fafb89d15 Property changes on: head/net-mgmt/net-snmp-devel/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/net-mgmt/net-snmp-devel/files/patch-ag =================================================================== --- head/net-mgmt/net-snmp-devel/files/patch-ag (nonexistent) +++ head/net-mgmt/net-snmp-devel/files/patch-ag (revision 21264) @@ -0,0 +1,11 @@ +--- snmplib/ucd-snmp-includes.h.orig Wed Jan 20 18:18:42 1999 ++++ snmplib/ucd-snmp-includes.h Sat Aug 28 02:13:56 1999 +@@ -4,7 +4,7 @@ + #include + + /* uncomment if you don't have in_addr_t in netinet/in.h */ +-/* typedef u_int in_addr_t; */ ++typedef u_int in_addr_t; + + #include + #include Property changes on: head/net-mgmt/net-snmp-devel/files/patch-ag ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-mgmt/net-snmp-devel/files/patch-ah =================================================================== --- head/net-mgmt/net-snmp-devel/files/patch-ah (nonexistent) +++ head/net-mgmt/net-snmp-devel/files/patch-ah (revision 21264) @@ -0,0 +1,8 @@ +--- local/tkmib.orig Wed Jul 21 19:06:52 1999 ++++ local/tkmib Sat Aug 28 02:37:57 1999 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + + require 5; + Property changes on: head/net-mgmt/net-snmp-devel/files/patch-ah ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-mgmt/net-snmp4/Makefile =================================================================== --- head/net-mgmt/net-snmp4/Makefile (revision 21263) +++ head/net-mgmt/net-snmp4/Makefile (revision 21264) @@ -1,71 +1,75 @@ # New ports collection makefile for: ucd-snmp # Version required: 3.6.1 # Date created: 26 June 1996 # Whom: gpalmer # # $FreeBSD$ # DISTNAME= ucd-snmp-4.0.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= gpalmer@FreeBSD.org CONFIGURE_ARGS= --enable-shared -USE_CONFIGURE= YES GNU_CONFIGURE= YES .if defined(BATCH) CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where .else IS_INTERACTIVE= yes .endif #CFLAGS= -g MAN1= snmpbulkwalk.1 snmpd.1 snmpdelta.1 snmpget.1 snmpgetnext.1 \ snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \ snmptranslate.1 snmptrap.1 snmpwalk.1 snmpcmd.1 snmpusm.1 MAN3= read_config.3 mib_api.3 snmp_api.3 snmp_sess_api.3 MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ snmptrapd.conf.5 variables.5 MAN8= snmptrapd.8 BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \ snmpstatus snmptest snmptranslate snmptrap snmpwalk SBIN= snmpd snmptrapd STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample .include .if ${PORTOBJFORMAT} == "aout" BROKEN= "aout build breaks: ld: internal error: RRS relocs exceed allocation 343" .endif .if ${OSVERSION} >= 400000 BROKEN= "Uses the old VM system interfaces" .endif -SHLIB_VERSION=3 +SHLIB_VERSION=4 PLIST_SUB= shlib=${SHLIB_VERSION} post-patch: @${CP} ${FILESDIR}/freebsd4.h ${WRKSRC}/s post-install: - ( cd ${PREFIX}/bin && strip ${BIN} ) - ( cd ${PREFIX}/sbin && strip ${SBIN} ) - ( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so ) + @( cd ${PREFIX}/bin && strip ${BIN} ) + @( cd ${PREFIX}/sbin && strip ${SBIN} ) + @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) + @( 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 \ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done @if [ ! -f ${STARTUP_FILE} ]; then \ ${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \ ${ECHO} "#!/bin/sh" > ${STARTUP_FILE}; \ ${ECHO} "[ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && ${ECHO} -n ' snmpd'" >> ${STARTUP_FILE}; \ ${CHMOD} 751 ${STARTUP_FILE}; \ fi ${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib .include Property changes on: head/net-mgmt/net-snmp4/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.33 \ No newline at end of property +1.34 \ No newline at end of property Index: head/net-mgmt/net-snmp4/distinfo =================================================================== --- head/net-mgmt/net-snmp4/distinfo (revision 21263) +++ head/net-mgmt/net-snmp4/distinfo (revision 21264) @@ -1 +1,2 @@ MD5 (ucd-snmp-4.0.1.tar.gz) = ba72a7b8c9efd226b72baf74d68d4511 +MD5 (012.patch) = 4e5cbbeacaccafedc985698fafb89d15 Property changes on: head/net-mgmt/net-snmp4/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/net-mgmt/net-snmp4/files/patch-ag =================================================================== --- head/net-mgmt/net-snmp4/files/patch-ag (nonexistent) +++ head/net-mgmt/net-snmp4/files/patch-ag (revision 21264) @@ -0,0 +1,11 @@ +--- snmplib/ucd-snmp-includes.h.orig Wed Jan 20 18:18:42 1999 ++++ snmplib/ucd-snmp-includes.h Sat Aug 28 02:13:56 1999 +@@ -4,7 +4,7 @@ + #include + + /* uncomment if you don't have in_addr_t in netinet/in.h */ +-/* typedef u_int in_addr_t; */ ++typedef u_int in_addr_t; + + #include + #include Property changes on: head/net-mgmt/net-snmp4/files/patch-ag ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-mgmt/net-snmp4/files/patch-ah =================================================================== --- head/net-mgmt/net-snmp4/files/patch-ah (nonexistent) +++ head/net-mgmt/net-snmp4/files/patch-ah (revision 21264) @@ -0,0 +1,8 @@ +--- local/tkmib.orig Wed Jul 21 19:06:52 1999 ++++ local/tkmib Sat Aug 28 02:37:57 1999 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + + require 5; + Property changes on: head/net-mgmt/net-snmp4/files/patch-ah ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-mgmt/net-snmp53/Makefile =================================================================== --- head/net-mgmt/net-snmp53/Makefile (revision 21263) +++ head/net-mgmt/net-snmp53/Makefile (revision 21264) @@ -1,71 +1,75 @@ # New ports collection makefile for: ucd-snmp # Version required: 3.6.1 # Date created: 26 June 1996 # Whom: gpalmer # # $FreeBSD$ # DISTNAME= ucd-snmp-4.0.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= gpalmer@FreeBSD.org CONFIGURE_ARGS= --enable-shared -USE_CONFIGURE= YES GNU_CONFIGURE= YES .if defined(BATCH) CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where .else IS_INTERACTIVE= yes .endif #CFLAGS= -g MAN1= snmpbulkwalk.1 snmpd.1 snmpdelta.1 snmpget.1 snmpgetnext.1 \ snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \ snmptranslate.1 snmptrap.1 snmpwalk.1 snmpcmd.1 snmpusm.1 MAN3= read_config.3 mib_api.3 snmp_api.3 snmp_sess_api.3 MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ snmptrapd.conf.5 variables.5 MAN8= snmptrapd.8 BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \ snmpstatus snmptest snmptranslate snmptrap snmpwalk SBIN= snmpd snmptrapd STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample .include .if ${PORTOBJFORMAT} == "aout" BROKEN= "aout build breaks: ld: internal error: RRS relocs exceed allocation 343" .endif .if ${OSVERSION} >= 400000 BROKEN= "Uses the old VM system interfaces" .endif -SHLIB_VERSION=3 +SHLIB_VERSION=4 PLIST_SUB= shlib=${SHLIB_VERSION} post-patch: @${CP} ${FILESDIR}/freebsd4.h ${WRKSRC}/s post-install: - ( cd ${PREFIX}/bin && strip ${BIN} ) - ( cd ${PREFIX}/sbin && strip ${SBIN} ) - ( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so ) + @( cd ${PREFIX}/bin && strip ${BIN} ) + @( cd ${PREFIX}/sbin && strip ${SBIN} ) + @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) + @( 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 \ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done @if [ ! -f ${STARTUP_FILE} ]; then \ ${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \ ${ECHO} "#!/bin/sh" > ${STARTUP_FILE}; \ ${ECHO} "[ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && ${ECHO} -n ' snmpd'" >> ${STARTUP_FILE}; \ ${CHMOD} 751 ${STARTUP_FILE}; \ fi ${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib .include Property changes on: head/net-mgmt/net-snmp53/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.33 \ No newline at end of property +1.34 \ No newline at end of property Index: head/net-mgmt/net-snmp53/distinfo =================================================================== --- head/net-mgmt/net-snmp53/distinfo (revision 21263) +++ head/net-mgmt/net-snmp53/distinfo (revision 21264) @@ -1 +1,2 @@ MD5 (ucd-snmp-4.0.1.tar.gz) = ba72a7b8c9efd226b72baf74d68d4511 +MD5 (012.patch) = 4e5cbbeacaccafedc985698fafb89d15 Property changes on: head/net-mgmt/net-snmp53/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/net-mgmt/net-snmp53/files/patch-ag =================================================================== --- head/net-mgmt/net-snmp53/files/patch-ag (nonexistent) +++ head/net-mgmt/net-snmp53/files/patch-ag (revision 21264) @@ -0,0 +1,11 @@ +--- snmplib/ucd-snmp-includes.h.orig Wed Jan 20 18:18:42 1999 ++++ snmplib/ucd-snmp-includes.h Sat Aug 28 02:13:56 1999 +@@ -4,7 +4,7 @@ + #include + + /* uncomment if you don't have in_addr_t in netinet/in.h */ +-/* typedef u_int in_addr_t; */ ++typedef u_int in_addr_t; + + #include + #include Property changes on: head/net-mgmt/net-snmp53/files/patch-ag ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-mgmt/net-snmp53/files/patch-ah =================================================================== --- head/net-mgmt/net-snmp53/files/patch-ah (nonexistent) +++ head/net-mgmt/net-snmp53/files/patch-ah (revision 21264) @@ -0,0 +1,8 @@ +--- local/tkmib.orig Wed Jul 21 19:06:52 1999 ++++ local/tkmib Sat Aug 28 02:37:57 1999 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + + require 5; + Property changes on: head/net-mgmt/net-snmp53/files/patch-ah ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property