diff options
author | crees <crees@FreeBSD.org> | 2012-04-18 15:30:16 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2012-04-18 15:30:16 +0800 |
commit | 61eb36ab91bb7684400570174ad906397645fd5b (patch) | |
tree | 8f7e81dfa96f416b3be9619424b10f3b5bb9a4d0 /mail/mailscanner | |
parent | b7b2d9ce83190083f0a2581d7bcfee83c26766cf (diff) | |
download | freebsd-ports-gnome-61eb36ab91bb7684400570174ad906397645fd5b.tar.gz freebsd-ports-gnome-61eb36ab91bb7684400570174ad906397645fd5b.tar.zst freebsd-ports-gnome-61eb36ab91bb7684400570174ad906397645fd5b.zip |
Fix mktemp use (GNUism optional -t part for directory)
PR: ports/167000
Submitted by: Kevin Kobb <kkobb@skylinecorp.com> (maintainer)
Diffstat (limited to 'mail/mailscanner')
-rw-r--r-- | mail/mailscanner/Makefile | 12 | ||||
-rw-r--r-- | mail/mailscanner/files/CHANGES.port | 12 |
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 ================ |