Page MenuHomeFreeBSD

D9140.id23897.diff
No OneTemporary

D9140.id23897.diff

Index: head/net-mgmt/net-snmp/Makefile
===================================================================
--- head/net-mgmt/net-snmp/Makefile
+++ head/net-mgmt/net-snmp/Makefile
@@ -16,8 +16,10 @@
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 @@
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-defaults
.endif
+TLS_CONFIGURE_ON= --with-security-modules=tsm --with-transports=TLSTCP,DTLSUDP
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPYTHON}
Index: head/net-mgmt/net-snmp/pkg-plist
===================================================================
--- head/net-mgmt/net-snmp/pkg-plist
+++ head/net-mgmt/net-snmp/pkg-plist
@@ -22,6 +22,7 @@
bin/snmpstatus
bin/snmptable
bin/snmptest
+%%TLS%%bin/snmptls
bin/snmptranslate
bin/snmptrap
bin/snmpusm
@@ -117,8 +118,11 @@
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_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

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 31, 2:32 AM (8 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14391314
Default Alt Text
D9140.id23897.diff (2 KB)

Event Timeline