mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
26 lines
749 B
Text
26 lines
749 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=easy-rsa
|
|
pkgver=3.1.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="
|
|
f36d3e11488ee98be4d901a8ae4f6cf08f4f0efc95bec38d1f1cde3ebd9dd133fe493cab2ebbbbbc99e803e318f93536e6a45ae677adb65c94d998114278035a easy-rsa-3.1.2.tar.gz
|
|
"
|