# ChangeLog for mail-filter/dspam
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/ChangeLog,v 1.34 2005/01/05 01:17:46 st_lim Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/ChangeLog,v 1.35 2005/01/12 08:50:45 st_lim Exp $
+
+ 12 Jan 2005; Lim Swee Tat <st_lim@gentoo.org> :
+ Version bump to 3.3.11. May need to support bnr and libdclassify and
+ nodalcore engine. Removed many unneeded files from files directory.
*dspam-3.2.3 (05 Jan 2005)
-MD5 33d0b176b47e12e6f83e5e5682b9cd30 ChangeLog 7051
-MD5 455e041c22771d506be8ee070817d3e5 dspam-3.2.4.ebuild 15739
-MD5 6c5807c5b4023fba43a9479ddc5d3ca3 dspam-3.3.8.ebuild 15811
-MD5 e81394692ceae2b5ab3755579e74c762 dspam-3.3.9.ebuild 15811
+MD5 bd5094e8b86eb81047c3d7e7f2c7bbc7 ChangeLog 7243
+MD5 7f062fc75a6ccd8d0905eff3e58a1434 dspam-3.2.4.ebuild 15740
+MD5 f505fcedfeb6ccec110c83e34989bcc1 dspam-3.3.11.ebuild 15598
+MD5 1609ebdee0c07a818876891982939128 dspam-3.3.8.ebuild 15812
MD5 dbfbe5a3bbe3347938107f5f5bd2197e metadata.xml 308
MD5 c12a54112c6fec3530a7b1a368d04ac8 files/README.postfix 309
MD5 e0469b961385fda4305602dc2519d319 files/README.qmail 2317
MD5 cd1bdb75fd86304f9453741a910cb8a2 files/crontab.db4 196
MD5 f2f86e8f7ab440c8537f40fa18a0ee43 files/crontab.mysql 118
+MD5 b457f9c7626e31c5d8ad41e09b735602 files/digest-dspam-3.3.11 130
MD5 9a2fda6789f0db17b6a32ca84e9e3884 files/dspam.cron 2501
MD5 2163ca41de383f09f4d754e2d35cb158 files/logrotate.dspam 156
-MD5 84ec40b77696359ae49560588db9b948 files/mysql.data 52
-MD5 5bcf982f468f4843ef3aa51213cc0023 files/mysql_create_user.sql 194
-MD5 2a79c945ef6c7e7bd45aa1d46ae99e69 files/mysql_install_db 114
-MD5 9fed58b73e35e02ecc3f9a08dcd94eaa files/mysql_purge_db 73
-MD5 a6fc685d30abb83a1ab5ac0181ad1f7c files/pgsql.data 51
-MD5 e6d1b8232199f288fe75501251ade317 files/trusted.users 19
-MD5 2cd345708a9889a04c472a9e5be7400e files/untrusted.mailer_args 24
-MD5 8b68501138fbe92e10bbd93a03c9f2ab files/upgrade.sql 807
MD5 ea56d34fd80be48f9b308655b5620c2f files/digest-dspam-3.2.4 63
MD5 ad704c9a2372dd9ab4d112a8c687873e files/digest-dspam-3.3.8 63
-MD5 82573c9fd08e0adbfc7fa0936fde6498 files/digest-dspam-3.3.9 63
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.2.4.ebuild,v 1.2 2005/01/05 01:17:46 st_lim Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.2.4.ebuild,v 1.3 2005/01/12 08:50:45 st_lim Exp $
inherit eutils
myconf="${myconf} --enable-long-username"
myconf="${myconf} --enable-robinson"
#myconf="${myconf} --enable-chi-square"
- myconf="${myconf} --enable-robinson-pvalues"
+ #myconf="${myconf} --enable-robinson-pvalues"
#myconf="${myconf} --enable-broken-mta"
use large-domain && myconf="${myconf} --enable-large-scale" || myconf="${myconf} --enable-domain-scale"
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.3.9.ebuild,v 1.1 2005/01/05 01:17:46 st_lim Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.3.11.ebuild,v 1.1 2005/01/12 08:50:45 st_lim Exp $
inherit eutils
S=${WORKDIR}/${PN}-${PV}
DESCRIPTION="A statistical-algorithmic hybrid anti-spam filter"
-SRC_URI="http://dspam.nuclearelephant.com/sources/${PN}-${PV}.tar.gz"
+SRC_URI="http://dspam.nuclearelephant.com/sources/${PN}-${PV}.tar.gz
+ http://dspam.nuclearelephant.com/sources/extras/dspam_sa_trainer.tar.gz"
HOMEPAGE="http://dspam.nuclearelephant.com/"
LICENSE="GPL-2"
local myconf
# these are the default settings
- myconf="${myconf} --with-signature-life=14"
- myconf="${myconf} --enable-broken-return-codes"
- myconf="${myconf} --enable-experimental"
+ myconf="${myconf} --enable-daemon"
+ #myconf="${myconf} --enable-nodalcore"
+ myconf="${myconf} --enable-homedir"
myconf="${myconf} --enable-long-username"
myconf="${myconf} --enable-robinson"
#myconf="${myconf} --enable-chi-square"
- myconf="${myconf} --enable-robinson-pvalues"
- #myconf="${myconf} --enable-broken-mta"
- use large-domain && myconf="${myconf} --enable-large-scale" || myconf="${myconf} --enable-domain-scale"
+ #myconf="${myconf} --enable-robinson-pvalues"
+ use large-domain && myconf="${myconf} --enable-large-scale" ||\
+ myconf="${myconf} --enable-domain-scale"
myconf="${myconf} --with-dspam-mode=4755"
myconf="${myconf} --with-dspam-owner=dspam"
myconf="${myconf} --with-dspam-home=${HOMEDIR} --sysconfdir=${HOMEDIR}"
myconf="${myconf} --with-logdir=${LOGDIR}"
- # enables support for debugging (touch /etc/dspam/.debug to turn on)
- # optional: even MORE debugging output, use with extreme caution!
use debug && myconf="${myconf} --enable-debug --enable-verbose-debug"
# select storage driver
myconf="${myconf} --with-storage-driver=mysql_drv"
myconf="${myconf} --with-mysql-includes=/usr/include/mysql"
myconf="${myconf} --with-mysql-libraries=/usr/lib/mysql"
- myconf="${myconf} --with-client-compression"
myconf="${myconf} --enable-virtual-users"
myconf="${myconf} --enable-preferences-extension"
dodoc src/tools.sqlite_drv/README
fi
doman man/dspam*
+ dodoc ${DISTDIR}/dspam_sa_trainer.tar.gz
# build some initial configuration data
# Copy existing dspam.conf
newins src/tools.mysql_drv/neural.sql mysql_neural.sql
newins src/tools.mysql_drv/purge.sql mysql_purge.sql
newins src/tools.mysql_drv/purge-4.1.sql mysql_purge-4.1.sql
- newins ${FILESDIR}/upgrade.sql mysql_upgrade.sql
elif use postgres ; then
if [ -f ${HOMEDIR}/pgsql.data ]; then
# Use an existing password
insopts -m644 -o dspam -g dspam
doins ${T}/dspam.conf
+ # installs the logrotation scripts to the logrotate.d directory
+ diropts -m0755 -o dspam -g dspam
+ dodir /etc/logrotate.d
+ keepdir /etc/logrotate.d
+ insinto /etc/logrotate.d
+ newins ${FILESDIR}/logrotate.dspam dspam
+
# installs the cron job to the cron directory
diropts -m0755 -o dspam -g dspam
dodir /etc/cron.daily
exeopts -m0755 -o dspam -g dspam
doexe ${FILESDIR}/dspam.cron
- # installs the logrotation scripts to the logrotate.d directory
- diropts -m0755 -o dspam -g dspam
- dodir /etc/logrotate.d
- keepdir /etc/logrotate.d
- insinto /etc/logrotate.d
- insopts -m0755 -o dspam -g dspam
- newins ${FILESDIR}/logrotate.dspam dspam
-
# dspam enviroment
echo -ne "CONFIG_PROTECT_MASK=\"${HOMEDIR}\"\n\n" > ${T}/40dspam
doenvd ${T}/40dspam || die
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.3.8.ebuild,v 1.3 2005/01/05 01:17:46 st_lim Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.3.8.ebuild,v 1.4 2005/01/12 08:50:45 st_lim Exp $
inherit eutils
myconf="${myconf} --enable-long-username"
myconf="${myconf} --enable-robinson"
#myconf="${myconf} --enable-chi-square"
- myconf="${myconf} --enable-robinson-pvalues"
+ #myconf="${myconf} --enable-robinson-pvalues"
#myconf="${myconf} --enable-broken-mta"
use large-domain && myconf="${myconf} --enable-large-scale" || myconf="${myconf} --enable-domain-scale"
--- /dev/null
+MD5 c459a4622b18862e85103a06110fdd3f dspam-3.3.11.tar.gz 657885
+MD5 8ffe9d41e6104a4c6d19067528193145 dspam_sa_trainer.tar.gz 1230
+++ /dev/null
-MD5 827a3613202c8685baaeb6bd012f82b1 dspam-3.3.9.tar.gz 656327
+++ /dev/null
-/var/run/mysqld/mysqld.sock
-
-dspam
-@password@
-dspam
+++ /dev/null
-CREATE DATABASE IF NOT EXISTS dspam;
-GRANT USAGE ON dspam.* TO 'dspam'@'localhost' IDENTIFIED BY '@password@';
-GRANT SELECT, INSERT, UPDATE, DELETE ON dspam.* TO 'dspam'@'localhost';
-USE dspam;
+++ /dev/null
-#!/bin/sh
-echo Type your mysql root password at the prompt
-/usr/bin/mysql -u root -p < @confdir@/mysql_setup.sql
+++ /dev/null
-/usr/bin/mysql -u dspam -p'@password@' dspam < @confdir@/mysql_purge.sql
+++ /dev/null
-@HOSTNAME@
-@PORT@
-@USERNAME@
-@PASSWORD@
-@DATABASE@
+++ /dev/null
-nobody
-root
-apache
+++ /dev/null
-/usr/bin/procmail -d %u
+++ /dev/null
-alter table dspam_stats add spam_learned int;
-alter table dspam_stats add innocent_learned int;
-alter table dspam_stats add spam_classified int;
-alter table dspam_stats add innocent_classified int;
-update dspam_stats set spam_learned = total_spam;
-update dspam_stats set innocent_learned = total_innocent;
-update dspam_stats set spam_classified = 0, innocent_classified = 0;
-alter table dspam_stats drop column total_spam;
-alter table dspam_stats drop column total_innocent;
-alter table dspam_stats add spam_misclassified int;
-alter table dspam_stats add innocent_misclassified int;
-update dspam_stats set spam_misclassified = spam_misses;
-update dspam_stats set innocent_misclassified = false_positives;
-alter table dspam_stats drop column spam_misses;
-alter table dspam_stats drop column false_positives;