Date: Mon, 13 Feb 2017 10:12:31 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433981 - head/security/easy-rsa2 Message-ID: <201702131012.v1DACVcF080302@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Mon Feb 13 10:12:31 2017 New Revision: 433981 URL: https://svnweb.freebsd.org/changeset/ports/433981 Log: Don't overwrite vars file when upgrading. (Also, don't overwrite securiy/easy-rsa's vars file when installing.) Sponsored by: Absolight Modified: head/security/easy-rsa2/Makefile (contents, props changed) head/security/easy-rsa2/pkg-plist (contents, props changed) Modified: head/security/easy-rsa2/Makefile ============================================================================== --- head/security/easy-rsa2/Makefile Mon Feb 13 09:01:32 2017 (r433980) +++ head/security/easy-rsa2/Makefile Mon Feb 13 10:12:31 2017 (r433981) @@ -2,6 +2,7 @@ PORTNAME= easy-rsa DISTVERSION= 2.2.2 +PORTREVISION= 1 CATEGORIES= security net-mgmt PKGNAMESUFFIX= 2 @@ -20,4 +21,7 @@ GH_ACCOUNT= OpenVPN GNU_CONFIGURE= yes USES= autoreconf +post-install: + @${MV} ${STAGEDIR}${DATADIR}/vars ${STAGEDIR}${DATADIR}/vars.sample + .include <bsd.port.mk> Modified: head/security/easy-rsa2/pkg-plist ============================================================================== --- head/security/easy-rsa2/pkg-plist Mon Feb 13 09:01:32 2017 (r433980) +++ head/security/easy-rsa2/pkg-plist Mon Feb 13 10:12:31 2017 (r433981) @@ -2,7 +2,7 @@ %%DOCSDIR%%/COPYRIGHT.GPL %%DOCSDIR%%/COPYING %%DATADIR%%/build-ca -%%DATADIR%%/vars +@sample %%DATADIR%%/vars.sample %%DATADIR%%/sign-req %%DATADIR%%/revoke-full %%DATADIR%%/pkitool
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702131012.v1DACVcF080302>