commit amavisd-new for openSUSE:12.1:Update:Test

2012-01-05 Thread h_root
Hello community,

here is the log from the commit of package amavisd-new for 
openSUSE:12.1:Update:Test checked in at 2012-01-05 17:46:01

Comparing /work/SRC/openSUSE:12.1:Update:Test/amavisd-new (Old)
 and  /work/SRC/openSUSE:12.1:Update:Test/.amavisd-new.new (New)


Package is amavisd-new, Maintainer is vark...@suse.com

Changes:

New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ /work/SRC/openSUSE:12.1:Update:Test/.amavisd-new.new/amavisd-new.changes
2012-01-05 17:46:02.0 +0100
@@ -0,0 +1,988 @@
+---
+Wed Nov  2 10:05:41 UTC 2011 - vark...@suse.com
+
+- Fix amavisd-milter binary name 
+
+---
+Wed Oct 26 08:58:10 UTC 2011 - w...@rosenauer.org
+
+- obsolete amavisd-milter package
+
+---
+Thu Oct 13 13:11:20 UTC 2011 - vark...@suse.com
+
+- Integrate amavisd-milter 
+
+---
+Tue Oct 11 14:22:57 UTC 2011 - vark...@suse.com
+
+- bnc#718025 - amavisd-new 2.7.0 fails to start 
+
+---
+Sat Sep 17 11:02:03 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant tags/sections from specfile
+
+---
+Tue Sep 13 13:24:37 UTC 2011 - vark...@suse.com
+
+- update to 2.7.0 With a synergy of four solutions, using amavisd-new
+  in a pre-queue filtering setup became a sensible / better behaved solution:
+
+  - old helper programs amavis.c and amavis-milter.c are no longer distributed
+with the package, along with the whole helper-progs subdirectory.
+As a milter client please use the more modern 'amavisd-milter' package by
+Petr Rehor, available at http://sourceforge.net/projects/amavisd-milter/
+
+  - the smtpd_proxy_options=speed_adjust Postfix option, available since
+Postfix 2.7.0 (20091101), improves decoupling between SMTP clients
+and a content filter in a proxy setup, reducing the number of content
+filtering processes needed for the same mail load. With this option
+turned on, a Postfix SMTP server receives the entire message before
+connecting to a before-queue content filter;
+  
+  - a master_deadline option and its API equivalent, available in SpamAssassin
+since version 3.3.0, allows for time limiting on lengthy rules checking,
+while still providing results when a time limit is exceeded; this makes
+it more suitable for time-sensitive setups like a pre-queue filtering 
setup;
+  
+  - reworked sub-task time limiting in amavisd, along with its counterpart
+solution in SpamAssassin, makes it better suited to a real-time nature
+of pre-queue filtering setups, where one has no control over how long
+SMTP clients are willing to wait at the data-end stage;
+  
+  - a re-purposed command line option 'reload' now does a warm restart,
+keeping sockets available to an MTA client at all times, thus reducing
+a chance that an MTA would even notice a content filter's warm restart.
+
+---
+Tue Aug 30 15:22:40 UTC 2011 - vark...@suse.com
+
+- bnc#710289 - amavisd-new: fails rpmlint check non-ghost-in-var-run 
+
+---
+Tue Jul 12 16:02:45 UTC 2011 - vark...@novell.com
+
+- Enable clamav as integrated scanner
+- Enable Avira Antivir personal
+
+---
+Tue May 24 08:02:50 UTC 2011 - vark...@suse.de
+
+- update to 2.6.6
+ - amavisd-release was not sending a 'mail_file' attribute when a quarantined
+  message was a non-compressed file in a single-level directory quarantine
+
+- quarantining to SQL was sporadically failing, reporting some unrelated
+  random error (like 'not available' or 'OpenSSL error: header too long');
+
+- avoid a warning _WARN: Use of uninitialized value in string eq at ...
+  line 275. when an SQL-based white/black-listing is used;
+
+- wrap the sql clause  SET NAMES 'utf8'  so that only a warning at
+  a log level 2 is issued if an SQL server does not understand the
+  command (SQLite, old versions of MySQL) instead of aborting;
+ 
+- when a back-end MTA rejected a message, amavisd would send a non-delivery
+  status notification, but also propagate the reject status back, which is
+  wrong, only one or the other response would be appropriate. A fix also
+  allows choosing either a D_REJECT, D_BOUNCE or D_DISCARD response for
+  such a case, configurable through %final_destiny_by_ccat at a CC_MTA
+  entry, defaulting to D_REJECT;
+

commit amavisd-new for openSUSE:12.1:Update:Test

2012-01-05 Thread h_root
Hello community,

here is the log from the commit of package amavisd-new for 
openSUSE:12.1:Update:Test checked in at 2012-01-05 17:46:03

Comparing /work/SRC/openSUSE:12.1:Update:Test/amavisd-new (Old)
 and  /work/SRC/openSUSE:12.1:Update:Test/.amavisd-new.new (New)


Package is amavisd-new, Maintainer is vark...@suse.com

Changes:

--- /work/SRC/openSUSE:12.1:Update:Test/amavisd-new/amavisd-new.changes 
2012-01-05 17:46:02.0 +0100
+++ /work/SRC/openSUSE:12.1:Update:Test/.amavisd-new.new/amavisd-new.changes
2012-01-05 17:46:04.0 +0100
@@ -1,0 +2,10 @@
+Wed Jan  4 14:47:42 UTC 2012 - vark...@suse.com
+
+- bnc#706257 - amavis failed to start during boot, however it is active
+
+---
+Fri Nov  4 06:23:56 UTC 2011 - vark...@suse.com
+
+- Add systemd scripts 
+
+---

New:

  amavisd-milter.sh
  amavisd.service



Other differences:
--
++ amavisd-new.spec ++
--- /var/tmp/diff_new_pack.HK0Pmf/_old  2012-01-05 17:46:04.0 +0100
+++ /var/tmp/diff_new_pack.HK0Pmf/_new  2012-01-05 17:46:04.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package amavisd-new
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,16 +15,15 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:   amavisd-new
 Summary:High-Performance E-Mail Virus Scanner
-Version:2.7.0
-Release:1
-License:GPLv2+
+License:GPL-2.0+
 Group:  Productivity/Networking/Security
+Version:2.7.0
+Release:0
 Url:http://www.ijs.si/software/amavisd/
-BuildRequires:  sendmail sendmail-devel
+BuildRequires:  sendmail
+BuildRequires:  sendmail-devel
 Requires:   gzip bzip2 unarj zoo sharutils file
 Requires:   perl-Compress-Zlib perl-Convert-UUlib perl-IO-stringy
 Requires:   perl-MIME-tools perl-MailTools perl-Archive-Tar 
perl-Unix-Syslog
@@ -34,6 +33,10 @@
 %if 0%{?suse_version}  1120
 Requires:   lha
 %endif
+%if 0%{?suse_version}  1140
+BuildRequires:  systemd
+%{?systemd_requires}
+%endif
 Recommends: unrar
 Recommends: clamav perl-spamassassin
 Recommends: perl-DBI
@@ -51,6 +54,8 @@
 Source2:rc.amavis
 Source3:amavisd-new-rpmlintrc
 Source4:amavisd-milter.tar.bz2
+Source5:amavisd.service
+Source6:amavisd-milter.sh
 Patch1: activate_virus_scanner.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %define avspool/var/spool/amavis
@@ -74,7 +79,6 @@
 %package docs
 Summary:Documentation for the High-Performance E-Mail Virus Scanner
 Group:  Documentation/Other
-License:GPLv2+
 Recommends: %{name} = %{version}
 
 %description docs
@@ -131,6 +135,9 @@
 ln -s ../../etc/init.d/amavis $RPM_BUILD_ROOT/%{_sbindir}/rcamavis
 install -m 644 LDAP.schema 
$RPM_BUILD_ROOT/etc/openldap/schema/amavisd-new.schema
 install -m 644 JpegTester.pm $RPM_BUILD_ROOT/%{perl_vendorlib}/JpegTester.pm
+mkdir -p $RPM_BUILD_ROOT/lib/systemd/system
+install -m 644 %{S:5} $RPM_BUILD_ROOT/lib/systemd/system/
+install -m 755 %{S:6} $RPM_BUILD_ROOT/usr/sbin/
 cd amavisd-milter
 make install DESTDIR=$RPM_BUILD_ROOT
 
@@ -180,6 +187,10 @@
 /var/adm/fillup-templates/sysconfig.amavis
 %{_sbindir}/*
 %{perl_vendorlib}/JpegTester.pm
+%if 0%{?suse_version} = 1140
+%config /lib/systemd/system/amavisd.service
+/usr/sbin/amavisd-milter.sh
+%endif
 %defattr(0750,%{avuser},%{avgroup})
 %dir %{avspool}
 %dir %{avspool}/tmp

++ amavisd-milter.sh ++
#!/bin/bash

. /etc/sysconfig/amavis
AMAVIS_MILTER_BIN=/usr/sbin/amavisd-milter
AMAVIS_MILTER_SOCK=local:/var/run/amavis/amavis-milter.sock

case $1 in
start)
if [ $AMAVIS_SENDMAIL_MILTER = yes ]; then
startproc -u vscan $AMAVIS_MILTER_BIN -p $AMAVIS_MILTER_SOCK  
/dev/null 21
fi
;;
stop)
if [ $AMAVIS_SENDMAIL_MILTER = yes ]; then
killproc -TERM $AMAVIS_MILTER_BIN
fi
;;
esac
exit 0
++ amavisd.service ++
# This file is part of package amavisd.
#
# Copyright (c) 2011 SuSE LINUX Products GmbH, Germany.
# Author: Werner Fink
# Please send feedback to http://www.suse.de/feedback
#
# Description:
#
#  Used to start the amavisd
#   Amavisd-new is a high-performance interface between mailer (MTA) and
#   content checkers: virus scanners or SpamAssassin. It talks to the MTA
#   via (E)SMTP, LMTP, or