diff options
author | Renato Botelho <garga@FreeBSD.org> | 2017-01-11 19:42:49 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2017-01-11 19:42:49 +0000 |
commit | ba6bf4b4aba474667c636b002ab59bfbc61c3612 (patch) | |
tree | 37e8bfc2b86246d546ccddbd652fc3147f6feeaa | |
parent | 9cd68896ac2e2f8c5ed106adec4499bb969ad919 (diff) | |
download | ports-ba6bf4b4aba474667c636b002ab59bfbc61c3612.tar.gz ports-ba6bf4b4aba474667c636b002ab59bfbc61c3612.zip |
Notes
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 9 | ||||
-rw-r--r-- | net-mgmt/net-snmp/pkg-plist | 5 |
2 files changed, 11 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 4f2c5dfde9b3..eab8d2fa6d7f 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -16,8 +16,10 @@ LICENSE= BSD3CLAUSE 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 +OPTIONS_SUB= yes MFD_REWRITES_DESC= Build with 64-bit Interface Counters PERL_EMBEDDED_DESC= Build embedded perl @@ -36,9 +38,8 @@ PORTSCOUT= skipv:5.7.2.1 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 +65,8 @@ CONFIGURE_ARGS+=--with-libs="-lssp_nonshared" CONFIGURE_ARGS+=--with-defaults .endif +TLS_CONFIGURE_ON= --with-security-modules=tsm --with-transports=TLSTCP,DTLSUDP + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MPYTHON} diff --git a/net-mgmt/net-snmp/pkg-plist b/net-mgmt/net-snmp/pkg-plist index 6901e24062a1..1198544459ff 100644 --- a/net-mgmt/net-snmp/pkg-plist +++ b/net-mgmt/net-snmp/pkg-plist @@ -22,6 +22,7 @@ bin/snmpset bin/snmpstatus bin/snmptable bin/snmptest +%%TLS%%bin/snmptls bin/snmptranslate bin/snmptrap bin/snmpusm @@ -117,8 +118,11 @@ include/net-snmp/library/snmp-tc.h include/net-snmp/library/snmp.h include/net-snmp/library/snmpAliasDomain.h include/net-snmp/library/snmpCallbackDomain.h +%%TLS%%include/net-snmp/library/snmpDTLSUDPDomain.h include/net-snmp/library/snmpTCPDomain.h %%WITH_IPV6%%include/net-snmp/library/snmpTCPIPv6Domain.h +%%TLS%%include/net-snmp/library/snmpTLSBaseDomain.h +%%TLS%%include/net-snmp/library/snmpTLSTCPDomain.h include/net-snmp/library/snmpUDPDomain.h %%WITH_IPV6%%include/net-snmp/library/snmpUDPIPv6Domain.h include/net-snmp/library/snmpUnixDomain.h @@ -134,6 +138,7 @@ include/net-snmp/library/snmp_parse_args.h include/net-snmp/library/snmp_secmod.h include/net-snmp/library/snmp_service.h include/net-snmp/library/snmp_transport.h +%%TLS%%include/net-snmp/library/snmptsm.h include/net-snmp/library/snmpusm.h include/net-snmp/library/snmpv3-security-includes.h include/net-snmp/library/snmpv3.h |