summaryrefslogtreecommitdiff
path: root/community/pppd-ldap
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/pppd-ldap
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/pppd-ldap')
-rw-r--r--community/pppd-ldap/PKGBUILD41
1 files changed, 0 insertions, 41 deletions
diff --git a/community/pppd-ldap/PKGBUILD b/community/pppd-ldap/PKGBUILD
deleted file mode 100644
index 86e7ebea7..000000000
--- a/community/pppd-ldap/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 55777 2011-09-20 06:52:16Z andrea $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
-pkgname=pppd-ldap
-pkgver=0.12b
-pkgrel=3
-pkgdesc="A plugin for PPPD which performs an LDAP-enabled version of pppd"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/pppd-ldap/"
-license=('GPL')
-depends=('ppp' 'libldap')
-options=('docs')
-source=("http://downloads.sourceforge.net/${pkgname}/pppd_ldap-$pkgver.tgz")
-md5sums=('4d13596297c2728f3cfe0a097c97d8fc')
-
-build() {
- cd "$srcdir/pppd_ldap-$pkgver"
-
-patch -p1 main.c <<EOF
-diff pppd_ldap-0.12b/main.c pppd_ldap-0.12b.my/main.c
-56a57,58
-> #define LDAP_FILT_MAXSIZ 1024
->
-EOF
-
-patch -p1 utmplib.c <<EOF
-diff pppd_ldap-0.12b/utmplib.c pppd_ldap-0.12b.my/utmplib.c
-157c157
-< (char*) buf += rc;
----
-> buf = (char*)buf + rc;
-EOF
-
- make CFLAGS="-I/usr/include/pppd -fPIC"
-}
-
-package() {
- cd "$srcdir/pppd_ldap-$pkgver"
- install -D -m0755 pppd_ldap.so $pkgdir/usr/lib/pppd/2.4.4/pppd_ldap.so
- install -D -m0755 README $pkgdir/usr/share/doc/pppd-ldap/README
-}