Hello community,

here is the log from the commit of package seccheck for openSUSE:Factory 
checked in at 2019-12-29 15:50:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/seccheck (Old)
 and      /work/SRC/openSUSE:Factory/.seccheck.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "seccheck"

Sun Dec 29 15:50:10 2019 rev:38 rq:759886 version:3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/seccheck/seccheck.changes        2019-04-08 
10:40:22.091295898 +0200
+++ /work/SRC/openSUSE:Factory/.seccheck.new.6675/seccheck.changes      
2019-12-29 15:50:25.271196038 +0100
@@ -1,0 +2,16 @@
+Sun Dec 29 10:40:47 UTC 2019 - [email protected]
+
+- update package description: no longer started by cron
+
+-------------------------------------------------------------------
+Sun Sep  8 16:06:16 UTC 2019 - [email protected]
+
+- adapt WantedBy so the timers are actually started at boot
+  time when enabled (#1132919)
+  added patch: timers_wanted_by_1132919.patch
+- correct indentation of SECCHK_FROM (#985802) for the
+  weekly and monthly mails so that the mail header lines 
+  are recognised by the receiving mail client
+  added patch: mail_headerlines_985802.patch
+
+-------------------------------------------------------------------

New:
----
  mail_headerlines_985802.patch
  timers_wanted_by_1132919.patch

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

Other differences:
------------------
++++++ seccheck.spec ++++++
--- /var/tmp/diff_new_pack.lPTGVN/_old  2019-12-29 15:50:25.787196273 +0100
+++ /var/tmp/diff_new_pack.lPTGVN/_new  2019-12-29 15:50:25.791196275 +0100
@@ -30,6 +30,8 @@
 Url:            https://github.com/openSUSE/seccheck
 Source0:        https://github.com/openSUSE/seccheck/archive/master.zip
 Source1:        sysconfig.seccheck
+Patch1:         mail_headerlines_985802.patch
+Patch2:         timers_wanted_by_1132919.patch
 BuildRequires:  unzip
 Requires:       bash
 # FIXME: use proper Requires(pre/post/preun/...)
@@ -43,11 +45,13 @@
 %{?systemd_requires}
 
 %description
-Regularly executable scripts (via cron) for checking the security of
-your system.
+Regularly executable scripts (via systemd timers) for checking the security of
+your system. The seccheck systemd timers have to be enabled (and possibly 
started)
+by the administrator for the checks to be run.
 
 %prep
 %setup -q -n seccheck-master
+%autopatch -p1
 
 %build
 

++++++ mail_headerlines_985802.patch ++++++
diff -ur a/security-control.sh b/security-control.sh
--- a/security-control.sh       2019-03-07 09:37:00.000000000 +0100
+++ b/security-control.sh       2019-09-08 17:53:36.960000000 +0200
@@ -58,7 +58,7 @@
          if [ -s "$OUT2" ]; then
             {
                 cat <<-EOF
-    From: $SECCHK_FROM
+               From: $SECCHK_FROM
                To: $SECCHK_USER
                Subject: Local Weekly Security for `hostname`: Changes
 
@@ -79,7 +79,7 @@
          test -e "$SEC_DATA/devices" || /bin/sh "$SEC_BIN/security-weekly.sh" 
1> "$OLD2"
          {
             cat <<-EOF
-    From: $SECCHK_FROM
+               From: $SECCHK_FROM
                To: $SECCHK_USER
                Subject: Local Monthly Security for `hostname`: Complete
 

++++++ timers_wanted_by_1132919.patch ++++++
diff -ubr a/seccheck-autologout.timer b/seccheck-autologout.timer
--- a/seccheck-autologout.timer 2019-03-07 09:37:00.000000000 +0100
+++ b/seccheck-autologout.timer 2019-09-08 17:48:38.712000000 +0200
@@ -7,4 +7,4 @@
 Persistent=true
 
 [Install]
-WantedBy=seccheck-autologout.service
+WantedBy=timers.target
diff -ubr a/seccheck-daily.timer b/seccheck-daily.timer
--- a/seccheck-daily.timer      2019-03-07 09:37:00.000000000 +0100
+++ b/seccheck-daily.timer      2019-09-08 17:48:50.512000000 +0200
@@ -7,4 +7,4 @@
 Persistent=true
 
 [Install]
-WantedBy=seccheck-daily.service
+WantedBy=timers.target
diff -ubr a/seccheck-monthly.timer b/seccheck-monthly.timer
--- a/seccheck-monthly.timer    2019-03-07 09:37:00.000000000 +0100
+++ b/seccheck-monthly.timer    2019-09-08 17:49:03.260000000 +0200
@@ -7,4 +7,4 @@
 Persistent=true
 
 [Install]
-WantedBy=seccheck-daily.service
+WantedBy=timers.target
diff -ubr a/seccheck-weekly.timer b/seccheck-weekly.timer
--- a/seccheck-weekly.timer     2019-03-07 09:37:00.000000000 +0100
+++ b/seccheck-weekly.timer     2019-09-08 17:49:12.892000000 +0200
@@ -7,4 +7,4 @@
 Persistent=true
 
 [Install]
-WantedBy=seccheck-weekly.service
+WantedBy=timers.target

Reply via email to