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

Eric Bélanger eric at archlinux.org
Sat Jun 16 06:03:02 UTC 2012


    Date: Saturday, June 16, 2012 @ 02:03:02
  Author: eric
Revision: 161894

upgpkg: openldap 2.4.31-3

Add systemd service file

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

---------------+
 PKGBUILD      |    6 ++++--
 slapd.service |    9 +++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-06-16 05:45:50 UTC (rev 161893)
+++ PKGBUILD	2012-06-16 06:03:02 UTC (rev 161894)
@@ -4,18 +4,19 @@
 pkgbase=openldap
 pkgname=('libldap' 'openldap')
 pkgver=2.4.31
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url="http://www.openldap.org/"
 license=('custom')
 makedepends=('libltdl' 'libsasl' 'e2fsprogs' 'util-linux')
 source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz
-        slapd slapd.default
+        slapd slapd.default slapd.service
         ntlm.patch
         mutex-end-of-struct-sigsegv.patch)
 sha1sums=('8315a283fb3724abe6062e38d93bb69298d05765'
           'bd1ea19256d3d467f1f803e0f4046ef50f17628f'
           'd89b8a533045123f1ab46c9c430cf132d58a20a4'
+          'a2cdab7e800a9f0c8b1e319a68598a12f4af27a4'
           'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef'
           '694269dad78c7a806649c2d7f57bb7e503df3af1')
 
@@ -98,5 +99,6 @@
   install -dm700 -o 439 -g 439 "${pkgdir}"/etc/openldap/slapd.d
   install -Dm755 "${srcdir}"/slapd "${pkgdir}"/etc/rc.d/slapd
   install -Dm644 "${srcdir}"/slapd.default "${pkgdir}"/etc/conf.d/slapd
+  install -Dm644 "${srcdir}"/slapd.service "${pkgdir}"/usr/lib/systemd/system/slapd.service
   install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }

Added: slapd.service
===================================================================
--- slapd.service	                        (rev 0)
+++ slapd.service	2012-06-16 06:03:02 UTC (rev 161894)
@@ -0,0 +1,9 @@
+[Unit]
+Description=OpenLDAP server daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/slapd
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list