aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-04-18 07:30:16 +0000
committerChris Rees <crees@FreeBSD.org>2012-04-18 07:30:16 +0000
commit76be0c45c6d76c5eff702051f078bc89bcc119b9 (patch)
tree6658076e71f8e240e5d779837fd1612371770a96 /mail
parenta3cbe0fb5cff0ea1ebb5f7d723562075516b8427 (diff)
downloadports-76be0c45c6d76c5eff702051f078bc89bcc119b9.tar.gz
ports-76be0c45c6d76c5eff702051f078bc89bcc119b9.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/mailscanner/Makefile12
-rw-r--r--mail/mailscanner/files/CHANGES.port12
2 files changed, 20 insertions, 4 deletions
diff --git a/mail/mailscanner/Makefile b/mail/mailscanner/Makefile
index 4c64cb6d46e9..5ff60c1f85b4 100644
--- a/mail/mailscanner/Makefile
+++ b/mail/mailscanner/Makefile
@@ -7,7 +7,7 @@
PORTNAME= MailScanner
PORTVERSION= 4.84.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://www.mailscanner.info/files/4/tar/
DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL}
@@ -135,6 +135,14 @@ post-extract:
perl-tar/MailScanner-${PORTVERSION}-${PATCHLEVEL}.tar.gz \
&& ${MV} MailScanner-${PORTVERSION}-${PATCHLEVEL}/* .
+post-patch:
+ ${REINPLACE_CMD} -e 's,\$$(mktemp),$$(mktemp -t tmp),' \
+ ${WRKSRC}/lib/clamav-wrapper \
+ ${WRKSRC}/lib/trend-autoupdate \
+ ${WRKSRC}/lib/bitdefender-wrapper \
+ ${WRKSRC}/lib/kaspersky-wrapper \
+ ${WRKSRC}/bin/Sophos.install
+
do-build:
@${REINPLACE_CMD} \
-e 's,/bin/bash,${LOCALBASE}/bin/bash,g' \
@@ -150,7 +158,7 @@ do-build:
-e 's,/usr/bin/clamscan,${LOCALBASE}/bin/clamscan,g' \
-e 's,/usr/bin/sa-compile,${LOCALBASE}/bin/sa-compile,g' \
-e 's,/usr/bin/sa-update,${LOCALBASE}/bin/sa-update,g' \
- -e 's,/usr/bin/unzip,${LOCALBASE}/bin/unzip,g' \
+ -e 's,/usr/bin/unzip,${UNZIP_CMD},g' \
-e 's,/usr/bin/wget,${LOCALBASE}/bin/wget,g' \
-e 's,/usr/lib/sendmail,/usr/sbin/sendmail,g' \
${WRKSRC}/bin/MailScanner \
diff --git a/mail/mailscanner/files/CHANGES.port b/mail/mailscanner/files/CHANGES.port
index d4a18fbc655f..2613fa18af80 100644
--- a/mail/mailscanner/files/CHANGES.port
+++ b/mail/mailscanner/files/CHANGES.port
@@ -1,3 +1,11 @@
+Version 4.84.5_3
+================
+- Added FreeBSD required mktemp options
+
+Version 4.84.5_2
+================
+- Fixed creation of mailscanner.cf symlink
+
Version 4.84.5_1
================
- Added patch for TNEF.pm bug
@@ -57,8 +65,8 @@ Version 4.61.7
==============
- Upgrade to 4.61.7
- Attention: update_spamassassin and update_spamassassin.cron are rewritten to fit
- FreeBSD. Untestet. If you are using non-standard directories or FreeBSD < 6 you will
- have to tweck update_spamassassin.
+ FreeBSD. Untested. If you are using non-standard directories or FreeBSD < 6 you will
+ have to check update_spamassassin.
Version 4.60.8_2
================