# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../tar/tar-bzip2.patch # Copyright (C) 2004 - 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 --- This adds some historic compatibility for -I and -y to tar. One day we should obsolete this ... - Rene Rebe --- tar-1.16/src/tar.c.vanilla 2006-10-22 11:26:25.000000000 +0200 +++ tar-1.16/src/tar.c 2006-10-22 11:28:36.000000000 +0200 @@ -570,6 +570,11 @@ N_("create archive with volume name TEXT; at list/extract time, use TEXT as a globbing pattern for volume name"), GRID+8 }, {"bzip2", 'j', 0, 0, N_("filter the archive through bzip2"), GRID+8 }, + {"bzip2", 'I', 0, 0, + N_("filter the archive through bzip2"), GRID+8 }, + {"bzip2", 'y', 0, 0, + N_("filter the archive through bzip2"), GRID+8 }, + {"gzip", 'z', 0, 0, N_("filter the archive through gzip"), GRID+8 }, {"gunzip", 0, 0, OPTION_ALIAS, NULL, GRID+8 }, @@ -1234,12 +1239,8 @@ break; case 'I': - USAGE_ERROR ((0, 0, - _("Warning: the -I option is not supported;" - " perhaps you meant -j or -T?"))); - break; - case 'j': + case 'y': set_use_compress_program_option ("bzip2"); break;