diff options
Diffstat (limited to 'security/amavis-perl/files')
-rw-r--r-- | security/amavis-perl/files/patch-aa | 38 | ||||
-rw-r--r-- | security/amavis-perl/files/patch-ab | 20 |
2 files changed, 58 insertions, 0 deletions
diff --git a/security/amavis-perl/files/patch-aa b/security/amavis-perl/files/patch-aa new file mode 100644 index 000000000000..ccd5ec38dc72 --- /dev/null +++ b/security/amavis-perl/files/patch-aa @@ -0,0 +1,38 @@ +--- configure.orig Thu Dec 7 19:04:06 2000 ++++ configure Sun Dec 31 15:22:09 2000 +@@ -1109,16 +1109,16 @@ + { echo "configure: error: Sorry, you need the "file" command" 1>&2; exit 1; } + fi + +-echo $ac_n "checking if file can be brief""... $ac_c" 1>&6 +-echo "configure:1114: checking if file can be brief" >&5 +-$file -b /bin/sh > /dev/null 2>&1 +-if test $? -ne 0 ; then +- { echo "configure: error: +-You need a "file" command that supports -b +-Check ftp://ftp.astron.com/pub/file/" 1>&2; exit 1; } +-else +- echo "$ac_t""yes" 1>&6 +-fi ++#echo $ac_n "checking if file can be brief""... $ac_c" 1>&6 ++#echo "configure:1114: checking if file can be brief" >&5 ++#$file -b /bin/sh > /dev/null 2>&1 ++#if test $? -ne 0 ; then ++# { echo "configure: error: ++#You need a "file" command that supports -b ++#Check ftp://ftp.astron.com/pub/file/" 1>&2; exit 1; } ++#else ++# echo "$ac_t""yes" 1>&6 ++#fi + + for ac_prog in grep + do +@@ -1775,7 +1775,7 @@ + if test ! -f "$sendmail_cf_orig" ; then + if test -f /etc/sendmail.cf ; then + sendmail_cf_orig=/etc/sendmail.orig.cf +- elif test -f /etc/mail/sendmail.orig.cf ; then ++ elif test -f /etc/mail/sendmail.cf ; then + sendmail_cf_orig=/etc/mail/sendmail.orig.cf + else + { echo "configure: error: diff --git a/security/amavis-perl/files/patch-ab b/security/amavis-perl/files/patch-ab new file mode 100644 index 000000000000..f803e1b9f04e --- /dev/null +++ b/security/amavis-perl/files/patch-ab @@ -0,0 +1,20 @@ +--- amavis/amavis.in.orig Sun Dec 31 15:16:34 2000 ++++ amavis/amavis.in Sun Dec 31 15:24:31 2000 +@@ -414,7 +414,7 @@ + do_exit($REGERR, __LINE__); + } + +- my $filetype = `$file -b $TEMPDIR/parts/$part`; ++ my $filetype = `$file $TEMPDIR/parts/$part`; + chop $filetype; + do_debug("File-type of $part: $filetype\n"); + +@@ -609,7 +609,7 @@ + } + + # older versions of file report tnef files as data +- if ($filetype =~ /^data$/) { ++ if ($filetype =~ /:\sdata$/) { + # may be tnef + + # checked already? |