Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2014-04-06 07:10:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and      /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cyrus-sasl"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2013-11-29 12:03:39.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes     
2014-04-06 07:10:21.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Apr  1 10:32:37 UTC 2014 - [email protected]
+
+- bnc#871183 - cyrus-sasl-saslauthd service file is missing parameter 
'Restart=always' 
+
+-------------------------------------------------------------------

New:
----
  saslauthd.service

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

Other differences:
------------------
++++++ cyrus-sasl-saslauthd.spec ++++++
--- /var/tmp/diff_new_pack.yEirSm/_old  2014-04-06 07:10:22.000000000 +0200
+++ /var/tmp/diff_new_pack.yEirSm/_new  2014-04-06 07:10:22.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl-saslauthd
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,7 @@
 Source1:        cyrus-sasl-rc.tar.bz2
 Source2:        README.Source
 Source3:        baselibs.conf
+Source4:        saslauthd.service
 Patch:          cyrus-sasl.dif
 Patch1:         shared_link_on_ppc.patch
 Patch5:         cyrus-sasl-no_rpath.patch
@@ -43,6 +44,8 @@
 BuildRequires:  opie
 BuildRequires:  pam-devel
 BuildRequires:  postgresql-devel
+BuildRequires:  pkgconfig(systemd)
+%{?systemd_requires}
 
 %description
 This daemon is required when using cyrus-sasl in server software that
@@ -115,31 +118,33 @@
 mkdir -p $RPM_BUILD_ROOT/usr/bin
 install -m 755 testsaslauthd $RPM_BUILD_ROOT/usr/bin/testsaslauthd
 cd -
-install -D -m 755 SuSE/rc.saslauthd $RPM_BUILD_ROOT/etc/init.d/saslauthd
 mkdir -p $RPM_BUILD_ROOT/sbin
-ln -sf ../etc/init.d/saslauthd $RPM_BUILD_ROOT/sbin/rcsaslauthd
 install -D -m 644 SuSE/sysconfig.saslauthd 
$RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.saslauthd
 rm -f $RPM_BUILD_ROOT/%{_mandir}/cat?/*
 rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libsasldb*
 rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libldapdb.la
 rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libsql.la
+mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
+install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_unitdir}
+
+%pre
+%service_add_pre saslauthd.service
 
 %preun
-%stop_on_removal saslauthd
+%service_del_preun saslauthd.service
 
 %postun
-%restart_on_update saslauthd
-%insserv_cleanup
+%service_del_postun saslauthd.service
 
 %post
-%{fillup_and_insserv -n saslauthd}
+%{fillup_only -n saslauthd}
+%service_add_post saslauthd.service
 
 %files
 %defattr(-,root,root)
 /var/adm/fillup-templates/sysconfig.saslauthd
+%{_unitdir}/saslauthd.service
 %dir %attr(0755, root, root) %ghost /var/run/sasl2   
-%config /etc/init.d/saslauthd
-/sbin/rcsaslauthd
 /usr/sbin/*
 /usr/bin/*
 %doc %{_mandir}/man8/*.gz

++++++ cyrus-sasl.spec ++++++
--- /var/tmp/diff_new_pack.yEirSm/_old  2014-04-06 07:10:22.000000000 +0200
+++ /var/tmp/diff_new_pack.yEirSm/_new  2014-04-06 07:10:22.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++++++ saslauthd.service ++++++
[Unit]
Description=saslauthd Server Daemon
After=syslog.target network.target

[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/saslauthd
ExecStart=/usr/sbin/saslauthd
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/bin/kill -TERM $MAINPID
Restart=always

[Install]
WantedBy=multi-user.target

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

Reply via email to