mirror of the now-defunct rocklinux.org
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.

114 lines
3.8 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/gzip/gzip-1.3.5-stderr.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- gzip-1.3/gzexe.in.orig Thu Nov 9 15:08:50 2000
  20. +++ gzip-1.3/gzexe.in Thu Nov 9 15:09:09 2000
  21. @@ -15,9 +15,9 @@
  22. x=`basename $0`
  23. if test $# = 0; then
  24. - echo compress executables. original file foo is renamed to foo~
  25. - echo usage: ${x} [-d] files...
  26. - echo " -d decompress the executables"
  27. + echo compress executables. original file foo is renamed to foo~ 1&>2
  28. + echo usage: ${x} [-d] files... 1>&2
  29. + echo " -d decompress the executables" 1>&2
  30. exit 1
  31. fi
  32. --- gzip-1.3/zdiff.in.orig Thu Nov 9 15:08:50 2000
  33. +++ gzip-1.3/zdiff.in Thu Nov 9 15:09:29 2000
  34. @@ -32,7 +32,7 @@
  35. esac
  36. done
  37. if test -z "$FILES"; then
  38. - echo "Usage: $prog [${comp}_options] file [file]"
  39. + echo "Usage: $prog [${comp}_options] file [file]" 1>&2
  40. exit 2
  41. fi
  42. set $FILES
  43. @@ -64,6 +64,6 @@
  44. esac;;
  45. esac
  46. else
  47. - echo "Usage: $prog [${comp}_options] file [file]"
  48. + echo "Usage: $prog [${comp}_options] file [file]" 1>&2
  49. exit 2
  50. fi
  51. --- gzip-1.3/zforce.in.orig Thu Nov 9 15:08:50 2000
  52. +++ gzip-1.3/zforce.in Thu Nov 9 15:09:47 2000
  53. @@ -9,8 +9,8 @@
  54. PATH="BINDIR:$PATH"; export PATH
  55. x=`basename $0`
  56. if test $# = 0; then
  57. - echo "force a '.gz' extension on all gzip files"
  58. - echo usage: $x files...
  59. + echo "force a '.gz' extension on all gzip files" 1>&2
  60. + echo usage: $x files... 1>&2
  61. exit 1
  62. fi
  63. --- gzip-1.3/zgrep.in.orig Thu Nov 9 15:08:50 2000
  64. +++ gzip-1.3/zgrep.in Thu Nov 9 15:12:21 2000
  65. @@ -31,8 +31,8 @@
  66. done
  67. if test -z "$pat"; then
  68. - echo "grep through gzip files"
  69. - echo "usage: $prog [grep_options] pattern [files]"
  70. + echo "grep through gzip files" 1>&2
  71. + echo "usage: $prog [grep_options] pattern [files]" 1>&2
  72. exit 2
  73. fi
  74. --- gzip-1.3/zmore.in.orig Thu Nov 9 15:08:50 2000
  75. +++ gzip-1.3/zmore.in Thu Nov 9 15:13:49 2000
  76. @@ -23,7 +23,8 @@
  77. if test $# = 0; then
  78. if test -t 0; then
  79. - echo usage: ${ZMORE_PROGRAM_NAME-zmore} files...
  80. + echo usage: ${ZMORE_PROGRAM_NAME-zmore} files... 1>&2
  81. + exit 1
  82. else
  83. gzip -cdfq | eval ${PAGER-more}
  84. fi
  85. --- gzip-1.3/znew.in.orig Thu Nov 9 15:08:50 2000
  86. +++ gzip-1.3/znew.in Thu Nov 9 15:14:20 2000
  87. @@ -51,13 +51,13 @@
  88. done
  89. if test $# -eq 0; then
  90. - echo "recompress .Z files into $ext (gzip) files"
  91. - echo usage: `echo $0 | sed 's,^.*/,,'` "[-tv9KP]" file.Z...
  92. - echo " -t tests the new files before deleting originals"
  93. - echo " -v be verbose"
  94. - echo " -9 use the slowest compression method (optimal compression)"
  95. - echo " -K keep a .Z file when it is smaller than the $ext file"
  96. - echo " -P use pipes for the conversion $warn"
  97. + echo "recompress .Z files into $ext (gzip) files" 1>&2
  98. + echo usage: `echo $0 | sed 's,^.*/,,'` "[-tv9KP]" file.Z... 1>&2
  99. + echo " -t tests the new files before deleting originals" 1>&2
  100. + echo " -v be verbose" 1>&2
  101. + echo " -9 use the slowest compression method (optimal compression)" 1>&2
  102. + echo " -K keep a .Z file when it is smaller than the $ext file" 1>&2
  103. + echo " -P use pipes for the conversion $warn" 1>&2
  104. exit 1
  105. fi