Package: bogofilter
Version: 1.1.1-5

In the clean target, debian/rules does not remove bogofilter-bdb.substvars,
bogofilter-qdbm.substvars or bogofilter-sqlite.substvars.

[ Moreover, tail is still using the old deprecated syntax. This has been
  reported before as Bug#369218, now closed, but the bug is still here ].

Suggested patch:

diff -ru bogofilter-1.1.1.orig/debian/rules bogofilter-1.1.1/debian/rules
--- bogofilter-1.1.1.orig/debian/rules  2006-12-02 16:21:32.000000000 +0100
+++ bogofilter-1.1.1/debian/rules       2006-12-02 16:45:38.000000000 +0100
@@ -50,7 +50,10 @@
 
 clean: checkroot
        $(checkdir)
-       rm -f build-stamp configure-stamp debian/bogofilter.substvars 
debian/files
+       rm -f build-stamp configure-stamp debian/bogofilter.substvars \
+               debian/files debian/bogofilter-bdb.substvars \
+               debian/bogofilter-qdbm.substvars \
+               debian/bogofilter-sqlite.substvars
        rm -rf debian/bogofilter debian/bogofilter-bdb \
               debian/bogofilter-qdbm debian/bogofilter-sqlite 
debian/bogofilter-common
 
@@ -151,7 +154,7 @@
        chown 0.0 debian/bogofilter*/DEBIAN/control
 
        $(INSTALL_FILE) debian/conffiles 
debian/bogofilter-common/DEBIAN/conffiles
-       tail +10 debian/bogofilter-common/etc/bogofilter.cf.example > 
debian/bogofilter-common/etc/bogofilter.cf
+       tail -n +10 debian/bogofilter-common/etc/bogofilter.cf.example > 
debian/bogofilter-common/etc/bogofilter.cf
 #      sed '/^[^#]/s/^/#/' debian/bogofilter/etc/bogofilter.cf.example > 
debian/bogofilter/etc/bogofilter.cf
 
        rm debian/bogofilter-common/etc/bogofilter.cf.example

Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to