svn commit: r433981 - head/security/easy-rsa2

Mathieu Arnold mat at FreeBSD.org
Mon Feb 13 10:12:32 UTC 2017


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
+ at sample %%DATADIR%%/vars.sample
 %%DATADIR%%/sign-req
 %%DATADIR%%/revoke-full
 %%DATADIR%%/pkitool


More information about the svn-ports-head mailing list