pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/dspam Update to 3.6.5 (provided by Unex in PR pkg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2cd823cd6f2
branches:  trunk
changeset: 512326:d2cd823cd6f2
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sat May 06 08:36:10 2006 +0000

description:
Update to 3.6.5 (provided by Unex in PR pkg/33427):

RELEASE 3.6.5-STABLE

MAINT: PgSQL SQL tuning
MAINT: WebUI aesthetic and functional fixes
MAINT: Added --disable-syslog and --with-logfile= configuration flags
MAINT: Added -t flag for dspam_stats to total stats
MAINT: Markov result used as X-DSPAM-Confidence when Markov used
MAINT: Support for separate read/write servers to be used with mysql_drv
BUGFIX: Spam are quarantined when --deliver=summary
BUGFIX: Admin graphs malformatted when subject contains newline character
BUGFIX: WebUI does not use MAX_COL_LEN
BUGFIX: Output for dspam_admin aggr pref incorrect
BUGFIX: Flat-file preference writes fail on some systems
BUGFIX: Failure to connect to ClamAV causes segmentation fault
BUGFIX: NULL username in system causes segmentation fault
BUGFIX: ClamAV processing and cleanup issues
BUGFIX: Fragment files overwritten on retrain
BUGFIX: Miscellaneous invalid read / segmentation fault bugs
BUGFIX: If TrainingMode not specified in dspam.conf or passed in, segmentation fault
BUGFIX: No output returned when using --deliver=summary with dspamc

RELEASE 3.6.4-STABLE

DOC: Documented user preferences in README
MAINT: Added dspam_train tool, replacing most functions of dspam_corpus
MAINT: Code cleanup and performance improvements
MAINT: Significant improvements in accuracy, specifically reduced false pos.
MAINT: Removed experimental neural collaboration functions
MAINT: Added ClassAlias configuration directive to dspam.conf
MAINT: Added undo option for retraining via WebUI
MAINT: Added storeFragments support to WebUI
MAINT: Added mass-retraining support to WebUI
BUGFIX: DSPAM segfaults when invalid UID specified using UIDInSignature
BUGFIX: No output when using --classify with --client
BUGFIX: dspam_corpus overrides default dspam.conf settings
BUGFIX: Multi-driver builds fail when preferences-extension is not supported

diffstat:

 mail/dspam/Makefile         |  10 ++++++----
 mail/dspam/PLIST            |  15 +++++++++------
 mail/dspam/distinfo         |  10 +++++-----
 mail/dspam/options.mk       |  15 +++++++++++++--
 mail/dspam/patches/patch-ad |  18 +++++++++---------
 5 files changed, 42 insertions(+), 26 deletions(-)

diffs (221 lines):

diff -r 0d90d130ab64 -r d2cd823cd6f2 mail/dspam/Makefile
--- a/mail/dspam/Makefile       Sat May 06 08:25:20 2006 +0000
+++ b/mail/dspam/Makefile       Sat May 06 08:36:10 2006 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2006/04/22 09:22:10 rillig Exp $
+# $NetBSD: Makefile,v 1.50 2006/05/06 08:36:10 xtraeme Exp $
 
-DISTNAME=      dspam-3.6.3
+DISTNAME=      dspam-3.6.5
 CATEGORIES=    mail
 MASTER_SITES=  http://www.nuclearelephant.com/projects/dspam/sources/
 
@@ -12,8 +12,8 @@
 USE_LIBTOOL=           yes
 
 USE_TOOLS+=            perl:run pkg-config
-REPLACE_PERL=          tools/dspam_genaliases.in                       \
-                       tools/dspam_corpus.in                           \
+REPLACE_PERL=          src/tools/dspam_genaliases.in                   \
+                       src/tools/dspam_corpus.in                       \
                        webui/cgi-bin/*.cgi webui/cgi-bin/configure.pl.in
 
 PKGCONFIG_OVERRIDE+=   src/dspam.pc.in
@@ -37,6 +37,7 @@
 BUILD_DEFS+=           DSPAM_USER DSPAM_GROUP
 BUILD_DEFS+=           DSPAM_BINMODE
 BUILD_DEFS+=           DSPAM_LOGDIR
+BUILD_DEFS+=           DSPAM_LOGFILE
 BUILD_DEFS+=           DSPAM_DOMAIN
 BUILD_DEFS+=           DSPAM_WWWHOME
 BUILD_DEFS+=           DSPAM_PIDDIR
@@ -51,6 +52,7 @@
 DSPAM_USER?=           dspam
 DSPAM_GROUP?=          dspam
 DSPAM_LOGDIR?=         ${DSPAM_HOME}/log
+DSPAM_LOGFILE?=                ${DSPAM_LOGDIR}/dspam.log
 DSPAM_DOMAIN?=         yourdomain.com
 DSPAM_WWWHOME?=                /dspam
 DSPAM_PIDDIR?=         ${VARBASE}/run/dspam
diff -r 0d90d130ab64 -r d2cd823cd6f2 mail/dspam/PLIST
--- a/mail/dspam/PLIST  Sat May 06 08:25:20 2006 +0000
+++ b/mail/dspam/PLIST  Sat May 06 08:36:10 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2006/03/02 18:38:20 jwise Exp $
+@comment $NetBSD: PLIST,v 1.13 2006/05/06 08:36:10 xtraeme Exp $
 ${HASH}bin/cssstat
 ${HASH}bin/csscompress
 ${HASH}bin/cssclean
@@ -14,6 +14,7 @@
 bin/dspam_logrotate
 bin/dspam_merge
 bin/dspam_stats
+bin/dspam_train
 bin/dspamc
 include/dspam/buffer.h
 include/dspam/config.h
@@ -35,6 +36,7 @@
 man/man1/dspam_dump.1
 man/man1/dspam_merge.1
 man/man1/dspam_stats.1
+man/man1/dspam_train.1
 man/man3/dspam_addattribute.3
 man/man3/dspam_attach.3
 man/man3/dspam_create.3
@@ -60,6 +62,9 @@
 share/doc/dspam/relay.txt
 share/doc/dspam/sendmail.txt
 share/doc/dspam/sqlite_drv.txt
+share/dspam/txt/firstrun.txt
+share/dspam/txt/firstspam.txt
+share/dspam/txt/quarantinefull.txt
 share/dspam/webui/cgi-bin/admin.cgi
 share/dspam/webui/cgi-bin/admingraph.cgi
 share/dspam/webui/cgi-bin/dspam.cgi
@@ -72,6 +77,7 @@
 share/dspam/webui/cgi-bin/templates/nav_alerts.html
 share/dspam/webui/cgi-bin/templates/nav_analysis.html
 share/dspam/webui/cgi-bin/templates/nav_error.html
+share/dspam/webui/cgi-bin/templates/nav_fragment.html
 share/dspam/webui/cgi-bin/templates/nav_history.html
 share/dspam/webui/cgi-bin/templates/nav_performance.html
 share/dspam/webui/cgi-bin/templates/nav_preferences.html
@@ -92,23 +98,20 @@
 ${PGSQL}share/dspam/pgsql/virtual_users.sql
 ${SQLITE}share/dspam/sqlite/purge-2.sql
 ${SQLITE}share/dspam/sqlite/purge-3.sql
-share/dspam/txt/firstrun.txt
-share/dspam/txt/firstspam.txt
-share/dspam/txt/quarantinefull.txt
 share/examples/dspam/cgi-admins
 share/examples/dspam/cgi-default.prefs
 share/examples/dspam/configure.pl
 share/examples/dspam/dspam.conf
 share/examples/rc.d/dspam
 @dirrm share/examples/dspam
-@dirrm share/dspam/txt
 ${PGSQL}@dirrm share/dspam/pgsql
 ${MYSQL}@dirrm share/dspam/mysql
 ${SQLITE}@dirrm share/dspam/sqlite
+@dirrm share/dspam/webui/htdocs
 @dirrm share/dspam/webui/cgi-bin/templates
 @dirrm share/dspam/webui/cgi-bin
-@dirrm share/dspam/webui/htdocs
 @dirrm share/dspam/webui
+@dirrm share/dspam/txt
 @dirrm share/dspam
 @dirrm share/doc/dspam
 @dirrm include/dspam
diff -r 0d90d130ab64 -r d2cd823cd6f2 mail/dspam/distinfo
--- a/mail/dspam/distinfo       Sat May 06 08:25:20 2006 +0000
+++ b/mail/dspam/distinfo       Sat May 06 08:36:10 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.26 2006/01/18 21:26:33 xtraeme Exp $
+$NetBSD: distinfo,v 1.27 2006/05/06 08:36:10 xtraeme Exp $
 
-SHA1 (dspam-3.6.3.tar.gz) = 37d0a0b1caddd085483712286505aa4016dde008
-RMD160 (dspam-3.6.3.tar.gz) = e70719cb9524b9aa7c786b4e6fddeed6516a9f2a
-Size (dspam-3.6.3.tar.gz) = 740097 bytes
+SHA1 (dspam-3.6.5.tar.gz) = 031d3fbeb1fb0d8008dcc1cf7589d4d955e7f933
+RMD160 (dspam-3.6.5.tar.gz) = 363217410de515f15baaa0a864ee23617ae8f6c2
+Size (dspam-3.6.5.tar.gz) = 747196 bytes
 SHA1 (patch-aa) = 04e94e3da9de06c15863425d0a827858b5dd4a6c
-SHA1 (patch-ad) = ec80ac306fa6fcd62b4f531b11de773a7a28833f
+SHA1 (patch-ad) = cfa68c01cb3f5ce0556c7a3b008dc214bdfbbd95
diff -r 0d90d130ab64 -r d2cd823cd6f2 mail/dspam/options.mk
--- a/mail/dspam/options.mk     Sat May 06 08:25:20 2006 +0000
+++ b/mail/dspam/options.mk     Sat May 06 08:36:10 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.14 2006/01/02 19:59:33 adrianp Exp $
+# $NetBSD: options.mk,v 1.15 2006/05/06 08:36:10 xtraeme Exp $
 
 .if defined(DSPAM_DELIVERY_AGENT) && !empty(DSPAM_DELIVERY_AGENT:Mcustom)
 DSPAM_DELIVERY_AGENT:= ${DSPAM_DELIVERY_AGENT_ARGS}
@@ -7,7 +7,7 @@
 PKG_OPTIONS_VAR=       PKG_OPTIONS.dspam
 PKG_SUPPORTED_OPTIONS= largescale homedir long-usernames graphs \
                        domainscale virtualusers preferences-extension \
-                       neural clamav ldap debug verbose-debug
+                       neural clamav ldap syslog debug verbose-debug
 
 .include "../../mk/bsd.options.mk"
 
@@ -200,6 +200,17 @@
 .endif
 
 ###
+### Enable syslog support, otherwise
+### set flat logfile pathname for logging
+###
+.if !empty(PKG_OPTIONS:Msyslog)
+CONFIGURE_ARGS+=--enable-syslog
+.else
+CONFIGURE_ARGS+=--disable-syslog
+CONFIGURE_ARGS+=--with-logfile=${DSPAM_LOGFILE}
+.endif
+
+###
 ### Enable debugging support for DSPAM.
 ### Don't enable this unless something needs testing!
 ###
diff -r 0d90d130ab64 -r d2cd823cd6f2 mail/dspam/patches/patch-ad
--- a/mail/dspam/patches/patch-ad       Sat May 06 08:25:20 2006 +0000
+++ b/mail/dspam/patches/patch-ad       Sat May 06 08:36:10 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.1 2005/10/20 08:33:13 adrianp Exp $
+$NetBSD: patch-ad,v 1.2 2006/05/06 08:36:10 xtraeme Exp $
 
---- src/dspam.conf.in.orig     2005-10-10 14:52:21.000000000 +0100
-+++ src/dspam.conf.in
-@@ -24,7 +24,7 @@ Home @dspam_home@
+--- src/dspam.conf.in.orig     2006-02-15 22:06:35.000000000 +0200
++++ src/dspam.conf.in  2006-05-05 23:44:16.000000000 +0300
+@@ -24,7 +24,7 @@
  # this option. If you do not wish to lose all of your data, you will need to
  # migrate it to the new backend before making this change.
  #
@@ -11,7 +11,7 @@
  
  #
  # Trusted Delivery Agent: Specifies the local delivery agent DSPAM should call 
-@@ -53,7 +53,7 @@ TrustedDeliveryAgent "@delivery_agent@"
+@@ -53,7 +53,7 @@
  # the user DSPAM is processing mail for. This configuration parameter is only 
  # necessary if you plan on allowing untrusted processing.
  #
@@ -20,7 +20,7 @@
  
  #
  # SMTP or LMTP Delivery: Alternatively, you may wish to use SMTP or LMTP 
-@@ -73,7 +73,7 @@ TrustedDeliveryAgent "@delivery_agent@"
+@@ -76,7 +76,7 @@
  # a quarantine agent which will be called with all messages DSPAM thinks is
  # spam. Use %u to specify the user DSPAM is processing mail for.
  #
@@ -29,7 +29,7 @@
  
  #
  # DSPAM can optionally process "plused users" (addresses in the user+detail
-@@ -249,7 +249,7 @@ AllowOverride whitelistThreshold
+@@ -264,7 +264,7 @@
  # Storage driver settings: Specific to a particular storage driver. Uncomment
  # the configuration specific to your installation, if applicable.
  #
@@ -38,7 +38,7 @@
  #MySQLPort
  #MySQLUser            dspam
  #MySQLPass                    changeme
-@@ -590,9 +590,9 @@ Opt out
+@@ -633,9 +633,9 @@
  # specified. If you want the client machine to perform delivery, use
  # the --stdout option in conjunction with a local setup. 
  #
@@ -50,7 +50,7 @@
  
  #
  # ServerMode specifies the type of LMTP server to start. This can be one of:
-@@ -646,7 +646,7 @@ Opt out
+@@ -689,7 +689,7 @@
  # If you are a reporting streamlined blackhole list participant, you can
  # touch ip addresses within the directory the rabl_client process is watching.
  #



Home | Main Index | Thread Index | Old Index