Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package restund for openSUSE:Factory checked in at 2022-12-29 13:09:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/restund (Old)
and /work/SRC/openSUSE:Factory/.restund.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "restund"
Thu Dec 29 13:09:14 2022 rev:2 rq:1045634 version:0.4.12
Changes:
--------
--- /work/SRC/openSUSE:Factory/restund/restund.changes 2020-07-03 00:11:58.119978385 +0200
+++ /work/SRC/openSUSE:Factory/.restund.new.1563/restund.changes 2022-12-29 13:09:17.556998393 +0100
@@ -1,0 +2,11 @@
+Wed Dec 28 10:36:25 UTC 2022 - Dominique Leuenberger
+
+- Hack: inject re.mk from re 2.10 into the build system.
+
+-------------------------------------------------------------------
+Mon Nov 15 15:50:37 UTC 2021 - Johannes Segitz
+
+- Added hardening to systemd service(s) (bsc#1181400). Modified:
+ * restund.service
+
+-------------------------------------------------------------------
New:
----
re.mk
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ restund.spec ++++++
--- /var/tmp/diff_new_pack.qWAZ9b/_old 2022-12-29 13:09:18.189002127 +0100
+++ /var/tmp/diff_new_pack.qWAZ9b/_new 2022-12-29 13:09:18.193002150 +0100
@@ -1,6 +1,7 @@
#
# spec file for package restund
#
+# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2020, Martin Hauke
#
# All modifications and additions to the file contributed by third parties
@@ -15,6 +16,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
%define restund_user restund
%define restund_group restund
%define restund_home %{_localstatedir}/lib/restund
@@ -27,6 +29,7 @@
URL: http://www.creytiv.com/restund.html
Source: http://www.creytiv.com/pub/restund-%{version}.tar.gz
Source1: %{name}.service
+Source2: re.mk
BuildRequires: mysql-devel
BuildRequires: re-devel
BuildRequires: systemd-rpm-macros
@@ -57,11 +60,13 @@
sed -e 's|/usr/local/lib|%{_libdir}|g' \
-e 's|%{_sysconfdir}/restund.auth|%{_sysconfdir}/restund/restund.auth|g' \
-i etc/restund.conf
+mkdir -p ../re/mk
+cp %{SOURCE2} ../re/mk
%build
export CFLAGS="%optflags -fPIE"
export EXTRA_LFLAGS="-pie"
-%make_build
+%make_build BUILD=$(pwd)
%install
make DESTDIR=%{buildroot} LIBDIR=%{_libdir} install
++++++ re.mk ++++++
++++ 860 lines (skipped)
++++++ restund.service ++++++
--- /var/tmp/diff_new_pack.qWAZ9b/_old 2022-12-29 13:09:18.257002528 +0100
+++ /var/tmp/diff_new_pack.qWAZ9b/_new 2022-12-29 13:09:18.261002551 +0100
@@ -3,6 +3,17 @@
After=syslog.target network.target
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
Type=simple
User=restund
Group=restund