diff options
author | johans <johans@FreeBSD.org> | 2006-04-13 21:27:23 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2006-04-13 21:27:23 +0800 |
commit | f5495c38e850c44f811a20a311002d9c6da1821a (patch) | |
tree | 4cfd7649d3a4271a36f3e7af10e63d1755a30cd2 /mail/mailscanner | |
parent | 0f36293a2b7033b617ac7f594c0f17a3b1f5b346 (diff) | |
download | freebsd-ports-gnome-f5495c38e850c44f811a20a311002d9c6da1821a.tar.gz freebsd-ports-gnome-f5495c38e850c44f811a20a311002d9c6da1821a.tar.zst freebsd-ports-gnome-f5495c38e850c44f811a20a311002d9c6da1821a.zip |
- Update to version 4.51.5
PR: ports/94144
Submitted by: Jan-Peter Koopman (maintainer)
Approved by: flz (mentor)
Diffstat (limited to 'mail/mailscanner')
-rw-r--r-- | mail/mailscanner/Makefile | 3 | ||||
-rw-r--r-- | mail/mailscanner/distinfo | 4 | ||||
-rw-r--r-- | mail/mailscanner/files/CHANGES.port | 7 | ||||
-rw-r--r-- | mail/mailscanner/files/mta.sh.in | 22 | ||||
-rw-r--r-- | mail/mailscanner/files/patch-docs:man:MailScanner.conf.5 | 41 | ||||
-rw-r--r-- | mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html | 79 |
6 files changed, 137 insertions, 19 deletions
diff --git a/mail/mailscanner/Makefile b/mail/mailscanner/Makefile index 047ac6618ecb..3c9d1fa5c7d9 100644 --- a/mail/mailscanner/Makefile +++ b/mail/mailscanner/Makefile @@ -6,8 +6,7 @@ # PORTNAME= MailScanner -PORTVERSION= 4.50.15 -PORTREVISION= 1 +PORTVERSION= 4.51.5 CATEGORIES= mail MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/ DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL} diff --git a/mail/mailscanner/distinfo b/mail/mailscanner/distinfo index c7172e6ca23f..8b65067cdeb6 100644 --- a/mail/mailscanner/distinfo +++ b/mail/mailscanner/distinfo @@ -1,2 +1,2 @@ -MD5 (MailScanner-install-4.50.15-1.tar.gz) = ae3e66568abf465b8a5a34db7011d72b -SIZE (MailScanner-install-4.50.15-1.tar.gz) = 6542222 +MD5 (MailScanner-install-4.51.5-1.tar.gz) = 9d8d732aa73fdc75bf86510891dc1669 +SIZE (MailScanner-install-4.51.5-1.tar.gz) = 6544488 diff --git a/mail/mailscanner/files/CHANGES.port b/mail/mailscanner/files/CHANGES.port index abc51fca8f3d..5afef633acad 100644 --- a/mail/mailscanner/files/CHANGES.port +++ b/mail/mailscanner/files/CHANGES.port @@ -1,3 +1,10 @@ + +Version 4.51.5 +================= +- Some changes in FreeBSD 6.1 resulted in problems in the mta.sh script. + Fixed. +- Upgrade to MailScanenr 4.51 + Version 4.50.15_1 ================= - The MailScanner binary is now put into /usr/local/sbin allowing for diff --git a/mail/mailscanner/files/mta.sh.in b/mail/mailscanner/files/mta.sh.in index aff193ac930a..106cbea52232 100644 --- a/mail/mailscanner/files/mta.sh.in +++ b/mail/mailscanner/files/mta.sh.in @@ -22,6 +22,9 @@ # mta_pidfile (str): PID file, defaults depending on $mta_type either # to "/var/run/sendmail.pid" or "/var/run/exim.pid" # +# +# ATTENTION: All of the above entries are necessary in order for mta.sh to work correctly! +# # # Examples: @@ -45,17 +48,30 @@ # mta_profiles="incoming outgoing submitqueue" # mta_incoming_flags="-L sm-mta-in -bd -OPrivacyOptions=noetrn -OQueueDirectory=/var/spool/mqueue.in -ODeliveryMode=queueonly" # mta_incoming_pidfile="/var/run/sendmail_in.pid" +# mta_incoming_configfile="/etc/mail/sendmail.cf" # mta_outgoing_flags="-L sm-mta-out -q15m" # mta_outgoing_pidfile="/var/run/sendmail_out.pid" +# mta_outgoing_configfile="/etc/mail/sendmail.cf" # mta_submitqueue_flags="-L sm-msp-queue -Ac -q15m" # mta_submitqueue_pidfile="/var/spool/clientmqueue/sm-client.pid" -# +# mta_submitqueue_configfile="/etc/mail/submit.cf" + +PATH=$PATH:/sbin:/usr/sbin; export PATH . %%RC_SUBR%% name="mta" rcvar=`set_rcvar` +_mta_rc_script="%%PREFIX%%/etc/rc.d/mta" +_mta_osversion="`sysctl -n kern.osreldate`" +if [ \( "$_mta_osversion" -lt "600101" \) -o \ + \( \( $_mta_osversion -ge 700000 \) -a \ + \( $_mta_osversion -lt 700007 \) \) ] +then + $_mta_rc_script="{$_mta_rc_script}.sh" +fi + load_rc_config $name : ${mta_enable="NO"} @@ -102,13 +118,13 @@ if [ -n "${2}" -o -n "$profile" ]; then eval mta_pidfile=\${mta_${profile}_pidfile:-${mta_pidfile}} pidfile="${_pidprefix}.${profile}.pid" else - echo "$0: extra argument ignored" + echo "$_mta_rc_script: extra argument ignored" fi else if [ "x${mta_profiles}" != "x" ]; then for profile in ${mta_profiles}; do echo "===> mta profile: ${profile}" - $0 $1 $profile + $_mta_rc_script $1 $profile retcode=$? if [ "$?" -ne 0 ]; then failed="${profile} ({$retcode}) ${failed}" diff --git a/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5 b/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5 index 252fb3a2a368..2ec42acc3f5e 100644 --- a/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5 +++ b/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5 @@ -1,12 +1,35 @@ ---- ../MailScanner-install-4.50.15.orig/docs/man/MailScanner.conf.5 Tue Feb 7 13:45:33 2006 -+++ docs/man/MailScanner.conf.5 Tue Feb 7 13:58:52 2006 +--- ../MailScanner-install-4.51.5.orig/docs/man/MailScanner.conf.5 Mon Mar 6 19:05:04 2006 ++++ docs/man/MailScanner.conf.5 Mon Mar 6 19:05:25 2006 @@ -1,4 +1,4 @@ -.TH "MailScanner.conf" "5" "4.50.1" "Julian Field" "Mail" -+.TH "MailScanner.conf" "5" "4.50.15" "Julian Field" "Mail" ++.TH "MailScanner.conf" "5" "4.51.5" "Julian Field" "Mail" .SH "NAME" .LP MailScanner.conf \- Main configuration for MailScanner -@@ -423,6 +423,12 @@ +@@ -364,6 +364,22 @@ + Should we use a TNEF decoder (external or Perl module)? This should be "yes" unless the scanner you are using (Sophos, McAfee) has the facility built\-in. However, if you set it to "no", then the filenames within the TNEF attachment will not be checked against the filename rules. + + .TP ++\fBUse TNEF Contents\fR ++Default: replace ++.br ++When the TNEF (winmail.dat) attachments are expanded, should the attachments contained in there be added to the list of attachments in the message? If you set this to "add" or "replace" then recipients of messages sent in "Outlook Rich Text Format" (TNEF) will be able to read the attachments if they are not using Microsoft Outlook. ++.br ++.RS 7 ++.IP \(bu 4 ++no: Leave winmail.dat TNEF attachments alone. ++.IP \(bu 4 ++add: Add the contents of winmail.dat as extra attachments, but also still include the winmail.dat file itself. This will result in TNEF messages being doubled in size. ++.IP \(bu 4 ++replace: Replace the winmail.dat TNEF attachment with the files it contains, and delete the original winmail.dat file itself. This means the message stays the same size, but is usable by non\-Outlook recipients. ++.RE ++ ++ ++.TP + \fBDeliver Unparsable TNEF\fR + Default: no + .br +@@ -423,6 +439,12 @@ The maximum length of time the "unrar" command is allowed to run for 1 RAR archive (in seconds) .TP @@ -19,7 +42,7 @@ \fBBlock Encrypted Messages\fR Default: no .br -@@ -521,7 +527,7 @@ +@@ -521,7 +543,7 @@ .SH "Virus scanning and vulnerability testing" .TP \fBVirus Scanning\fR @@ -28,7 +51,7 @@ .br .br -@@ -529,7 +535,7 @@ +@@ -529,7 +551,7 @@ .br NOTE: Switching this to no completely disables all virus\-scanning functionality. If you just want to switch of actual virus scanning, then set "Virus Scanners = none" instead. .br @@ -37,7 +60,7 @@ .TP \fBVirus Scanners\fR -@@ -1682,7 +1688,7 @@ +@@ -1682,7 +1704,7 @@ .SH "SpamAssassin" .TP \fBUse SpamAssassin\fR @@ -46,7 +69,7 @@ .br .br -@@ -2113,6 +2119,22 @@ +@@ -2113,6 +2135,22 @@ .RE .TP @@ -69,7 +92,7 @@ \fBDebug\fR Default: no .br -@@ -2167,6 +2189,15 @@ +@@ -2167,6 +2205,15 @@ .br The value of the option is actually never used, but it is evaluated at the end of processing a batch of messages. It is designed to be used in conjunction with a Custom Function. The Custom Function should then be written to have a "side effect" of doing something useful such as logging lots of information about the batch of messages to a file or an SQL database. 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 6b40d94a2f0d..1112ea4f857c 100644 --- a/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html +++ b/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html @@ -1,6 +1,6 @@ --- ../MailScanner-install-4.50.15.orig/docs/man/MailScanner.conf.5.html Tue Feb 7 13:45:34 2006 +++ docs/man/MailScanner.conf.5.html Tue Feb 7 13:58:55 2006 -@@ -1,7013 +1,7099 @@ +@@ -1,7013 +1,7172 @@ -<!-- Creator : groff version 1.19 -->
-<!-- CreationDate: Wed Jan 4 14:36:14 2006 -->
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
@@ -7015,7 +7015,7 @@ -</body>
-</html>
+<!-- Creator : groff version 1.19 --> -+<!-- CreationDate: Tue Feb 7 13:58:30 2006 --> ++<!-- CreationDate: Mon Mar 6 19:04:33 2006 --> +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/html4/loose.dtd"> +<html> @@ -8080,6 +8080,73 @@ +<tr valign="top" align="left"> +<td width="11%"></td> +<td width="89%"> ++<p><b>Use TNEF Contents</b></p></td> ++</table> ++<!-- INDENTATION --> ++<table width="100%" border=0 rules="none" frame="void" ++ cols="2" cellspacing="0" cellpadding="0"> ++<tr valign="top" align="left"> ++<td width="22%"></td> ++<td width="78%"> ++<p>Default: replace<br> ++When the TNEF (winmail.dat) attachments are expanded, should ++the attachments contained in there be added to the list of ++attachments in the message? If you set this to ++"add" or "replace" then recipients of ++messages sent in "Outlook Rich Text Format" (TNEF) ++will be able to read the attachments if they are not using ++Microsoft Outlook.</p> ++</td> ++</table> ++<!-- TABS --> ++<table width="100%" border=0 rules="none" frame="void" ++ cols="4" cellspacing="0" cellpadding="0"> ++<tr valign="top" align="left"> ++<td width="22%"></td> ++<td width="1%"> ++ ++<p>•</p> ++</td> ++<td width="5%"></td> ++<td width="72%"> ++ ++<p>no: Leave winmail.dat TNEF attachments alone.</p> ++</td> ++<tr valign="top" align="left"> ++<td width="22%"></td> ++<td width="1%"> ++ ++<p>•</p> ++</td> ++<td width="5%"></td> ++<td width="72%"> ++ ++<p>add: Add the contents of winmail.dat as extra ++attachments, but also still include the winmail.dat file ++itself. This will result in TNEF messages being doubled in ++size.</p> ++</td> ++<tr valign="top" align="left"> ++<td width="22%"></td> ++<td width="1%"> ++ ++<p>•</p> ++</td> ++<td width="5%"></td> ++<td width="72%"> ++ ++<p>replace: Replace the winmail.dat TNEF attachment with ++the files it contains, and delete the original winmail.dat ++file itself. This means the message stays the same size, but ++is usable by non−Outlook recipients.</p> ++</td> ++</table> ++<!-- INDENTATION --> ++<table width="100%" border=0 rules="none" frame="void" ++ cols="2" cellspacing="0" cellpadding="0"> ++<tr valign="top" align="left"> ++<td width="11%"></td> ++<td width="89%"> +<p><b>Deliver Unparsable TNEF</b></p></td> +</table> +<!-- INDENTATION --> @@ -8088,8 +8155,14 @@ +<tr valign="top" align="left"> +<td width="22%"></td> +<td width="78%"> -+<p>Default: no</p> ++<p>Default: no</p></td> ++</table> +<!-- INDENTATION --> ++<table width="100%" border=0 rules="none" frame="void" ++ cols="2" cellspacing="0" cellpadding="0"> ++<tr valign="top" align="left"> ++<td width="28%"></td> ++<td width="72%"> +<p>Rich Text format attachments produced by some versions of +Microsoft Outlook cannot be completely decoded at present. +Setting this option to yes allows compatibility with the |