void-packages/srcpkgs/easyrsa/template

23 lines
804 B
Bash

# Template file for 'easyrsa'
pkgname=easyrsa
version=3.1.2
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="d63cf129490ffd6d8792ede7344806c506c82c32428b5bb609ad97ca6a6e4499"
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
}