28 lines
811 B
Bash
28 lines
811 B
Bash
# Template file for 'easyrsa'
|
|
pkgname=easyrsa
|
|
version=3.0.3
|
|
revision=1
|
|
conf_files="/etc/easyrsa/vars /etc/easyrsa/openssl-1.0.cnf
|
|
/etc/easyrsa/x509-types/*"
|
|
depends="libressl bash"
|
|
short_desc="Simple shell based CA utility"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="https://github.com/OpenVPN/easy-rsa"
|
|
distfiles="https://github.com/OpenVPN/easy-rsa/releases/download/v$version/EasyRSA-$version.tgz"
|
|
wrksrc=EasyRSA-$version
|
|
checksum=fb239d67f4bd09f817b0025450d422ed7ae3ee93af737c57d4acd8fdb646079e
|
|
noarch=yes
|
|
|
|
do_build() {
|
|
sed -i 's|./easyrsa|easyrsa|' easyrsa
|
|
}
|
|
|
|
do_install() {
|
|
vbin easyrsa
|
|
vinstall openssl-1.0.cnf 644 etc/easyrsa
|
|
vinstall vars.example 644 etc/easyrsa vars
|
|
vmkdir etc/easyrsa/x509-types
|
|
vcopy 'x509-types/*' etc/easyrsa/x509-types
|
|
vlicense COPYING.md
|
|
}
|