aboutsummaryrefslogtreecommitdiffstats
path: root/community/easy-rsa
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-11-10 15:50:45 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2015-11-10 15:50:45 +0100
commit1cfbe7f11f4b51fd5ca66200d88cde76379e4171 (patch)
treeaf579a3dbbf4369feddc9c323336440a6da27ee2 /community/easy-rsa
parentcf54d5a71e957d19009fc88e61ab420d7bfc6839 (diff)
downloadaports-1cfbe7f11f4b51fd5ca66200d88cde76379e4171.tar.bz2
aports-1cfbe7f11f4b51fd5ca66200d88cde76379e4171.tar.xz
aports/testing: move to community
Diffstat (limited to 'community/easy-rsa')
-rw-r--r--community/easy-rsa/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/community/easy-rsa/APKBUILD b/community/easy-rsa/APKBUILD
new file mode 100644
index 0000000000..3374a2dfa1
--- /dev/null
+++ b/community/easy-rsa/APKBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Natanael Copa
+pkgname=easy-rsa
+pkgver=3.0.0
+pkgrel=0
+pkgdesc="Simple shell based CA utility"
+url="https://github.com/OpenVPN/easy-rsa"
+arch="noarch"
+license="GPL2"
+depends="openssl"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVPN/easy-rsa/archive/$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ 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/ \
+ || return 1
+}
+
+md5sums="3034c5698f391344337f58c6cab9bbfd easy-rsa-3.0.0.tar.gz"
+sha256sums="ae01d611e4f010172deeb84493f5871b4228b31205c3e3c964399ada3176228b easy-rsa-3.0.0.tar.gz"
+sha512sums="676b1e914e6f8ebfad0dd268ebc502cfaf4938ed482819b9c1e3beffda687554d85673041373698c2e3a62e365e70c75ac2343867269dd0f71a6b78a4ca93265 easy-rsa-3.0.0.tar.gz"