You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
2.6 KiB

# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../qmail-scanner/head-1-postst.diff
# Copyright (C) 2005 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- ./configure.orig 2005-12-07 16:11:32.000000000 -0300
+++ ./configure 2005-12-07 16:11:58.000000000 -0300
@@ -737,7 +737,7 @@
echo -n "."
if test -x $dir/perl
then
- PERLRELEASE_DETAILS=${PERLRELEASE_DETAILS:-`$dir/perl -V 2>&1|grep perl5 |head -1`}
+ PERLRELEASE_DETAILS=${PERLRELEASE_DETAILS:-`$dir/perl -V 2>&1|grep perl5 |head -n 1`}
if [ "$?" = "0" ]; then
PERL5="${PERL5:-$dir/perl}"
fi
@@ -1223,9 +1223,9 @@
SPAMC_BINARY=''
else
DD="`$SPAMC_BINARY $SA_HN $SA_SKT -c < ./contrib/spamc-nasty.eml`"
- if [ "`echo $DD|tail -1|grep /`" != "" ]; then
+ if [ "`echo $DD|tail -n 1|grep /`" != "" ]; then
SPAMASSASSIN_VERSION="fast_spamassassin"
- SA_THRESHOLD=`echo $DD|tail -1|sed -e 's/\(.*\)\/\(.*\)/\2/'`
+ SA_THRESHOLD=`echo $DD|tail -n 1|sed -e 's/\(.*\)\/\(.*\)/\2/'`
fi
fi
fi
--- ./autoupdaters/update_trend.orig 2005-12-07 16:22:25.000000000 -0300
+++ ./autoupdaters/update_trend 2005-12-07 16:24:55.000000000 -0300
@@ -16,7 +16,7 @@
exit
fi
-SITE=`egrep "lpt.*zip" pattern.htm |sed -e 's/^.*HREF="//ig' -e 's/".*$//g' |tail -1`
+SITE=`egrep "lpt.*zip" pattern.htm |sed -e 's/^.*HREF="//ig' -e 's/".*$//g' |tail -n 1`
FILE=`basename $SITE`
--- ./autoupdaters/update_sophos.orig 2005-12-07 16:22:38.000000000 -0300
+++ ./autoupdaters/update_sophos 2005-12-07 16:24:50.000000000 -0300
@@ -26,7 +26,7 @@
FILE="ides.zip"
#looks like it's up!
-CURRENT=`/bin/ls -trc $SOPHOSDIR/*ides.zip 2>/dev/null|tail -1`
+CURRENT=`/bin/ls -trc $SOPHOSDIR/*ides.zip 2>/dev/null|tail -n 1`
if [ "$CURRENT" != "" ]; then
if [ "`cat $CURRENT |md5sum `" = "`cat $FILE|md5sum `" ]; then
echo "No change - exiting" > $SOPHOSDIR/update_sophos-$DAYOFWEEK.log 2>&1