From owner-svn-ports-all@freebsd.org Tue Sep 13 05:01:28 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0AE80BD7D60; Tue, 13 Sep 2016 05:01:28 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B573BF5; Tue, 13 Sep 2016 05:01:27 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8D51Qmp087067; Tue, 13 Sep 2016 05:01:26 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8D51QmN087066; Tue, 13 Sep 2016 05:01:26 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609130501.u8D51QmN087066@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Tue, 13 Sep 2016 05:01:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421977 - head/net/hostapd X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 05:01:28 -0000 Author: marino Date: Tue Sep 13 05:01:26 2016 New Revision: 421977 URL: https://svnweb.freebsd.org/changeset/ports/421977 Log: net/hostapd: Remove PORTS_SSL option and use SSL_DEFAULT The port is now configured depending on the SSL base specified by the SSL_DEFAULT variable. Before it would break by default if SSL_DEFAULT was set to non-base. This changes puts hostapd in line with the rest of the ports tree. Approved by: SSL blanket Modified: head/net/hostapd/Makefile Modified: head/net/hostapd/Makefile ============================================================================== --- head/net/hostapd/Makefile Tue Sep 13 04:50:04 2016 (r421976) +++ head/net/hostapd/Makefile Tue Sep 13 05:01:26 2016 (r421977) @@ -3,7 +3,7 @@ PORTNAME= hostapd PORTVERSION= 2.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://w1.fi/releases/ @@ -12,31 +12,14 @@ COMMENT= IEEE 802.11 AP, IEEE 802.1X/WPA LICENSE= BSD3CLAUSE -USES= cpe gmake +USES= cpe gmake ssl CPE_VENDOR= w1.f1 -USE_OPENSSL= yes BUILD_WRKSRC= ${WRKSRC}/hostapd +CONFIGURE_ARGS= --with-ssl-dir=${OPENSSLBASE} PLIST_FILES= sbin/hostapd sbin/hostapd_cli man/man1/hostapd_cli.1.gz \ man/man8/hostapd.8.gz -OPTIONS_DEFINE= PORTS_SSL - -PORTS_SSL_DESC= Build with OpenSSL from ports (instead of base system) - -.include - -.if ${PORT_OPTIONS:MPORTS_SSL} -.if ${SSL_DEFAULT} == base -IGNORE= the PORTS_SSL option not allowed when using SSL from base -.endif -CONFIGURE_ARGS+= --with-ssl-dir=${PREFIX} -.else -.if ${SSL_DEFAULT} != base -IGNORE= the PORTS_SSL option is required when using SSL from ports -.endif -.endif - post-patch: @${REINPLACE_CMD} -e 's|@$$(E) " CC " $$<|@$$(E) " $$(CC) " $$<|' \ ${BUILD_WRKSRC}/Makefile @@ -52,4 +35,4 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/hostapd/hostapd.8 \ ${STAGEDIR}${MANPREFIX}/man/man8 -.include +.include