freebsd-ports/security/amavis-perl/files/patch-ab
David W. Chapman Jr. 4688c2ff1e Update to version 11
Give Seamus Venasse maintainership

PR:		31095
Submitted by:	new maintainer
2001-10-21 18:47:20 +00:00

21 lines
500 B
Plaintext

--- amavis/amavis.in.orig Sat Oct 6 15:44:32 2001
+++ amavis/amavis.in Sat Oct 6 15:46:24 2001
@@ -469,7 +469,7 @@
do_exit($REGERR, __LINE__);
}
- my $filetype = `$file -b $TEMPDIR/parts/$part`;
+ my $filetype = `$file $TEMPDIR/parts/$part`;
chop $filetype;
do_log(4,"File-type of $part: $filetype");
@@ -663,7 +663,7 @@
}
# older versions of file report tnef files as data
- if ($filetype =~ /^data$/) {
+ if ($filetype =~ /:\sdata$/) {
# may be tnef
# checked already?