OpenSDE Packages Database (without history before r20070)
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.

61 lines
2.6 KiB

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