svn commit: r416198 - head/net-mgmt/net-snmp
Ryan Steinmetz
zi at FreeBSD.org
Tue May 31 13:45:32 UTC 2016
Author: zi
Date: Tue May 31 13:45:31 2016
New Revision: 416198
URL: https://svnweb.freebsd.org/changeset/ports/416198
Log:
- Add OPTION to pass --disable-snmptrapd-subagent to configure
PR: 209885
Submitted by: emz at norma.perm.ru
Modified:
head/net-mgmt/net-snmp/Makefile
Modified: head/net-mgmt/net-snmp/Makefile
==============================================================================
--- head/net-mgmt/net-snmp/Makefile Tue May 31 13:40:42 2016 (r416197)
+++ head/net-mgmt/net-snmp/Makefile Tue May 31 13:45:31 2016 (r416198)
@@ -16,7 +16,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= IPV6 MFD_REWRITES PERL PERL_EMBEDDED PYTHON DUMMY TKMIB \
- MYSQL AX_SOCKONLY UNPRIVILEGED SMUX DOCS JAIL
+ MYSQL AX_SOCKONLY UNPRIVILEGED SMUX DOCS JAIL AX_DISABLE_TRAP
OPTIONS_DEFAULT=PERL PERL_EMBEDDED DUMMY SMUX
MFD_REWRITES_DESC= Build with 64-bit Interface Counters
@@ -25,6 +25,7 @@ DUMMY_DESC= Enable dummy values as plac
TKMIB_DESC= Install graphical MIB browser
#DMALLOC_DESC= Enable dmalloc debug memory allocator
AX_SOCKONLY_DESC= Disable UDP/TCP transports for agentx
+AX_DISABLE_TRAP_DESC= Disable agentx subagent code in snmptrapd
UNPRIVILEGED_DESC= Allow unprivileged users to execute net-snmp
SMUX_DESC= Build with SNMP multiplexing (SMUX) support
JAIL_DESC= Options for running snmpd within a jail(8)
@@ -124,6 +125,10 @@ CONFIGURE_ARGS+=--with-mysql
CONFIGURE_ENV+= MYSQLCONFIG=${LOCALBASE}/bin/mysql_config
.endif
+.if ${PORT_OPTIONS:MAX_DISABLE_TRAP}
+CONFIGURE_ARGS+=--disable-snmptrapd-subagent
+.endif
+
.if ${PORT_OPTIONS:MAX_SOCKONLY}
CONFIGURE_ARGS+=--enable-agentx-dom-sock-only
.endif
More information about the svn-ports-all
mailing list