mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 22:14:28 +02:00
26 lines
749 B
Text
26 lines
749 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=easy-rsa
|
|
pkgver=3.2.2
|
|
pkgrel=0
|
|
pkgdesc="Simple shell based CA utility"
|
|
url="https://github.com/OpenVPN/easy-rsa"
|
|
arch="noarch"
|
|
license="GPL-2.0-only"
|
|
depends="openssl"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVPN/easy-rsa/archive/v$pkgver.tar.gz"
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"/usr/share/easy-rsa \
|
|
"$pkgdir"/usr/share/doc/easy-rsa
|
|
cp -rp easyrsa3/* "$pkgdir"/usr/share/easy-rsa/ \
|
|
&& cp -rp doc/* "$pkgdir"/usr/share/doc/easy-rsa/
|
|
}
|
|
|
|
check() {
|
|
./easyrsa3/easyrsa help
|
|
}
|
|
|
|
sha512sums="
|
|
f17962729810155688909ad9bdbbec382e050eaccc6e816612457e5858ac25e7e2d142b6d8dc8a80e7d36064ae4a084552475cecf5dafefe8fc991b71fe2107f easy-rsa-3.2.2.tar.gz
|
|
"
|