diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-26 19:27:33 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-26 19:27:33 +0000 |
commit | 30e8feac61c3c7cc7e84159c29b00f5e49dbedef (patch) | |
tree | 26de2e814714096f0ae86a7846ec8e5b82be5db7 /testing/openvpn-auth-ldap | |
parent | 6267ff5c95ad547b5698bb2fe38a51475ad61da8 (diff) | |
parent | e59f25e6a0d9d18f07ee5b249c535edfbfdb832e (diff) | |
download | aports-eglibc.tar.bz2 aports-eglibc.tar.xz |
Merge branch 'master' into eglibceglibc
Diffstat (limited to 'testing/openvpn-auth-ldap')
-rw-r--r-- | testing/openvpn-auth-ldap/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/openvpn-auth-ldap/APKBUILD b/testing/openvpn-auth-ldap/APKBUILD new file mode 100644 index 000000000..58e060681 --- /dev/null +++ b/testing/openvpn-auth-ldap/APKBUILD @@ -0,0 +1,41 @@ +# 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/" +license="GPL" +depends= +makedepends="openvpn re2c openldap-dev objc" +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" |