EVERYTHING FROM THE OTHER REPO

This commit is contained in:
2026-07-29 03:36:26 +03:00
parent 6777ea96db
commit 92a6ae42f5
4426 changed files with 1696506 additions and 2 deletions
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,80 @@
TODO file for gzip.
Some of the planned features include:
- Remove some of the old porting cruft, since we no longer support it.
- Separate out the shell scripts like gzexe into a new little package;
these scripts are less used and less reliable and should be optional.
- Internationalize by using gettext and setlocale.
- Structure the sources so that the compression and decompression code
form a library usable by any program, and write both gzip and zip on
top of this library. This would ideally be a reentrant (thread safe)
library, but this would degrade performance. In the meantime, you can
look at the sample program zread.c.
The library should have one mode in which compressed data is sent
as soon as input is available, instead of waiting for complete
blocks. This can be useful for sending compressed data to/from interactive
programs.
- Make it convenient to define alternative user interfaces (in
particular for windowing environments).
- Support in-memory compression for arbitrarily large amounts of data
(zip currently supports in-memory compression only for a single buffer.)
- Map files in memory when possible, this is generally much faster
than read/write. (zip currently maps entire files at once, this
should be done in chunks to reduce memory usage.)
- Add a super-fast compression method, suitable for implementing
file systems with transparent compression. The lzrw series of algorithms
are available at http://www.ross.net/compression/.
- Add a super-tight (but slow) compression method, suitable for long
term archives. See, for example, US Patents 4,286,256 4,295,125
4,463,342 4,467,317 4,633,490 4,652,856 4,891,643 4,905,297
4,935,882 4,973,961 5,023,611 5,025,258, which have all expired.
More recent patent-free techniques may also be available.
Note: I will introduce new compression methods only if they are
significantly better in either speed or compression ratio than the
existing method(s). So the total number of different methods should
reasonably not exceed 3. (The current 9 compression levels are just
tuning parameters for a single method, deflation.)
- Add optional error correction. One problem is that the current version
of ecc cannot recover from inserted or missing bytes. It would be
nice to recover from the most common error (transfer of a binary
file in ascii mode).
- Add a block size (-b) option to improve error recovery in case of
failure of a complete sector. Each block could be extracted
independently, but this reduces the compression ratio.
For one possible approach to this, please see:
https://ozlabs.org/~rusty/gzip.rsync.patch
- Use a larger window size to deal with some large redundant files that
'compress' currently handles better than gzip.
- Implement the -e (encrypt) option.
Send comments to <bug-gzip@gnu.org>.
========================================================================
Copyright (C) 1999, 2001, 2006, 2009-2023 Free Software Foundation, Inc.
Copyright (C) 1992, 1993 Jean-loup Gailly
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the ``GNU Free
Documentation License'' file as part of this distribution.
Binary file not shown.
@@ -0,0 +1,70 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: GNU Gzip
Upstream-Contact: http://www.gnu.org/software/gzip/
Source: https://ftp.gnu.org/gnu/gzip
Files: *
Copyright: 1999-2023 Free Software Foundation, Inc.
1992-1993 Jean-loup Gailly and Mark Adler
License: GPL-3+
Files: debian/*
Copyright: 1995-2017 Bdale Garbee <bdale@gag.com>
License: GPL-3+
Files: doc/* NEWS README
Copyright: 1999-2023 Free Software Foundation, Inc. http://fsf.org/
1992-1993 Jean-loup Gailly
License: GFDL-1.3+-no-invariant
Files: gzip.1 zless.1
Copyright: 1998-2023 Free Software Foundation, Inc.
1992-1993 Jean-loup Gailly
License: FSF-manpages
License: GPL-3+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-3'.
License: GFDL-1.3+-no-invariant
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts.
.
On Debian GNU/Linux systems, the complete text of the GNU Free Documentation
License can be found in `/usr/share/common-licenses/GFDL-3'.
License: FSF-manpages
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
.
Permission is granted to process this file through troff and print the
results, provided the printed document carries copying permission
notice identical to this one except for the removal of this paragraph
(this paragraph not being relevant to the printed manual).
.
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the entire
resulting derived work is distributed under the terms of a permission
notice identical to this one.
.
Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions,
except that this permission notice may be stated in a translation approved
by the Foundation.