diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-04-02 22:20:27 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-04-02 22:20:27 +0200 |
commit | 589fa4c0053c3ace2260ed8af8d2df8f0d6de8d5 (patch) | |
tree | 0c626f19e67d8cf5f1e1ef0612d413eeed6c5919 /extra/openldap/Pkgfile | |
parent | 60a56ad01189bf1361230c0301f18ad3f11a751a (diff) | |
download | nutyx-pakxe-589fa4c0053c3ace2260ed8af8d2df8f0d6de8d5.tar.gz nutyx-pakxe-589fa4c0053c3ace2260ed8af8d2df8f0d6de8d5.tar.bz2 nutyx-pakxe-589fa4c0053c3ace2260ed8af8d2df8f0d6de8d5.tar.xz nutyx-pakxe-589fa4c0053c3ace2260ed8af8d2df8f0d6de8d5.zip |
Maj openldap#2.4.13-1
Diffstat (limited to 'extra/openldap/Pkgfile')
-rw-r--r-- | extra/openldap/Pkgfile | 36 |
1 files changed, 10 insertions, 26 deletions
diff --git a/extra/openldap/Pkgfile b/extra/openldap/Pkgfile index db345eb01..c7700eeeb 100644 --- a/extra/openldap/Pkgfile +++ b/extra/openldap/Pkgfile @@ -3,18 +3,17 @@ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch # Depends on: cyrus-sasl + name=openldap -version=2.4.13 +version=2.4.21 release=1 -source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/$name-$version.tgz \ - $name-config.patch slapd) +source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/$name-$version.tgz) build() { + source /etc/blfs-bootscripts + wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 + tar xvf $scripts-$scriptsversion.tar.bz2 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 \ @@ -62,24 +61,9 @@ build() { ln -s liblber.so liblber.so.2; ln -s libldap.so libldap.so.2; ln -s libldap_r.so libldap_r.so.2) || exit 1 - - mkdir -p $PKG/etc/rc.d/init.d - mkdir -p $PKG/etc/rc.d/rc0.d - mkdir -p $PKG/etc/rc.d/rc1.d - mkdir -p $PKG/etc/rc.d/rc2.d - mkdir -p $PKG/etc/rc.d/rc3.d - mkdir -p $PKG/etc/rc.d/rc4.d - mkdir -p $PKG/etc/rc.d/rc5.d - mkdir -p $PKG/etc/rc.d/rc6.d - install -m 755 $SRC/slapd $PKG/etc/rc.d/init.d/slapd - ln -s ../init.d/slapd $PKG/etc/rc.d/rc0.d/K29slapd - ln -s ../init.d/slapd $PKG/etc/rc.d/rc1.d/K29slapd - ln -s ../init.d/slapd $PKG/etc/rc.d/rc2.d/S21slapd - ln -s ../init.d/slapd $PKG/etc/rc.d/rc3.d/S21slapd - ln -s ../init.d/slapd $PKG/etc/rc.d/rc4.d/S21slapd - ln -s ../init.d/slapd $PKG/etc/rc.d/rc5.d/S21slapd - ln -s ../init.d/slapd $PKG/etc/rc.d/rc6.d/K29slapd - - + # Installation of the script + cd ../$scripts-$scriptsversion + make DESTDIR=$PKG install-openldap1 + rm -f $PKG/etc/openldap/schema/README } |