summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp/Makefile')
-rw-r--r--net-mgmt/net-snmp/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index e7558608e1b8..4a15477cc3c4 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -1,7 +1,7 @@
PORTNAME= snmp
PORTVERSION= 5.9.4
-PORTEPOCH= 1
PORTREVISION= 6
+PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} \
ZI
@@ -20,7 +20,7 @@ NOT_FOR_ARCHS_REASON= SSP is currently broken on MIPS
OPTIONS_DEFINE= MFD_REWRITES PERL PERL_EMBEDDED PYTHON DUMMY TKMIB \
MYSQL AX_SOCKONLY UNPRIVILEGED SMUX DOCS AX_DISABLE_TRAP \
- TLS NEWSYSLOG NOLIBPKG SCTP
+ TLS NEWSYSLOG NOLIBPKG SCTP AES
OPTIONS_DEFAULT=PERL PERL_EMBEDDED DUMMY SMUX NEWSYSLOG
OPTIONS_SUB= yes
@@ -35,6 +35,7 @@ SMUX_DESC= Build with SNMP multiplexing (SMUX) support
NEWSYSLOG_DESC= Automatically rotate snmpd.log via newsyslog
NOLIBPKG_DESC= Build without libpkg
SCTP_DESC= Build with SCTP MIB support
+AES_DESC= Build with Blumenthal AES support
USERS= snmpd
GROUPS= snmpd
@@ -95,6 +96,10 @@ CONFIGURE_ARGS+=--with-openssl="${OPENSSLBASE}"
CONFIGURE_ARGS+=--with-dummy-values
.endif
+.if ${PORT_OPTIONS:MAES}
+CONFIGURE_ARGS+=--enable-blumenthal-aes
+.endif
+
.if ! ${PORT_OPTIONS:MTKMIB}
PLIST_SUB+= WITH_TKMIB="@comment "
.else