summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>1999-04-07 16:07:41 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>1999-04-07 16:07:41 +0000
commit5e751949ffc786d37577691e43c22a9fae7cec9b (patch)
tree1ccc6091e13567d47fff19962d44cec09fd56078 /net-mgmt/net-snmp/Makefile
parentAdd USE_XLIB (diff)
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-snmp/Makefile')
-rw-r--r--net-mgmt/net-snmp/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 16f24935b2c0..d53646ea0792 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/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
+