Hello community, here is the log from the commit of package spamassassin for openSUSE:Factory checked in at 2019-12-18 14:44:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spamassassin (Old) and /work/SRC/openSUSE:Factory/.spamassassin.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spamassassin" Wed Dec 18 14:44:32 2019 rev:80 rq:757559 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/spamassassin/spamassassin.changes 2019-11-13 13:13:59.446802154 +0100 +++ /work/SRC/openSUSE:Factory/.spamassassin.new.4691/spamassassin.changes 2019-12-18 14:48:12.593935639 +0100 @@ -1,0 +2,31 @@ +Sat Dec 14 10:32:50 UTC 2019 - Arjen de Korte <[email protected]> + +- remove old (compiled) rules in /var/lib/spamassassin directory + after package upgrade and remove entirely upon package removal +- add BuildRequires for perl(Archive::Zip) and perl(IO::String) + +------------------------------------------------------------------- +Thu Dec 12 11:55:55 UTC 2019 - Arjen de Korte <[email protected]> + +- update spamassassin to 3.4.3 + * There is one new plugin (disabled by default) + OLEVBMacro - Detects both OLE macros and VB code inside Office + documents + * Two CVE security bug fixes are included in this release + CVE-2019-12420 for Multipart Denial of Service Vulnerability + CVE-2018-11805 for nefarious CF files can be configured to + run system commands without any output or errors + * Safer and faster scanning of large emails using + body_part_scan_size and rawbody_part_scan_size settings. + * New tflag "nosubject" for 'body' rules, to stop matching the + Subject header which is part of the body text. + * Security updates include deprecation of the unsafe sa-update + '--allowplugins' option, which now prints a warning that + '--reallyallowplugins' is required to use it. + +------------------------------------------------------------------- +Tue Dec 10 09:17:05 UTC 2019 - Dirk Stoecker <[email protected]> + +- Increase maximum size for spampd to 7168 + +------------------------------------------------------------------- Old: ---- Mail-SpamAssassin-3.4.2.tar.bz2 Mail-SpamAssassin-3.4.2.tar.bz2.asc Mail-SpamAssassin-rules-3.4.2.r1840640.tgz Mail-SpamAssassin-rules-3.4.2.r1840640.tgz.asc New: ---- Mail-SpamAssassin-3.4.3.tar.bz2 Mail-SpamAssassin-3.4.3.tar.bz2.asc Mail-SpamAssassin-rules-3.4.3.r1871124.tgz Mail-SpamAssassin-rules-3.4.3.r1871124.tgz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spamassassin.spec ++++++ --- /var/tmp/diff_new_pack.j4kc3J/_old 2019-12-18 14:48:13.085935865 +0100 +++ /var/tmp/diff_new_pack.j4kc3J/_new 2019-12-18 14:48:13.089935866 +0100 @@ -1,7 +1,7 @@ # # spec file for package spamassassin # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,9 +23,9 @@ %define ix_version 2.05 %define spd_version 2.53 -%define sa_version 3.4.2 +%define sa_version 3.4.3 %define sa_float %(echo %{sa_version} | awk -F. '{ printf "%d.%03d%03d", $1, $2, $3 }') -%define rules_revision 1840640 +%define rules_revision 1871124 %define IXHASH iXhash2-%{ix_version} %define SPAMPD spampd-%{spd_version} @@ -36,7 +36,7 @@ Group: Productivity/Networking/Email/Utilities Version: %{sa_version} Release: 0 -Url: https://spamassassin.apache.org/ +URL: https://spamassassin.apache.org/ Source: https://archive.apache.org/dist/spamassassin/source/Mail-SpamAssassin-%{sa_version}.tar.bz2 Source1: https://archive.apache.org/dist/spamassassin/source/Mail-SpamAssassin-rules-%{sa_version}.r%{rules_revision}.tgz Source2: https://mailfud.org/iXhash2/%{IXHASH}.tar.gz @@ -107,12 +107,14 @@ BuildRequires: perl(Time::HiRes) BuildRequires: perl(Time::Local) # optional, but want them for build (test) +BuildRequires: perl(Archive::Zip) BuildRequires: perl(BSD::Resource) BuildRequires: perl(DBI) BuildRequires: perl(Encode::Detect) BuildRequires: perl(HTTP::Date) BuildRequires: perl(IO::Socket::INET6) BuildRequires: perl(IO::Socket::SSL) +BuildRequires: perl(IO::String) BuildRequires: perl(IP::Country) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Mail::SPF) @@ -255,6 +257,15 @@ %service_add_post spamd.service spampd.service sa-update.timer %{fillup_only -n spamd} %{fillup_only -n spampd} +if [ $1 -gt 1 ]; then + # Package upgrade + for dir in $(ls -d %{_sharedstatedir}/%{name}/{,compiled/*/}[0-9\.]* 2>/dev/null); do + if [ "${dir##*/}" != "%{sa_float}" ]; then + rm -rf ${dir} + fi + done + find %{_sharedstatedir}/%{name} -type d -empty -delete 2>/dev/null || : +fi %pre %service_add_pre spamd.service spampd.service sa-update.timer @@ -264,6 +275,10 @@ %postun %service_del_postun spamd.service spampd.service sa-update.timer +if [ $1 -eq 0 ]; then + # Package removal + rm -rf %{_sharedstatedir}/%{name} +fi %files %defattr(-,root,root) @@ -277,6 +292,7 @@ %{_unitdir}/spampd.service %{_unitdir}/sa-update.service %{_unitdir}/sa-update.timer +%ghost %{_sharedstatedir}/%{name} %files -n perl-Mail-SpamAssassin -f %{name}.files %defattr(-,root,root) ++++++ Mail-SpamAssassin-3.4.2.tar.bz2 -> Mail-SpamAssassin-3.4.3.tar.bz2 ++++++ ++++ 23488 lines of diff (skipped) ++++++ Mail-SpamAssassin-rules-3.4.2.r1840640.tgz -> Mail-SpamAssassin-rules-3.4.3.r1871124.tgz ++++++ ++++ 9846 lines of diff (skipped) ++++++ sysconfig.spampd ++++++ --- /var/tmp/diff_new_pack.j4kc3J/_old 2019-12-18 14:48:14.401936466 +0100 +++ /var/tmp/diff_new_pack.j4kc3J/_new 2019-12-18 14:48:14.405936468 +0100 @@ -1 +1 @@ -SPAMPD_OPTIONS="--host=localhost:10025 --relayhost=localhost:10026 --user=vscan --tagall --children=5 --maxsize=768 --homedir=/home/vscan" +SPAMPD_OPTIONS="--host=localhost:10025 --relayhost=localhost:10026 --user=vscan --tagall --children=5 --maxsize=7168 --homedir=/home/vscan"
