From fd15de3ea0acb7efed2ba8d625d9241ff0ad86aa Mon Sep 17 00:00:00 2001
From: pav
Date: Wed, 13 Apr 2005 14:42:01 +0000
Subject: - Update to 4.40.11
PR: ports/79854
Submitted by: Jan-Peter Koopmann (maintainer)
---
mail/mailscanner/Makefile | 9 +-
mail/mailscanner/distinfo | 4 +-
.../mailscanner/files/patch-docs:man:MailScanner.8 | 6 +-
.../files/patch-docs:man:MailScanner.8.html | 6 +-
.../files/patch-docs:man:MailScanner.conf.5 | 70 +++++++++-
.../files/patch-docs:man:MailScanner.conf.5.html | 145 ++++++++++++++++++++-
mail/mailscanner/pkg-plist | 2 +
7 files changed, 219 insertions(+), 23 deletions(-)
(limited to 'mail/mailscanner')
diff --git a/mail/mailscanner/Makefile b/mail/mailscanner/Makefile
index 67bb444..0c8a684 100644
--- a/mail/mailscanner/Makefile
+++ b/mail/mailscanner/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= MailScanner
-PORTVERSION= 4.39.6
+PORTVERSION= 4.40.11
CATEGORIES= mail
MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL}
@@ -30,7 +30,8 @@ RUN_DEPENDS= ${BUILD_DEPENDS} \
${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2 \
${LOCALBASE}/bin/tnef:${PORTSDIR}/converters/tnef \
${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget \
- ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
+ ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \
+ ${LOCALBASE}/bin/unrar:${PORTSDIR}/archivers/unrar
CONFLICTS= MailScanner-devel-[0-9]*
@@ -84,7 +85,9 @@ do-build:
s,/opt/MailScanner/bin,${PREFIX}/bin,g; \
s,/opt/MailScanner/etc/reports,${DATADIR}/reports,g; \
s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g; \
- s,/opt/MailScanner/lib,${PREFIX}/lib/MailScanner,g;' \
+ s,/opt/MailScanner/lib,${PREFIX}/lib/MailScanner,g; \
+ s,/usr/bin/unrar,${LOCALBASE}/bin/unrar,g; \
+ s,/etc/mail/spamassassin,${LOCALBASE}/etc/mail/spamassassin,g;' \
${WRKSRC}/etc/MailScanner.conf
${PERL} -pi -e \
's,/opt/MailScanner/lib,${PREFIX}/libexec/MailScanner,g; \
diff --git a/mail/mailscanner/distinfo b/mail/mailscanner/distinfo
index 9668b02..2cd69b5 100644
--- a/mail/mailscanner/distinfo
+++ b/mail/mailscanner/distinfo
@@ -1,2 +1,2 @@
-MD5 (MailScanner-install-4.39.6-1.tar.gz) = efe4a1eec0b072febbb3d6037a65470d
-SIZE (MailScanner-install-4.39.6-1.tar.gz) = 4854418
+MD5 (MailScanner-install-4.40.11-1.tar.gz) = afcf9a62303becc81b9661cbde81862a
+SIZE (MailScanner-install-4.40.11-1.tar.gz) = 4888691
diff --git a/mail/mailscanner/files/patch-docs:man:MailScanner.8 b/mail/mailscanner/files/patch-docs:man:MailScanner.8
index a7eae9d..c1aa197 100644
--- a/mail/mailscanner/files/patch-docs:man:MailScanner.8
+++ b/mail/mailscanner/files/patch-docs:man:MailScanner.8
@@ -1,8 +1,8 @@
---- ../MailScanner-install-4.39.6.orig/docs/man/MailScanner.8 Mon Mar 14 23:05:12 2005
-+++ docs/man/MailScanner.8 Mon Mar 14 23:05:22 2005
+--- ../MailScanner-install-4.40.10.old/docs/man/MailScanner.8 Fri Apr 1 16:10:19 2005
++++ docs/man/MailScanner.8 Fri Apr 1 16:10:33 2005
@@ -1,4 +1,4 @@
-.TH "MailScanner" "8" "4.38.2" "Julian Field" "Mail"
-+.TH "MailScanner" "8" "4.39.6" "Julian Field" "Mail"
++.TH "MailScanner" "8" "4.40.10" "Julian Field" "Mail"
.SH "NAME"
.LP
MailScanner \- Virus/Spam Scanner for Sendmail, Exim and Postfix
diff --git a/mail/mailscanner/files/patch-docs:man:MailScanner.8.html b/mail/mailscanner/files/patch-docs:man:MailScanner.8.html
index 5a8ad2f..cf4b49d 100644
--- a/mail/mailscanner/files/patch-docs:man:MailScanner.8.html
+++ b/mail/mailscanner/files/patch-docs:man:MailScanner.8.html
@@ -1,9 +1,9 @@
---- ../MailScanner-install-4.39.6.orig/docs/man/MailScanner.8.html Mon Mar 14 23:05:12 2005
-+++ docs/man/MailScanner.8.html Mon Mar 14 23:05:25 2005
+--- ../MailScanner-install-4.40.10.old/docs/man/MailScanner.8.html Fri Apr 1 16:10:19 2005
++++ docs/man/MailScanner.8.html Fri Apr 1 16:10:35 2005
@@ -1,5 +1,5 @@
-
-+
++
diff --git a/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5 b/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5
index 0c780cd..a2c54e1 100644
--- a/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5
+++ b/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5
@@ -1,12 +1,70 @@
---- ../MailScanner-install-4.39.6.orig/docs/man/MailScanner.conf.5 Mon Mar 14 23:05:12 2005
-+++ docs/man/MailScanner.conf.5 Mon Mar 14 23:05:30 2005
+--- ../MailScanner-install-4.40.10.old/docs/man/MailScanner.conf.5 Fri Apr 1 16:10:19 2005
++++ docs/man/MailScanner.conf.5 Fri Apr 1 16:10:37 2005
@@ -1,4 +1,4 @@
-.TH "MailScanner.conf" "5" "4.38.2" "Julian Field" "Mail"
-+.TH "MailScanner.conf" "5" "4.39.6" "Julian Field" "Mail"
++.TH "MailScanner.conf" "5" "4.40.10" "Julian Field" "Mail"
.SH "NAME"
.LP
MailScanner.conf \- Main configuration for MailScanner
-@@ -562,6 +562,41 @@
+@@ -27,7 +27,9 @@
+ Many of the options can also be the filename of a ruleset, which can be used to control features depending on the addresses of the message, and/or the IP address where the message came from. You will find some examples of rulesets and an explanation of them in the "rules" directories within the MailScanner installation and in the section "RULESETS" later in this manpage.
+
+ .LP
+-The options are best listed in a few categories. This is also the order in which you will find them in the MailScanner.conf file. If this list looks very large then don't worry, the supplied MailScanner.conf file (or MailScanner.conf.sample) contains sensible defaults for all the values. You will probably only need to change a very few of them to start with.
++The options are best listed in a few categories. If this list looks very large then don't worry, the supplied MailScanner.conf file (or MailScanner.conf.sample) contains sensible defaults for all the values. You will probably only need to change a very few of them to start with.
++
++Starting with version 4.40.10 of MailScanner you can use shell environment variables such as $HOSTNAME or ${HOSTNAME} in MailScanner.conf and its relatives.
+
+ .LP
+ You should define the following variables:
+@@ -74,6 +76,22 @@
+ Enter a short identifying name for your organisation below, this is used to make the X\-MailScanner headers unique for your organisation. Multiple servers within one site should use an identical value here to avoid adding multiple redundant headers where mail has passed through several servers within your organisation.
+ .br
+ Note: Some Symantec scanners complain (incorrectly) about "." characters appearing in the names of headers.
++
++.TP
++\fB%org\-long\-name%\fR
++Default: Your Organisation Name Here
++.br
++
++.br
++Enter the full name of your organisation below, this is used in the signature placed at the bottom of report messages sent by MailScanner. It can include pretty much any text you like. You can make the result span several lines by including "\n" sequences in the text. These will be replaced by line\-breaks.
++
++.TP
++\fB%web\-site%\fR
++Default: www.your\-organisation.com
++.br
++
++.br
++Enter the location of your organisation's web site below. This is used in the signature placed at the bottom of report messages sent by MailScanner. It should preferably be the location of a page that you have written explaining why you might have rejected the mail and what the recipient and/or sender should do about it.
+ .SH "System Settings"
+ .TP
+ \fBMax Children\fR
+@@ -370,6 +388,23 @@
+ .br
+ The maximum length of time the "file" command is allowed to run for one batch of messages (in seconds).
+
++
++.TP
++\fBUnrar Command\fR
++Default: /usr/bin/unrar
++.br
++
++.br
++Where the "unrar" command is installed. If you haven't got this command, look at www.rarlab.com. This is used for unpacking rar archives so that the contents can be checked for banned filenames and filetypes, and also that the archive can be tested to see if it is password\-protected. Virus scanning the contents of rar archives is still left to the virus scanner, with one exception: If using the clavavmodule virus scanner, this adds external RAR checking to that scanner which is needed for archives which are RAR version 3.
++
++.TP
++\fBUnrar Timeout\fR
++Default: 50
++.br
++
++.br
++The maximum length of time the "unrar" command is allowed to run for 1 RAR archive (in seconds)
++
+ .TP
+ \fBBlock Encrypted Messages\fR
+ Default: no
+@@ -562,6 +597,41 @@
.br
ClamAVModule only: monitor each of these files for changes in size to detect when a ClamAV update has happened. This is only used by the "clamavmodule" virus scanner, not the "clamav" scanner setting.
@@ -48,7 +106,7 @@
.SH "Removing/Logging dangerous or potentially offensive content"
.TP
\fBAllow Partial Messages\fR
-@@ -601,6 +636,15 @@
+@@ -601,6 +671,15 @@
.TP
@@ -64,7 +122,7 @@
\fBAllow IFrame Tags\fR
Default: no
.br
-@@ -1753,6 +1797,12 @@
+@@ -1753,6 +1832,12 @@
.br
Log all occurrences of "Silent Viruses" as defined above? This can only be a simple yes/no value, not a ruleset.
diff --git a/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html b/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html
index 7e060b9..a5caf8a 100644
--- a/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html
+++ b/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html
@@ -1,13 +1,146 @@
---- ../MailScanner-install-4.39.6.orig/docs/man/MailScanner.conf.5.html Mon Mar 14 23:05:12 2005
-+++ docs/man/MailScanner.conf.5.html Mon Mar 14 23:05:33 2005
+--- ../MailScanner-install-4.40.10.old/docs/man/MailScanner.conf.5.html Fri Apr 1 16:10:19 2005
++++ docs/man/MailScanner.conf.5.html Fri Apr 1 16:10:40 2005
@@ -1,5 +1,5 @@
-
-+
++
-@@ -1638,6 +1638,90 @@
+@@ -120,13 +120,15 @@
+ directories within the MailScanner installation and in the
+ section "RULESETS" later in this manpage.
+
+-The options are best listed in a few categories. This is
+-also the order in which you will find them in the
+-MailScanner.conf file. If this list looks very large then
+-don’t worry, the supplied MailScanner.conf file (or
+-MailScanner.conf.sample) contains sensible defaults for all
+-the values. You will probably only need to change a very few
+-of them to start with.
++The options are best listed in a few categories. If this
++list looks very large then don’t worry, the supplied
++MailScanner.conf file (or MailScanner.conf.sample) contains
++sensible defaults for all the values. You will probably only
++need to change a very few of them to start with.
++
++Starting with version 4.40.10 of MailScanner you can use
++shell environment variables such as $HOSTNAME or ${HOSTNAME}
++in MailScanner.conf and its relatives.
+
+ You should define the following variables:
+
+@@ -220,6 +222,54 @@
+ headers.
+
+
++
++
++
++ |
++
++ %org−long−name% |
++
++
++
++
++ |
++
++ Default: Your Organisation Name Here
++
++Enter the full name of your organisation below, this is
++used in the signature placed at the bottom of report
++messages sent by MailScanner. It can include pretty much any
++text you like. You can make the result span several lines by
++including "0 sequences in the text. These will be
++replaced by line−breaks.
++ |
++
++
++
++
++
++
++ |
++
++ Default: www.your−organisation.com
++
++Enter the location of your organisation’s web site
++below. This is used in the signature placed at the bottom of
++report messages sent by MailScanner. It should preferably be
++the location of a page that you have written explaining why
++you might have rejected the mail and what the recipient
++and/or sender should do about it.
++ |
++
+
+ System Settings
+
+@@ -1071,6 +1121,54 @@
+
+ |
+
++ Unrar Command |
++
++
++
++
++ |
++
++ Default: /usr/bin/unrar
++
++Where the "unrar" command is installed. If you
++haven’t got this command, look at www.rarlab.com. This
++is used for unpacking rar archives so that the contents can
++be checked for banned filenames and filetypes, and also that
++the archive can be tested to see if it is
++password−protected. Virus scanning the contents of rar
++archives is still left to the virus scanner, with one
++exception: If using the clavavmodule virus scanner, this
++adds external RAR checking to that scanner which is needed
++for archives which are RAR version 3.
++ |
++
++
++
++
++ |
++
++ Unrar Timeout |
++
++
++
++
++ |
++
++ Default: 50
++
++The maximum length of time the "unrar" command
++is allowed to run for 1 RAR archive (in seconds)
++ |
++
++
++
++
++ |
++
+ Block Encrypted Messages |
+
+
+@@ -1638,6 +1736,90 @@
scanner, not the "clamav" scanner setting.
@@ -98,7 +231,7 @@
Removing/Logging dangerous or potentially offensive content
-@@ -1761,6 +1845,33 @@
+@@ -1761,6 +1943,33 @@
|
@@ -132,7 +265,7 @@
Allow IFrame Tags |
-@@ -5122,6 +5233,28 @@
+@@ -5122,6 +5331,28 @@
Log all occurrences of "Silent Viruses" as
defined above? This can only be a simple yes/no value, not a
ruleset.
diff --git a/mail/mailscanner/pkg-plist b/mail/mailscanner/pkg-plist
index 16fd93c..fa6d6350 100644
--- a/mail/mailscanner/pkg-plist
+++ b/mail/mailscanner/pkg-plist
@@ -20,6 +20,7 @@ lib/MailScanner/MailScanner/ConfigDefs.pl
lib/MailScanner/MailScanner/CustomConfig.pm
lib/MailScanner/MailScanner/CustomFunctions/MyExample.pm
lib/MailScanner/MailScanner/CustomFunctions/DavidHooton.pm
+lib/MailScanner/MailScanner/CustomFunctions/ZMRouterDirHash.pm
lib/MailScanner/MailScanner/Exim.pm
lib/MailScanner/MailScanner/EximDiskStore.pm
lib/MailScanner/MailScanner/Lock.pm
@@ -524,6 +525,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%PORTDOCS%%%%DOCSDIR%%/oldnews.shtml
%%PORTDOCS%%%%DOCSDIR%%/osdir.png
%%PORTDOCS%%%%DOCSDIR%%/performance.shtml
+%%PORTDOCS%%%%DOCSDIR%%/phishing3.png
%%PORTDOCS%%%%DOCSDIR%%/poetry.shtml
%%PORTDOCS%%%%DOCSDIR%%/poweredby.google.gif
%%PORTDOCS%%%%DOCSDIR%%/poweredby.transtec.gif
--
cgit v1.1