summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2007-12-14 00:44:54 +0000
committerBeech Rintoul <beech@FreeBSD.org>2007-12-14 00:44:54 +0000
commit134d13eb7156871623aff0a54dae9faa6fa5860a (patch)
tree35043c4d661bca53734f334c98fcdb00756040d7 /mail
parentAdd port textproc/docdiff: (diff)
- Update to 1.3.3.8
PR: ports/117940 Submitted by: J.R. Oldroyd <fbsd@opal.com> (maintainer) Approved by: linimon (mentor)
Notes
Notes: svn path=/head/; revision=203517
Diffstat (limited to 'mail')
-rw-r--r--mail/assp/Makefile12
-rw-r--r--mail/assp/distinfo6
-rw-r--r--mail/assp/files/patch-assp.pl26
-rw-r--r--mail/assp/files/patch-stats.sh18
-rw-r--r--mail/assp/pkg-plist12
5 files changed, 40 insertions, 34 deletions
diff --git a/mail/assp/Makefile b/mail/assp/Makefile
index f17667d2b950..f0dbe493bc0f 100644
--- a/mail/assp/Makefile
+++ b/mail/assp/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= assp
-PORTVERSION= 1.3.3.1
+PORTVERSION= 1.3.3.8
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
DISTNAME= ${PORTNAME:U}_${PORTVERSION}-Install
MAINTAINER= fbsd@opal.com
@@ -19,9 +18,11 @@ USE_ZIP= yes
NO_BUILD= yes
USE_PERL5_RUN= yes
-USE_DOS2UNIX= addservice.pl \
+USE_DOS2UNIX= \
+ ../Install.txt \
+ ../changelog.txt \
+ addservice.pl \
assp.pl \
- changelog.txt \
files/URIBLCCTLDS.txt \
files/blackdomains.txt \
files/bombre.txt \
@@ -33,6 +34,7 @@ USE_DOS2UNIX= addservice.pl \
files/redre.txt \
files/whitedomains.txt \
move2num.pl \
+ rc/readme.txt \
rebuildspamdb.pl \
repair.pl \
reports/helpreport.txt \
diff --git a/mail/assp/distinfo b/mail/assp/distinfo
index 10f0f84caf90..0f6041ce1701 100644
--- a/mail/assp/distinfo
+++ b/mail/assp/distinfo
@@ -1,3 +1,3 @@
-MD5 (ASSP_1.3.3.1-Install.zip) = 9ce0cc17ee9c8d8cb03d258b69812a11
-SHA256 (ASSP_1.3.3.1-Install.zip) = 810bebed2f48a480c7e7458fb9b6e2fbe3f39c441d74aa8471b458aa0e33e47b
-SIZE (ASSP_1.3.3.1-Install.zip) = 362975
+MD5 (ASSP_1.3.3.8-Install.zip) = fad56889a74acc10769789bdc887f620
+SHA256 (ASSP_1.3.3.8-Install.zip) = 48a84aa63cbcff99833710c7ccbef69933558e98368982456f5ec8d201fad3ba
+SIZE (ASSP_1.3.3.8-Install.zip) = 332926
diff --git a/mail/assp/files/patch-assp.pl b/mail/assp/files/patch-assp.pl
index 3d6a588e5d9c..26abee89dc47 100644
--- a/mail/assp/files/patch-assp.pl
+++ b/mail/assp/files/patch-assp.pl
@@ -1,15 +1,15 @@
---- assp.pl.orig Fri Aug 3 14:10:49 2007
-+++ assp.pl Fri Aug 3 14:12:21 2007
+--- assp.pl.orig Thu Nov 1 16:37:53 2007
++++ assp.pl Thu Nov 1 16:40:38 2007
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/local/bin/perl
use File::Copy;
use Encode;
-@@ -803,8 +803,8 @@
- [ScanWL,'Scan Whitelisted Senders',0,checkbox,'1','(.*)',undef,''],
- [ScanNP,'Scan No Processing Senders',0,checkbox,'','(.*)',undef,''],
- [ScanLocal,'Scan Local Senders',0,checkbox,'','(.*)',undef,''],
+@@ -844,8 +844,8 @@
+ [ScanWL,'Scan Whitelisted Senders',0,checkbox,0,'([01]?)',undef,''],
+ [ScanNP,'Scan No Processing Senders',0,checkbox,0,'([01]?)',undef,''],
+ [ScanLocal,'Scan Local Senders',0,checkbox,0,'([01]?)',undef,''],
-[AvClamdPort,'Port or file socket for ClamAV',20,textinput,'/tmp/clamd','(\S+)',undef,
- 'A socket specified in the clamav.conf file - LocalSocket. For example /tmp/clamd. If the socket has been setup as a TCP/IP socket (see the TCPSocket option in the clamav.conf file), then specify the TCP socket. For example 3310 '],
+[AvClamdPort,'Port or file socket for ClamAV',20,textinput,'/var/run/clamav/clamd','(\S+)',undef,
@@ -17,21 +17,21 @@
[AvError,'Reply Message to Refuse Infected E<!--get rid of google autofill-->mail',80,textinput,'554 5.7.1 Mail appears infected with \'$infection\'.','(5\d\d .*)',undef,
'Reply message to refuse infected mail. The string $infection is replaced with the name of the detected virus.<br />
For example: 554 5.7.1 Mail appears infected with \'$infection\' -- disinfect and resend.'],
-@@ -959,7 +959,7 @@
+@@ -1003,7 +1003,7 @@
'<span class="negative"> 0 = no report, 1 = to SENDER, 2 = to TO address (below), 3 = BOTH</span>'],
[EmailRedlistTo,'To Address for Redlist-Reports',40,textinput,'','(.+)',undef,
'Email sent from ASSP acknowledging your submissions will be sent to this address. For example: admin@domain.com'],
-[EmailFrom,'From Address for Reports',40,textinput,'<spammaster@yourdomain.com>','(.+)',undef,
+[EmailFrom,'From Address for Reports',40,textinput,'<postmaster@yourdomain.com>','(.+)',undef,
'Email sent from ASSP acknowledging your submissions will be sent from this address.'],
- [NoHaiku,'Legacy: Don\'t reply to messages to the Email Interface',0,checkbox,0,'([01]?)',undef,
- 'Check this option to suppress email reports for spam and not-spam reports, whitelist and redlist additions/deletions via the email interface.<br /><hr />
-@@ -1168,7 +1168,7 @@
+
+
+@@ -1214,7 +1214,7 @@
[0,0,0,'heading','Server Setup'],
[AsAService,'Run ASSP as a Windows Service**',0,checkbox,0,'([01]?)',undef,
- 'In Windows NT/2000/XP/2003 ASSP can be installed as a service. This setting tells ASSP that this has been done -- it does not install the Windows service for you. Installing ASSP as a service requires several steps which are detailed in the <a href="http://www.asspsmtp.org/wiki/Quick_Start_for_Win32">Quick Start for Win32</a> wiki page.','Basic'],
+ 'In Windows NT/2000/XP/2003 ASSP can be installed as a service. This setting tells ASSP that this has been done -- it does not install the Windows service for you. Installing ASSP as a service requires several steps which are detailed in the <a href="http://www.asspsmtp.org/wiki/Quick_Start_for_Win32">Quick Start for Win32</a> wiki page.'],
-[AsADaemon,'Run ASSP as a Daemon**',0,checkbox,0,'([01]?)',undef,
+[AsADaemon,'Run ASSP as a Daemon**',0,checkbox,1,'([01]?)',undef,
- 'In Linux/BSD/Unix/OSX fork and close file handles. Similar to the command "perl assp.pl &amp;", but better.','Basic'],
+ 'In Linux/BSD/Unix/OSX fork and close file handles. Similar to the command "perl assp.pl &amp;", but better.'],
[runAsUser,'Run as UID**',20,textinput,'','(\S*)',undef,
- 'The *nix user name to assume after startup (*nix only).<p><small><i>Examples:</i> assp, nobody</small>','Basic'],
+ 'The *nix user name to assume after startup (*nix only).<p><small><i>Examples:</i> assp, nobody</small></p>'],
diff --git a/mail/assp/files/patch-stats.sh b/mail/assp/files/patch-stats.sh
index bdb48a793815..2c0730818b49 100644
--- a/mail/assp/files/patch-stats.sh
+++ b/mail/assp/files/patch-stats.sh
@@ -1,5 +1,5 @@
---- stats.sh.orig Fri Aug 3 23:48:56 2007
-+++ stats.sh Fri Aug 3 23:49:15 2007
+--- stats.sh.orig Thu Nov 8 10:30:36 2007
++++ stats.sh Thu Nov 8 10:43:14 2007
@@ -1,15 +1,23 @@
#!/bin/sh
@@ -43,7 +43,7 @@
#
# I got the idea for this script from Mark Constable. He submitted
# a similar script to follow the Courier-MTA /var/log/maillog
-@@ -46,91 +47,279 @@
+@@ -46,91 +47,283 @@
# Some fields are truncated (with a hard-coded length value, usually 40)
# to keep each line more or less intact on your screen as things scroll by
# Colors are coded with ANSI Color coding, your mileage may vary ...
@@ -241,7 +241,7 @@
+ $(p+8) )
+ next
+ }
-+ /Unknown Sender with Local Domain/ {
++ /Unknown Sender (with|from) Local Domain/ {
+ printf("%s %s \033[1;34m%-15s IS %s\033[0m\n",
+ $1,
+ $2,
@@ -253,11 +253,11 @@
+ # suppress
+ next
+ }
-+ /((DNS|URI)BL )?Received-(R|DNS|URI)BL: (pass|neutral|fail)/ {
++ /((DNS|URI)BL )?Received-(R|DNS|URI)BL: (pass|neutral|fail)|URIBL fail|Bayesian Check URIBL/ {
+ # suppress
+ next
+ }
-+ /failed DNSBL|failed (R|URI)BL checks|Received-RBL: fail|\[DNSBL].* rejected by / {
++ /failed (DNS|URI)BL|failed (R|URI)BL checks|Received-RBL: fail|\[DNSBL].* rejected by / {
+ printf("%s %s \033[1;35m%-15s BL %s -> %s\033[0m\n",
+ $1,
+ $2,
@@ -266,7 +266,7 @@
+ $(p+7) )
+ next
+ }
-+ /Received-SPF: (pass|neutral)| SPF: fail/ {
++ /Received-SPF: (pass|neutral)| SPF: (soft)?fail|SPFstrict/ {
+ # suppress
+ next
+ }
@@ -378,6 +378,10 @@
+ substr($(p+12),8,40) )
+ next
+ }
++ /PBextreme:monitoring|([ValidHelo]|[InvalidHelo]|[PTRmissing])[scoring]/ {
++ # suppress
++ next
++ }
+ /Message Limit/ {
+ printf("%s %s\033[1;35m %-15s PB %s -> %s\033[0m\n",
+ $1,
diff --git a/mail/assp/pkg-plist b/mail/assp/pkg-plist
index fbce018cd58c..8dbbe3fd4213 100644
--- a/mail/assp/pkg-plist
+++ b/mail/assp/pkg-plist
@@ -13,6 +13,7 @@ lib/assp/files/nodelay.txt
lib/assp/files/rbl-service.txt
lib/assp/files/redre.txt
lib/assp/files/whitedomains.txt
+lib/assp/images/Thumbs.db
lib/assp/images/assp.css
lib/assp/images/dropShadow.gif
lib/assp/images/editor.css
@@ -28,7 +29,6 @@ lib/assp/images/sourceforge-logo.gif
lib/assp/images/valid-xhtml10.gif
lib/assp/images/village.gif
lib/assp/images/xml-pill.gif
-lib/assp/images/Thumbs.db
lib/assp/move2num.pl
lib/assp/rebuildspamdb.pl
lib/assp/repair.pl
@@ -47,11 +47,11 @@ lib/assp/stats.sh
@dirrm lib/assp
sbin/assp
sbin/assplog
-%%PORTDOCS%%%%DOCSDIR%%/ASSP Documentation.htm
+%%PORTDOCS%%%%DOCSDIR%%/Legacy - ASSP Documentation.htm
%%PORTDOCS%%%%DOCSDIR%%/Regular Expression Tutorial.htm
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@unexec rm -f %%ASSP_HOME%%/reports 2>/dev/null || true
-@unexec rm -f %%ASSP_HOME%%/images 2>/dev/null || true
-@unexec rm -f %%ASSP_HOME%%/files 2>/dev/null || true
-@unexec rmdir %%ASSP_HOME%% 2>/dev/null || true
+@unexec rm -f %D%%ASSP_HOME%%/reports 2>/dev/null || true
+@unexec rm -f %D%%ASSP_HOME%%/images 2>/dev/null || true
+@unexec rm -f %D%%ASSP_HOME%%/files 2>/dev/null || true
+@unexec rmdir %D%%ASSP_HOME%% 2>/dev/null || true
@unexec if [ -d %%ASSP_HOME%% ]; then echo "If you are deinstalling ASSP completely, remove the %%ASSP_HOME%% directory."; fi