diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-01 13:59:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-01 14:00:28 +0000 |
commit | 011d14498bd83b084a52a4fc12f8c24bc171c059 (patch) | |
tree | 9de2f9cdd69da1f0e8edf6402b8a3337c2159ed1 /main/openvpn-ad-check | |
parent | 1b02e03fa1c8e6767d602253d026688d520aeb94 (diff) | |
download | aports-011d14498bd83b084a52a4fc12f8c24bc171c059.tar.bz2 aports-011d14498bd83b084a52a4fc12f8c24bc171c059.tar.xz |
main/openvpn-ad-check: moved from testing
Diffstat (limited to 'main/openvpn-ad-check')
-rw-r--r-- | main/openvpn-ad-check/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/openvpn-ad-check/APKBUILD b/main/openvpn-ad-check/APKBUILD new file mode 100644 index 000000000..a92f2dbaf --- /dev/null +++ b/main/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.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="noarch" +license="GPL" +depends="openvpn lua-ldap" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://sourceforge.net/projects/openvpnadcheck/files/$pkgname-$pkgver.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="a4a21c72d12ac53d289aac6bfbd986ab openvpn-ad-check-1.1.tgz" |