1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Don't overwrite vars file when upgrading.

(Also, don't overwrite securiy/easy-rsa's vars file when installing.)

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2017-02-13 10:12:31 +00:00
parent 8eb74bad4f
commit 81e55309a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433981
2 changed files with 5 additions and 1 deletions

View File

@ -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>

View File

@ -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