[Forensics-changes] [SCM] debian-forensics/rkhunter branch, master, updated. debian/1.3.8-9-2-ge116954

Julien Valroff julien at kirya.net
Thu Nov 3 18:50:50 UTC 2011


The following commit has been merged in the master branch:
commit e116954008b371b701ac70ad4510d6b0779383fd
Author: Julien Valroff <julien at kirya.net>
Date:   Thu Nov 3 19:50:39 2011 +0100

    Actually allow deactivation of reports - thanks to Alexander Reichle-Schmehl for the patch (Closes: #647493)

diff --git a/debian/changelog b/debian/changelog
index f45cd27..0491470 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,10 @@ rkhunter (1.3.8-10) unstable; urgency=low
 
   * Remove all references to now inexistant /dev/.udev* directories in the
     default configuration (Closes: #644326) 
+  * Actually allow deactivation of reports - thanks to Alexander
+    Reichle-Schmehl for the patch (Closes: #647493) 
 
- -- Julien Valroff <julien at debian.org>  Wed, 05 Oct 2011 05:51:11 +0200
+ -- Julien Valroff <julien at debian.org>  Thu, 03 Nov 2011 19:49:55 +0100
 
 rkhunter (1.3.8-9) unstable; urgency=low
 
diff --git a/debian/cron.daily b/debian/cron.daily
index e53877e..7e579c1 100644
--- a/debian/cron.daily
+++ b/debian/cron.daily
@@ -25,7 +25,7 @@ case "$CRON_DAILY_RUN" in
      [YyTt]*)
         OUTFILE=`mktemp` || exit 1
         /usr/bin/nice -n $NICE $RKHUNTER --cronjob --report-warnings-only --appendlog > $OUTFILE
-        if [ -s "$OUTFILE" ]; then
+        if [ -s "$OUTFILE" -a -n "$REPORT_EMAIL" ]; then
           (
             echo "Subject: [rkhunter] $(hostname -f) - Daily report"
             echo "To: $REPORT_EMAIL"

-- 
debian-forensics/rkhunter



More information about the forensics-changes mailing list