Hello community,

here is the log from the commit of package openldap2 for openSUSE:Factory 
checked in at 2014-06-19 13:07:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openldap2 (Old)
 and      /work/SRC/openSUSE:Factory/.openldap2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openldap2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/openldap2/openldap2-client.changes       
2014-05-22 20:38:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.openldap2.new/openldap2-client.changes  
2014-06-19 13:07:52.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jun  6 13:16:24 UTC 2014 - [email protected]
+
+- enable systemd slapd service if SysV ldap was enabled (bnc#881476)
+
+-------------------------------------------------------------------
openldap2.changes: same change

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openldap2-client.spec ++++++
--- /var/tmp/diff_new_pack.kKtrVQ/_old  2014-06-19 13:07:54.000000000 +0200
+++ /var/tmp/diff_new_pack.kKtrVQ/_new  2014-06-19 13:07:54.000000000 +0200
@@ -554,6 +554,9 @@
     cp -p --remove-destination /etc/openldap/schema/* $TEMPDIR
     echo $TEMPDIR > /etc/openldap/UPDATE_NEEDED ;
 fi
+if chkconfig ldap 2>&1 | grep -q on; then
+    touch /var/run/enable_slapd_service
+fi
 %service_add_pre slapd.service
 
 %post
@@ -564,6 +567,9 @@
 %{fillup_only -n openldap ldap}
 %{remove_and_set -n openldap OPENLDAP_RUN_DB_RECOVER}
 %service_add_post slapd.service
+if [ -f /var/run/enable_slapd_service ]; then
+    /usr/bin/systemctl --quiet enable slapd
+fi
 
 %preun
 %service_del_preun slapd.service

++++++ openldap2.spec ++++++
--- /var/tmp/diff_new_pack.kKtrVQ/_old  2014-06-19 13:07:54.000000000 +0200
+++ /var/tmp/diff_new_pack.kKtrVQ/_new  2014-06-19 13:07:54.000000000 +0200
@@ -554,6 +554,9 @@
     cp -p --remove-destination /etc/openldap/schema/* $TEMPDIR
     echo $TEMPDIR > /etc/openldap/UPDATE_NEEDED ;
 fi
+if /usr/bin/chkconfig ldap 2>&1 | grep -q on; then
+    touch /var/run/enable_slapd_service
+fi
 %service_add_pre slapd.service
 
 %post
@@ -564,6 +567,9 @@
 %{fillup_only -n openldap ldap}
 %{remove_and_set -n openldap OPENLDAP_RUN_DB_RECOVER}
 %service_add_post slapd.service
+if [ -f /var/run/enable_slapd_service ]; then
+    /usr/bin/systemctl --quiet enable slapd
+fi
 
 %preun
 %service_del_preun slapd.service

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to