void-packages/srcpkgs/easyrsa/template

23 lines
768 B
Bash

# Template file for 'easyrsa'
pkgname=easyrsa
version=3.1.0
revision=1
wrksrc="EasyRSA-${version}"
depends="openssl"
short_desc="Simple shell based CA utility"
maintainer="Adam Gausmann <agausmann@fastmail.com>"
license="GPL-2.0-only, ISC"
homepage="https://github.com/OpenVPN/easy-rsa"
distfiles="https://github.com/OpenVPN/easy-rsa/releases/download/v${version}/EasyRSA-${version}.tgz"
checksum="01b07ecb58dc003e47d4e74f9fc4da35ec6842e96cd003d66ed72a43df983659"
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
vlicense COPYING.md
vlicense mktemp.txt
}