Package: spamassassin
Version: 3.4.0-2
Severity: normal
Tags: patch

Dear Noah,

SVN revision 25371[1] of the SpamAssassin package removed the
--quiet option when cron.daily calls sa-compile. This makes cron send
out daily emails with sa-compile progress output; these emails do not
seem useful.

The patch attached restores the sa-compile --quiet option in
cron.daily.

Regards,

Kristjan

[1]
http://anonscm.debian.org/viewvc/collab-maint?view=revision&revision=25371

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CA.utf8, LC_CTYPE=fr_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages spamassassin depends on:
ii  adduser                         3.113+nmu3
ii  init-system-helpers             1.19
pn  libarchive-tar-perl             <none>
ii  libhtml-parser-perl             3.71-1+b1
ii  libnet-dns-perl                 0.78-1
ii  libnetaddr-ip-perl              4.075+dfsg-1
ii  libsocket6-perl                 0.25-1
ii  libsys-hostname-long-perl       1.4-3
ii  libwww-perl                     6.07-1
ii  perl                            5.18.2-7
ii  perl-modules [libio-zlib-perl]  5.18.2-7

Versions of packages spamassassin recommends:
ii  gnupg                      1.4.18-2
ii  libio-socket-inet6-perl    2.72-1
ii  libmail-spf-perl           2.9.0-3
ii  perl [libsys-syslog-perl]  5.18.2-7
ii  sa-compile                 3.4.0-2
ii  spamc                      3.4.0-2

Versions of packages spamassassin suggests:
ii  libdbi-perl                                  1.631-3
ii  libio-compress-perl [libcompress-zlib-perl]  2.064-1
ii  libio-socket-ssl-perl                        1.992-1
ii  libmail-dkim-perl                            0.40-1
ii  perl [libcompress-zlib-perl]                 5.18.2-7
ii  pyzor                                        1:0.5.0-2
ii  razor                                        1:2.85-4+b2

-- Configuration Files:
/etc/cron.daily/spamassassin changed [not included]
/etc/default/spamassassin changed [not included]

-- no debconf information
diff -Nru spamassassin-3.4.0/debian/changelog 
spamassassin-3.4.0/debian/changelog
--- spamassassin-3.4.0/debian/changelog 2014-06-25 02:46:57.000000000 -0400
+++ spamassassin-3.4.0/debian/changelog 2014-07-29 10:04:12.000000000 -0400
@@ -1,3 +1,10 @@
+spamassassin (3.4.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Run sa-compile with --quiet option in cron.daily
+
+ -- Kristjan Onu <jei...@gmail.com>  Tue, 29 Jul 2014 09:56:46 -0400
+
 spamassassin (3.4.0-2) unstable; urgency=low
 
   * Install a systemd unit file. (Closes: 716887)
diff -Nru spamassassin-3.4.0/debian/spamassassin.cron.daily 
spamassassin-3.4.0/debian/spamassassin.cron.daily
--- spamassassin-3.4.0/debian/spamassassin.cron.daily   2014-06-25 
02:46:57.000000000 -0400
+++ spamassassin-3.4.0/debian/spamassassin.cron.daily   2014-07-29 
10:01:32.000000000 -0400
@@ -36,7 +36,7 @@
     if [ -x /usr/bin/re2c -a -x /usr/bin/sa-compile ]; then
         env -i LANG="$LANG" PATH="$PATH" start-stop-daemon \
             --chuid debian-spamd:debian-spamd --start \
-            --exec /usr/bin/sa-compile
+            --exec /usr/bin/sa-compile -- --quiet 2>&1
 
         # Fixup perms -- group and other should be able to
         # read and execute, but never write.  Works around

Reply via email to