commit openslp for openSUSE:Factory

2024-03-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openslp for openSUSE:Factory checked 
in at 2024-03-03 20:18:49

Comparing /work/SRC/openSUSE:Factory/openslp (Old)
 and  /work/SRC/openSUSE:Factory/.openslp.new.1770 (New)


Package is "openslp"

Sun Mar  3 20:18:49 2024 rev:58 rq:1153974 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/openslp/openslp.changes  2022-10-29 
20:15:40.773754431 +0200
+++ /work/SRC/openSUSE:Factory/.openslp.new.1770/openslp.changes
2024-03-03 20:19:04.501295834 +0100
@@ -1,0 +2,5 @@
+Mon Feb 26 12:37:43 UTC 2024 - Dominique Leuenberger 
+
+- Use %patch -P N instead of deprecated %patchN.
+
+---



Other differences:
--
++ openslp.spec ++
--- /var/tmp/diff_new_pack.uUEULj/_old  2024-03-03 20:19:05.249322896 +0100
+++ /var/tmp/diff_new_pack.uUEULj/_new  2024-03-03 20:19:05.253323040 +0100
@@ -121,29 +121,29 @@
 
 %prep
 %setup -q
-%patch1
-%patch2
-%patch3
-%patch4
-%patch5
-%patch6
-%patch7
-%patch8
-%patch9
-%patch10
-%patch11
-%patch12
-%patch13
-%patch14
-%patch15
-%patch16
-%patch17
-%patch18 -p2
-%patch19
-%patch20
-%patch21 -p1
-%patch22
-%patch23
+%patch -P 1
+%patch -P 2
+%patch -P 3
+%patch -P 4
+%patch -P 5
+%patch -P 6
+%patch -P 7
+%patch -P 8
+%patch -P 9
+%patch -P 10
+%patch -P 11
+%patch -P 12
+%patch -P 13
+%patch -P 14
+%patch -P 15
+%patch -P 16
+%patch -P 17
+%patch -P 18 -p2
+%patch -P 19
+%patch -P 20
+%patch -P 21 -p1
+%patch -P 22
+%patch -P 23
 
 %build
 autoreconf -fiv


commit openslp for openSUSE:Factory

2022-10-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openslp for openSUSE:Factory checked 
in at 2022-10-29 20:15:12

Comparing /work/SRC/openSUSE:Factory/openslp (Old)
 and  /work/SRC/openSUSE:Factory/.openslp.new.2275 (New)


Package is "openslp"

Sat Oct 29 20:15:12 2022 rev:57 rq:1031951 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/openslp/openslp.changes  2022-06-24 
08:45:32.347154539 +0200
+++ /work/SRC/openSUSE:Factory/.openslp.new.2275/openslp.changes
2022-10-29 20:15:40.773754431 +0200
@@ -1,0 +2,6 @@
+Wed Aug 31 14:21:40 UTC 2022 - Stefan Schubert 
+
+- Migration to /usr/etc: Saving user changed configuration files
+  in /etc and restoring them while an RPM update.
+
+---



Other differences:
--
++ openslp.spec ++
--- /var/tmp/diff_new_pack.RR1d3R/_old  2022-10-29 20:15:41.509758352 +0200
+++ /var/tmp/diff_new_pack.RR1d3R/_new  2022-10-29 20:15:41.517758395 +0200
@@ -206,6 +206,20 @@
 %pre server
 getent passwd openslp >/dev/null || useradd -r -g daemon -d 
%{_localstatedir}/lib/empty -s /sbin/nologin -c "openslp daemon" openslp
 %service_add_pre slpd.service
+%if 0%{?suse_version} > 1500
+# Prepare for migration to /usr/etc; save any old .rpmsave
+for i in logrotate.d/openslp-server ; do
+   test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+%endif
+
+%if 0%{?suse_version} > 1500
+%posttrans server
+# Migration to /usr/etc, restore just created .rpmsave
+for i in logrotate.d/openslp-server ; do
+   test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i} ||:
+done
+%endif
 
 %post server
 %service_add_post slpd.service


commit openslp for openSUSE:Factory

2022-06-24 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openslp for openSUSE:Factory checked 
in at 2022-06-24 08:45:16

Comparing /work/SRC/openSUSE:Factory/openslp (Old)
 and  /work/SRC/openSUSE:Factory/.openslp.new.1548 (New)


Package is "openslp"

Fri Jun 24 08:45:16 2022 rev:56 rq:984477 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/openslp/openslp.changes  2022-04-03 
21:30:41.656018190 +0200
+++ /work/SRC/openSUSE:Factory/.openslp.new.1548/openslp.changes
2022-06-24 08:45:32.347154539 +0200
@@ -1,0 +2,6 @@
+Tue Jun 21 12:38:51 UTC 2022 - Stefan Schubert 
+
+- Moved logrotate files from user specific directory /etc/logrotate.d
+  to vendor specific directory /usr/etc/logrotate.d.
+
+---



Other differences:
--
++ openslp.spec ++
--- /var/tmp/diff_new_pack.jFX8fw/_old  2022-06-24 08:45:33.159155448 +0200
+++ /var/tmp/diff_new_pack.jFX8fw/_new  2022-06-24 08:45:33.163155453 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package openslp
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -180,7 +180,12 @@
 exec %{_sbindir}/rcslpd "$@"
 EOF
 chmod 755 %{buildroot}%{_sbindir}/rcopenslp
+%if 0%{?suse_version} > 1500
+mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
+install -D -m 0644 %{SOURCE10} 
%{buildroot}%{_distconfdir}/logrotate.d/openslp-server
+%else
 install -D -m 0644 %{SOURCE10} 
%{buildroot}%{_sysconfdir}/logrotate.d/openslp-server
+%endif
 # install susehelp file
 mkdir -p %{buildroot}%{_datadir}/susehelp/meta/Administration/
 install -m 0644 %{SOURCE3} \
@@ -197,6 +202,7 @@
 
 %post -n %{libname} -p /sbin/ldconfig
 %postun -n %{libname} -p /sbin/ldconfig
+
 %pre server
 getent passwd openslp >/dev/null || useradd -r -g daemon -d 
%{_localstatedir}/lib/empty -s /sbin/nologin -c "openslp daemon" openslp
 %service_add_pre slpd.service
@@ -240,7 +246,11 @@
 %{_sbindir}/rcslpd
 %{_sbindir}/slpd
 %config(noreplace) %{_sysconfdir}/slp.reg
+%if 0%{?suse_version} > 1500
+%{_distconfdir}/logrotate.d/openslp-server
+%else
 %config(noreplace) %{_sysconfdir}/logrotate.d/openslp-server
+%endif
 %{_unitdir}/slpd.service
 
 %files devel


commit openslp for openSUSE:Factory

2022-04-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openslp for openSUSE:Factory checked 
in at 2022-04-03 21:30:36

Comparing /work/SRC/openSUSE:Factory/openslp (Old)
 and  /work/SRC/openSUSE:Factory/.openslp.new.1900 (New)


Package is "openslp"

Sun Apr  3 21:30:36 2022 rev:55 rq:966292 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/openslp/openslp.changes  2020-03-27 
21:55:11.270719126 +0100
+++ /work/SRC/openSUSE:Factory/.openslp.new.1900/openslp.changes
2022-04-03 21:30:41.656018190 +0200
@@ -1,0 +2,6 @@
+Wed Oct 13 11:13:47 UTC 2021 - Johannes Segitz 
+
+- Added hardening to systemd service(s) (bsc#1181400). Modified:
+  * slpd.service
+
+---



Other differences:
--
++ slpd.service ++
--- /var/tmp/diff_new_pack.Pyqovb/_old  2022-04-03 21:30:43.228000592 +0200
+++ /var/tmp/diff_new_pack.Pyqovb/_new  2022-04-03 21:30:43.232000547 +0200
@@ -3,6 +3,19 @@
 After=network.target nss-lookup.target
 
 [Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+PrivateDevices=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions 
 Type=notify
 ExecStart=/usr/sbin/slpd -d
 ExecReload=/bin/kill -HUP $MAINPID