pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/easy-rsa easy-rsa: downgraded to 3.0.4 (3.0.5...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee3cf02fdb37
branches:  trunk
changeset: 382171:ee3cf02fdb37
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jun 24 07:31:09 2018 +0000

description:
easy-rsa: downgraded to 3.0.4 (3.0.5 has not been released)

diffstat:

 security/easy-rsa/Makefile                       |  49 +++++++++--------------
 security/easy-rsa/PLIST                          |   8 +--
 security/easy-rsa/distinfo                       |  13 +++--
 security/easy-rsa/patches/patch-easyrsa          |  16 +++++++
 security/easy-rsa/patches/patch-easyrsa3_easyrsa |  16 -------
 security/easy-rsa/patches/patch-vars.example     |  20 +++++++++
 6 files changed, 66 insertions(+), 56 deletions(-)

diffs (186 lines):

diff -r 41a14d3dc1cf -r ee3cf02fdb37 security/easy-rsa/Makefile
--- a/security/easy-rsa/Makefile        Sun Jun 24 07:30:02 2018 +0000
+++ b/security/easy-rsa/Makefile        Sun Jun 24 07:31:09 2018 +0000
@@ -1,27 +1,26 @@
-# $NetBSD: Makefile,v 1.5 2018/01/30 14:34:06 mef Exp $
+# $NetBSD: Makefile,v 1.6 2018/06/24 07:31:09 adam Exp $
 
-DISTNAME=      easy-rsa-3.0.5
+DISTNAME=      EasyRSA-3.0.4
+PKGNAME=       ${DISTNAME:S/EasyRSA/easy-rsa/}
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=OpenVPN/}
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+EXTRACT_SUFX=  .tgz
 
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/OpenVPN/easy-rsa
 COMMENT=       CLI utility to build and manage a PKI CA
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/OpenVPN/easy-rsa/
 LICENSE=       gnu-gpl-v2
 
-GITHUB_PROJECT=        easy-rsa
-GITHUB_TAG=    v${PKGVERSION_NOREV}
 USE_LANGUAGES= # none
-
-EASYRSA_DOC_FILES=     COPYING.md ChangeLog KNOWN_ISSUES README.md
-EASYRSA_DOC_FILES+=    README.quickstart.md
+NO_CONFIGURE=  yes
+NO_BUILD=      yes
 
-EASYRSA_CNF_FILES=     openssl-easyrsa.cnf vars.example x509-types/COMMON
-EASYRSA_CNF_FILES+=    x509-types/ca x509-types/client x509-types/server
+EASYRSA_CNF_FILES=     openssl-easyrsa.cnf vars x509-types/COMMON
+EASYRSA_CNF_FILES+=    x509-types/ca x509-types/client x509-types/code-signing
+EASYRSA_CNF_FILES+=    x509-types/server
 
-INSTALLATION_DIRS+=    ${BINDIR} ${DOCDIR} ${EGDIR} # ${PKGMANDIR}/man1
-BINDIR=                        ${PREFIX}/bin
-DOCDIR=                        ${PREFIX}/share/doc/easyrsa
+INSTALLATION_DIRS+=    bin share/doc/easyrsa share/examples/easyrsa/x509-types
 EGDIR=                 ${PREFIX}/share/examples/easyrsa
 PKG_SYSCONFSUBDIR=     easyrsa
 OWN_DIRS=              ${PKG_SYSCONFDIR}/x509-types
@@ -29,26 +28,18 @@
 REQD_FILES+=           ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
 .endfor
 
-NO_CONFIGURE=          yes
-NO_BUILD=              yes
-
 SUBST_CLASSES+=                sysconf
 SUBST_STAGE.sysconf=   post-patch
-SUBST_FILES.sysconf=   easyrsa3/easyrsa
-SUBST_SED.sysconf=     -e "s|@@@SYSCONF@@@|${PKG_SYSCONFDIR}|"
+SUBST_FILES.sysconf=   easyrsa vars.example
+SUBST_SED.sysconf=     -e "s|@SYSCONFDIR@|${PKG_SYSCONFDIR}|"
 
 do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/easyrsa3/easyrsa ${DESTDIR}${BINDIR}/easyrsa
-#      ${INSTALL_MAN} ${FILESDIR}/easyrsa.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-
-       ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}/x509-types
+       ${LN} -f ${WRKSRC}/vars.example ${WRKSRC}/vars
+       ${INSTALL_SCRIPT} ${WRKSRC}/easyrsa ${DESTDIR}${PREFIX}/bin/easyrsa
+       ${INSTALL_DATA} ${WRKSRC}/*.md ${DESTDIR}${PREFIX}/share/doc/easyrsa/
+       ${INSTALL_DATA} ${WRKSRC}/doc/*.md ${DESTDIR}${PREFIX}/share/doc/easyrsa/
 .for f in ${EASYRSA_CNF_FILES}
-       ${INSTALL_DATA} ${WRKSRC}/easyrsa3/${f} ${DESTDIR}${EGDIR}/${f}
+       ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${EGDIR}/${f}
 .endfor
 
-.for f in ${EASYRSA_DOC_FILES}
-       ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}
-.endfor
-       ${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${DOCDIR}
-
 .include "../../mk/bsd.pkg.mk"
diff -r 41a14d3dc1cf -r ee3cf02fdb37 security/easy-rsa/PLIST
--- a/security/easy-rsa/PLIST   Sun Jun 24 07:30:02 2018 +0000
+++ b/security/easy-rsa/PLIST   Sun Jun 24 07:31:09 2018 +0000
@@ -1,19 +1,17 @@
-@comment $NetBSD: PLIST,v 1.2 2018/01/30 14:34:06 mef Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/06/24 07:31:09 adam Exp $
 bin/easyrsa
 share/doc/easyrsa/COPYING.md
-share/doc/easyrsa/ChangeLog
 share/doc/easyrsa/EasyRSA-Advanced.md
 share/doc/easyrsa/EasyRSA-Readme.md
 share/doc/easyrsa/EasyRSA-Upgrade-Notes.md
 share/doc/easyrsa/Hacking.md
 share/doc/easyrsa/Intro-To-PKI.md
-share/doc/easyrsa/KNOWN_ISSUES
 share/doc/easyrsa/README.md
 share/doc/easyrsa/README.quickstart.md
-share/doc/easyrsa/TODO
 share/examples/easyrsa/openssl-easyrsa.cnf
-share/examples/easyrsa/vars.example
+share/examples/easyrsa/vars
 share/examples/easyrsa/x509-types/COMMON
 share/examples/easyrsa/x509-types/ca
 share/examples/easyrsa/x509-types/client
+share/examples/easyrsa/x509-types/code-signing
 share/examples/easyrsa/x509-types/server
diff -r 41a14d3dc1cf -r ee3cf02fdb37 security/easy-rsa/distinfo
--- a/security/easy-rsa/distinfo        Sun Jun 24 07:30:02 2018 +0000
+++ b/security/easy-rsa/distinfo        Sun Jun 24 07:31:09 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2018/01/30 14:34:06 mef Exp $
+$NetBSD: distinfo,v 1.6 2018/06/24 07:31:09 adam Exp $
 
-SHA1 (easy-rsa-3.0.5.tar.gz) = 0b079ff97e6e69e6169f696190f1cb66b332ade0
-RMD160 (easy-rsa-3.0.5.tar.gz) = 9d58b1ef275281627144254cfaad3a171c0dec8f
-SHA512 (easy-rsa-3.0.5.tar.gz) = f22324fa769339513e10fa55c84ae028ad08c0b6825416376c43f08b752c60bb0911fa3329e1d3ffe26f25b394888869fe97df4c13bddd7659cd490e4fa0e4a3
-Size (easy-rsa-3.0.5.tar.gz) = 637848 bytes
-SHA1 (patch-easyrsa3_easyrsa) = 7723ff1946999e77a3a95a8e6127b1bc07f7cdd3
+SHA1 (EasyRSA-3.0.4.tgz) = 7355bb076317b052014086dea5aed212152d0bec
+RMD160 (EasyRSA-3.0.4.tgz) = 118185837b4c8446d0269e25d43e0bbe2672e1ea
+SHA512 (EasyRSA-3.0.4.tgz) = 0bc145e510891af022c05427436c3ec7a29fce9d83e022954acd0cc470c88c43f5549af0b6263b46e8dc5fd167621a118cba0c01a514c51032cea8f1efbb9787
+Size (EasyRSA-3.0.4.tgz) = 37721 bytes
+SHA1 (patch-easyrsa) = a7cb4c837ebddd07c859dbe7f07f67899d410c25
+SHA1 (patch-vars.example) = 31ffcf40ced1fb07a7531ec7de373ad24c04455e
diff -r 41a14d3dc1cf -r ee3cf02fdb37 security/easy-rsa/patches/patch-easyrsa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/easy-rsa/patches/patch-easyrsa   Sun Jun 24 07:31:09 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-easyrsa,v 1.1 2018/06/24 07:31:09 adam Exp $
+
+Set a sane default for config file. Needs to be SUBSTed.
+
+--- easyrsa.orig       2017-08-22 12:51:05.000000000 +0000
++++ easyrsa
+@@ -1046,6 +1046,9 @@ vars_setup() {
+       # EASYRSA, if defined:
+       elif [ -n "$EASYRSA" ] && [ -f "$EASYRSA/vars" ]; then
+               vars="$EASYRSA/vars"
++      # sysconf location:
++      elif [ -f "@SYSCONFDIR@/vars" ]; then
++              vars="@SYSCONFDIR@/vars"
+       # program location:
+       elif [ -f "$prog_vars" ]; then
+               vars="$prog_vars"
diff -r 41a14d3dc1cf -r ee3cf02fdb37 security/easy-rsa/patches/patch-easyrsa3_easyrsa
--- a/security/easy-rsa/patches/patch-easyrsa3_easyrsa  Sun Jun 24 07:30:02 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-easyrsa3_easyrsa,v 1.1 2018/01/15 09:26:23 jnemeth Exp $
-
-Set a sane default for config file.  Needs to be SUBSTed.
-
---- easyrsa3/easyrsa.orig      2017-08-22 12:51:05.000000000 +0000
-+++ easyrsa3/easyrsa
-@@ -1027,6 +1027,9 @@ vars_setup() {
-       # EASYRSA, if defined:
-       elif [ -n "$EASYRSA" ] && [ -f "$EASYRSA/vars" ]; then
-               vars="$EASYRSA/vars"
-+      # sysconf location:
-+      elif [ -f "@@@SYSCONF@@@/vars" ]; then
-+              vars="@@@SYSCONF@@@/vars"
-       # program location:
-       elif [ -f "$prog_vars" ]; then
-               vars="$prog_vars"
diff -r 41a14d3dc1cf -r ee3cf02fdb37 security/easy-rsa/patches/patch-vars.example
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/easy-rsa/patches/patch-vars.example      Sun Jun 24 07:31:09 2018 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-vars.example,v 1.1 2018/06/24 07:31:09 adam Exp $
+
+Set default location for configuration files.
+
+--- vars.example.orig  2018-01-21 15:37:26.000000000 +0000
++++ vars.example
+@@ -42,12 +42,8 @@ fi
+ # This variable is used as the base location of configuration files needed by
+ # easyrsa.  More specific variables for specific files (e.g., EASYRSA_SSL_CONF)
+ # may override this default.
+-#
+-# The default value of this variable is the location of the easyrsa script
+-# itself, which is also where the configuration files are located in the
+-# easy-rsa tree.
+ 
+-#set_var EASYRSA      "${0%/*}"
++set_var EASYRSA       "@SYSCONFDIR@"
+ 
+ # If your OpenSSL command is not in the system PATH, you will need to define the
+ # path to it here. Normally this means a full path to the executable, otherwise



Home | Main Index | Thread Index | Old Index