aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2013-08-13 16:34:57 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2013-08-13 16:34:57 +0000
commit19d8e2cbf26fb853f0950fa6be908b59107d5e65 (patch)
tree586e32fedbea54a49025ddf8772b5ab16d2c025a /net-mgmt
parentb1634cb75123f64dd7c46c031fa9737ae1baae5b (diff)
downloadports-19d8e2cbf26fb853f0950fa6be908b59107d5e65.tar.gz
ports-19d8e2cbf26fb853f0950fa6be908b59107d5e65.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/net-snmp/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index f8575cd303c4..b833b73bde65 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -16,8 +16,8 @@ LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= IPV6 MFD_REWRITES PERL PERL_EMBEDDED PYTHON DUMMY TKMIB \
- DMALLOC MYSQL AX_SOCKONLY UNPRIVILEGED
-OPTIONS_DEFAULT=IPV6 PERL PERL_EMBEDDED DUMMY
+ DMALLOC MYSQL AX_SOCKONLY UNPRIVILEGED SMUX
+OPTIONS_DEFAULT=IPV6 PERL PERL_EMBEDDED DUMMY SMUX
MFD_REWRITES_DESC= Build with 64-bit Interface Counters
PERL_EMBEDDED_DESC= Build embedded perl
@@ -26,6 +26,7 @@ TKMIB_DESC= Install graphical MIB browser
DMALLOC_DESC= Enable dmalloc debug memory allocator
AX_SOCKONLY_DESC= Disable UDP/TCP transports for agentx
UNPRIVILEGED_DESC= Allow unprivileged users to execute net-snmp
+SMUX_DESC= Build with SNMP multiplexing (SMUX) support
.include <bsd.port.options.mk>
@@ -148,7 +149,7 @@ NET_SNMP_SYS_CONTACT?= nobody@nowhere.invalid
NET_SNMP_SYS_LOCATION?= somewhere
NET_SNMP_LOGFILE?= /var/log/snmpd.log
NET_SNMP_PERSISTENTDIR?=/var/net-snmp
-NET_SNMP_WITH_MIB_MODULE_LIST+= host disman/event-mib smux mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio
+NET_SNMP_WITH_MIB_MODULE_LIST+= host disman/event-mib mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio
.if ${OSVERSION} >= 700028
NET_SNMP_WITH_MIB_MODULE_LIST+= sctp-mib
@@ -163,6 +164,12 @@ CONFIGURE_ARGS+=--enable-mfd-rewrites
NET_SNMP_WITH_MIB_MODULE_LIST+= if-mib
.endif
+.if ${PORT_OPTIONS:MSMUX}
+NET_SNMP_WITH_MIB_MODULE_LIST+= smux
+.else
+NET_SNMP_WITHOUT_MIB_MODULE_LIST+= smux
+.endif
+
.if defined(NET_SNMP_WITH_MIB_MODULE_LIST) && \
!empty(NET_SNMP_WITH_MIB_MODULE_LIST)
CONFIGURE_ARGS+=--with-mib-modules="${NET_SNMP_WITH_MIB_MODULE_LIST}"