package: spamassassin
tags: patch

I just updated the Ubuntu package for Spamassassin 3.2.0 and wanted to
pass on lessons learned to save you some trouble when you get to it.

First, the BUGS file is not present.  I worked around this in debian/rules
(expecting we'll see it again) as follows:

--- spamassassin-3.1.7/debian/rules     2007-05-03 08:28:41.000000000 -0400
+++ spamassassin-3.2.0/debian/rules     2007-05-04 01:03:31.000000000 -0400
@@ -35,6 +35,9 @@
        rm -rf patch-stamp debian/patched

 configure: configure-stamp
+#      Next line should be removed when spamassassin has a BUGS file again:
+       touch BUGS
+
 configure-stamp: patch

        dh_testdir

I was able to remove 05_CVE_2007_0451.dpatch, 06_SA_BUG_5240.dpatch, and
08_security_version.dpatch because they were incorporated upstream. 
Additionally, I had to freshen the 10_change_config_paths patch.  The
updated patch is attached.

As an aside, the Mail::SPF library is now the preferred SPF checking
library for SpamAssassin.  The library is not in Debian because
libnetaddr-ip-perl is not new enough.  See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329644 for details.

Hope this helps,

Scott K

Attachment: 10_change_config_paths.dpatch
Description: application/shellscript

Reply via email to