summaryrefslogtreecommitdiff
path: root/community
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
parent1d20e4962664ab152948a14b4320b12204a1053e (diff)
Mon Feb 24 03:14:11 UTC 2014
Diffstat (limited to 'community')
-rw-r--r--community/arm-none-eabi-gdb/PKGBUILD50
-rw-r--r--community/echoping/PKGBUILD4
-rw-r--r--community/kcm-touchpad/PKGBUILD34
-rw-r--r--community/kcm-touchpad/kcm-touchpad.install11
-rw-r--r--community/kdeconnect/PKGBUILD34
-rw-r--r--community/kdeconnect/kdeconnect.install11
-rw-r--r--community/libnftnl/01-fix-nftables-rename.patch36
-rw-r--r--community/libnftnl/PKGBUILD38
-rwxr-xr-xcommunity/lightdm-gtk2-greeter/PKGBUILD16
-rwxr-xr-xcommunity/lightdm-gtk2-greeter/session-preselection.patch19
-rwxr-xr-xcommunity/lightdm-gtk3-greeter/PKGBUILD16
-rwxr-xr-xcommunity/lightdm-gtk3-greeter/session-preselection.patch19
-rw-r--r--community/nftables/01-fix-nftables-rename.patch22
-rw-r--r--community/nftables/02-manpages.patch40
-rw-r--r--community/nftables/PKGBUILD39
-rw-r--r--community/pppd-ldap-simple/PKGBUILD11
-rw-r--r--community/pppd-ldap/PKGBUILD8
17 files changed, 391 insertions, 17 deletions
diff --git a/community/arm-none-eabi-gdb/PKGBUILD b/community/arm-none-eabi-gdb/PKGBUILD
new file mode 100644
index 000000000..b0d72d6b4
--- /dev/null
+++ b/community/arm-none-eabi-gdb/PKGBUILD
@@ -0,0 +1,50 @@
+# $Id: PKGBUILD 106105 2014-02-22 23:13:31Z anatolik $
+# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
+# Contributor: Martin Schmölzer <mschmoelzer@gmail.com>
+
+_target=arm-none-eabi
+pkgname=$_target-gdb
+pkgver=7.7
+pkgrel=2
+pkgdesc='The GNU Debugger for the ARM EABI (bare-metal) target'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(xz ncurses expat python2)
+makedepends=(texinfo)
+optdepends=('openocd: for debugging JTAG targets'
+ 'stlink: for debugging over STLINK')
+options=(!emptydirs)
+source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.bz2)
+sha256sums=('0404d1c6ee6b3ddd811722b5197944758d37b4591c216030effbac204f5a6c23')
+
+build() {
+ cd gdb-$pkgver
+
+ sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+
+ ./configure --target=$_target \
+ --prefix=/usr \
+ --enable-multilib \
+ --enable-interwork \
+ --with-system-readline \
+ --disable-nls \
+ --with-python=/usr/bin/python2 \
+ --with-system-gdbinit=/etc/gdb/gdbinit
+ make
+}
+
+package() {
+ cd gdb-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ # Following files conflict with 'gdb' package
+ rm -r "$pkgdir"/usr/share/info
+ # TOTHINK: we remove python module used for debugging. It means arm-*-gdb alone will not be able to debug and 'gdb' package
+ # should be installed. File a bug upstream - ask a separate python module folder for cross tools.
+ rm -r "$pkgdir"/usr/share/gdb
+ rm -r "$pkgdir"/usr/include/gdb
+ rm "$pkgdir"/usr/share/man/man1/gdb*
+ rm -r "$pkgdir"/usr/share/man/man5
+}
diff --git a/community/echoping/PKGBUILD b/community/echoping/PKGBUILD
index 7b83f47a2..a000b0ae8 100644
--- a/community/echoping/PKGBUILD
+++ b/community/echoping/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=echoping
pkgver=6.0.2
-pkgrel=4
+pkgrel=5
pkgdesc="tests performance of a remote host by sending HTTP, TCP and UDP requests"
arch=('i686' 'x86_64')
url="http://echoping.sourceforge.net/"
@@ -13,7 +13,7 @@ md5sums=('991478532b56ab3b6f46ea9fa332626f')
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --config-cache
+ ./configure --prefix=/usr --config-cache --with-ssl
make
}
diff --git a/community/kcm-touchpad/PKGBUILD b/community/kcm-touchpad/PKGBUILD
new file mode 100644
index 000000000..bb2592777
--- /dev/null
+++ b/community/kcm-touchpad/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 106129 2014-02-23 16:02:33Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: A Rojas < nqn1976 @ gmail.com >
+# Contributor: Alexander Mezin <mezin.alexander@gmail.com>
+
+pkgname=kcm-touchpad
+pkgver=0.9
+pkgrel=2
+pkgdesc='KCM, daemon and applet for touchpad'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/playground/utils/kcm-touchpad'
+license=('GPL')
+depends=('kdebase-workspace' 'xf86-input-synaptics')
+makedepends=('cmake' 'automoc4' 'xorg-server-devel')
+install="${pkgname}.install"
+source=("https://github.com/sanya-m/kde-touchpad-config/archive/v${pkgver}.tar.gz")
+md5sums=('2d60b154b60a745a931ded129a6297d6')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../kde-touchpad-config-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/kcm-touchpad/kcm-touchpad.install b/community/kcm-touchpad/kcm-touchpad.install
new file mode 100644
index 000000000..c0797237a
--- /dev/null
+++ b/community/kcm-touchpad/kcm-touchpad.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/community/kdeconnect/PKGBUILD b/community/kdeconnect/PKGBUILD
new file mode 100644
index 000000000..9dd5d6175
--- /dev/null
+++ b/community/kdeconnect/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 106127 2014-02-23 15:53:44Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
+
+pkgname=kdeconnect
+pkgver=0.5
+pkgrel=1
+pkgdesc='Adds communication between KDE and your smartphone'
+url='https://projects.kde.org/projects/playground/base/kdeconnect-kde'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('kdelibs' 'qjson' 'qca-ossl')
+makedepends=('automoc4' 'cmake')
+install="${pkgname}.install"
+source=("http://download.kde.org/unstable/${pkgname}/${pkgver}/src/${pkgname}-kde-${pkgver}.tar.xz")
+md5sums=('c87a7032d5b66dc22b22004a8275b493')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-kde-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/kdeconnect/kdeconnect.install b/community/kdeconnect/kdeconnect.install
new file mode 100644
index 000000000..e70c054ec
--- /dev/null
+++ b/community/kdeconnect/kdeconnect.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/community/libnftnl/01-fix-nftables-rename.patch b/community/libnftnl/01-fix-nftables-rename.patch
new file mode 100644
index 000000000..646590701
--- /dev/null
+++ b/community/libnftnl/01-fix-nftables-rename.patch
@@ -0,0 +1,36 @@
+From 91264d8b8b746f7eee8a3e1ee9b5e57758441cfc Mon Sep 17 00:00:00 2001
+From: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
+Date: Mon, 20 Jan 2014 15:56:21 +0000
+Subject: build: Ensure pkg-config file provides the right informations
+
+It's not -lnftables anymore but -lnftnl (among other details)
+
+Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
+Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
+---
+diff --git a/libnftnl.pc.in b/libnftnl.pc.in
+index 0c6d57e..fd5cc6a 100644
+--- a/libnftnl.pc.in
++++ b/libnftnl.pc.in
+@@ -1,15 +1,15 @@
+-# libnftables pkg-config file
++# libnftnl pkg-config file
+
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+ includedir=@includedir@
+
+-Name: libnftables
++Name: libnftnl
+ Description: Netfilter nf_tables infrastructure library
+-URL: http://netfilter.org/projects/libnftables/
++URL: http://netfilter.org/projects/libnftnl/
+ Version: @VERSION@
+ Requires:
+ Conflicts:
+-Libs: -L${libdir} -lnftables
++Libs: -L${libdir} -lnftnl
+ Cflags: -I${includedir}
+--
+cgit v0.9.2
diff --git a/community/libnftnl/PKGBUILD b/community/libnftnl/PKGBUILD
new file mode 100644
index 000000000..127eedf1d
--- /dev/null
+++ b/community/libnftnl/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgname=libnftnl
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='Netfilter library providing interface to the nf_tables subsystem'
+arch=('i686' 'x86_64')
+url='http://netfilter.org/projects/libnftnl/'
+license=('GPL2')
+depends=('libmnl')
+source=("http://netfilter.org/projects/libnftnl/files/libnftnl-1.0.0.tar.bz2"{,.sig}
+ '01-fix-nftables-rename.patch')
+sha1sums=('02464d6511f22392c20ca003248d85741ecbc865'
+ 'SKIP'
+ 'b406eb6b71b25d2abe559a5643421d42117d9724')
+
+prepare() {
+ patch -p 1 -d $pkgname-$pkgver < '01-fix-nftables-rename.patch'
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/lightdm-gtk2-greeter/PKGBUILD b/community/lightdm-gtk2-greeter/PKGBUILD
index 0e0111c0f..08a70115d 100755
--- a/community/lightdm-gtk2-greeter/PKGBUILD
+++ b/community/lightdm-gtk2-greeter/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 105741 2014-02-14 18:30:58Z alucryd $
+# $Id: PKGBUILD 106115 2014-02-23 10:34:01Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: Padfoot <padfoot@exemail.com.au>
pkgname=lightdm-gtk2-greeter
pkgver=1.8.1
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc='GTK+ greeter for LightDM'
arch=('i686' 'x86_64')
@@ -16,8 +16,16 @@ provides=("${pkgname/2/}")
conflicts=("${pkgname/2/3}")
backup=('etc/lightdm/lightdm-gtk-greeter.conf')
install="${pkgname/2/}.install"
-source=("https://launchpad.net/${pkgname/2/}/${pkgver%.?}/${pkgver}/+download/${pkgname/2/}-${pkgver}.tar.gz")
-sha256sums=('dac5ce9ac54a6b3c1ef9f9cc056f13f01352c2a897c5bed11e52505132610bab')
+source=("https://launchpad.net/${pkgname/2/}/${pkgver%.?}/${pkgver}/+download/${pkgname/2/}-${pkgver}.tar.gz"
+ 'session-preselection.patch')
+sha256sums=('dac5ce9ac54a6b3c1ef9f9cc056f13f01352c2a897c5bed11e52505132610bab'
+ 'f7fad1e4b563ddc3f9035d15defcc87c57e2dd7c290aa78808c0a54bb766d94b')
+
+prepare() {
+ cd ${pkgname/2/}-${pkgver}
+
+ patch -Np0 -i ../session-preselection.patch
+}
build() {
cd ${pkgname/2/}-${pkgver}
diff --git a/community/lightdm-gtk2-greeter/session-preselection.patch b/community/lightdm-gtk2-greeter/session-preselection.patch
new file mode 100755
index 000000000..6fb41747d
--- /dev/null
+++ b/community/lightdm-gtk2-greeter/session-preselection.patch
@@ -0,0 +1,19 @@
+=== modified file 'src/lightdm-gtk-greeter.c'
+--- src/lightdm-gtk-greeter.c 2014-02-16 18:37:06 +0000
++++ src/lightdm-gtk-greeter.c 2014-02-22 11:31:35 +0000
+@@ -1241,11 +1241,10 @@
+ set_user_image (username);
+ user = lightdm_user_list_get_user_by_name (lightdm_user_list_get_instance (), username);
+ if (user)
+- if (lightdm_user_get_logged_in (user))
+- {
+- set_language (lightdm_user_get_language (user));
+- set_session (lightdm_user_get_session (user));
+- }
++ {
++ set_language (lightdm_user_get_language (user));
++ set_session (lightdm_user_get_session (user));
++ }
+ gtk_widget_set_tooltip_text (GTK_WIDGET (user_combo), user_tooltip);
+ start_authentication (username);
+ g_free (user_tooltip);
diff --git a/community/lightdm-gtk3-greeter/PKGBUILD b/community/lightdm-gtk3-greeter/PKGBUILD
index c084d4695..b44584af8 100755
--- a/community/lightdm-gtk3-greeter/PKGBUILD
+++ b/community/lightdm-gtk3-greeter/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 105739 2014-02-14 18:25:52Z alucryd $
+# $Id: PKGBUILD 106113 2014-02-23 10:33:19Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: Padfoot <padfoot@exemail.com.au>
pkgname=lightdm-gtk3-greeter
pkgver=1.8.1
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc='GTK+ greeter for LightDM'
arch=('i686' 'x86_64')
@@ -16,8 +16,16 @@ provides=("${pkgname/3/}")
conflicts=("${pkgname/3/2}")
backup=('etc/lightdm/lightdm-gtk-greeter.conf')
install="${pkgname/3/}.install"
-source=("https://launchpad.net/${pkgname/3/}/${pkgver%.?}/${pkgver}/+download/${pkgname/3/}-${pkgver}.tar.gz")
-sha256sums=('dac5ce9ac54a6b3c1ef9f9cc056f13f01352c2a897c5bed11e52505132610bab')
+source=("https://launchpad.net/${pkgname/3/}/${pkgver%.?}/${pkgver}/+download/${pkgname/3/}-${pkgver}.tar.gz"
+ 'session-preselection.patch')
+sha256sums=('dac5ce9ac54a6b3c1ef9f9cc056f13f01352c2a897c5bed11e52505132610bab'
+ 'f7fad1e4b563ddc3f9035d15defcc87c57e2dd7c290aa78808c0a54bb766d94b')
+
+prepare() {
+ cd ${pkgname/3/}-${pkgver}
+
+ patch -Np0 -i ../session-preselection.patch
+}
build() {
cd ${pkgname/3/}-${pkgver}
diff --git a/community/lightdm-gtk3-greeter/session-preselection.patch b/community/lightdm-gtk3-greeter/session-preselection.patch
new file mode 100755
index 000000000..6fb41747d
--- /dev/null
+++ b/community/lightdm-gtk3-greeter/session-preselection.patch
@@ -0,0 +1,19 @@
+=== modified file 'src/lightdm-gtk-greeter.c'
+--- src/lightdm-gtk-greeter.c 2014-02-16 18:37:06 +0000
++++ src/lightdm-gtk-greeter.c 2014-02-22 11:31:35 +0000
+@@ -1241,11 +1241,10 @@
+ set_user_image (username);
+ user = lightdm_user_list_get_user_by_name (lightdm_user_list_get_instance (), username);
+ if (user)
+- if (lightdm_user_get_logged_in (user))
+- {
+- set_language (lightdm_user_get_language (user));
+- set_session (lightdm_user_get_session (user));
+- }
++ {
++ set_language (lightdm_user_get_language (user));
++ set_session (lightdm_user_get_session (user));
++ }
+ gtk_widget_set_tooltip_text (GTK_WIDGET (user_combo), user_tooltip);
+ start_authentication (username);
+ g_free (user_tooltip);
diff --git a/community/nftables/01-fix-nftables-rename.patch b/community/nftables/01-fix-nftables-rename.patch
new file mode 100644
index 000000000..20a68106b
--- /dev/null
+++ b/community/nftables/01-fix-nftables-rename.patch
@@ -0,0 +1,22 @@
+From 94300c75fc3e113009e68e2ab9db91c31e99e9f4 Mon Sep 17 00:00:00 2001
+From: Pablo Neira Ayuso <pablo@netfilter.org>
+Date: Mon, 20 Jan 2014 14:02:50 +0000
+Subject: build: use libnftnl instead of libnftables in configure.in
+
+Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
+---
+diff --git a/configure.ac b/configure.ac
+index b38295f..9f0d894 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -53,7 +53,7 @@ fi
+ AC_CHECK_LIB([mnl], [mnl_socket_open], ,
+ AC_MSG_ERROR([No suitable version of libmnl found]))
+
+-AC_CHECK_LIB([nftables], [nft_rule_alloc], ,
++AC_CHECK_LIB([nftnl], [nft_rule_alloc], ,
+ AC_MSG_ERROR([No suitable version of libnftnl found]))
+
+ AC_CHECK_LIB([gmp], [__gmpz_init], ,
+--
+cgit v0.9.2
diff --git a/community/nftables/02-manpages.patch b/community/nftables/02-manpages.patch
new file mode 100644
index 000000000..9a47303db
--- /dev/null
+++ b/community/nftables/02-manpages.patch
@@ -0,0 +1,40 @@
+# https://bugzilla.netfilter.org/show_bug.cgi?id=893
+
+diff -r -u nftables-0.099/configure.ac nftables-0.099.new/configure.ac
+--- nftables-0.099/configure.ac 2014-01-20 08:15:16.000000000 -0500
++++ nftables-0.099.new/configure.ac 2014-02-02 13:01:39.355368732 -0500
+@@ -24,11 +24,19 @@
+ AC_PROG_MKDIR_P
+ AC_PROG_INSTALL
+ AC_PROG_SED
++AC_PROG_GREP
+
+-AC_CHECK_PROG(CONFIG_MAN, docbook2x-man, y, n)
+-if test "$CONFIG_MAN" != "y"
++AC_PATH_PROGS_FEATURE_CHECK([DOCBOOK2MAN], [docbook2x-man docbook2man],
++ [$ac_path_DOCBOOK2MAN --version | grep -qm1 'part of docbook2X' \
++ && ac_cv_path_DOCBOOK2MAN=$ac_path_DOCBOOK2MAN ac_path_DOCBOOK2MAN_found=:])
++
++if test -n "$ac_cv_path_DOCBOOK2MAN"
+ then
+- AC_MSG_WARN([docbookx2-man not found, no manpages will be built])
++ AC_SUBST([CONFIG_MAN], "y")
++ AC_SUBST([DOCBOOK2MAN], [$ac_cv_path_DOCBOOK2MAN])
++else
++ AC_SUBST([CONFIG_MAN], "n")
++ AC_MSG_WARN([docbookx2-man not found, no manpages will be built])
+ fi
+
+ AC_CHECK_PROG(CONFIG_PDF, db2pdf, y, n)
+diff -r -u nftables-0.099/Makefile.rules.in nftables-0.099.new/Makefile.rules.in
+--- nftables-0.099/Makefile.rules.in 2014-01-20 08:15:16.000000000 -0500
++++ nftables-0.099.new/Makefile.rules.in 2014-02-02 13:02:53.660639570 -0500
+@@ -37,7 +37,7 @@
+
+ %.8: %.xml $(makedeps)
+ @echo -e " MAN\t\t$@"
+- (cd $(SUBDIR); docbook2x-man ../$<)
++ (cd $(SUBDIR); @DOCBOOK2MAN@ ../$<)
+
+ %.pdf: %.xml $(makedeps)
+ @echo -e " PDF\t\t$@"
diff --git a/community/nftables/PKGBUILD b/community/nftables/PKGBUILD
new file mode 100644
index 000000000..622daa693
--- /dev/null
+++ b/community/nftables/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgname=nftables
+pkgver=0.099
+pkgrel=2
+pkgdesc='Netfilter nftables userspace tools'
+arch=('i686' 'x86_64')
+url='http://netfilter.org/projects/nftables/'
+license=('GPL2')
+depends=('libmnl' 'libnftnl' 'gmp' 'readline' 'ncurses')
+makedepends=('docbook2x')
+source=("http://netfilter.org/projects/nftables/files/nftables-$pkgver.tar.bz2"{,.sig}
+ '01-fix-nftables-rename.patch'
+ '02-manpages.patch')
+sha1sums=('c8fb650263f68f43498306af36910791871ec1e1'
+ 'SKIP'
+ '38d7c1e4bc8590a549e16a2385af37704460642b'
+ '3ef58d5199b358ceb184307aca3e215c40ce3707')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p 1 -i "$srcdir/01-fix-nftables-rename.patch"
+ patch -p 1 -i "$srcdir/02-manpages.patch"
+ ./autogen.sh
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
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
}
diff --git a/community/pppd-ldap/PKGBUILD b/community/pppd-ldap/PKGBUILD
index 86e7ebea7..a1f89f86e 100644
--- a/community/pppd-ldap/PKGBUILD
+++ b/community/pppd-ldap/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 55777 2011-09-20 06:52:16Z andrea $
+# $Id: PKGBUILD 106132 2014-02-23 23:02:13Z thomas $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=pppd-ldap
pkgver=0.12b
-pkgrel=3
+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' 'libldap')
+depends=('ppp=2.4.6' 'libldap')
options=('docs')
source=("http://downloads.sourceforge.net/${pkgname}/pppd_ldap-$pkgver.tgz")
md5sums=('4d13596297c2728f3cfe0a097c97d8fc')
@@ -36,6 +36,6 @@ EOF
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 pppd_ldap.so $pkgdir/usr/lib/pppd/2.4.6/pppd_ldap.so
install -D -m0755 README $pkgdir/usr/share/doc/pppd-ldap/README
}