New package: easyrsa-3.0.1
This commit is contained in:
parent
347ff74040
commit
eb51937b07
1 changed files with 28 additions and 0 deletions
28
srcpkgs/easyrsa/template
Normal file
28
srcpkgs/easyrsa/template
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'easyrsa'
|
||||
pkgname=easyrsa
|
||||
version=3.0.1
|
||||
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/$version/EasyRSA-$version.tgz"
|
||||
wrksrc=EasyRSA-$version
|
||||
checksum=dbdaf5b9444b99e0c5221fd4bcf15384c62380c1b63cea23d42239414d7b2d4e
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue