summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-05-25 02:16:58 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-05-25 02:16:58 +0000
commit9fd97a9ecc1cebbd6ca1240a5da336c448c78b40 (patch)
tree25c5ee5a73a1d3001c50d199190210132cf4d62a /net-mgmt/net-snmp/Makefile
parentInvert WITHOUT_RUBY logic. This should fix the bento build. (diff)
(1) Support IPv6 transport.
(2) Install snmpd.sh.sample and also install snmpd.sh if not exist. (not yet completed as pkg_add case) Requested by: ume, Katsuhisa ABE <katsuhisa.abe@nifty.com> (1) Vince Valenti <vince@blue-box.net> (2)
Diffstat (limited to 'net-mgmt/net-snmp/Makefile')
-rw-r--r--net-mgmt/net-snmp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index ca93d2cc6548..c8d782307eb3 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -7,6 +7,7 @@
PORTNAME= net-snmp
PORTVERSION= 5.0.1
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
@@ -69,7 +70,8 @@ STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400014
-CONFIGURE_ARGS+= --enable-ipv6
+CONFIGURE_ARGS+= --enable-ipv6 \
+ --with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix"
.endif
SHLIB_VERSION= 5
@@ -83,6 +85,7 @@ post-install:
@( cd ${PREFIX}/sbin && strip ${SBIN} )
@( cd ${PREFIX}/include/net-snmp && ${CHMOD} 644 * )
@( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * )
+ @${INSTALL_SCRIPT} -m 751 ${FILESDIR}/snmpd.sh.sample ${PREFIX}/etc/rc.d
@if [ ! -f ${STARTUP_FILE} ]; then \
${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/snmpd.sh.sample ${STARTUP_FILE}; \