initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

47
easy-rsa/PKGBUILD Normal file
View File

@@ -0,0 +1,47 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=easy-rsa
pkgver=3.0.8
pkgrel=1
pkgdesc='Simple shell based CA utility'
arch=('any')
url='https://github.com/OpenVPN/easy-rsa'
depends=('libressl' 'sh' 'grep')
license=('GPL-2')
backup=('etc/easy-rsa/openssl-easyrsa.cnf'
'etc/easy-rsa/vars')
validpgpkeys=(
'65FF3F24AA08E882CB444C94D731D97A606FD463' # Josh Cepek <josh.cepek@usa.net>
'6F4056821152F03B6B24F2FCF8489F839D7367F3') # Eric Crist <ecrist@secure-computing.net>
source=("https://github.com/OpenVPN/easy-rsa/releases/download/v${pkgver}/EasyRSA-${pkgver}.tgz"{,.sig}
'0001-fix-paths.patch')
sha512sums=('fd2cde4725cffd60c6af1b6aeaff0dbf15f31f0f322c9df75c22838e2297ba9dc3bba610d956464c8227bd74b3e63840e2a3da41fbc5ee1c79c1e7f5350adc94'
'SKIP'
'd428b400fb2ab1b207bd999d30039b4e849120d88f21adf9ec4a63898778594eb4214fb12a5522a2d00acb22dfc5d10d0f79f48766aaf59c8274308cc5dbddda')
prepare() {
cd EasyRSA-${pkgver}/
# fix output of help command, we have it in PATH
sed -i 's|./easyrsa|easyrsa|' easyrsa
# fix paths
patch -Np1 < "${srcdir}"/0001-fix-paths.patch
}
package() {
cd EasyRSA-${pkgver}/
install -D -m0755 easyrsa "${pkgdir}"/usr/bin/easyrsa
install -D -m0644 openssl-easyrsa.cnf "${pkgdir}"/etc/easy-rsa/openssl-easyrsa.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
}