[arch-commits] Commit in pppd-ldap/repos (4 files)
Thomas Bächler
thomas at nymeria.archlinux.org
Sun Feb 23 17:15:53 UTC 2014
Date: Sunday, February 23, 2014 @ 18:15:53
Author: thomas
Revision: 106131
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
pppd-ldap/repos/community-testing-i686/
pppd-ldap/repos/community-testing-i686/PKGBUILD
(from rev 106130, pppd-ldap/trunk/PKGBUILD)
pppd-ldap/repos/community-testing-x86_64/
pppd-ldap/repos/community-testing-x86_64/PKGBUILD
(from rev 106130, pppd-ldap/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: pppd-ldap/repos/community-testing-i686/PKGBUILD (from rev 106130, pppd-ldap/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-02-23 17:15:53 UTC (rev 106131)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=pppd-ldap
+pkgver=0.12b
+pkgrel=4
+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=2.4.6' '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.6/pppd_ldap.so
+ install -D -m0755 README $pkgdir/usr/share/doc/pppd-ldap/README
+}
Copied: pppd-ldap/repos/community-testing-x86_64/PKGBUILD (from rev 106130, pppd-ldap/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2014-02-23 17:15:53 UTC (rev 106131)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=pppd-ldap
+pkgver=0.12b
+pkgrel=4
+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=2.4.6' '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.6/pppd_ldap.so
+ install -D -m0755 README $pkgdir/usr/share/doc/pppd-ldap/README
+}
More information about the arch-commits
mailing list