diff options
author | Richard Pöttler <richard.poettler@gmail.com> | 2008-12-22 19:43:09 +0100 |
---|---|---|
committer | Richard Pöttler <richard.poettler@gmail.com> | 2008-12-22 19:50:30 +0100 |
commit | c60299ae5d788b3b023ce9af00720dbdc0576d73 (patch) | |
tree | 6b1de306dc14c5b5dc177bdb637ee359982e0a65 /openldap/Pkgfile | |
parent | 7ff790b442e53e37c580cb2d2ca3c6c479d3be71 (diff) | |
download | opt-c60299ae5d788b3b023ce9af00720dbdc0576d73.tar.gz opt-c60299ae5d788b3b023ce9af00720dbdc0576d73.tar.xz |
openldap: updated to 2.4.13
Diffstat (limited to 'openldap/Pkgfile')
-rw-r--r-- | openldap/Pkgfile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/openldap/Pkgfile b/openldap/Pkgfile index 07141a5c0..072f1f2f3 100644 --- a/openldap/Pkgfile +++ b/openldap/Pkgfile @@ -5,15 +5,19 @@ # Depends on: perl, openssl, cyrus-sasl name=openldap -version=2.3.43 +version=2.4.13 release=1 source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/$name-$version.tgz \ $name-config.patch slurpd slapd) -build(){ +build() { cd $name-$version patch -p0 -i $SRC/$name-config.patch + # Workaround for: (ITS#5464) ucred guarded by __USE_GNU in glibc 2.8 + # http://www.openldap.org/lists/openldap-bugs/200804/msg00074.html + export CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" + ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/sbin \ @@ -54,7 +58,7 @@ build(){ sed -i -e "s|-L${PKG}/usr/lib||g" $PKG/usr/lib/*.la /sbin/ldconfig -n $PKG/usr/lib -# compatiblity links + # compatiblity links (cd $PKG/usr/lib; ln -s liblber.so liblber.so.2; ln -s libldap.so libldap.so.2; |