Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2020 10:04:21 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r542422 - head/security/openvpn-devel
Message-ID:  <202007171004.06HA4LQJ084773@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Fri Jul 17 10:04:21 2020
New Revision: 542422
URL: https://svnweb.freebsd.org/changeset/ports/542422

Log:
  security/openvpn-devel: Update to 202028 (2020-W28 snapshot)
  
  ChangeLog:
  <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247974#c0>;
  
  While here:
  * add cmocka as build-time requisite to include the engine test.
  * use PLUGINDIR rather than hacking CPPFLAGS for PLUGIN_LIBDIR,
    the latter breaks -fPIC detection by configure (breaking the
    shared lib build for the engine unit tests)
  
  PR:		247974
  Submitted by:	Eric F. Crist (maintainer)

Modified:
  head/security/openvpn-devel/Makefile
  head/security/openvpn-devel/distinfo

Modified: head/security/openvpn-devel/Makefile
==============================================================================
--- head/security/openvpn-devel/Makefile	Fri Jul 17 10:04:19 2020	(r542421)
+++ head/security/openvpn-devel/Makefile	Fri Jul 17 10:04:21 2020	(r542422)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=		openvpn
-DISTVERSION=		202016
+DISTVERSION=		202028
 CATEGORIES=		security net net-vpn
 MASTER_SITES=		https://secure-computing.net/files/openvpn/
 PKGNAMESUFFIX=		-devel
@@ -26,17 +26,14 @@ SHEBANG_FILES=		sample/sample-scripts/verify-cn \
 			sample/sample-scripts/auth-pam.pl \
 			sample/sample-scripts/ucn.pl
 CONFIGURE_ARGS+=	--enable-strict
-# avoid picking up CMAKE, we don't have cmocka in the tarballs..
-CONFIGURE_ENV+=		ac_cv_prog_CMAKE= CMAKE=
+# set PLUGIN_LIBDIR so that unqualified plugin paths are found:
+CONFIGURE_ENV+=		PLUGINDIR="${PREFIX}/lib/openvpn/plugins"
 
 # let OpenVPN's configure script pick up the requisite libraries,
 # but do not break the plugin build if an older version is installed
 CPPFLAGS+=		-I${WRKSRC}/include -I${LOCALBASE}/include
 LDFLAGS+=		-L${LOCALBASE}/lib
 
-# set PLUGIN_LIBDIR so that unqualified plugin paths are found:
-CPPFLAGS+=		-DPLUGIN_LIBDIR=\\\"${PREFIX}/lib/openvpn/plugins\\\"
-
 OPTIONS_DEFINE=		PKCS11 EASYRSA DOCS EXAMPLES X509ALTUSERNAME \
 			TEST LZ4 SMALL TUNNELBLICK
 OPTIONS_DEFAULT=	EASYRSA OPENSSL TEST LZ4
@@ -81,6 +78,7 @@ SUB_FILES=		pkg-message openvpn-client
 CFLAGS+=		-DLOG_OPENVPN=${LOG_OPENVPN}
 .endif
 
+BUILD_DEPENDS+=		cmocka>=0:sysutils/cmocka
 LIB_DEPENDS+=		liblzo2.so:archivers/lzo2
 
 LZ4_LIB_DEPENDS+=	liblz4.so:archivers/liblz4

Modified: head/security/openvpn-devel/distinfo
==============================================================================
--- head/security/openvpn-devel/distinfo	Fri Jul 17 10:04:19 2020	(r542421)
+++ head/security/openvpn-devel/distinfo	Fri Jul 17 10:04:21 2020	(r542422)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1587381350
-SHA256 (openvpn-202016.tar.xz) = 2852432acc92bcad16d68c74e325bf404d8a46c4b6fc820e4dfe188422193a17
-SIZE (openvpn-202016.tar.xz) = 1027924
+TIMESTAMP = 1594737664
+SHA256 (openvpn-202028.tar.xz) = f78d2e69ea52b186f871568f146da93e03d1395c8c2cd3bc64baa2dc34e8393e
+SIZE (openvpn-202028.tar.xz) = 1040500



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007171004.06HA4LQJ084773>