void-packages/srcpkgs/easyrsa/template

29 lines
811 B
Bash
Raw Normal View History

2017-07-04 17:08:02 +00:00
# Template file for 'easyrsa'
pkgname=easyrsa
2017-08-22 18:51:28 +00:00
version=3.0.3
2017-07-04 17:08:02 +00:00
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"
2017-08-22 18:51:28 +00:00
distfiles="https://github.com/OpenVPN/easy-rsa/releases/download/v$version/EasyRSA-$version.tgz"
2017-07-04 17:08:02 +00:00
wrksrc=EasyRSA-$version
2017-08-22 18:51:28 +00:00
checksum=fb239d67f4bd09f817b0025450d422ed7ae3ee93af737c57d4acd8fdb646079e
2017-07-04 17:08:02 +00:00
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
2017-08-22 18:51:28 +00:00
vlicense COPYING.md
2017-07-04 17:08:02 +00:00
}