aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2020-03-05 13:23:37 +0100
committerJakub Jirutka <jakub@jirutka.cz>2020-03-05 13:23:58 +0100
commit71e8474d6a8eb53f2000167459cb71de90595045 (patch)
treef20ffd2c11fe6300e9403df3891d17db1cbbbf60
parente3fc26ae53aca388c169d29a8162728ae50789ce (diff)
downloadaports-71e8474d6a8eb53f2000167459cb71de90595045.tar.bz2
aports-71e8474d6a8eb53f2000167459cb71de90595045.tar.xz
testing/openvpn-auth-script: new aport
-rw-r--r--testing/openvpn-auth-script/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/openvpn-auth-script/APKBUILD b/testing/openvpn-auth-script/APKBUILD
new file mode 100644
index 0000000000..a11e8e830e
--- /dev/null
+++ b/testing/openvpn-auth-script/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=openvpn-auth-script
+_projname=auth-script-openvpn
+pkgver=0_git20180315
+_gitrev=623982a5d63dd2b7b2b9f9295d10d96a56d58894
+pkgrel=0
+pkgdesc="OpenVPN plugin to auth connections using non-blocking external script"
+url="https://github.com/fac/auth-script-openvpn"
+arch="all"
+license="Apache-2.0"
+depends="openvpn"
+makedepends="openvpn-dev"
+source="https://github.com/fac/auth-script-openvpn/archive/$_gitrev/$_projname-$_gitrev.tar.gz"
+builddir="$srcdir/$_projname-$_gitrev"
+options="!check" # no tests provided
+
+build() {
+ make
+}
+
+package() {
+ install -D -m 755 openvpn-plugin-auth-script.so \
+ "$pkgdir"/usr/lib/openvpn/plugins/openvpn-plugin-auth-script.so
+}
+
+sha512sums="f4de132122596e700f30c8082ae768c4d3ff786f35419c88988521319fb7b37b89d782f1db44c0b7c7c3c32ec755b9271520d6211715fb2c3c872fac2d926219 auth-script-openvpn-623982a5d63dd2b7b2b9f9295d10d96a56d58894.tar.gz"