diff options
author | kuriyama <kuriyama@FreeBSD.org> | 1999-04-08 00:07:41 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 1999-04-08 00:07:41 +0800 |
commit | 753fb0166a5394b3eff874cbdd4c2a0da023f74d (patch) | |
tree | 39023946b071035fee9cdf3d47dd734516abe9c2 /net-mgmt/net-snmp4/Makefile | |
parent | 0fab7b2e6a1e08171019fcfbb16d38012caad92c (diff) | |
download | freebsd-ports-gnome-753fb0166a5394b3eff874cbdd4c2a0da023f74d.tar.gz freebsd-ports-gnome-753fb0166a5394b3eff874cbdd4c2a0da023f74d.tar.zst freebsd-ports-gnome-753fb0166a5394b3eff874cbdd4c2a0da023f74d.zip |
Upgrade to v3.6.1 and apply some patches. But this version still has
kvm_read() problem on some RELENG_3 system.
No response from: maintainer
PR: ports/7330, ports/8908, ports/8909
Diffstat (limited to 'net-mgmt/net-snmp4/Makefile')
-rw-r--r-- | net-mgmt/net-snmp4/Makefile | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/net-mgmt/net-snmp4/Makefile b/net-mgmt/net-snmp4/Makefile index 16f24935b2c0..d53646ea0792 100644 --- a/net-mgmt/net-snmp4/Makefile +++ b/net-mgmt/net-snmp4/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: ucd-snmp -# Version required: 3.5 +# Version required: 3.6.1 # Date created: 26 June 1996 # Whom: gpalmer # -# $Id: Makefile,v 1.23 1998/11/14 09:43:27 asami Exp $ +# $Id: Makefile,v 1.24 1999/04/06 19:00:36 fenner Exp $ # -DISTNAME= ucd-snmp-3.5.3 +DISTNAME= ucd-snmp-3.6.1 CATEGORIES= net MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \ ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ @@ -23,12 +23,14 @@ 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 -MAN3= mib_api.3 snmp_api.3 -MAN5= snmpd.conf.5 variables.5 +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 @@ -38,7 +40,6 @@ STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample .include <bsd.port.pre.mk> - .if ${PORTOBJFORMAT} == "aout" SHLIB_VERSION=3.5 PATCHDIR=patches.aout @@ -47,10 +48,13 @@ SHLIB_VERSION=3 .endif MAKE_ENV+= SHLIB_VERSION=${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 libsnmp.so.${SHLIB_VERSION} ) + ( 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 @@ -63,3 +67,6 @@ post-install: ${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib .include <bsd.port.post.mk> + +CFLAGS= -g + |