diff options
author | marino <marino@FreeBSD.org> | 2015-03-29 20:15:40 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2015-03-29 20:15:40 +0800 |
commit | 0ddbb7195959cf341e9dd41109ed79b05128b2e5 (patch) | |
tree | ec2440625e9ade3d306e694327c2a1ad6c5a88d9 /net/hostapd | |
parent | fd53f74cd23bdb334837c05c056ac2f501224eeb (diff) | |
download | freebsd-ports-gnome-0ddbb7195959cf341e9dd41109ed79b05128b2e5.tar.gz freebsd-ports-gnome-0ddbb7195959cf341e9dd41109ed79b05128b2e5.tar.zst freebsd-ports-gnome-0ddbb7195959cf341e9dd41109ed79b05128b2e5.zip |
net/hostapd: Upgrade version 2.3 => 2.4, add PORTS_SSL option
PR: 198889
Submitted by: maintainer (leres - ee.lbl.gov)
Diffstat (limited to 'net/hostapd')
-rw-r--r-- | net/hostapd/Makefile | 20 | ||||
-rw-r--r-- | net/hostapd/distinfo | 4 |
2 files changed, 20 insertions, 4 deletions
diff --git a/net/hostapd/Makefile b/net/hostapd/Makefile index db561305f869..10fb20cd9c2f 100644 --- a/net/hostapd/Makefile +++ b/net/hostapd/Makefile @@ -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 diff --git a/net/hostapd/distinfo b/net/hostapd/distinfo index 4d3f03d82153..834f426ca46d 100644 --- a/net/hostapd/distinfo +++ b/net/hostapd/distinfo @@ -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 |