diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2016-01-11 23:23:01 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2016-01-11 23:23:01 +0000 |
commit | 843ad7c6d05598ca21883e44ee933bcc7db25315 (patch) | |
tree | 7eb157275beec2e219b83dfdce31bbfc870b1efc /security/easy-rsa | |
parent | a182468e9026bf10c6d84e3303278dd5b6ec1a3b (diff) | |
download | ports-843ad7c6d05598ca21883e44ee933bcc7db25315.tar.gz ports-843ad7c6d05598ca21883e44ee933bcc7db25315.zip |
Notes
Diffstat (limited to 'security/easy-rsa')
-rw-r--r-- | security/easy-rsa/Makefile | 37 | ||||
-rw-r--r-- | security/easy-rsa/distinfo | 4 | ||||
-rw-r--r-- | security/easy-rsa/files/easyrsa.in | 4 | ||||
-rw-r--r-- | security/easy-rsa/pkg-plist | 26 |
4 files changed, 41 insertions, 30 deletions
diff --git a/security/easy-rsa/Makefile b/security/easy-rsa/Makefile index 9992619d34f3..351483f43254 100644 --- a/security/easy-rsa/Makefile +++ b/security/easy-rsa/Makefile @@ -1,8 +1,10 @@ # $FreeBSD$ PORTNAME= easy-rsa -DISTVERSION= 2.2.2 +DISTVERSION= 3.0.1 CATEGORIES= security net-mgmt +MASTER_SITES= https://github.com/OpenVPN/easy-rsa/releases/download/${DISTVERSION}/ +DISTNAME= EasyRSA-${DISTVERSION} # Eric F. Crist <ecrist@secure-computing.net> does not require my # approval for changes to this package. -- mandree@FreeBSD.org @@ -11,10 +13,35 @@ COMMENT= Small RSA key management package based on openssl LICENSE= GPLv2 -USE_GITHUB= yes -GH_ACCOUNT= OpenVPN +CONFLICTS_INSTALL=easy-rsa2-* -GNU_CONFIGURE= yes -USES= autoreconf +USES= tar:tgz +NO_BUILD= yes + +OPTIONS_DEFINE= DOCS EXAMPLES + +PORTDATA= x509-types/ +PORTDOCS= ChangeLog README.quickstart.md doc/ + +SUB_FILES= easyrsa + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKDIR}/easyrsa ${STAGEDIR}${PREFIX}/bin/ + ${MKDIR} ${STAGEDIR}${DATADIR}/x509-types/ + ${INSTALL_SCRIPT} ${WRKSRC}/easyrsa ${STAGEDIR}${DATADIR}/easyrsa.real + ${INSTALL_DATA} ${WRKSRC}/vars.example ${STAGEDIR}${DATADIR} + (cd ${WRKSRC}/x509-types/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/x509-types/) + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} +.for i in ${PORTDOCS} +.if "" != ${i:M*/} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/${i} + (cd ${WRKSRC}/${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${i}) +.else + ${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} +.endif +.endfor .include <bsd.port.mk> diff --git a/security/easy-rsa/distinfo b/security/easy-rsa/distinfo index e45c4f427f78..9097e55760a3 100644 --- a/security/easy-rsa/distinfo +++ b/security/easy-rsa/distinfo @@ -1,2 +1,2 @@ -SHA256 (OpenVPN-easy-rsa-2.2.2_GH0.tar.gz) = 38f1f84e9b966df8b312365c7c75a455bdf003abdd5156e7106fa9c7771583ae -SIZE (OpenVPN-easy-rsa-2.2.2_GH0.tar.gz) = 24453 +SHA256 (EasyRSA-3.0.1.tgz) = dbdaf5b9444b99e0c5221fd4bcf15384c62380c1b63cea23d42239414d7b2d4e +SIZE (EasyRSA-3.0.1.tgz) = 40960 diff --git a/security/easy-rsa/files/easyrsa.in b/security/easy-rsa/files/easyrsa.in new file mode 100644 index 000000000000..f70f2e490a24 --- /dev/null +++ b/security/easy-rsa/files/easyrsa.in @@ -0,0 +1,4 @@ +#! /bin/sh +: ${EASYRSA:="%%PREFIX%%/share/easy-rsa"} +export EASYRSA +exec "%%PREFIX%%/share/easy-rsa/easyrsa.real" "$@" diff --git a/security/easy-rsa/pkg-plist b/security/easy-rsa/pkg-plist index cba3ad041005..ba5eb353a125 100644 --- a/security/easy-rsa/pkg-plist +++ b/security/easy-rsa/pkg-plist @@ -1,23 +1,3 @@ -%%DOCSDIR%%/README-2.0 -%%DOCSDIR%%/COPYRIGHT.GPL -%%DOCSDIR%%/COPYING -share/easy-rsa/build-ca -share/easy-rsa/vars -share/easy-rsa/sign-req -share/easy-rsa/revoke-full -share/easy-rsa/pkitool -share/easy-rsa/openssl-1.0.0.cnf -share/easy-rsa/openssl-0.9.8.cnf -share/easy-rsa/openssl-0.9.6.cnf -share/easy-rsa/list-crl -share/easy-rsa/inherit-inter -share/easy-rsa/clean-all -share/easy-rsa/build-req-pass -share/easy-rsa/build-req -share/easy-rsa/build-key-server -share/easy-rsa/build-key-pkcs12 -share/easy-rsa/build-key-pass -share/easy-rsa/build-key -share/easy-rsa/build-inter -share/easy-rsa/build-dh -share/easy-rsa/whichopensslcnf +bin/easyrsa +%%DATADIR%%/easyrsa.real +@sample %%DATADIR%%/vars.example %%DATADIR%%/vars |