summaryrefslogtreecommitdiffstats
path: root/mail/mailscanner-devel
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2004-03-31 15:57:12 +0000
committerglewis <glewis@FreeBSD.org>2004-03-31 15:57:12 +0000
commit4e50a8784ac80c3326e46109693f3a873f6db216 (patch)
treebef0df58c557c6264eaacf69f38b55f6423e27c0 /mail/mailscanner-devel
parent712e5032d63428b42b74f8074f8de57c49843a4f (diff)
downloadFreeBSD-ports-4e50a8784ac80c3326e46109693f3a873f6db216.zip
FreeBSD-ports-4e50a8784ac80c3326e46109693f3a873f6db216.tar.gz
. Update to 4.29.5.
PR: 64618 Submitted by: Jan-Peter Koopmann <j.koopmann@seceidos.de> (maintainer)
Diffstat (limited to 'mail/mailscanner-devel')
-rw-r--r--mail/mailscanner-devel/Makefile7
-rw-r--r--mail/mailscanner-devel/distinfo4
-rw-r--r--mail/mailscanner-devel/files/patch-docs:man:MailScanner.86
-rw-r--r--mail/mailscanner-devel/files/patch-docs:man:MailScanner.8.html9
-rw-r--r--mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.523
-rw-r--r--mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5.html43
-rw-r--r--mail/mailscanner-devel/pkg-plist3
7 files changed, 85 insertions, 10 deletions
diff --git a/mail/mailscanner-devel/Makefile b/mail/mailscanner-devel/Makefile
index 4c185a8..10bccd0 100644
--- a/mail/mailscanner-devel/Makefile
+++ b/mail/mailscanner-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= MailScanner
-PORTVERSION= 4.29.2
+PORTVERSION= 4.29.5
CATEGORIES= mail
MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
PKGNAMESUFFIX= -devel
@@ -24,6 +24,7 @@ BUILD_DEPENDS= \
${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools \
${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
+ ${SITE_PERL}/Convert/BinHex.pm:${PORTSDIR}/converters/p5-Convert-BinHex \
${SITE_PERL}/Net/CIDR.pm:${PORTSDIR}/net-mgmt/p5-Net-CIDR \
${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
@@ -75,7 +76,8 @@ do-build:
s,/usr/lib/sendmail,/usr/sbin/sendmail,g; \
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/etc,${PREFIX}/etc/MailScanner,g; \
+ s,/opt/MailScanner/lib,${PREFIX}/lib/MailScanner,g;' \
${WRKSRC}/etc/MailScanner.conf
${PERL} -pi -e \
's,/opt/MailScanner/lib,${PREFIX}/libexec/MailScanner,g; \
@@ -148,6 +150,7 @@ do-install:
# Step 4: Install lib
#
${MKDIR} ${PREFIX}/lib/MailScanner/MailScanner
+ ${MKDIR} ${PREFIX}/lib/MailScanner/MailScanner/CustomFunctions
${INSTALL_SCRIPT} ${WRKSRC}/lib/MailScanner.pm \
${PREFIX}/lib/MailScanner/MailScanner.pm
cd ${WRKSRC}/lib/MailScanner && ${FIND} * -type f ! -name "*.orig" -exec \
diff --git a/mail/mailscanner-devel/distinfo b/mail/mailscanner-devel/distinfo
index cb9d33f..f0e452c 100644
--- a/mail/mailscanner-devel/distinfo
+++ b/mail/mailscanner-devel/distinfo
@@ -1,2 +1,2 @@
-MD5 (MailScanner-4.29.2-1.tar.gz) = e10decebce84808c83394cecf16a0b3a
-SIZE (MailScanner-4.29.2-1.tar.gz) = 972551
+MD5 (MailScanner-4.29.5-1.tar.gz) = 44cb5971ce7611be52a95b919385da90
+SIZE (MailScanner-4.29.5-1.tar.gz) = 978263
diff --git a/mail/mailscanner-devel/files/patch-docs:man:MailScanner.8 b/mail/mailscanner-devel/files/patch-docs:man:MailScanner.8
index f07568f..6c5f4b3 100644
--- a/mail/mailscanner-devel/files/patch-docs:man:MailScanner.8
+++ b/mail/mailscanner-devel/files/patch-docs:man:MailScanner.8
@@ -1,8 +1,8 @@
---- ../MailScanner-4.29.2.orig/docs/man/MailScanner.8 Thu Mar 18 13:51:47 2004
-+++ docs/man/MailScanner.8 Thu Mar 18 13:53:42 2004
+--- ../MailScanner-4.29.5.orig/docs/man/MailScanner.8 Tue Mar 23 14:41:54 2004
++++ docs/man/MailScanner.8 Tue Mar 23 14:42:11 2004
@@ -1,4 +1,4 @@
-.TH "MailScanner" "8" "4.28.5" "Julian Field" "Mail"
-+.TH "MailScanner" "8" "4.28.6" "Julian Field" "Mail"
++.TH "MailScanner" "8" "4.29.5" "Julian Field" "Mail"
.SH "NAME"
.LP
MailScanner \- Virus/Spam Scanner for Sendmail, Exim and Postfix
diff --git a/mail/mailscanner-devel/files/patch-docs:man:MailScanner.8.html b/mail/mailscanner-devel/files/patch-docs:man:MailScanner.8.html
new file mode 100644
index 0000000..02c1da5
--- /dev/null
+++ b/mail/mailscanner-devel/files/patch-docs:man:MailScanner.8.html
@@ -0,0 +1,9 @@
+--- ../MailScanner-4.29.5.orig/docs/man/MailScanner.8.html Tue Mar 23 14:41:54 2004
++++ docs/man/MailScanner.8.html Tue Mar 23 14:42:14 2004
+@@ -1,5 +1,5 @@
+ <!-- Creator : groff version 1.19 -->
+-<!-- CreationDate: Mon Mar 8 10:33:07 2004 -->
++<!-- CreationDate: Tue Mar 23 14:41:26 2004 -->
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+ <html>
diff --git a/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5 b/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5
index 6781288..270f2fd 100644
--- a/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5
+++ b/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5
@@ -1,8 +1,25 @@
---- ../MailScanner-4.29.2.orig/docs/man/MailScanner.conf.5 Thu Mar 18 13:51:47 2004
-+++ docs/man/MailScanner.conf.5 Thu Mar 18 13:53:42 2004
+--- ../MailScanner-4.29.5.orig/docs/man/MailScanner.conf.5 Tue Mar 23 14:41:54 2004
++++ docs/man/MailScanner.conf.5 Tue Mar 23 14:42:19 2004
@@ -1,4 +1,4 @@
-.TH "MailScanner.conf" "5" "4.28.5" "Julian Field" "Mail"
-+.TH "MailScanner.conf" "5" "4.28.6" "Julian Field" "Mail"
++.TH "MailScanner.conf" "5" "4.29.5" "Julian Field" "Mail"
.SH "NAME"
.LP
MailScanner.conf \- Main configuration for MailScanner
+@@ -1739,6 +1739,16 @@
+
+ .br
+ This is the directory in which lock files are placed to stop the virus scanners used while they are in the middle of updating themselves with new virus definitions. If you change this at all, you will need to edit the "autoupdate" scripts for all your virus scanners.
++
++.TP
++\fBCustom Functions Dir\fR
++Default: /opt/MailScanner/lib/MailScanner/CustomFunctions
++.br
++Default FreeBSD: /usr/local/lib/MailScanner/MailScanner/CustomFunctions
++.br
++
++.br
++Where to put the code for your "Custom Functions". No code in this directory should be over\-written by the installation or upgrade process. All files starting with "." or ending with ".rpmnew" will be ignored, all other files will be compiled and may be used with Custom Functions.
+
+ .TP
+ \fBLock Type\fR
diff --git a/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5.html b/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5.html
new file mode 100644
index 0000000..d610106
--- /dev/null
+++ b/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5.html
@@ -0,0 +1,43 @@
+--- ../MailScanner-4.29.5.orig/docs/man/MailScanner.conf.5.html Tue Mar 23 14:41:54 2004
++++ docs/man/MailScanner.conf.5.html Tue Mar 23 14:42:22 2004
+@@ -1,5 +1,5 @@
+ <!-- Creator : groff version 1.19 -->
+-<!-- CreationDate: Mon Mar 8 10:33:06 2004 -->
++<!-- CreationDate: Tue Mar 23 14:41:26 2004 -->
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+ <html>
+@@ -4701,6 +4701,33 @@
+ change this at all, you will need to edit the
+ &quot;autoupdate&quot; scripts for all your virus
+ scanners.</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>Custom Functions Dir</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:
++/opt/MailScanner/lib/MailScanner/CustomFunctions<br>
++Default FreeBSD:
++/usr/local/lib/MailScanner/MailScanner/CustomFunctions</p>
++<!-- INDENTATION -->
++<p>Where to put the code for your &quot;Custom
++Functions&quot;. No code in this directory should be
++over&minus;written by the installation or upgrade process.
++All files starting with &quot;.&quot; or ending with
++&quot;.rpmnew&quot; will be ignored, all other files will be
++compiled and may be used with Custom Functions.</p>
+ </td>
+ </table>
+ <!-- INDENTATION -->
diff --git a/mail/mailscanner-devel/pkg-plist b/mail/mailscanner-devel/pkg-plist
index e15ad08..aeef33a 100644
--- a/mail/mailscanner-devel/pkg-plist
+++ b/mail/mailscanner-devel/pkg-plist
@@ -11,6 +11,7 @@ etc/MailScanner/virus.scanners.conf.sample
etc/rc.d/mailscanner.sh.sample
etc/rc.d/mta.sh.sample
lib/MailScanner/MailScanner.pm
+lib/MailScanner/MailScanner/BinHex.pm
lib/MailScanner/MailScanner/Config.pm
lib/MailScanner/MailScanner/ConfigDefs.pl
lib/MailScanner/MailScanner/CustomConfig.pm
@@ -42,6 +43,7 @@ lib/MailScanner/MailScanner/WorkArea.pm
lib/MailScanner/MailScanner/ZMDiskStore.pm
lib/MailScanner/MailScanner/ZMailer.pm
lib/MailScanner/MailScanner/notes.txt
+lib/MailScanner/MailScanner/CustomFunctions/MyExample.pm
libexec/MailScanner/MailScanner
libexec/MailScanner/antivir-autoupdate.sample
libexec/MailScanner/antivir-wrapper.sample
@@ -538,6 +540,7 @@ libexec/MailScanner/update_virus_scanners
@dirrm %%DATADIR%%/reports
@dirrm %%DATADIR%%
@dirrm libexec/MailScanner
+@dirrm lib/MailScanner/MailScanner/CustomFunctions
@dirrm lib/MailScanner/MailScanner
@dirrm lib/MailScanner
@dirrm etc/MailScanner/rules
OpenPOWER on IntegriCloud