diff options
author | garga <garga@FreeBSD.org> | 2009-07-04 20:38:23 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2009-07-04 20:38:23 +0800 |
commit | a7edbaaba5e877c7b786b7d97c9b5ec78d8d702e (patch) | |
tree | efad352569439ad610c4f1220a3d0e7ee7dabcde /mail/qmail-scanner | |
parent | d7c1b2d8de6b7fa7ce5891289a033321bad77baf (diff) | |
download | freebsd-ports-gnome-a7edbaaba5e877c7b786b7d97c9b5ec78d8d702e.tar.gz freebsd-ports-gnome-a7edbaaba5e877c7b786b7d97c9b5ec78d8d702e.tar.zst freebsd-ports-gnome-a7edbaaba5e877c7b786b7d97c9b5ec78d8d702e.zip |
Fix maildrop version detection
Reported by: pav, erwin
Approved by: lippe
Diffstat (limited to 'mail/qmail-scanner')
-rw-r--r-- | mail/qmail-scanner/files/patch-configure | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/mail/qmail-scanner/files/patch-configure b/mail/qmail-scanner/files/patch-configure index ca893218013a..29cddeb0f2ca 100644 --- a/mail/qmail-scanner/files/patch-configure +++ b/mail/qmail-scanner/files/patch-configure @@ -1,5 +1,5 @@ ---- configure.old Tue Aug 14 13:03:10 2007 -+++ configure Tue Aug 14 13:04:29 2007 +--- configure.orig 2006-04-04 21:37:03.000000000 +0000 ++++ configure 2009-07-04 12:37:16.225280000 +0000 @@ -1,13 +1,6 @@ #!/bin/sh # @@ -23,3 +23,12 @@ QMAILDIR="/var/qmail" BINDIR="$QMAILDIR/bin" +@@ -1276,7 +1269,7 @@ + if [ "$MIME_UNPACKER" = "reformime" ]; then + #Check version of maildrop to ensure it's not the buggy version + +-DD="`$MAILDROP_BINARY -v 2>&1|grep '^maildrop'|grep '1\.0'`" ++DD="`$MAILDROP_BINARY -v 2>&1|grep '^maildrop 1\.0'`" + if [ "$DD" != "" ]; then + cat<<EOF + |