svn commit: r409070 - head/security/easy-rsa

Matthias Andree mandree at FreeBSD.org
Wed Feb 17 20:36:48 UTC 2016


Author: mandree
Date: Wed Feb 17 20:36:46 2016
New Revision: 409070
URL: https://svnweb.freebsd.org/changeset/ports/409070

Log:
  Install openssl-1.0.cnf as well (EasyRSA-3.0 specific).
  
  Originally install it as ${DATADIR}/*.example and mark it as @sample in
  pkg-plist, so that it gets copied to the real file name on installation,
  and will not be removed if modified by the user.
  
  Submitted by:	Michele Possamai (e-mail kept private)

Modified:
  head/security/easy-rsa/Makefile
  head/security/easy-rsa/pkg-plist

Modified: head/security/easy-rsa/Makefile
==============================================================================
--- head/security/easy-rsa/Makefile	Wed Feb 17 20:15:22 2016	(r409069)
+++ head/security/easy-rsa/Makefile	Wed Feb 17 20:36:46 2016	(r409070)
@@ -2,6 +2,7 @@
 
 PORTNAME=	easy-rsa
 DISTVERSION=	3.0.1
+PORTREVISION=	1
 CATEGORIES=	security net-mgmt
 MASTER_SITES=	https://github.com/OpenVPN/easy-rsa/releases/download/${DISTVERSION}/
 DISTNAME=	EasyRSA-${DISTVERSION}
@@ -29,10 +30,11 @@ SUB_FILES=	easyrsa
 
 do-install:
 		${MKDIR} ${STAGEDIR}${PREFIX}/bin
-		${INSTALL_SCRIPT} ${WRKDIR}/easyrsa ${STAGEDIR}${PREFIX}/bin/
 		${MKDIR} ${STAGEDIR}${DATADIR}/x509-types/
+		${INSTALL_SCRIPT} ${WRKDIR}/easyrsa ${STAGEDIR}${PREFIX}/bin/
 		${INSTALL_SCRIPT} ${WRKSRC}/easyrsa ${STAGEDIR}${DATADIR}/easyrsa.real
-		${INSTALL_DATA} ${WRKSRC}/vars.example ${STAGEDIR}${DATADIR}
+		${INSTALL_DATA} ${WRKSRC}/vars.example ${STAGEDIR}${DATADIR}/
+		${INSTALL_DATA} ${WRKSRC}/openssl-1.0.cnf ${STAGEDIR}${DATADIR}/openssl-1.0.cnf.example
 		(cd ${WRKSRC}/x509-types/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/x509-types/)
 
 do-install-DOCS-on:

Modified: head/security/easy-rsa/pkg-plist
==============================================================================
--- head/security/easy-rsa/pkg-plist	Wed Feb 17 20:15:22 2016	(r409069)
+++ head/security/easy-rsa/pkg-plist	Wed Feb 17 20:36:46 2016	(r409070)
@@ -1,3 +1,4 @@
 bin/easyrsa
 %%DATADIR%%/easyrsa.real
+ at sample %%DATADIR%%/openssl-1.0.cnf.example %%DATADIR%%/openssl-1.0.cnf
 @sample %%DATADIR%%/vars.example %%DATADIR%%/vars


More information about the svn-ports-all mailing list