From 302764b2fef7e3eb9280ed6620cae78179bbf009 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Sat, 4 Jul 2009 12:38:23 +0000 Subject: Fix maildrop version detection Reported by: pav, erwin Approved by: lippe --- mail/qmail-scanner/files/patch-configure | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'mail/qmail-scanner') 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<