Index: net-mgmt/net-snmp/Makefile =================================================================== --- net-mgmt/net-snmp/Makefile +++ net-mgmt/net-snmp/Makefile @@ -16,7 +16,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= IPV6 MFD_REWRITES PERL PERL_EMBEDDED PYTHON DUMMY TKMIB \ - MYSQL AX_SOCKONLY UNPRIVILEGED SMUX DOCS JAIL AX_DISABLE_TRAP + MYSQL AX_SOCKONLY UNPRIVILEGED SMUX DOCS JAIL AX_DISABLE_TRAP \ + TLS OPTIONS_DEFAULT=PERL PERL_EMBEDDED DUMMY SMUX MFD_REWRITES_DESC= Build with 64-bit Interface Counters @@ -36,9 +37,8 @@ GNU_CONFIGURE= yes USE_RC_SUBR= snmpd snmptrapd -USE_OPENSSL= yes USE_LDCONFIG= yes -USES= cpe libtool perl5 +USES= cpe libtool perl5 ssl CPE_VENDOR= net-snmp USE_PERL5= build run USE_CSTD= c99 @@ -64,6 +64,8 @@ CONFIGURE_ARGS+=--with-defaults .endif +TLS_CONFIGURE_ON= --with-security-modules=tsm --with-transports=TLSTCP,DTLSUDP + .include .if ${PORT_OPTIONS:MPYTHON}