aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openvpn-ad-check
diff options
context:
space:
mode:
authorAlan Messias Cordeiro de Lacerda <alancordeiro@gmail.com>2012-12-18 13:48:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-12-18 14:04:50 +0000
commit323d5d66d773fb49e4f47482ed3a4df97a7d6a9b (patch)
tree2cf49151375a322ad087001c1d1515a6a57d7c5e /testing/openvpn-ad-check
parent5ff3b9694b5ddf23fec62ec57614e705f6d153a7 (diff)
downloadaports-323d5d66d773fb49e4f47482ed3a4df97a7d6a9b.tar.bz2
aports-323d5d66d773fb49e4f47482ed3a4df97a7d6a9b.tar.xz
OpenVPN-AD-Check
Diffstat (limited to 'testing/openvpn-ad-check')
-rw-r--r--testing/openvpn-ad-check/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/openvpn-ad-check/APKBUILD b/testing/openvpn-ad-check/APKBUILD
new file mode 100644
index 0000000000..8b3792ec76
--- /dev/null
+++ b/testing/openvpn-ad-check/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Alan Messias Cordeiro de Lacerda (alacerda) <alancordeiro@gmail.com>
+# Maintainer: Alan Messias Cordeiro de Lacerda (alacerda) <alancordeiro@gmail.com>
+pkgname=openvpn-ad-check
+pkgver=1
+pkgrel=0
+pkgdesc="Authenticate OpenVPN users against AD server and verify if they are member of a specific group."
+url="https://sourceforge.net/p/openvpnadcheck"
+arch="all"
+license="GPL"
+depends="openvpn lua-ldap"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://sourceforge.net/projects/openvpnadcheck/files/openvpnadcheck.tgz"
+
+_builddir="$srcdir/$pkgname"
+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"
+}
+
+package() {
+ mkdir -p "$pkgdir"/etc/openvpn
+ cd "$_builddir"
+ install -c * "$pkgdir"/etc/openvpn
+ chmod 644 "$pkgdir"/etc/openvpn/openvpnadcheck.conf
+}
+
+md5sums="50517d06d4c2f4078cb64afae414060c openvpnadcheck.tgz"