aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-27 18:07:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-27 18:07:32 +0000
commitcefb944d6f379b9c88426ad559a05bff02b18a26 (patch)
treef2f3f1a860d303d90605cd65a14e9aaa42e1c937 /main
parentb2ea6198bde082904f57fa9c6e6fb0650044af39 (diff)
downloadaports-cefb944d6f379b9c88426ad559a05bff02b18a26.tar.bz2
aports-cefb944d6f379b9c88426ad559a05bff02b18a26.tar.xz
main/openvpn-auth-ldap: moved from testing
I hope it works... fixes #395
Diffstat (limited to 'main')
-rw-r--r--main/openvpn-auth-ldap/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/openvpn-auth-ldap/APKBUILD b/main/openvpn-auth-ldap/APKBUILD
new file mode 100644
index 0000000000..44d3611706
--- /dev/null
+++ b/main/openvpn-auth-ldap/APKBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=openvpn-auth-ldap
+pkgver=2.0.3
+_openvpnver=2.1.3
+pkgrel=0
+pkgdesc="LDAP authentication and authorization plugin for OpenVPN 2.x"
+url="http://code.google.com/p/openvpn-auth-ldap/"
+arch="all"
+license="GPL"
+depends=
+makedepends="openvpn re2c openldap-dev"
+install=
+subpackages=
+source="http://openvpn-auth-ldap.googlecode.com/files/auth-ldap-$pkgver.tar.gz
+ http://openvpn.net/release/openvpn-$_openvpnver.tar.gz
+ "
+_builddir="$srcdir"/auth-ldap-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-openvpn="$srcdir"/openvpn-$_openvpnver
+
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr/lib
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="03dedc57efc8d4fc2ffe2c014121299d auth-ldap-2.0.3.tar.gz
+7486d3e270ba4b033e311d3e022a0ad7 openvpn-2.1.3.tar.gz"