Date: Tue, 31 May 2016 13:45:31 +0000 (UTC) From: Ryan Steinmetz <zi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416198 - head/net-mgmt/net-snmp Message-ID: <201605311345.u4VDjVcp033116@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605311345.u4VDjVcp033116>