svn commit: r382595 - head/net/hostapd
John Marino
marino at FreeBSD.org
Sun Mar 29 12:15:42 UTC 2015
Author: marino
Date: Sun Mar 29 12:15:40 2015
New Revision: 382595
URL: https://svnweb.freebsd.org/changeset/ports/382595
QAT: https://qat.redports.org/buildarchive/r382595/
Log:
net/hostapd: Upgrade version 2.3 => 2.4, add PORTS_SSL option
PR: 198889
Submitted by: maintainer (leres - ee.lbl.gov)
Modified:
head/net/hostapd/Makefile
head/net/hostapd/distinfo
Modified: head/net/hostapd/Makefile
==============================================================================
--- head/net/hostapd/Makefile Sun Mar 29 11:51:01 2015 (r382594)
+++ head/net/hostapd/Makefile Sun Mar 29 12:15:40 2015 (r382595)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= hostapd
-PORTVERSION= 2.3
-PORTREVISION= 1
+PORTVERSION= 2.4
CATEGORIES= net
MASTER_SITES= http://w1.fi/releases/
@@ -23,6 +22,23 @@ BROKEN_ia64= does not compile
BROKEN_powerpc= does not compile
BROKEN_sparc64= does not compile
+OPTIONS_DEFINE= PORTS_SSL
+
+PORTS_SSL_DESC= Build with OpenSSL from ports (instead of base system)
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MPORTS_SSL}
+.if !defined(WITH_OPENSSL_PORT)
+IGNORE= the PORTS_SSL option not allowed when WITH_OPENSSL_PORT is not set
+.endif
+CONFIGURE_ARGS+= --with-ssl-dir=${PREFIX}
+.else
+.if defined(WITH_OPENSSL_PORT)
+IGNORE= the PORTS_SSL option is required when WITH_OPENSSL_PORT is set
+.endif
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|@$$(E) " CC " $$<|@$$(E) " $$(CC) " $$<|' \
${BUILD_WRKSRC}/Makefile
Modified: head/net/hostapd/distinfo
==============================================================================
--- head/net/hostapd/distinfo Sun Mar 29 11:51:01 2015 (r382594)
+++ head/net/hostapd/distinfo Sun Mar 29 12:15:40 2015 (r382595)
@@ -1,2 +1,2 @@
-SHA256 (hostapd-2.3.tar.gz) = c94c2b76876fad4c80a1063a06f958a2189ba5003475016fa7658a1ca49bb4df
-SIZE (hostapd-2.3.tar.gz) = 1592480
+SHA256 (hostapd-2.4.tar.gz) = 6fe0eb6bd1c9cbd24952ece8586b6f7bd14ab358edfda99794e79b9b9dbd657f
+SIZE (hostapd-2.4.tar.gz) = 1658872
More information about the svn-ports-all
mailing list