mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix mktemp use (GNUism optional -t part for directory)
PR: ports/167000 Submitted by: Kevin Kobb <kkobb@skylinecorp.com> (maintainer)
This commit is contained in:
parent
a3cbe0fb5c
commit
76be0c45c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294991
2 changed files with 20 additions and 4 deletions
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
================
|
||||
|
|
Loading…
Add table
Reference in a new issue