Date: Wed, 17 Feb 2016 20:36:46 +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: r409070 - head/security/easy-rsa Message-ID: <201602172036.u1HKakaI058214@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 +@sample %%DATADIR%%/openssl-1.0.cnf.example %%DATADIR%%/openssl-1.0.cnf @sample %%DATADIR%%/vars.example %%DATADIR%%/vars
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602172036.u1HKakaI058214>