void-packages/srcpkgs/easyrsa/template

22 lines
737 B
Bash

# Template file for 'easyrsa'
pkgname=easyrsa
version=3.0.7
revision=1
archs="noarch"
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="157d2e8c115c3ad070c1b2641a4c9191e06a32a8e50971847a718251eeb510a8"
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
}