Hello community, here is the log from the commit of package rkhunter for openSUSE:Factory checked in at 2020-01-09 22:53:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rkhunter (Old) and /work/SRC/openSUSE:Factory/.rkhunter.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rkhunter" Thu Jan 9 22:53:38 2020 rev:27 rq:762491 version:1.4.6 Changes: -------- --- /work/SRC/openSUSE:Factory/rkhunter/rkhunter.changes 2019-08-24 18:46:23.157757415 +0200 +++ /work/SRC/openSUSE:Factory/.rkhunter.new.6675/rkhunter.changes 2020-01-09 22:54:14.802818947 +0100 @@ -1,0 +2,7 @@ +Thu Jan 9 14:22:50 UTC 2020 - Johannes Segitz <jseg...@suse.de> + +- Remove default cron job and install it with the documentation. + This way the user can decide if he needs rkhunter to run regularly + (bsc#1150553). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rkhunter.spec ++++++ --- /var/tmp/diff_new_pack.6hhW1H/_old 2020-01-09 22:54:17.078820087 +0100 +++ /var/tmp/diff_new_pack.6hhW1H/_new 2020-01-09 22:54:17.102820099 +0100 @@ -1,7 +1,7 @@ # # spec file for package rkhunter # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2009-2010 by Sascha Manns <saigk...@opensuse.org> # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,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/ # @@ -44,8 +44,8 @@ BuildRequires: wget PreReq: %fillup_prereq Requires: bash -Requires: cron Requires: findutils +Recommends: cron Recommends: logrotate Recommends: netcfg Recommends: wget @@ -88,9 +88,7 @@ install -d %{buildroot}/%{_docdir}/%{name}-%{version} install -m644 %{SOURCE5} %{buildroot}/%{_docdir}/%{name}-%{version}/README.SUSE install -D -m640 %{SOURCE6} %{buildroot}/%{_sysconfdir}/logrotate.d/%{name} -# Make a cron.daily file to mail us the reports -install -d %{buildroot}/%{_sysconfdir}/cron.daily/ -install -Dm750 %{SOURCE3} %{buildroot}/%{_sysconfdir}/cron.daily/suse.de-%{name} +install -m644 %{SOURCE3} %{buildroot}/%{_docdir}/%{name}-%{version}/%{name}.cron # adapt the default config for using in openSUSE sed "s|^PREFIX*|PREFIX="%{_prefix}"|g; \ s|^#SCRIPTDIR=.*|SCRIPTDIR=%{_prefix}/lib/%{name}/scripts|g; \ @@ -189,8 +187,6 @@ %ghost %verify(not md5 size mtime) %config(noreplace)%{_localstatedir}/log/%{name}.log %defattr(750,root,root,-) %{_bindir}/%{name} -%dir %{_sysconfdir}/cron.daily -%{_sysconfdir}/cron.daily/suse.de-%{name} %{_libdir}/%{name}/scripts/*.pl %{_libdir}/%{name}/scripts/*.sh ++++++ rkhunter-README.SUSE ++++++ --- /var/tmp/diff_new_pack.6hhW1H/_old 2020-01-09 22:54:17.214820155 +0100 +++ /var/tmp/diff_new_pack.6hhW1H/_new 2020-01-09 22:54:17.222820159 +0100 @@ -6,3 +6,8 @@ To be able to run automatic database update, you will need to install wget and set the DB_UPDATE variable to "yes". +CRON +rkhunter.cron is a file that can be placed in a directory read by cron to +enable automatic scans. This has some security implications, for details +please read +https://bugzilla.suse.com/show_bug.cgi?id=1150553