net/hostapd: Upgrade version 2.3 => 2.4, add PORTS_SSL option

PR:		198889
Submitted by:	maintainer (leres - ee.lbl.gov)
This commit is contained in:
John Marino 2015-03-29 12:15:40 +00:00
parent 35dcb337c0
commit a7786cff47
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382595
2 changed files with 20 additions and 4 deletions

View File

@ -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

View File

@ -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