Bug#684804: tpu: package dspam/3.10.1+dfsg-5
I forgot the debdiffs. Here they are.
Best regards.
diff -Nru dspam-3.10.1+dfsg/debian/changelog dspam-3.10.1+dfsg/debian/changelog
--- dspam-3.10.1+dfsg/debian/changelog 2012-02-10 16:05:38.000000000 -0500
+++ dspam-3.10.1+dfsg/debian/changelog 2012-08-13 20:22:02.000000000 -0400
@@ -1,3 +1,21 @@
+dspam (3.10.1+dfsg-5) testing-proposed-updates; urgency=low
+
+ [ Thomas Preud'homme ]
+ * Team upload.
+ * Upload via testing-proposed-updates as unstable contains a new upstream
+ version.
+ * Cherry-pick patch from upstream to recommend using -oi when using dspam
+ with exim (Closes: #644392).
+ * Remove multiarch support for libdspam7-dev as it contains an header with
+ arch-specific contents (Closes: #669993).
+
+ [ Paul Tagliamonte ]
+ * Although this changelog is signed by Tom, this upload has been signed by
+ me. Tom prepared this upload, but is remote (and without his GPG key),
+ so these changes have been reviewed and uploaded by me.
+
+ -- Thomas Preud'homme <robotux@celest.fr> Mon, 13 Aug 2012 15:20:48 +0800
+
dspam (3.10.1+dfsg-4) unstable; urgency=low
* Apply patch from upstream to use POSIX::ctime() instead of deprecated
diff -Nru dspam-3.10.1+dfsg/debian/control dspam-3.10.1+dfsg/debian/control
--- dspam-3.10.1+dfsg/debian/control 2012-02-10 16:05:38.000000000 -0500
+++ dspam-3.10.1+dfsg/debian/control 2012-08-13 20:21:12.000000000 -0400
@@ -70,7 +70,6 @@
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, libdspam7 (= ${binary:Version})
-Multi-Arch: ${misc:Multi-Arch}
Description: Development headers for libdspam
DSPAM is a dedicated statistical filter with minimal resources. It includes
many new algorithms to fight against spam including:
diff -Nru dspam-3.10.1+dfsg/debian/dspam-documents/exim4/dspam.conf dspam-3.10.1+dfsg/debian/dspam-documents/exim4/dspam.conf
--- dspam-3.10.1+dfsg/debian/dspam-documents/exim4/dspam.conf 2012-02-10 16:05:38.000000000 -0500
+++ dspam-3.10.1+dfsg/debian/dspam-documents/exim4/dspam.conf 2012-08-13 20:21:12.000000000 -0400
@@ -22,7 +22,7 @@
# Other popular configurations:
#TrustedDeliveryAgent "/usr/cyrus/bin/deliver" # Cyrus
#TrustedDeliveryAgent "/bin/maildrop" # Maildrop
-#TrustedDeliveryAgent "/usr/sbin/exim -oMr spam-scanned $u" # Exim
+#TrustedDeliveryAgent "/usr/sbin/exim -oMr spam-scanned -oi $u" # Exim
TrustedDeliveryAgent "/usr/sbin/exim4" # Exim
#
#TrustedDeliveryAgent "/usr/bin/procmail"
diff -Nru dspam-3.10.1+dfsg/debian/patches/008_fix_exim_integration_doc.diff dspam-3.10.1+dfsg/debian/patches/008_fix_exim_integration_doc.diff
--- dspam-3.10.1+dfsg/debian/patches/008_fix_exim_integration_doc.diff 1969-12-31 19:00:00.000000000 -0500
+++ dspam-3.10.1+dfsg/debian/patches/008_fix_exim_integration_doc.diff 2012-08-13 20:21:12.000000000 -0400
@@ -0,0 +1,62 @@
+Description: Fix documentation about exim integration
+
+Using dspam with exim requires to call exim with option -oi to avoid mails
+from being truncated. This commit modify the documentation and configuration
+file to add the -oi option when calling exim.
+
+Author: Kenneth Marshall <ktm@rice.edu>
+Origin: upstream, http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=commitdiff;h=e515570c74b0e48e714c5b45f11de2a5b3482459
+Bug-Debian: http://bugs.debian.org/644392
+Forwarded: http://sourceforge.net/mailarchive/forum.php?thread_name=20120802190055.GF15829%40aart.rice.edu&forum_name=dspam-user
+Last-Update: 2012-08-13
+
+--- dspam-3.10.1+dfsg.orig/CHANGELOG
++++ dspam-3.10.1+dfsg/CHANGELOG
+@@ -1,3 +1,5 @@
++[20121202:2115] sbajic: Update documentation for Exim integration.
++
+ Version 3.10.1
+ --------------
+
+--- dspam-3.10.1+dfsg.orig/doc/exim.txt
++++ dspam-3.10.1+dfsg/doc/exim.txt
+@@ -1,4 +1,4 @@
+-$Id: exim.txt,v 1.1 2005/03/11 21:16:03 jonz Exp $
++$Id: exim.txt,v 1.2 2012/08/02 21:09:23 sbajic Exp $
+
+ EXIM 4 INTEGRATION
+
+@@ -40,11 +40,17 @@ domain as part of the username:
+
+ command = /usr/local/bin/dspam --deliver=innocent --user "$local_part@$domain" -- %u
+
+-Finally, you will need to configure and compile DSPAM. DSPAM will most likely
+-end up calling exim again for delivery, using the spam-scanned protocol to
+-identify scanned messages. The most common example is:
+-
+- ./configure --with-delivery-agent="/usr/sbin/exim -oMr spam-scanned"
++Finally, you will need to configure and compile DSPAM. You can configure
++DSPAM with the appropriate LDA using --with-delivery-agent= at configure
++time or by specifying TrustedDeliveryAgent in dspam.conf. DSPAM will most
++likely end up calling exim again for delivery, using the spam-scanned
++protocol to identify scanned messages. The most common example is:
++
++ ./configure --with-delivery-agent="/usr/local/sbin/exim -oMr spam-scanned -oi"
++
++Note: DSPAM expects the LDA to NOT provide the "line with a single dot (.)"
++processing to indicate the end of data that a MTA must provide to meet the
++SMTP RFC, hence the "-oi" option to exim above.
+
+ RUNNING WITHOUT PRIVILEGED EXIM USERS
+
+--- dspam-3.10.1+dfsg.orig/src/dspam.conf.in
++++ dspam-3.10.1+dfsg/src/dspam.conf.in
+@@ -43,7 +43,7 @@ StorageDriver @libdir@/dspam/@storage_dr
+ # Other popular configurations:
+ #TrustedDeliveryAgent "/usr/cyrus/bin/deliver" # Cyrus
+ #TrustedDeliveryAgent "/bin/maildrop" # Maildrop
+-#TrustedDeliveryAgent "/usr/local/sbin/exim -oMr spam-scanned" # Exim
++#TrustedDeliveryAgent "/usr/local/sbin/exim -oMr spam-scanned -oi" # Exim
+ #
+ TrustedDeliveryAgent "@delivery_agent@"
+
diff -Nru dspam-3.10.1+dfsg/debian/patches/series dspam-3.10.1+dfsg/debian/patches/series
--- dspam-3.10.1+dfsg/debian/patches/series 2012-02-10 16:05:38.000000000 -0500
+++ dspam-3.10.1+dfsg/debian/patches/series 2012-08-13 20:21:12.000000000 -0400
@@ -5,3 +5,4 @@
005_dspam-notify.diff
006_default-daemon-port.diff
007_ctime.pl.diff
+008_fix_exim_integration_doc.diff
diff -Nru dspam-3.10.2+dfsg/debian/changelog dspam-3.10.2+dfsg/debian/changelog
--- dspam-3.10.2+dfsg/debian/changelog 2012-06-15 02:19:41.000000000 -0400
+++ dspam-3.10.2+dfsg/debian/changelog 2012-08-13 23:30:31.000000000 -0400
@@ -1,3 +1,17 @@
+dspam (3.10.2+dfsg-2) unstable; urgency=low
+
+ [ Thomas Preud'homme ]
+ * Team upload.
+ * Cherry-pick patch from upstream to recommend using -oi when using dspam
+ with exim (Closes: #644392).
+
+ [ Paul Tagliamonte ]
+ * Although this changelog is signed by Tom, this upload has been signed by
+ me. Tom prepared this upload, but is remote (and without his GPG key),
+ so these changes have been reviewed and uploaded by me.
+
+ -- Thomas Preud'homme <robotux@celest.fr> Mon, 13 Aug 2012 16:13:05 +0800
+
dspam (3.10.2+dfsg-1) unstable; urgency=low
[ Julien Valroff ]
diff -Nru dspam-3.10.2+dfsg/debian/dspam-documents/exim4/dspam.conf dspam-3.10.2+dfsg/debian/dspam-documents/exim4/dspam.conf
--- dspam-3.10.2+dfsg/debian/dspam-documents/exim4/dspam.conf 2012-06-15 02:19:41.000000000 -0400
+++ dspam-3.10.2+dfsg/debian/dspam-documents/exim4/dspam.conf 2012-08-13 23:29:13.000000000 -0400
@@ -22,7 +22,7 @@
# Other popular configurations:
#TrustedDeliveryAgent "/usr/cyrus/bin/deliver" # Cyrus
#TrustedDeliveryAgent "/bin/maildrop" # Maildrop
-#TrustedDeliveryAgent "/usr/sbin/exim -oMr spam-scanned $u" # Exim
+#TrustedDeliveryAgent "/usr/sbin/exim -oMr spam-scanned -oi $u" # Exim
TrustedDeliveryAgent "/usr/sbin/exim4" # Exim
#
#TrustedDeliveryAgent "/usr/bin/procmail"
diff -Nru dspam-3.10.2+dfsg/debian/patches/008_fix_exim_integration_doc.diff dspam-3.10.2+dfsg/debian/patches/008_fix_exim_integration_doc.diff
--- dspam-3.10.2+dfsg/debian/patches/008_fix_exim_integration_doc.diff 1969-12-31 19:00:00.000000000 -0500
+++ dspam-3.10.2+dfsg/debian/patches/008_fix_exim_integration_doc.diff 2012-08-13 23:29:13.000000000 -0400
@@ -0,0 +1,62 @@
+Description: Fix documentation about exim integration
+
+Using dspam with exim requires to call exim with option -oi to avoid mails
+from being truncated. This commit modify the documentation and configuration
+file to add the -oi option when calling exim.
+
+Author: Kenneth Marshall <ktm@rice.edu>
+Origin: upstream, http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=commitdiff;h=e515570c74b0e48e714c5b45f11de2a5b3482459
+Bug-Debian: http://bugs.debian.org/644392
+Forwarded: http://sourceforge.net/mailarchive/forum.php?thread_name=20120802190055.GF15829%40aart.rice.edu&forum_name=dspam-user
+Last-Update: 2012-08-13
+
+--- dspam-3.10.1+dfsg.orig/CHANGELOG
++++ dspam-3.10.1+dfsg/CHANGELOG
+@@ -1,3 +1,5 @@
++[20121202:2115] sbajic: Update documentation for Exim integration.
++
+ Version 3.10.2
+ --------------
+
+--- dspam-3.10.1+dfsg.orig/doc/exim.txt
++++ dspam-3.10.1+dfsg/doc/exim.txt
+@@ -1,4 +1,4 @@
+-$Id: exim.txt,v 1.1 2005/03/11 21:16:03 jonz Exp $
++$Id: exim.txt,v 1.2 2012/08/02 21:09:23 sbajic Exp $
+
+ EXIM 4 INTEGRATION
+
+@@ -40,11 +40,17 @@ domain as part of the username:
+
+ command = /usr/local/bin/dspam --deliver=innocent --user "$local_part@$domain" -- %u
+
+-Finally, you will need to configure and compile DSPAM. DSPAM will most likely
+-end up calling exim again for delivery, using the spam-scanned protocol to
+-identify scanned messages. The most common example is:
+-
+- ./configure --with-delivery-agent="/usr/sbin/exim -oMr spam-scanned"
++Finally, you will need to configure and compile DSPAM. You can configure
++DSPAM with the appropriate LDA using --with-delivery-agent= at configure
++time or by specifying TrustedDeliveryAgent in dspam.conf. DSPAM will most
++likely end up calling exim again for delivery, using the spam-scanned
++protocol to identify scanned messages. The most common example is:
++
++ ./configure --with-delivery-agent="/usr/local/sbin/exim -oMr spam-scanned -oi"
++
++Note: DSPAM expects the LDA to NOT provide the "line with a single dot (.)"
++processing to indicate the end of data that a MTA must provide to meet the
++SMTP RFC, hence the "-oi" option to exim above.
+
+ RUNNING WITHOUT PRIVILEGED EXIM USERS
+
+--- dspam-3.10.1+dfsg.orig/src/dspam.conf.in
++++ dspam-3.10.1+dfsg/src/dspam.conf.in
+@@ -43,7 +43,7 @@ StorageDriver @libdir@/dspam/@storage_dr
+ # Other popular configurations:
+ #TrustedDeliveryAgent "/usr/cyrus/bin/deliver" # Cyrus
+ #TrustedDeliveryAgent "/bin/maildrop" # Maildrop
+-#TrustedDeliveryAgent "/usr/local/sbin/exim -oMr spam-scanned" # Exim
++#TrustedDeliveryAgent "/usr/local/sbin/exim -oMr spam-scanned -oi" # Exim
+ #
+ TrustedDeliveryAgent "@delivery_agent@"
+
diff -Nru dspam-3.10.2+dfsg/debian/patches/series dspam-3.10.2+dfsg/debian/patches/series
--- dspam-3.10.2+dfsg/debian/patches/series 2012-06-15 02:19:41.000000000 -0400
+++ dspam-3.10.2+dfsg/debian/patches/series 2012-08-13 23:29:13.000000000 -0400
@@ -4,3 +4,4 @@
005_dspam-notify.diff
006_default-daemon-port.diff
007_process_quarantine_if_spanish.diff
+008_fix_exim_integration_doc.diff
Reply to: