[arch-commits] Commit in easy-rsa/repos (testing-any testing-any/PKGBUILD)

Christian Hesse eworm at archlinux.org
Tue Aug 22 05:48:34 UTC 2017


    Date: Tuesday, August 22, 2017 @ 05:48:33
  Author: eworm
Revision: 303238

archrelease: copy trunk to testing-any

Added:
  easy-rsa/repos/testing-any/
  easy-rsa/repos/testing-any/PKGBUILD
    (from rev 303237, easy-rsa/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: easy-rsa/repos/testing-any/PKGBUILD (from rev 303237, easy-rsa/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2017-08-22 05:48:33 UTC (rev 303238)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=easy-rsa
+pkgver=3.0.2
+pkgrel=1
+pkgdesc='Simple shell based CA utility'
+arch=('any')
+url='https://github.com/OpenVPN/easy-rsa'
+depends=('openssl' 'sh')
+license=('custom')
+backup=('etc/easy-rsa/openssl-1.0.cnf'
+	'etc/easy-rsa/vars')
+validpgpkeys=(
+	'65FF3F24AA08E882CB444C94D731D97A606FD463'	# Josh Cepek <josh.cepek at usa.net>
+	'6F4056821152F03B6B24F2FCF8489F839D7367F3')	# Eric Crist <ecrist at secure-computing.net>
+source=("https://github.com/OpenVPN/easy-rsa/releases/download/v${pkgver}/EasyRSA-${pkgver}.tgz"{,.sig})
+sha256sums=('c0e94f07469aca171ac0a0164e1a7bd07a3b70e378aecfa589afd0be62400e08'
+            'SKIP')
+
+prepare() {
+	cd EasyRSA-${pkgver}/
+
+	# fix output of help command, we have it in PATH
+	sed -i 's|./easyrsa|easyrsa|' easyrsa
+}
+
+package() {
+	cd EasyRSA-${pkgver}/
+
+	install -D -m0755 easyrsa "${pkgdir}"/usr/bin/easyrsa
+
+	install -D -m0644 openssl-1.0.cnf "${pkgdir}"/etc/easy-rsa/openssl-1.0.cnf
+	install -D -m0644 vars.example "${pkgdir}"/etc/easy-rsa/vars
+	install -d -m0755 "${pkgdir}"/etc/easy-rsa/x509-types/
+	install -m0644 x509-types/* "${pkgdir}"/etc/easy-rsa/x509-types/
+
+	install -d -m0755  ${pkgdir}/usr/share/doc/easy-rsa/
+	install -m0644 doc/* ChangeLog ${pkgdir}/usr/share/doc/easy-rsa/
+
+	install -D -m0644 COPYING.md ${pkgdir}/usr/share/licenses/easy-rsa/COPYING
+}
+



More information about the arch-commits mailing list