aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2013-10-15 05:00:29 +0800
committerzi <zi@FreeBSD.org>2013-10-15 05:00:29 +0800
commit9debc0cca97a2f3c5ce7f2fd0f212717a3c2deaf (patch)
treeba39ebb9feb7dc953a3a36721592c263a9678408 /net
parentde9ed67aca47b81687e4fe37ea143da09cd42773 (diff)
downloadfreebsd-ports-gnome-9debc0cca97a2f3c5ce7f2fd0f212717a3c2deaf.tar.gz
freebsd-ports-gnome-9debc0cca97a2f3c5ce7f2fd0f212717a3c2deaf.tar.zst
freebsd-ports-gnome-9debc0cca97a2f3c5ce7f2fd0f212717a3c2deaf.zip
- Add OPTION to build against security/openssl
- Do not bump PORTREVISION PR: ports/182836 Submitted by: Mark Felder <feld@FreeBSD.org>
Diffstat (limited to 'net')
-rw-r--r--net/freeradius2/Makefile7
-rw-r--r--net/freeradius3/Makefile7
2 files changed, 12 insertions, 2 deletions
diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile
index d4169c1e4346..6bb7e0f992f7 100644
--- a/net/freeradius2/Makefile
+++ b/net/freeradius2/Makefile
@@ -38,7 +38,7 @@ PLIST_SUB= PORTVERSION=${DISTVERSION} LIBVER=0${PORTVERSION:C/\./0/g}
OPTIONS_DEFINE= USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \
PGSQL UNIXODBC FIREBIRD PERL PYTHON OCI8 RUBY DHCP \
- EXPERIMENTAL UDPFROMTO DEVELOPER EDIR
+ EXPERIMENTAL UDPFROMTO DEVELOPER EDIR SSL_PORT
OPTIONS_DEFAULT=USER PERL PYTHON
DHCP_DESC= With DHCP support (EXPERIMENTAL)
@@ -52,6 +52,7 @@ EXPERIMENTAL_DESC= Build experimental modules
UDPFROMTO_DESC= Compile in UDPFROMTO support
DEVELOPER_DESC= Enable developer options
EDIR_DESC= Enable eDirectory support (implies LDAP)
+SSL_PORT_DESC= Use OpenSSL from the ports collection
NO_STAGE= yes
.include <bsd.port.options.mk>
@@ -256,6 +257,10 @@ CFLAGS!= ${ECHO} ${CFLAGS} | ${SED} -Ee 's:-O[0-9]?[[:space:]]*::g'
CONFIGURE_ARGS+=--with-udpfromto
.endif
+.if ${PORT_OPTIONS:MSSL_PORT}
+WITH_OPENSSL_PORT=yes
+.endif
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64" && ${OSVERSION} < 700000
diff --git a/net/freeradius3/Makefile b/net/freeradius3/Makefile
index 3e4e2b4f9907..599b0db0a79c 100644
--- a/net/freeradius3/Makefile
+++ b/net/freeradius3/Makefile
@@ -42,7 +42,7 @@ PLIST_SUB= PORTVERSION=${DISTVERSION} LIBVER=0${PORTVERSION:C/\./0/g}
OPTIONS_DEFINE= USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \
PGSQL UNIXODBC FIREBIRD REDIS PYTHON RUBY DHCP \
EXPERIMENTAL UDPFROMTO DEVELOPER EDIR PERL REST \
- FREETDS IDN
+ FREETDS IDN SSL_PORT
OPTIONS_DEFAULT=USER PERL
DHCP_DESC= With DHCP support (EXPERIMENTAL)
@@ -56,6 +56,7 @@ UDPFROMTO_DESC= Compile in UDPFROMTO support
DEVELOPER_DESC= Enable developer options
EDIR_DESC= Enable eDirectory support (implies LDAP)
REST_DESC= Enable RESTful API support
+SSL_PORT_DESC= Use OpenSSL from the ports collection
NO_STAGE= yes
@@ -312,6 +313,10 @@ CONFIGURE_ARGS+=--quiet
CONFIGURE_ARGS+=--with-udpfromto
.endif
+.if ${PORT_OPTIONS:MSSL_PORT}
+WITH_OPENSSL_PORT=yes
+.endif
+
.include <bsd.port.pre.mk>
# if we're installing, place sample configs into ${EXAMPLESDIR}