22 lines
732 B
Bash
22 lines
732 B
Bash
|
# Template file for 'easyrsa'
|
||
|
pkgname=easyrsa
|
||
|
version=3.0.6
|
||
|
revision=1
|
||
|
archs=noarch
|
||
|
wrksrc=EasyRSA-v$version
|
||
|
depends="libressl"
|
||
|
short_desc="Simple shell based CA utility"
|
||
|
maintainer="Adam Gausmann <agausmann@fastmail.com>"
|
||
|
license="GPL-2.0-only"
|
||
|
homepage="https://github.com/OpenVPN/easy-rsa"
|
||
|
distfiles="https://github.com/OpenVPN/easy-rsa/releases/download/v$version/EasyRSA-unix-v$version.tgz"
|
||
|
checksum=cb29aed2d27824e59dbaad547f11dcab380a53c9fe05681249e804af436f1396
|
||
|
conf_files="/etc/easyrsa/vars /etc/easyrsa/openssl-easyrsa.cnf /etc/easyrsa/x509-types/*"
|
||
|
|
||
|
do_install() {
|
||
|
vinstall easyrsa 755 etc/easyrsa
|
||
|
vinstall openssl-easyrsa.cnf 644 etc/easyrsa
|
||
|
vinstall vars.example 644 etc/easyrsa vars
|
||
|
vcopy x509-types etc/easyrsa
|
||
|
}
|