void-packages/srcpkgs/easyrsa/template

23 lines
802 B
Bash

# Template file for 'easyrsa'
pkgname=easyrsa
version=3.1.4
revision=1
depends="openssl"
short_desc="Simple shell based CA utility"
maintainer="Adam Gausmann <adam@gaussian.dev>"
license="GPL-2.0-only, ISC"
homepage="https://github.com/OpenVPN/easy-rsa"
changelog="https://github.com/OpenVPN/easy-rsa/raw/master/ChangeLog"
distfiles="https://github.com/OpenVPN/easy-rsa/releases/download/v${version}/EasyRSA-${version}.tgz"
checksum=4f987a4b5209b934440b6469a38e99c40964b973f2d296a0ddb72464b41dfe48
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
}