summaryrefslogtreecommitdiff
path: root/community/pppd-ldap-simple
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-24 03:17:10 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-24 03:17:10 +0000
commit15cd70d8180c2a45287e4bd8ce01a2a9248e8d62 (patch)
tree3a87c7cdfa5736a8fe7515db195d2b8baf7857fd /community/pppd-ldap-simple
parent1d20e4962664ab152948a14b4320b12204a1053e (diff)
Mon Feb 24 03:14:11 UTC 2014
Diffstat (limited to 'community/pppd-ldap-simple')
-rw-r--r--community/pppd-ldap-simple/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/community/pppd-ldap-simple/PKGBUILD b/community/pppd-ldap-simple/PKGBUILD
index 8475f5810..d16f83010 100644
--- a/community/pppd-ldap-simple/PKGBUILD
+++ b/community/pppd-ldap-simple/PKGBUILD
@@ -1,20 +1,25 @@
-# $Id: PKGBUILD 66158 2012-02-23 02:19:12Z spupykin $
+# $Id: PKGBUILD 106133 2014-02-23 23:02:14Z thomas $
pkgname=pppd-ldap-simple
pkgver=0.12b
-pkgrel=6
+pkgrel=7
pkgdesc="pppd ldap simple plugin (based on pppd ldap, without radius, etc. Just search by uid and userPassword)"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/pppd-ldap/"
+makedepends=('ppp' 'libldap')
license=('GPL')
source=(http://archlinux-stuff.googlecode.com/files/pppd_ldap-simple-$pkgver.tar.gz)
md5sums=('e47b7fb5119a1024e188ec22351672cd')
build() {
+ cd "$srcdir/pppd_ldap-simple-$pkgver"
+ make CFLAGS="-I/usr/include/pppd -fPIC"
+}
+
+package() {
_pppdver=`pacman -Q ppp | cut -d\ -f 2 | cut -f 1 -d -`
depends=("ppp=${_pppdver}" 'libldap>=2.4.18')
cd "$srcdir/pppd_ldap-simple-$pkgver"
- make CFLAGS="-I/usr/include/pppd -fPIC"
install -D -m0755 pppd_ldap.so $pkgdir/usr/lib/pppd/${_pppdver}/pppd_ldap_simple.so
}