[arch-commits] Commit in openldap/repos (6 files)
Date: Thursday, November 5, 2020 @ 17:59:03 Author: arojas Revision: 399550 archrelease: copy trunk to testing-x86_64 Added: openldap/repos/testing-x86_64/ openldap/repos/testing-x86_64/PKGBUILD (from rev 399549, openldap/trunk/PKGBUILD) openldap/repos/testing-x86_64/openldap-ntlm.patch (from rev 399549, openldap/trunk/openldap-ntlm.patch) openldap/repos/testing-x86_64/openldap.sysusers (from rev 399549, openldap/trunk/openldap.sysusers) openldap/repos/testing-x86_64/openldap.tmpfiles (from rev 399549, openldap/trunk/openldap.tmpfiles) openldap/repos/testing-x86_64/slapd.service (from rev 399549, openldap/trunk/slapd.service) -+ PKGBUILD| 115 + openldap-ntlm.patch | 230 ++ openldap.sysusers |1 openldap.tmpfiles |3 slapd.service |9 + 5 files changed, 358 insertions(+) Copied: openldap/repos/testing-x86_64/PKGBUILD (from rev 399549, openldap/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-11-05 17:59:03 UTC (rev 399550) @@ -0,0 +1,115 @@ +# Maintainer: + +pkgbase=openldap +pkgname=('openldap' 'libldap') +pkgver=2.4.55 +pkgrel=1 +arch=('x86_64') +url="https://www.openldap.org/"; +license=('custom') +makedepends=('libtool' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +options=('!makeflags' 'emptydirs') +source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz +slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) +sha1sums=('03f67a56b8760abe0d5fdfa06e93542a3f4b8ef4' + '2441815efbfa01ad7a1d39068e5503b53d1d04b0' + '1f68bd85fb50595c4e916db164d8e90e0c6e21ee' + '2bf64351c32b0bf0a70663bd42de22910998b795' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/openldap-ntlm.patch + sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in + sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h + sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} + sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in +} + +build() { + cd ${pkgbase}-${pkgver} + autoconf + ./configure --prefix=/usr --libexecdir=/usr/lib \ +--sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ +--enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ +--enable-crypt --enable-spasswd --enable-modules \ +--enable-backends --disable-ndb --enable-overlays=mod \ +--with-cyrus-sasl --with-threads + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/autogroup OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/lastbind OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/passwd/sha2 OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap +} + +check() { + cd ${pkgbase}-${pkgver} +# make test +} + +package_libldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" + depends=('libsasl' 'e2fsprogs') + backup=('etc/openldap/ldap.conf') + + cd ${pkgbase}-${pkgver} + for dir in include libraries doc/man/man3 ; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + install -Dm644 doc/man/man5/ldap.conf.5.tmp "${pkgdir}"/usr/share/man/man5/ldap.conf.5 + +# get rid of duplicate default conf files + rm "${pkgdir}"/etc/openldap/*.default + + ln -sf liblber.so "${pkgdir}"/usr/lib/liblber.so.2 + ln -sf libldap.so "${pkgdir}"/usr/lib/libldap.so.2 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_openldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server" + depends=("libldap>=${pkgver}" 'libtool' 'unixodbc' 'perl') + backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif') + + cd ${pkgbase}-${pkgver} + for dir in clients servers doc/man/man{1,5,8}; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + + make -C contrib/slapd-modules/autogroup prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/lastbind prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/passwd/sha2 prefi
[arch-commits] Commit in openldap/repos (6 files)
Date: Sunday, September 27, 2020 @ 01:13:33 Author: svenstaro Revision: 396701 archrelease: copy trunk to testing-x86_64 Added: openldap/repos/testing-x86_64/ openldap/repos/testing-x86_64/PKGBUILD (from rev 396700, openldap/trunk/PKGBUILD) openldap/repos/testing-x86_64/openldap-ntlm.patch (from rev 396700, openldap/trunk/openldap-ntlm.patch) openldap/repos/testing-x86_64/openldap.sysusers (from rev 396700, openldap/trunk/openldap.sysusers) openldap/repos/testing-x86_64/openldap.tmpfiles (from rev 396700, openldap/trunk/openldap.tmpfiles) openldap/repos/testing-x86_64/slapd.service (from rev 396700, openldap/trunk/slapd.service) -+ PKGBUILD| 116 + openldap-ntlm.patch | 230 ++ openldap.sysusers |1 openldap.tmpfiles |3 slapd.service |9 + 5 files changed, 359 insertions(+) Copied: openldap/repos/testing-x86_64/PKGBUILD (from rev 396700, openldap/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-09-27 01:13:33 UTC (rev 396701) @@ -0,0 +1,116 @@ +# Maintainer: + +pkgbase=openldap +pkgname=('openldap' 'libldap') +pkgver=2.4.53 +pkgrel=2 +arch=('x86_64') +url="https://www.openldap.org/"; +license=('custom') +depends=('perl') +makedepends=('libtool' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +options=('!makeflags' 'emptydirs') +source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz +slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) +sha1sums=('9a03db5cc02fd8b0afc5bf11fb10f7cd5260bcf0' + '2441815efbfa01ad7a1d39068e5503b53d1d04b0' + '1f68bd85fb50595c4e916db164d8e90e0c6e21ee' + '2bf64351c32b0bf0a70663bd42de22910998b795' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/openldap-ntlm.patch + sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in + sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h + sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} + sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in +} + +build() { + cd ${pkgbase}-${pkgver} + autoconf + ./configure --prefix=/usr --libexecdir=/usr/lib \ +--sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ +--enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ +--enable-crypt --enable-spasswd --enable-modules \ +--enable-backends --disable-ndb --enable-overlays=mod \ +--with-cyrus-sasl --with-threads + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/autogroup OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/lastbind OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/passwd/sha2 OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap +} + +check() { + cd ${pkgbase}-${pkgver} +# make test +} + +package_libldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" + depends=('libsasl' 'e2fsprogs') + backup=('etc/openldap/ldap.conf') + + cd ${pkgbase}-${pkgver} + for dir in include libraries doc/man/man3 ; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + install -Dm644 doc/man/man5/ldap.conf.5.tmp "${pkgdir}"/usr/share/man/man5/ldap.conf.5 + +# get rid of duplicate default conf files + rm "${pkgdir}"/etc/openldap/*.default + + ln -sf liblber.so "${pkgdir}"/usr/lib/liblber.so.2 + ln -sf libldap.so "${pkgdir}"/usr/lib/libldap.so.2 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_openldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server" + depends=("libldap>=${pkgver}" 'libtool' 'unixodbc') + backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif') + + cd ${pkgbase}-${pkgver} + for dir in clients servers doc/man/man{1,5,8}; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + + make -C contrib/slapd-modules/autogroup prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/lastbind prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/pas
[arch-commits] Commit in openldap/repos (6 files)
Date: Saturday, September 19, 2020 @ 16:48:59 Author: arojas Revision: 396325 archrelease: copy trunk to testing-x86_64 Added: openldap/repos/testing-x86_64/ openldap/repos/testing-x86_64/PKGBUILD (from rev 396324, openldap/trunk/PKGBUILD) openldap/repos/testing-x86_64/openldap-ntlm.patch (from rev 396324, openldap/trunk/openldap-ntlm.patch) openldap/repos/testing-x86_64/openldap.sysusers (from rev 396324, openldap/trunk/openldap.sysusers) openldap/repos/testing-x86_64/openldap.tmpfiles (from rev 396324, openldap/trunk/openldap.tmpfiles) openldap/repos/testing-x86_64/slapd.service (from rev 396324, openldap/trunk/slapd.service) -+ PKGBUILD| 115 + openldap-ntlm.patch | 230 ++ openldap.sysusers |1 openldap.tmpfiles |3 slapd.service |9 + 5 files changed, 358 insertions(+) Copied: openldap/repos/testing-x86_64/PKGBUILD (from rev 396324, openldap/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-09-19 16:48:59 UTC (rev 396325) @@ -0,0 +1,115 @@ +# Maintainer: + +pkgbase=openldap +pkgname=('openldap' 'libldap') +pkgver=2.4.53 +pkgrel=1 +arch=('x86_64') +url="https://www.openldap.org/"; +license=('custom') +makedepends=('libtool' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +options=('!makeflags' 'emptydirs') +source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz +slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) +sha1sums=('9a03db5cc02fd8b0afc5bf11fb10f7cd5260bcf0' + '2441815efbfa01ad7a1d39068e5503b53d1d04b0' + '1f68bd85fb50595c4e916db164d8e90e0c6e21ee' + '2bf64351c32b0bf0a70663bd42de22910998b795' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/openldap-ntlm.patch + sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in + sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h + sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} + sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in +} + +build() { + cd ${pkgbase}-${pkgver} + autoconf + ./configure --prefix=/usr --libexecdir=/usr/lib \ +--sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ +--enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ +--enable-crypt --enable-spasswd --enable-modules \ +--enable-backends --disable-ndb --enable-overlays=mod \ +--with-cyrus-sasl --with-threads + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/autogroup OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/lastbind OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/passwd/sha2 OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap +} + +check() { + cd ${pkgbase}-${pkgver} +# make test +} + +package_libldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" + depends=('libsasl' 'e2fsprogs') + backup=('etc/openldap/ldap.conf') + + cd ${pkgbase}-${pkgver} + for dir in include libraries doc/man/man3 ; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + install -Dm644 doc/man/man5/ldap.conf.5.tmp "${pkgdir}"/usr/share/man/man5/ldap.conf.5 + +# get rid of duplicate default conf files + rm "${pkgdir}"/etc/openldap/*.default + + ln -sf liblber.so "${pkgdir}"/usr/lib/liblber.so.2 + ln -sf libldap.so "${pkgdir}"/usr/lib/libldap.so.2 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_openldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server" + depends=("libldap>=${pkgver}" 'libtool' 'unixodbc') + backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif') + + cd ${pkgbase}-${pkgver} + for dir in clients servers doc/man/man{1,5,8}; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + + make -C contrib/slapd-modules/autogroup prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/lastbind prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/passwd/sha2 prefix=/us
[arch-commits] Commit in openldap/repos (6 files)
Date: Sunday, August 30, 2020 @ 07:33:54 Author: arojas Revision: 394909 archrelease: copy trunk to testing-x86_64 Added: openldap/repos/testing-x86_64/ openldap/repos/testing-x86_64/PKGBUILD (from rev 394908, openldap/trunk/PKGBUILD) openldap/repos/testing-x86_64/openldap-ntlm.patch (from rev 394908, openldap/trunk/openldap-ntlm.patch) openldap/repos/testing-x86_64/openldap.sysusers (from rev 394908, openldap/trunk/openldap.sysusers) openldap/repos/testing-x86_64/openldap.tmpfiles (from rev 394908, openldap/trunk/openldap.tmpfiles) openldap/repos/testing-x86_64/slapd.service (from rev 394908, openldap/trunk/slapd.service) -+ PKGBUILD| 115 + openldap-ntlm.patch | 230 ++ openldap.sysusers |1 openldap.tmpfiles |3 slapd.service |9 + 5 files changed, 358 insertions(+) Copied: openldap/repos/testing-x86_64/PKGBUILD (from rev 394908, openldap/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-08-30 07:33:54 UTC (rev 394909) @@ -0,0 +1,115 @@ +# Maintainer: + +pkgbase=openldap +pkgname=('openldap' 'libldap') +pkgver=2.4.52 +pkgrel=1 +arch=('x86_64') +url="https://www.openldap.org/"; +license=('custom') +makedepends=('libtool' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +options=('!makeflags' 'emptydirs') +source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz +slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) +sha1sums=('c65ebaf9f3f874295b72f19a5de9b74ff0ade4ec' + '2441815efbfa01ad7a1d39068e5503b53d1d04b0' + '1f68bd85fb50595c4e916db164d8e90e0c6e21ee' + '2bf64351c32b0bf0a70663bd42de22910998b795' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/openldap-ntlm.patch + sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in + sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h + sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} + sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in +} + +build() { + cd ${pkgbase}-${pkgver} + autoconf + ./configure --prefix=/usr --libexecdir=/usr/lib \ +--sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ +--enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ +--enable-crypt --enable-spasswd --enable-modules \ +--enable-backends --disable-ndb --enable-overlays=mod \ +--with-cyrus-sasl --with-threads + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/autogroup OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/lastbind OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/passwd/sha2 OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap +} + +check() { + cd ${pkgbase}-${pkgver} +# make test +} + +package_libldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" + depends=('libsasl' 'e2fsprogs') + backup=('etc/openldap/ldap.conf') + + cd ${pkgbase}-${pkgver} + for dir in include libraries doc/man/man3 ; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + install -Dm644 doc/man/man5/ldap.conf.5.tmp "${pkgdir}"/usr/share/man/man5/ldap.conf.5 + +# get rid of duplicate default conf files + rm "${pkgdir}"/etc/openldap/*.default + + ln -sf liblber.so "${pkgdir}"/usr/lib/liblber.so.2 + ln -sf libldap.so "${pkgdir}"/usr/lib/libldap.so.2 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_openldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server" + depends=("libldap>=${pkgver}" 'libtool' 'unixodbc') + backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif') + + cd ${pkgbase}-${pkgver} + for dir in clients servers doc/man/man{1,5,8}; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + + make -C contrib/slapd-modules/autogroup prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/lastbind prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/passwd/sha2 prefix=/usr lib
[arch-commits] Commit in openldap/repos (6 files)
Date: Sunday, June 21, 2020 @ 10:25:48 Author: felixonmars Revision: 389632 archrelease: copy trunk to staging-x86_64 Added: openldap/repos/staging-x86_64/ openldap/repos/staging-x86_64/PKGBUILD (from rev 389630, openldap/trunk/PKGBUILD) openldap/repos/staging-x86_64/openldap-ntlm.patch (from rev 389630, openldap/trunk/openldap-ntlm.patch) openldap/repos/staging-x86_64/openldap.sysusers (from rev 389630, openldap/trunk/openldap.sysusers) openldap/repos/staging-x86_64/openldap.tmpfiles (from rev 389631, openldap/trunk/openldap.tmpfiles) openldap/repos/staging-x86_64/slapd.service (from rev 389631, openldap/trunk/slapd.service) -+ PKGBUILD| 115 + openldap-ntlm.patch | 230 ++ openldap.sysusers |1 openldap.tmpfiles |3 slapd.service |9 + 5 files changed, 358 insertions(+) Copied: openldap/repos/staging-x86_64/PKGBUILD (from rev 389630, openldap/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-06-21 10:25:48 UTC (rev 389632) @@ -0,0 +1,115 @@ +# Maintainer: + +pkgbase=openldap +pkgname=('openldap' 'libldap') +pkgver=2.4.50 +pkgrel=2 +arch=('x86_64') +url="https://www.openldap.org/"; +license=('custom') +makedepends=('libtool' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +options=('!makeflags' 'emptydirs') +source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz +slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) +sha1sums=('82f576e0d0d334e9e798d9de8936683546247bb9' + '2441815efbfa01ad7a1d39068e5503b53d1d04b0' + '1f68bd85fb50595c4e916db164d8e90e0c6e21ee' + '2bf64351c32b0bf0a70663bd42de22910998b795' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/openldap-ntlm.patch + sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in + sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h + sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} + sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in +} + +build() { + cd ${pkgbase}-${pkgver} + autoconf + ./configure --prefix=/usr --libexecdir=/usr/lib \ +--sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ +--enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ +--enable-crypt --enable-spasswd --enable-modules \ +--enable-backends --disable-ndb --enable-overlays=mod \ +--with-cyrus-sasl --with-threads + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/autogroup OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/lastbind OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/passwd/sha2 OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap +} + +check() { + cd ${pkgbase}-${pkgver} +# make test +} + +package_libldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" + depends=('libsasl' 'e2fsprogs') + backup=('etc/openldap/ldap.conf') + + cd ${pkgbase}-${pkgver} + for dir in include libraries doc/man/man3 ; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + install -Dm644 doc/man/man5/ldap.conf.5.tmp "${pkgdir}"/usr/share/man/man5/ldap.conf.5 + +# get rid of duplicate default conf files + rm "${pkgdir}"/etc/openldap/*.default + + ln -sf liblber.so "${pkgdir}"/usr/lib/liblber.so.2 + ln -sf libldap.so "${pkgdir}"/usr/lib/libldap.so.2 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_openldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server" + depends=("libldap>=${pkgver}" 'libtool' 'unixodbc') + backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif') + + cd ${pkgbase}-${pkgver} + for dir in clients servers doc/man/man{1,5,8}; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + + make -C contrib/slapd-modules/autogroup prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/lastbind prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/passwd/sha2 prefix=/usr
[arch-commits] Commit in openldap/repos (6 files)
Date: Sunday, June 14, 2020 @ 09:15:00 Author: arojas Revision: 389172 archrelease: copy trunk to testing-x86_64 Added: openldap/repos/testing-x86_64/ openldap/repos/testing-x86_64/PKGBUILD (from rev 389171, openldap/trunk/PKGBUILD) openldap/repos/testing-x86_64/openldap-ntlm.patch (from rev 389171, openldap/trunk/openldap-ntlm.patch) openldap/repos/testing-x86_64/openldap.sysusers (from rev 389171, openldap/trunk/openldap.sysusers) openldap/repos/testing-x86_64/openldap.tmpfiles (from rev 389171, openldap/trunk/openldap.tmpfiles) openldap/repos/testing-x86_64/slapd.service (from rev 389171, openldap/trunk/slapd.service) -+ PKGBUILD| 115 + openldap-ntlm.patch | 230 ++ openldap.sysusers |1 openldap.tmpfiles |3 slapd.service |9 + 5 files changed, 358 insertions(+) Copied: openldap/repos/testing-x86_64/PKGBUILD (from rev 389171, openldap/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-06-14 09:15:00 UTC (rev 389172) @@ -0,0 +1,115 @@ +# Maintainer: + +pkgbase=openldap +pkgname=('openldap' 'libldap') +pkgver=2.4.50 +pkgrel=1 +arch=('x86_64') +url="https://www.openldap.org/"; +license=('custom') +makedepends=('libtool' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +options=('!makeflags' 'emptydirs') +source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz +slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) +sha1sums=('82f576e0d0d334e9e798d9de8936683546247bb9' + '2441815efbfa01ad7a1d39068e5503b53d1d04b0' + '1f68bd85fb50595c4e916db164d8e90e0c6e21ee' + '2bf64351c32b0bf0a70663bd42de22910998b795' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/openldap-ntlm.patch + sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in + sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h + sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} + sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in +} + +build() { + cd ${pkgbase}-${pkgver} + autoconf + ./configure --prefix=/usr --libexecdir=/usr/lib \ +--sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ +--enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ +--enable-crypt --enable-spasswd --enable-modules \ +--enable-backends --disable-ndb --enable-overlays=mod \ +--with-cyrus-sasl --with-threads + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/autogroup OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/lastbind OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/passwd/sha2 OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap +} + +check() { + cd ${pkgbase}-${pkgver} +# make test +} + +package_libldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" + depends=('libsasl' 'e2fsprogs') + backup=('etc/openldap/ldap.conf') + + cd ${pkgbase}-${pkgver} + for dir in include libraries doc/man/man3 ; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + install -Dm644 doc/man/man5/ldap.conf.5.tmp "${pkgdir}"/usr/share/man/man5/ldap.conf.5 + +# get rid of duplicate default conf files + rm "${pkgdir}"/etc/openldap/*.default + + ln -sf liblber.so "${pkgdir}"/usr/lib/liblber.so.2 + ln -sf libldap.so "${pkgdir}"/usr/lib/libldap.so.2 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_openldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server" + depends=("libldap>=${pkgver}" 'libtool' 'unixodbc') + backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif') + + cd ${pkgbase}-${pkgver} + for dir in clients servers doc/man/man{1,5,8}; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + + make -C contrib/slapd-modules/autogroup prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/lastbind prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/passwd/sha2 prefix=/usr libex
[arch-commits] Commit in openldap/repos (6 files)
Date: Friday, January 31, 2020 @ 22:10:35 Author: arojas Revision: 374432 archrelease: copy trunk to testing-x86_64 Added: openldap/repos/testing-x86_64/ openldap/repos/testing-x86_64/PKGBUILD (from rev 374431, openldap/trunk/PKGBUILD) openldap/repos/testing-x86_64/openldap-ntlm.patch (from rev 374431, openldap/trunk/openldap-ntlm.patch) openldap/repos/testing-x86_64/openldap.sysusers (from rev 374431, openldap/trunk/openldap.sysusers) openldap/repos/testing-x86_64/openldap.tmpfiles (from rev 374431, openldap/trunk/openldap.tmpfiles) openldap/repos/testing-x86_64/slapd.service (from rev 374431, openldap/trunk/slapd.service) -+ PKGBUILD| 115 + openldap-ntlm.patch | 230 ++ openldap.sysusers |1 openldap.tmpfiles |3 slapd.service |9 + 5 files changed, 358 insertions(+) Copied: openldap/repos/testing-x86_64/PKGBUILD (from rev 374431, openldap/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-01-31 22:10:35 UTC (rev 374432) @@ -0,0 +1,115 @@ +# Maintainer: + +pkgbase=openldap +pkgname=('openldap' 'libldap') +pkgver=2.4.49 +pkgrel=1 +arch=('x86_64') +url="https://www.openldap.org/"; +license=('custom') +makedepends=('libtool' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +options=('!makeflags' 'emptydirs') +source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz +slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) +sha1sums=('f0caeca122e6f90e6ac5cc8ba36fe9cec13826da' + '2441815efbfa01ad7a1d39068e5503b53d1d04b0' + '1f68bd85fb50595c4e916db164d8e90e0c6e21ee' + '2bf64351c32b0bf0a70663bd42de22910998b795' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/openldap-ntlm.patch + sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in + sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h + sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} + sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in +} + +build() { + cd ${pkgbase}-${pkgver} + autoconf + ./configure --prefix=/usr --libexecdir=/usr/lib \ +--sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ +--enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ +--enable-crypt --enable-spasswd --enable-modules \ +--enable-backends --disable-ndb --enable-overlays=mod \ +--with-cyrus-sasl --with-threads + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/autogroup OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/lastbind OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/passwd/sha2 OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap +} + +check() { + cd ${pkgbase}-${pkgver} +# make test +} + +package_libldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" + depends=('libsasl' 'e2fsprogs') + backup=('etc/openldap/ldap.conf') + + cd ${pkgbase}-${pkgver} + for dir in include libraries doc/man/man3 ; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + install -Dm644 doc/man/man5/ldap.conf.5.tmp "${pkgdir}"/usr/share/man/man5/ldap.conf.5 + +# get rid of duplicate default conf files + rm "${pkgdir}"/etc/openldap/*.default + + ln -sf liblber.so "${pkgdir}"/usr/lib/liblber.so.2 + ln -sf libldap.so "${pkgdir}"/usr/lib/libldap.so.2 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_openldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server" + depends=("libldap>=${pkgver}" 'libtool' 'unixodbc') + backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif') + + cd ${pkgbase}-${pkgver} + for dir in clients servers doc/man/man{1,5,8}; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + + make -C contrib/slapd-modules/autogroup prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/lastbind prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap DESTDIR="$pkgdir" install + make -C contrib/slapd-modules/passwd/sha2 prefix=/usr li
[arch-commits] Commit in openldap/repos (6 files)
Date: Wednesday, November 13, 2019 @ 16:55:12 Author: foutrelis Revision: 368261 archrelease: copy trunk to staging-x86_64 Added: openldap/repos/staging-x86_64/ openldap/repos/staging-x86_64/PKGBUILD (from rev 368260, openldap/trunk/PKGBUILD) openldap/repos/staging-x86_64/openldap-ntlm.patch (from rev 368260, openldap/trunk/openldap-ntlm.patch) openldap/repos/staging-x86_64/openldap.sysusers (from rev 368260, openldap/trunk/openldap.sysusers) openldap/repos/staging-x86_64/openldap.tmpfiles (from rev 368260, openldap/trunk/openldap.tmpfiles) openldap/repos/staging-x86_64/slapd.service (from rev 368260, openldap/trunk/slapd.service) -+ PKGBUILD| 120 ++ openldap-ntlm.patch | 230 ++ openldap.sysusers |1 openldap.tmpfiles |3 slapd.service |9 + 5 files changed, 363 insertions(+) Copied: openldap/repos/staging-x86_64/PKGBUILD (from rev 368260, openldap/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-11-13 16:55:12 UTC (rev 368261) @@ -0,0 +1,120 @@ +# Maintainer: + +pkgbase=openldap +pkgname=('openldap' 'libldap') +pkgver=2.4.48 +pkgrel=2 +arch=('x86_64') +url="https://www.openldap.org/"; +license=('custom') +makedepends=('libtool' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +options=('!makeflags' 'emptydirs') +source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz +slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) +sha1sums=('c1984e80f6db038b317bf931866adb38e5537dcd' + '2441815efbfa01ad7a1d39068e5503b53d1d04b0' + '1f68bd85fb50595c4e916db164d8e90e0c6e21ee' + '2bf64351c32b0bf0a70663bd42de22910998b795' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') + +# see http://www.openldap.org/faq/data/cache/756.html +# there's no proper backend support for anything apart from +# BerkeleyDB, if we don't want to drop local backend server support +# we are forced to keep Berkeley DB here + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/openldap-ntlm.patch + sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in + sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h + sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} + sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in +} + +build() { + cd ${pkgbase}-${pkgver} + autoconf + ./configure --prefix=/usr --libexecdir=/usr/lib \ +--sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ +--enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ +--enable-crypt --enable-spasswd --enable-modules \ +--enable-backends --disable-ndb --enable-overlays=mod \ +--with-cyrus-sasl --with-threads + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/autogroup OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/lastbind OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/passwd/sha2 OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap +} + +check() { + cd ${pkgbase}-${pkgver} +# make test +} + +package_libldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" + depends=('libsasl' 'e2fsprogs') + backup=('etc/openldap/ldap.conf') + + cd ${pkgbase}-${pkgver} + for dir in include libraries doc/man/man3 ; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + install -Dm644 doc/man/man5/ldap.conf.5.tmp "${pkgdir}"/usr/share/man/man5/ldap.conf.5 + +# get rid of duplicate default conf files + rm "${pkgdir}"/etc/openldap/*.default + + ln -sf liblber.so "${pkgdir}"/usr/lib/liblber.so.2 + ln -sf libldap.so "${pkgdir}"/usr/lib/libldap.so.2 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_openldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server" + depends=("libldap>=${pkgver}" 'libtool' 'unixodbc') + backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif') + + cd ${pkgbase}-${pkgver} + for dir in clients servers doc/man/man{1,5,8}; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + + make -C contrib/slapd-modules/autogroup prefix=/usr libexecdir=/usr/lib
[arch-commits] Commit in openldap/repos (6 files)
Date: Wednesday, July 31, 2019 @ 07:18:44 Author: arojas Revision: 358801 archrelease: copy trunk to testing-x86_64 Added: openldap/repos/testing-x86_64/ openldap/repos/testing-x86_64/PKGBUILD (from rev 358800, openldap/trunk/PKGBUILD) openldap/repos/testing-x86_64/openldap-ntlm.patch (from rev 358800, openldap/trunk/openldap-ntlm.patch) openldap/repos/testing-x86_64/openldap.sysusers (from rev 358800, openldap/trunk/openldap.sysusers) openldap/repos/testing-x86_64/openldap.tmpfiles (from rev 358800, openldap/trunk/openldap.tmpfiles) openldap/repos/testing-x86_64/slapd.service (from rev 358800, openldap/trunk/slapd.service) -+ PKGBUILD| 120 ++ openldap-ntlm.patch | 230 ++ openldap.sysusers |1 openldap.tmpfiles |3 slapd.service |9 + 5 files changed, 363 insertions(+) Copied: openldap/repos/testing-x86_64/PKGBUILD (from rev 358800, openldap/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-07-31 07:18:44 UTC (rev 358801) @@ -0,0 +1,120 @@ +# Maintainer: + +pkgbase=openldap +pkgname=('openldap' 'libldap') +pkgver=2.4.48 +pkgrel=1 +arch=('x86_64') +url="https://www.openldap.org/"; +license=('custom') +makedepends=('libtool' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +options=('!makeflags' 'emptydirs') +source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz +slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) +sha1sums=('c1984e80f6db038b317bf931866adb38e5537dcd' + '2441815efbfa01ad7a1d39068e5503b53d1d04b0' + '1f68bd85fb50595c4e916db164d8e90e0c6e21ee' + '2bf64351c32b0bf0a70663bd42de22910998b795' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') + +# see http://www.openldap.org/faq/data/cache/756.html +# there's no proper backend support for anything apart from +# BerkeleyDB, if we don't want to drop local backend server support +# we are forced to keep Berkeley DB here + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/openldap-ntlm.patch + sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in + sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h + sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} + sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in +} + +build() { + cd ${pkgbase}-${pkgver} + autoconf + ./configure --prefix=/usr --libexecdir=/usr/lib \ +--sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ +--enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ +--enable-crypt --enable-spasswd --enable-modules \ +--enable-backends --disable-ndb --enable-overlays=mod \ +--with-cyrus-sasl --with-threads + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/autogroup OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/lastbind OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/passwd/sha2 OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap +} + +check() { + cd ${pkgbase}-${pkgver} +# make test +} + +package_libldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" + depends=('libsasl' 'e2fsprogs') + backup=('etc/openldap/ldap.conf') + + cd ${pkgbase}-${pkgver} + for dir in include libraries doc/man/man3 ; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + install -Dm644 doc/man/man5/ldap.conf.5.tmp "${pkgdir}"/usr/share/man/man5/ldap.conf.5 + +# get rid of duplicate default conf files + rm "${pkgdir}"/etc/openldap/*.default + + ln -sf liblber.so "${pkgdir}"/usr/lib/liblber.so.2 + ln -sf libldap.so "${pkgdir}"/usr/lib/libldap.so.2 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_openldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server" + depends=("libldap>=${pkgver}" 'libtool' 'unixodbc') + backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif') + + cd ${pkgbase}-${pkgver} + for dir in clients servers doc/man/man{1,5,8}; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + + make -C contrib/slapd-modules/autogroup prefix=/usr libexecdir=/usr/lib syscon
[arch-commits] Commit in openldap/repos (6 files)
Date: Saturday, May 25, 2019 @ 09:01:28 Author: foutrelis Revision: 354002 archrelease: copy trunk to staging-x86_64 Added: openldap/repos/staging-x86_64/ openldap/repos/staging-x86_64/PKGBUILD (from rev 354001, openldap/trunk/PKGBUILD) openldap/repos/staging-x86_64/openldap-ntlm.patch (from rev 354001, openldap/trunk/openldap-ntlm.patch) openldap/repos/staging-x86_64/openldap.sysusers (from rev 354001, openldap/trunk/openldap.sysusers) openldap/repos/staging-x86_64/openldap.tmpfiles (from rev 354001, openldap/trunk/openldap.tmpfiles) openldap/repos/staging-x86_64/slapd.service (from rev 354001, openldap/trunk/slapd.service) -+ PKGBUILD| 120 ++ openldap-ntlm.patch | 230 ++ openldap.sysusers |1 openldap.tmpfiles |3 slapd.service |9 + 5 files changed, 363 insertions(+) Copied: openldap/repos/staging-x86_64/PKGBUILD (from rev 354001, openldap/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-05-25 09:01:28 UTC (rev 354002) @@ -0,0 +1,120 @@ +# Maintainer: + +pkgbase=openldap +pkgname=('openldap' 'libldap') +pkgver=2.4.47 +pkgrel=2 +arch=('x86_64') +url="https://www.openldap.org/"; +license=('custom') +makedepends=('libtool' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +options=('!makeflags' 'emptydirs') +source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz +slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) +sha1sums=('c59d52dd75f7d1c7b02f83725da36c322d439674' + '2441815efbfa01ad7a1d39068e5503b53d1d04b0' + '1f68bd85fb50595c4e916db164d8e90e0c6e21ee' + '2bf64351c32b0bf0a70663bd42de22910998b795' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') + +# see http://www.openldap.org/faq/data/cache/756.html +# there's no proper backend support for anything apart from +# BerkeleyDB, if we don't want to drop local backend server support +# we are forced to keep Berkeley DB here + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/openldap-ntlm.patch + sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in + sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h + sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} + sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in +} + +build() { + cd ${pkgbase}-${pkgver} + autoconf + ./configure --prefix=/usr --libexecdir=/usr/lib \ +--sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ +--enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ +--enable-crypt --enable-spasswd --enable-modules \ +--enable-backends --disable-ndb --enable-overlays=mod \ +--with-cyrus-sasl --with-threads + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/autogroup OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/lastbind OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/passwd/sha2 OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap +} + +check() { + cd ${pkgbase}-${pkgver} +# make test +} + +package_libldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" + depends=('libsasl' 'e2fsprogs') + backup=('etc/openldap/ldap.conf') + + cd ${pkgbase}-${pkgver} + for dir in include libraries doc/man/man3 ; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + install -Dm644 doc/man/man5/ldap.conf.5.tmp "${pkgdir}"/usr/share/man/man5/ldap.conf.5 + +# get rid of duplicate default conf files + rm "${pkgdir}"/etc/openldap/*.default + + ln -sf liblber.so "${pkgdir}"/usr/lib/liblber.so.2 + ln -sf libldap.so "${pkgdir}"/usr/lib/libldap.so.2 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_openldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server" + depends=("libldap>=${pkgver}" 'libtool' 'unixodbc') + backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif') + + cd ${pkgbase}-${pkgver} + for dir in clients servers doc/man/man{1,5,8}; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + + make -C contrib/slapd-modules/autogroup prefix=/usr libexecdir=/usr/lib sysco
[arch-commits] Commit in openldap/repos (6 files)
Date: Saturday, January 5, 2019 @ 15:08:54 Author: arojas Revision: 343007 archrelease: copy trunk to testing-x86_64 Added: openldap/repos/testing-x86_64/ openldap/repos/testing-x86_64/PKGBUILD (from rev 343006, openldap/trunk/PKGBUILD) openldap/repos/testing-x86_64/openldap-ntlm.patch (from rev 343006, openldap/trunk/openldap-ntlm.patch) openldap/repos/testing-x86_64/openldap.sysusers (from rev 343006, openldap/trunk/openldap.sysusers) openldap/repos/testing-x86_64/openldap.tmpfiles (from rev 343006, openldap/trunk/openldap.tmpfiles) openldap/repos/testing-x86_64/slapd.service (from rev 343006, openldap/trunk/slapd.service) -+ PKGBUILD| 120 ++ openldap-ntlm.patch | 230 ++ openldap.sysusers |1 openldap.tmpfiles |3 slapd.service |9 + 5 files changed, 363 insertions(+) Copied: openldap/repos/testing-x86_64/PKGBUILD (from rev 343006, openldap/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-01-05 15:08:54 UTC (rev 343007) @@ -0,0 +1,120 @@ +# Maintainer: + +pkgbase=openldap +pkgname=('openldap' 'libldap') +pkgver=2.4.47 +pkgrel=1 +arch=('x86_64') +url="https://www.openldap.org/"; +license=('custom') +makedepends=('libltdl' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +options=('!makeflags' 'emptydirs') +source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz +slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) +sha1sums=('c59d52dd75f7d1c7b02f83725da36c322d439674' + '2441815efbfa01ad7a1d39068e5503b53d1d04b0' + '1f68bd85fb50595c4e916db164d8e90e0c6e21ee' + '2bf64351c32b0bf0a70663bd42de22910998b795' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') + +# see http://www.openldap.org/faq/data/cache/756.html +# there's no proper backend support for anything apart from +# BerkeleyDB, if we don't want to drop local backend server support +# we are forced to keep Berkeley DB here + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/openldap-ntlm.patch + sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in + sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h + sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} + sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in +} + +build() { + cd ${pkgbase}-${pkgver} + autoconf + ./configure --prefix=/usr --libexecdir=/usr/lib \ +--sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ +--enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ +--enable-crypt --enable-spasswd --enable-modules \ +--enable-backends --disable-ndb --enable-overlays=mod \ +--with-cyrus-sasl --with-threads + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/autogroup OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/lastbind OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/passwd/sha2 OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap +} + +check() { + cd ${pkgbase}-${pkgver} +# make test +} + +package_libldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" + depends=('libsasl' 'e2fsprogs') + backup=('etc/openldap/ldap.conf') + + cd ${pkgbase}-${pkgver} + for dir in include libraries doc/man/man3 ; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + install -Dm644 doc/man/man5/ldap.conf.5.tmp "${pkgdir}"/usr/share/man/man5/ldap.conf.5 + +# get rid of duplicate default conf files + rm "${pkgdir}"/etc/openldap/*.default + + ln -sf liblber.so "${pkgdir}"/usr/lib/liblber.so.2 + ln -sf libldap.so "${pkgdir}"/usr/lib/libldap.so.2 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_openldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server" + depends=("libldap>=${pkgver}" 'libltdl' 'unixodbc') + backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif') + + cd ${pkgbase}-${pkgver} + for dir in clients servers doc/man/man{1,5,8}; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + + make -C contrib/slapd-modules/autogroup prefix=/usr libexecdir=/usr/lib sysco
[arch-commits] Commit in openldap/repos (6 files)
Date: Wednesday, August 1, 2018 @ 09:15:28 Author: bluewind Revision: 330022 archrelease: copy trunk to staging-x86_64 Added: openldap/repos/staging-x86_64/ openldap/repos/staging-x86_64/PKGBUILD (from rev 330021, openldap/trunk/PKGBUILD) openldap/repos/staging-x86_64/openldap-ntlm.patch (from rev 330021, openldap/trunk/openldap-ntlm.patch) openldap/repos/staging-x86_64/openldap.sysusers (from rev 330021, openldap/trunk/openldap.sysusers) openldap/repos/staging-x86_64/openldap.tmpfiles (from rev 330021, openldap/trunk/openldap.tmpfiles) openldap/repos/staging-x86_64/slapd.service (from rev 330021, openldap/trunk/slapd.service) -+ PKGBUILD| 121 ++ openldap-ntlm.patch | 230 ++ openldap.sysusers |1 openldap.tmpfiles |3 slapd.service |9 + 5 files changed, 364 insertions(+) Copied: openldap/repos/staging-x86_64/PKGBUILD (from rev 330021, openldap/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-08-01 09:15:28 UTC (rev 330022) @@ -0,0 +1,121 @@ +# $Id$ +# Maintainer: + +pkgbase=openldap +pkgname=('openldap' 'libldap') +pkgver=2.4.46 +pkgrel=2 +arch=('x86_64') +url="https://www.openldap.org/"; +license=('custom') +makedepends=('libltdl' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +options=('!makeflags' 'emptydirs') +source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz +slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) +sha1sums=('a9ae2273eb9bdd70090dafe0d018a3132606bef6' + '2441815efbfa01ad7a1d39068e5503b53d1d04b0' + '1f68bd85fb50595c4e916db164d8e90e0c6e21ee' + '2bf64351c32b0bf0a70663bd42de22910998b795' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') + +# see http://www.openldap.org/faq/data/cache/756.html +# there's no proper backend support for anything apart from +# BerkeleyDB, if we don't want to drop local backend server support +# we are forced to keep Berkeley DB here + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/openldap-ntlm.patch + sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in + sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h + sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} + sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in +} + +build() { + cd ${pkgbase}-${pkgver} + autoconf + ./configure --prefix=/usr --libexecdir=/usr/lib \ +--sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ +--enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ +--enable-crypt --enable-spasswd --enable-modules \ +--enable-backends --disable-ndb --enable-overlays=mod \ +--with-cyrus-sasl --with-threads + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/autogroup OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/lastbind OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/passwd/sha2 OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap +} + +check() { + cd ${pkgbase}-${pkgver} +# make test +} + +package_libldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" + depends=('libsasl' 'e2fsprogs') + backup=('etc/openldap/ldap.conf') + + cd ${pkgbase}-${pkgver} + for dir in include libraries doc/man/man3 ; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + install -Dm644 doc/man/man5/ldap.conf.5.tmp "${pkgdir}"/usr/share/man/man5/ldap.conf.5 + +# get rid of duplicate default conf files + rm "${pkgdir}"/etc/openldap/*.default + + ln -sf liblber.so "${pkgdir}"/usr/lib/liblber.so.2 + ln -sf libldap.so "${pkgdir}"/usr/lib/libldap.so.2 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_openldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server" + depends=("libldap>=${pkgver}" 'libltdl' 'unixodbc') + backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif') + + cd ${pkgbase}-${pkgver} + for dir in clients servers doc/man/man{1,5,8}; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + + make -C contrib/slapd-modules/autogroup prefix=/usr libexecdir=/usr/
[arch-commits] Commit in openldap/repos (6 files)
Date: Sunday, March 25, 2018 @ 21:29:09 Author: jgc Revision: 320327 archrelease: copy trunk to testing-x86_64 Added: openldap/repos/testing-x86_64/ openldap/repos/testing-x86_64/PKGBUILD (from rev 320326, openldap/trunk/PKGBUILD) openldap/repos/testing-x86_64/openldap-ntlm.patch (from rev 320326, openldap/trunk/openldap-ntlm.patch) openldap/repos/testing-x86_64/openldap.sysusers (from rev 320326, openldap/trunk/openldap.sysusers) openldap/repos/testing-x86_64/openldap.tmpfiles (from rev 320326, openldap/trunk/openldap.tmpfiles) openldap/repos/testing-x86_64/slapd.service (from rev 320326, openldap/trunk/slapd.service) -+ PKGBUILD| 121 ++ openldap-ntlm.patch | 230 ++ openldap.sysusers |1 openldap.tmpfiles |3 slapd.service |9 + 5 files changed, 364 insertions(+) Copied: openldap/repos/testing-x86_64/PKGBUILD (from rev 320326, openldap/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-03-25 21:29:09 UTC (rev 320327) @@ -0,0 +1,121 @@ +# $Id$ +# Maintainer: + +pkgbase=openldap +pkgname=('openldap' 'libldap') +pkgver=2.4.46 +pkgrel=1 +arch=('x86_64') +url="https://www.openldap.org/"; +license=('custom') +makedepends=('libltdl' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc') +options=('!makeflags' 'emptydirs') +source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz +slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch) +sha1sums=('a9ae2273eb9bdd70090dafe0d018a3132606bef6' + '2441815efbfa01ad7a1d39068e5503b53d1d04b0' + '1f68bd85fb50595c4e916db164d8e90e0c6e21ee' + '2bf64351c32b0bf0a70663bd42de22910998b795' + 'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef') + +# see http://www.openldap.org/faq/data/cache/756.html +# there's no proper backend support for anything apart from +# BerkeleyDB, if we don't want to drop local backend server support +# we are forced to keep Berkeley DB here + +prepare() { + cd ${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/openldap-ntlm.patch + sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in + sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h + sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} + sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in +} + +build() { + cd ${pkgbase}-${pkgver} + autoconf + ./configure --prefix=/usr --libexecdir=/usr/lib \ +--sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ +--enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ +--enable-crypt --enable-spasswd --enable-modules \ +--enable-backends --disable-ndb --enable-overlays=mod \ +--with-cyrus-sasl --with-threads + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/autogroup OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/lastbind OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap + make -C contrib/slapd-modules/passwd/sha2 OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap +} + +check() { + cd ${pkgbase}-${pkgver} +# make test +} + +package_libldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" + depends=('libsasl' 'e2fsprogs') + backup=('etc/openldap/ldap.conf') + + cd ${pkgbase}-${pkgver} + for dir in include libraries doc/man/man3 ; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + install -Dm644 doc/man/man5/ldap.conf.5.tmp "${pkgdir}"/usr/share/man/man5/ldap.conf.5 + +# get rid of duplicate default conf files + rm "${pkgdir}"/etc/openldap/*.default + + ln -sf liblber.so "${pkgdir}"/usr/lib/liblber.so.2 + ln -sf libldap.so "${pkgdir}"/usr/lib/libldap.so.2 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_openldap() { + pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server" + depends=("libldap>=${pkgver}" 'libltdl' 'unixodbc') + backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif') + + cd ${pkgbase}-${pkgver} + for dir in clients servers doc/man/man{1,5,8}; do +pushd ${dir} +make DESTDIR="${pkgdir}" install +popd + done + + make -C contrib/slapd-modules/autogroup prefix=/usr libexecdir=/usr/lib sys