void-packages/srcpkgs/easyrsa/template

21 lines
722 B
Bash

# Template file for 'easyrsa'
pkgname=easyrsa
version=3.0.8
revision=1
wrksrc="EasyRSA-${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-${version}.tgz"
checksum="cae114c212a5be4d89f2253d36c70ab94f68d295f24e8b6711c2cab0fabf7e18"
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
}