[arch-commits] Commit in openldap/trunk (PKGBUILD slapd.service)

Eric Bélanger eric at nymeria.archlinux.org
Mon May 20 21:07:24 EDT 2013


    Date: Tuesday, May 21, 2013 @ 03:07:24
  Author: eric
Revision: 186070

upgpkg: openldap 2.4.35-4

Move files from /usr/sbin to /usr/bin

Modified:
  openldap/trunk/PKGBUILD
  openldap/trunk/slapd.service

---------------+
 PKGBUILD      |    8 ++++----
 slapd.service |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-20 23:10:56 UTC (rev 186069)
+++ PKGBUILD	2013-05-21 01:07:24 UTC (rev 186070)
@@ -4,7 +4,7 @@
 pkgbase=openldap
 pkgname=('libldap' 'openldap')
 pkgver=2.4.35
-pkgrel=3
+pkgrel=4
 arch=('i686' 'x86_64')
 url="http://www.openldap.org/"
 license=('custom')
@@ -13,7 +13,7 @@
 source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz
         slapd.service slapd.tmpfiles openldap-ntlm.patch openldap-nssov.patch)
 sha1sums=('db02243150b050baac6a8ea4145ad73a1f6d2266'
-          '9c7f3441e6a6ee13cdcfe8d965081c7a574c3393'
+          '2441815efbfa01ad7a1d39068e5503b53d1d04b0'
           'f86a82e35ebe15026980467c9dee4007e686b795'
           'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef'
           'b2d11b4c522750ad9da3409333094fb599ac2c85')
@@ -31,7 +31,7 @@
 build() {
   cd ${pkgbase}-${pkgver}
   ./configure --prefix=/usr --mandir=/usr/share/man --libexecdir=/usr/lib \
-    --sysconfdir=/etc --localstatedir=/var/lib/openldap \
+    --sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \
     --enable-ipv6 --enable-syslog --enable-local \
     --enable-bdb --enable-hdb \
     --enable-crypt --enable-dynamic \
@@ -101,7 +101,7 @@
 # get rid of duplicate default conf files
   rm "${pkgdir}"/etc/openldap/*.default
 
-  ln -s ../lib/slapd "${pkgdir}"/usr/sbin/slapd
+  ln -s ../lib/slapd "${pkgdir}"/usr/bin/slapd
 
   chown root:439 "${pkgdir}"/etc/openldap/{slapd.{conf,ldif},DB_CONFIG.example}
   chmod 640 "${pkgdir}"/etc/openldap/{slapd.{conf,ldif},DB_CONFIG.example}

Modified: slapd.service
===================================================================
--- slapd.service	2013-05-20 23:10:56 UTC (rev 186069)
+++ slapd.service	2013-05-21 01:07:24 UTC (rev 186070)
@@ -3,7 +3,7 @@
 
 [Service]
 Type=forking
-ExecStart=/usr/sbin/slapd -u ldap -g ldap
+ExecStart=/usr/bin/slapd -u ldap -g ldap
 
 [Install]
 WantedBy=multi-user.target



More information about the arch-commits mailing list