aboutsummaryrefslogtreecommitdiff
path: root/mail/dspam/files
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2010-01-19 18:25:27 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2010-01-19 18:25:27 +0000
commit3913cf32113ccda03e1452de912899d7d1414c86 (patch)
treeafaa126518ef2a0934963036405e26efe37f019e /mail/dspam/files
parent82a86af19bc2aad1b4ef41d9e9136f148ca0756c (diff)
downloadports-3913cf32113ccda03e1452de912899d7d1414c86.tar.gz
ports-3913cf32113ccda03e1452de912899d7d1414c86.zip
Notes
Diffstat (limited to 'mail/dspam/files')
-rw-r--r--mail/dspam/files/UPDATING13
-rw-r--r--mail/dspam/files/patch-scripts__train.pl (renamed from mail/dspam/files/patch-scripts_train.pl)4
-rw-r--r--mail/dspam/files/patch-src__dspam.conf.in62
3 files changed, 40 insertions, 39 deletions
diff --git a/mail/dspam/files/UPDATING b/mail/dspam/files/UPDATING
index de903f8f59cf..c5c167d07949 100644
--- a/mail/dspam/files/UPDATING
+++ b/mail/dspam/files/UPDATING
@@ -17,6 +17,19 @@ in the port directory:
make extract; more `find . -type f -maxdepth 2 -name UPGRADING`
###########################################################################
+# dspam-3.9.0
+#
+
+Port changes:
+- LDAP option --> EXTERNAL_LOOKUP (following upstream changes)
+- CGI option --> WebUI (following upstream changes)
+- CGI_PATH var --> WWWDIR (defaulting to PREFIX/www/dspam)
+
+Lots of changes, see UPGRADING file in the tarball. At very least you need
+to adjust your dspam.conf and your database.
+
+
+###########################################################################
# dspam-3.6.8_1
#
diff --git a/mail/dspam/files/patch-scripts_train.pl b/mail/dspam/files/patch-scripts__train.pl
index 3550e64474f5..bb582e46b90a 100644
--- a/mail/dspam/files/patch-scripts_train.pl
+++ b/mail/dspam/files/patch-scripts__train.pl
@@ -1,5 +1,5 @@
---- scripts/train.pl.dist Tue Nov 8 14:34:38 2005
-+++ scripts/train.pl Tue Nov 8 14:36:06 2005
+--- ./scripts/train.pl.orig 2010-01-11 23:21:58.000000000 +0200
++++ ./scripts/train.pl 2010-01-17 18:52:16.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!%%PERL%%
diff --git a/mail/dspam/files/patch-src__dspam.conf.in b/mail/dspam/files/patch-src__dspam.conf.in
index 63e907c50ea2..39d75699ee8b 100644
--- a/mail/dspam/files/patch-src__dspam.conf.in
+++ b/mail/dspam/files/patch-src__dspam.conf.in
@@ -1,56 +1,44 @@
---- ./src/dspam.conf.in.orig Tue Oct 10 01:22:52 2006
-+++ ./src/dspam.conf.in Tue Oct 10 01:39:10 2006
-@@ -52,7 +52,7 @@
- # the user DSPAM is processing mail for. This configuration parameter is only
+--- ./src/dspam.conf.in.orig 2010-01-11 23:21:58.000000000 +0200
++++ ./src/dspam.conf.in 2010-01-17 18:49:37.000000000 +0200
+@@ -56,6 +56,7 @@
# necessary if you plan on allowing untrusted processing.
#
--#UntrustedDeliveryAgent "/usr/bin/procmail -d %u"
-+#UntrustedDeliveryAgent "@delivery_agent@"
+ #UntrustedDeliveryAgent "/usr/bin/procmail -d %u"
++#QuarantineAgent "@delivery_agent@"
#
# SMTP or LMTP Delivery: Alternatively, you may wish to use SMTP or LMTP
-@@ -85,7 +85,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.
- #
--#QuarantineAgent "/usr/bin/procmail -d spam"
-+#QuarantineAgent "@delivery_agent@"
-
- #
- # DSPAM can optionally process "plused users" (addresses in the user+detail
-@@ -273,7 +273,7 @@
+@@ -330,7 +331,7 @@
# Storage driver settings: Specific to a particular storage driver. Uncomment
# the configuration specific to your installation, if applicable.
#
--#MySQLServer /var/lib/mysql/mysql.sock
-+#MySQLServer /tmp/mysql.sock
- #MySQLPort
- #MySQLUser dspam
- #MySQLPass changeme
-@@ -619,7 +619,10 @@
- # If the message is larger than the maximum size, it will be delivered
- # without processing. Value is in bytes.
- #
-+# WARNING: this applies to clamav scan also
-+#
- #MaxMessageSize 4194304
-+MaxMessageSize 307200
-
- #
- # Virus Checking: If you are running clamd, DSPAM can perform stream-based
-@@ -644,6 +647,7 @@
- #
+-#MySQLServer /var/lib/mysql/mysql.sock
++#MySQLServer /tmp/mysql.sock
+ #MySQLPort
+ #MySQLUser dspam
+ #MySQLPass changeme
+@@ -341,7 +342,7 @@
+ # If you are using replication for clustering, you can also specify a separate
+ # server to perform all writes to.
+ #
+-#MySQLWriteServer /var/lib/mysql/mysql.sock
++#MySQLWriteServer /tmp/mysql.sock
+ #MySQLWritePort
+ #MySQLWriteUser dspam
+ #MySQLWritePass changeme
+@@ -778,6 +779,7 @@
+ #ServerHost 127.0.0.1
#ServerPort 24
#ServerQueueSize 32
+# keep this is sync with /usr/local/etc/rc.d/dspam[.sh] rc.d script
- #ServerPID /var/run/dspam.pid
+ #ServerPID /var/run/dspam.pid
#
-@@ -680,14 +684,15 @@
+@@ -814,14 +816,15 @@
# you are running the client and server on the same machine, as it eliminates
# much of the bandwidth overhead.
#
--#ServerDomainSocketPath "/tmp/dspam.sock"
+-#ServerDomainSocketPath "/tmp/dspam.sock"
+# keep this is sync with /usr/local/etc/rc.d/dspam[.sh] rc.d script
+#ServerDomainSocketPath "/var/run/dspam.sock"