From owner-svn-ports-branches@freebsd.org Tue Oct 27 14:32:08 2015 Return-Path: Delivered-To: svn-ports-branches@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 62E9FA1F27C; Tue, 27 Oct 2015 14:32:08 +0000 (UTC) (envelope-from garga@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 23D051FC9; Tue, 27 Oct 2015 14:32:08 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9REW7IU026902; Tue, 27 Oct 2015 14:32:07 GMT (envelope-from garga@FreeBSD.org) Received: (from garga@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9REW7GG026901; Tue, 27 Oct 2015 14:32:07 GMT (envelope-from garga@FreeBSD.org) Message-Id: <201510271432.t9REW7GG026901@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: garga set sender to garga@FreeBSD.org using -f From: Renato Botelho Date: Tue, 27 Oct 2015 14:32:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r400249 - branches/2015Q4/security/strongswan X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2015 14:32:08 -0000 Author: garga Date: Tue Oct 27 14:32:07 2015 New Revision: 400249 URL: https://svnweb.freebsd.org/changeset/ports/400249 Log: MFH: r400233 strongSwan can be beuit using 3 different printf hooks: builtin, glibc (compatible with FreeBSD's libc) and vstr (devel/vstr). Since it's not selected any of them on CONFIGURE_ARGS, it uses auto, and end up using glibc. pfSense users reported memory leaks on strongSwan [2] [3] and a it was reported to upstream [1]. Add a single option and let user choose which printf hook to use, and change default to use builtin. Bump PORTREVISION due to default change [1] https://wiki.strongswan.org/issues/1106 [2] https://forum.pfsense.org/index.php?topic=96767.0 [3] https://redmine.pfsense.org/issues/5149 PR: 204051 Approved by: ports-secteam (feld), maintainer Obtained from: pfSense Sponsored by: Rubicon Communications (Netgate) Modified: branches/2015Q4/security/strongswan/Makefile Directory Properties: branches/2015Q4/ (props changed) Modified: branches/2015Q4/security/strongswan/Makefile ============================================================================== --- branches/2015Q4/security/strongswan/Makefile Tue Oct 27 14:11:05 2015 (r400248) +++ branches/2015Q4/security/strongswan/Makefile Tue Oct 27 14:32:07 2015 (r400249) @@ -3,6 +3,7 @@ PORTNAME= strongswan PORTVERSION= 5.3.3 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://download.strongswan.org/ \ http://download2.strongswan.org/ @@ -42,7 +43,9 @@ CONFIGURE_ARGS= --enable-kernel-pfkey \ OPTIONS_DEFINE= CURL EAPAKA3GPP2 EAPDYNAMIC EAPRADIUS EAPSIMFILE GCM IKEv1 \ IPSECKEY KERNELLIBIPSEC LOADTESTER LDAP MYSQL PKI SCEP SMP \ SQLITE TESTVECTOR UNBOUND UNITY XAUTH -OPTIONS_DEFAULT= IKEv1 +OPTIONS_DEFAULT= IKEv1 BUILTIN +OPTIONS_SINGLE= PRINTF_HOOKS +OPTIONS_SINGLE_PRINTF_HOOKS= BUILTIN VSTR LIBC OPTIONS_SUB= yes CURL_DESC= Enable CURL to fetch CRL/OCSP EAPAKA3GPP2_DESC= Enable EAP AKA with 3gpp2 backend @@ -61,6 +64,9 @@ SMP_DESC= Enable XML-based management pr UNBOUND_DESC= Enable DNSSEC-enabled resolver UNITY_DESC= Enable Cisco Unity extension plugin XAUTH_DESC= Enable XAuth password verification +BUILTIN_DESC= Use builtin printf hooks +LIBC_DESC= Use libc printf hooks +VSTR_DESC= Use devel/vstr printf hooks # Extra options CURL_CONFIGURE_ON= --enable-curl @@ -90,6 +96,10 @@ UNBOUND_CONFIGURE_ON= --enable-unbound UNBOUND_LIB_DEPENDS= libunbound.so:${PORTSDIR}/dns/unbound UNITY_CONFIGURE_ON= --enable-unity XAUTH_CONFIGURE_ON= --enable-xauth-eap --enable-xauth-generic +BUILTIN_CONFIGURE_ON= --with-printf-hooks=builtin +LIBC_CONFIGURE_ON= --with-printf-hooks=glibc +VSTR_CONFIGURE_ON= --with-printf-hooks=vstr +VSTR_LIB_DEPENDS= libvstr.so:devel/vstr .include