[Pkg-dspam-commits] [SCM] Debian packages for the DSPAM anti-spam filter branch, master, updated. debian/3.9.1_rc1+git20110514.347379b+dfsg-1-55-gd3f32ab
Julien Valroff
julien at kirya.net
Tue Aug 2 18:16:00 UTC 2011
The following commit has been merged in the master branch:
commit b77afecd77a3cb4934a65d9c19caa697ba3e3ddd
Author: Julien Valroff <julien at kirya.net>
Date: Tue Aug 2 20:09:48 2011 +0200
Add patch to ship cssclean.txt file missing for the upstream tarball
diff --git a/debian/changelog b/debian/changelog
index a443b97..a89e8fb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,11 +16,12 @@ dspam (3.10.0+dfsg-1) unstable; urgency=low
* Drop patches merged upstream
* Add multiarch support
* Split debugging symbols into independent debug packages
+ * Add patch to ship cssclean.txt file missing for the upstream tarball
[ Thomas Preud'homme ]
* Set build flags (CPPFLAGS, CFLAGS and LDFLAGS) using dpkg-buildflags.
- -- Julien Valroff <julien at debian.org> Tue, 02 Aug 2011 06:43:44 +0200
+ -- Julien Valroff <julien at debian.org> Tue, 02 Aug 2011 20:03:59 +0200
dspam (3.9.1~rc1+git20110514.347379b+dfsg-1) unstable; urgency=low
diff --git a/debian/patches/007_cssclean-doc.diff b/debian/patches/007_cssclean-doc.diff
new file mode 100644
index 0000000..7547805
--- /dev/null
+++ b/debian/patches/007_cssclean-doc.diff
@@ -0,0 +1,51 @@
+Description: Add missing cssclean.txt to the documentation
+Author: Julien Valroff <julien at debian.org>
+Last-Update: 2011-08-02
+
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -14,4 +14,5 @@
+ sqlite_drv.txt \
+ relay.txt \
+ markov.txt \
+- tests.txt
++ tests.txt \
++ cssclean.txt
+--- /dev/null
++++ b/doc/cssclean.txt
+@@ -0,0 +1,35 @@
++$Id: cssclean.txt,v 1.01 2011/07/11 23:46:05 sbajic Exp $
++
++HASH_DRV NIGHTLY MAINTENANCE
++
++The tool for nightly maintenance - dspam_clean - does not work with hash_drv,
++it does not do any cleaning.
++
++You have to clean it by yourself. There are the two steps to do:
++
++- first, you should remove old signature files. These files are located
++in user.sig directory and have extension .sig. They are needed only
++for dspam retraining, so you can remove them if they are older than two weeks.
++- second, you should purge databases. They are located in user.css
++files and contain a set of tokens with counters: SPAM and NONSPAM, which count
++how many times the token appeared in spams and innocent mails.
++
++There is a special tool for cleaning it - cssclean:
++
++cssclean [file.css] {heavy}
++
++Cssclean implements its own counter for each token. It increments every
++cleaning - so if you run cssclean every night, it works like timestamp.
++If DSPAM uses a token, it resets this counter. So cssclean knows which tokens
++were not used for counted time.
++
++Cssclean removes tokens, which are:
++- not used for 15 cleans and ( NONSPAM + SPAM <= 1 ), or
++- not used for 15 cleans and NONSPAM is equal or almost equal SPAM, or
++- not used for 60 cleans and ( NONSPAM*2 + SPAM < 5 ), or
++- not used for 120 cleans.
++
++With special options - heavy - cssclean is more strict and removes
++tokens for which:
++- NONSPAM + SPAM <= 1
++- NONSPAM is equal or almost equal SPAM
diff --git a/debian/patches/series b/debian/patches/series
index 58799d3..7866fd2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
004_where-to-find-txt-files.diff
005_dspam-notify.diff
006_default-daemon-port.diff
+007_cssclean-doc.diff
--
Debian packages for the DSPAM anti-spam filter
More information about the Pkg-dspam-commits
mailing list