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.

59 lines
2.0 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../tar/tar-bzip2.patch
  5. # Copyright (C) 2004 - 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. This adds some historic compatibility for -I and -y to tar. One day we should
  17. obsolete this ...
  18. - Rene Rebe <rene@exactcode.de>
  19. --- tar-1.15/src/tar.c 2004-12-18 21:01:07.000000000 +0100
  20. +++ tar-1.15-patched/src/tar.c 2004-12-22 08:27:07.469445784 +0100
  21. @@ -431,6 +431,10 @@
  22. N_("create archive with volume name NAME. At list/extract time, use TEXT as a globbing pattern"), 68 },
  23. {"bzip2", 'j', 0, 0,
  24. N_("filter the archive through bzip2"), 68 },
  25. + {"bzip2", 'I', 0, 0,
  26. + N_("filter the archive through bzip2"), 68 },
  27. + {"bzip2", 'y', 0, 0,
  28. + N_("filter the archive through bzip2"), 68 },
  29. {"gzip", 'z', 0, 0,
  30. N_("filter the archive through gzip"), 68 },
  31. {"gunzip", 0, 0, OPTION_ALIAS, NULL, 68 },
  32. @@ -709,11 +713,9 @@
  33. break;
  34. case 'I':
  35. - USAGE_ERROR ((0, 0,
  36. - _("Warning: the -I option is not supported;"
  37. - " perhaps you meant -j or -T?")));
  38. + set_use_compress_program_option ("bzip2");
  39. break;
  40. -
  41. +
  42. case 'j':
  43. set_use_compress_program_option ("bzip2");
  44. break;
  45. @@ -901,9 +903,7 @@
  46. break;
  47. case 'y':
  48. - USAGE_ERROR ((0, 0,
  49. - _("Warning: the -y option is not supported;"
  50. - " perhaps you meant -j?")));
  51. + set_use_compress_program_option ("bzip2");
  52. break;
  53. case 'z':