commit c400b94cb8f8d3bdee21bbb75dd06450f1da386dc2e16f3808c2652f942b33af Author: Jan Engelhardt Date: Sun Jan 19 15:14:40 2025 +0000 [info=f2e04e9b246aa1ec8d0530e2c29410d7126a897e123b68c29db58c25d61b227e] OBS-URL: https://build.opensuse.org/package/show/Archiving/plzip?expand=0&rev=35 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..8fae289 --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,3 @@ +mtime: 1707415453 +commit: f2e04e9b246aa1ec8d0530e2c29410d7126a897e123b68c29db58c25d61b227e +url: https://src.opensuse.org/jengelh/plzip diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..03e3eb6 --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:46560c9252657df37ca9359b779d632552c0768bd6e01e93995ad7bc5a97bc2d +size 256 diff --git a/plzip-1.11.tar.gz b/plzip-1.11.tar.gz new file mode 100644 index 0000000..6bc03d7 --- /dev/null +++ b/plzip-1.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8e3cbe45c9222383339130e1bcc6e5e884d776b63f188896e6df67bc1d5626b +size 96572 diff --git a/plzip-1.11.tar.gz.sig b/plzip-1.11.tar.gz.sig new file mode 100644 index 0000000..8be2bf0 Binary files /dev/null and b/plzip-1.11.tar.gz.sig differ diff --git a/plzip.changes b/plzip.changes new file mode 100644 index 0000000..49628e2 --- /dev/null +++ b/plzip.changes @@ -0,0 +1,204 @@ +------------------------------------------------------------------- +Thu Feb 8 13:34:29 UTC 2024 - Jan Engelhardt + +- Update to release 1.11 + * The option -o/--output now preserves dates, permissions, and + ownership of the file when (de)compressing exactly one file. + * The option -o/--output now creates missing intermediate + directories when writing to a file. + +------------------------------------------------------------------- +Sun Feb 13 22:37:24 UTC 2022 - Jan Engelhardt + +- Update to release 1.10 + * In case of error in a numerical argument to a command line + option, plzip now shows the name of the option and the range + of valid values. + +------------------------------------------------------------------- +Fri Mar 12 20:51:45 UTC 2021 - Dirk Müller + +- update to 1.9: + * main.cc (main): Report an error if a file name is empty. + Make '-o' behave like '-c', but writing to file instead of stdout. + Make '-c' and '-o' check whether the output is a terminal only once. + Do not open output if input is a terminal. + * main.cc: New option '--check-lib'. + * Replace 'decompressed', 'compressed' with 'out', 'in' in output. + * decompress.cc, dec_stream.cc, dec_stdout.cc: + Continue testing if any input file fails the test. + Show the largest dictionary size in a multimember file. + * main.cc: Show final diagnostic when testing multiple files. + * decompress.cc, dec_stream.cc [LZ_API_VERSION >= 1012]: Avoid + copying decompressed data when testing with lzlib 1.12 or newer. + * compress.cc, dec_stream.cc: Start only the worker threads required. + * dec_stream.cc: Splitter stops reading when trailing data is found. + Don't include trailing data in the compressed size shown. + Use plain comparison instead of Boyer-Moore to search for headers. + * lzip_index.cc: Improve messages for corruption in last header. + * decompress.cc: Shorten messages 'Data error' and 'Unexpected EOF'. + * main.cc: Set a valid invocation_name even if argc == 0. + * Document extraction from tar.lz in manual, '--help', and man page. + * plzip.texi (Introduction): Mention tarlz as an alternative. + * plzip.texi: Several fixes and improvements. + * testsuite: Add 8 new test files. + +------------------------------------------------------------------- +Mon Jan 7 21:18:14 UTC 2019 - Jan Engelhardt + +- Update to new upstream release 1.8 + * No functional changes; just a version bump. + +------------------------------------------------------------------- +Fri Dec 14 11:59:01 UTC 2018 - Jan Engelhardt + +- Update to new upstream release 1.8~rc1 + * The new options '--in-slots' and '--out-slots', setting the + number of input and output packets buffered during streamed + decompression, have been added. Increasing the number of + packets may increase decompression speed, but requires more + memory. + * The default number of input packets buffered per worker + thread when decompressing from non-seekable input has been + increased from 2 to 4. + * The default number of output packets buffered per worker + thread when decompressing to non-seekable output has been + increased from 32 to 64. + * Detection of forbidden combinations of characters in trailing + data has been improved. + +------------------------------------------------------------------- +Mon Mar 5 19:39:23 UTC 2018 - jengelh@inai.de + +- Update to new upstream release 1.7 + * The option "--loose-trailing" has been added. + * The test used by clzip to discriminate trailing data from a + corrupt header in multimember or concatenated files has been + improved to a Hamming distance of 3. + +------------------------------------------------------------------- +Thu May 11 10:12:18 UTC 2017 - mpluskal@suse.com + +- Update to version 1.6: + * The option '-l, --list' has been ported from lziprecover. + * It is now an error to specify two or more different operations + in the command line (--decompress, --list or --test). + * In test mode, plzip now continues checking the rest of the + files if any input file is a terminal. +- Update dependecies and sections for info file handling + +------------------------------------------------------------------- +Sat Aug 20 08:18:48 UTC 2016 - jengelh@inai.de + +- Update to new upstream release 1.5 +* The option "-a, --trailing-error", which makes plzip exit with + error status 2 if any remaining input is detected after + decompressing the last member, has been added. +* When decompressing, the file specified with the "--output" option + is now deleted if the input is a terminal. + +------------------------------------------------------------------- +Thu Aug 6 08:17:37 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 1.4 +* The option "-0" has been modified to use the new fast encoder of + lzlib 1.7, which achieves a compression speed and ratio + comparable to those of pigz's default compression level. + +------------------------------------------------------------------- +Sun Feb 8 14:39:20 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 1.3 +* Testing of a non-seekable file or of standard input now uses up + to 30 MiB less memory per thread. +* "-dvvv" and "-tvvv" now show the dictionary size of the first + member, producing the same output as lzip for single-member + files. + +------------------------------------------------------------------- +Wed Oct 1 11:51:34 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 1.2 +* Copying of file dates, permissions, and ownership now behaves + like `cp -p`. (If the user ID or the group ID cannot be + duplicated, the file permission bits S_ISUID and S_ISGID are + cleared). +* Individual limits have been set on the number of packets produced + by each decompresor worker thread to limit the amount of memory + used in all cases. +* The license has been changed to GPL version 2 or later. + +------------------------------------------------------------------- +Tue Sep 23 16:55:53 UTC 2014 - jengelh@inai.de + +- Drop gpg-offline build-time requirement; this is now handled by + the local source validator + +------------------------------------------------------------------- +Sun Sep 29 20:50:14 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 1.1 +* Plzip now shows the progress of compression at verbosity + level 2 (-vv). + +------------------------------------------------------------------- +Wed Jun 5 21:57:22 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 1.0 +* Scalability of compression (max number of useful worker threads) + has been increased. Scalability when decompressing from/to + regular files has been increased. +* The number of worker threads is now limited to the number of + members in the input file when decompressing from a regular file. +- Do signature verification +- Wrap description at 70 cols +- Remove redundant %clean section + +------------------------------------------------------------------- +Thu Apr 19 00:13:44 UTC 2012 - pascal.bleser@opensuse.org + +- update to 0.9: minor fixes and cleanup + +------------------------------------------------------------------- +Sun Feb 26 17:10:24 UTC 2012 - pascal.bleser@opensuse.org + +- update to 0.8: + * the option "-F, --recompress", which forces recompression of files whose + name already has the ".lz" or ".tlz" suffix, has been added + * the options "-d, --decompress" and "-t, --test" now also show compression + ratio + * inability to change output file attributes has been downgraded from error + to warning + * quote characters in messages have been changed as advised by GNU Coding + Standards + +------------------------------------------------------------------- +Wed Mar 24 06:09:15 UTC 2010 - pascal.bleser@opensuse.org + +- update to 0.6: + * some small portability problems have been fixed + * updates to the manual + +------------------------------------------------------------------- +Mon Feb 15 13:57:39 UTC 2010 - pascal.bleser@opensuse.org + +- update to 0.5: + * parallel decompression has been implemented + +------------------------------------------------------------------- +Wed Jan 27 00:54:20 UTC 2010 - pascal.bleser@opensuse.org + +- update to 0.3: + * the "--data-size" option has been added + * the output file is now removed if plzip is interrupted + * this version automatically chooses the smallest possible + dictionary size for each member during compression, saving + memory during decompression + * regular files are now opened in binary mode on non-POSIX + platforms defining the O_BINARY macro + +------------------------------------------------------------------- +Tue Jan 19 13:48:40 UTC 2010 - pascal.bleser@opensuse.org + +- initial version (0.2) + diff --git a/plzip.keyring b/plzip.keyring new file mode 100644 index 0000000..0aa43e9 --- /dev/null +++ b/plzip.keyring @@ -0,0 +1,32 @@ +pub 1024D/132D7742 2003-09-17 +uid Antonio Diaz Diaz +uid Antonio Diaz +sub 1024g/754578DA 2003-09-17 + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.19 (GNU/Linux) + +mQGiBD9odIARBADkRI3Qc2qWpoxOFBlD8L5JaQlIEAaPI/19Y/z4ORHESY6s2Tfm +EtC51vlu8V/hXX8Sh4OZC3CrBIwhvSyIVIXbas+GR09B+8GRsfekRUS7jiwz/FsZ +Rnb0AjV1zNjJZazjyOUQjBou3Mo1MwiQXzeMQzqLC1xW+ABkAbQnAnZZIwCgvquq +rmQ1LKpBpYhb876T8x9TZIcD/2KTMvrvJVj+tKiRp6Wfiib8B4unllXAQ04hlul2 +FP5oVIETdhQjsxj7/8F8yOONGgnL5Vn1+6sldd0LQ9il4MiZ36V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IOzYo20sBAq7kIR9x8qvwQ== +=pg7M +-----END PGP PUBLIC KEY BLOCK----- diff --git a/plzip.spec b/plzip.spec new file mode 100644 index 0000000..b8dccbc --- /dev/null +++ b/plzip.spec @@ -0,0 +1,84 @@ +# +# spec file for package plzip +# +# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2012 Pascal Bleser +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: plzip +Version: 1.11 +Release: 0 +Summary: Parallel LZMA Data Compressor +License: GPL-2.0-or-later +Group: Productivity/Archiving/Compression +URL: https://www.nongnu.org/lzip/plzip.html +Source: https://download.savannah.gnu.org/releases/lzip/plzip/%name-%version.tar.gz +Source2: https://download.savannah.gnu.org/releases/lzip/plzip/%name-%version.tar.gz.sig +Source3: %name.keyring +BuildRequires: c++_compiler +BuildRequires: lzlib-devel +Requires(post): %install_info_prereq +Requires(preun):%install_info_prereq + +%description +Plzip is a parallel version of the lzip data compressor. The files +produced by plzip are fully compatible with lzip-1.4 or newer. Plzip +is intended for faster compression/decompression of big files on +multiprocessor machines. + +Lzip is a lossless data compressor based on the LZMA algorithm, with +very safe integrity checking and a user interface similar to the one +of gzip or bzip2. Lzip decompresses almost as fast as gzip and +compresses better than bzip2, which makes it well suited for software +distribution and data archiving. + +%prep +%autosetup -p1 + +%build +mkdir build +pushd build/ +# not autoconf +../configure --prefix="%_prefix" --bindir="%_bindir" --datadir="%_datadir" \ + --includedir="%_includedir" --infodir="%_infodir" --libdir="%_libdir" \ + --mandir="%_mandir" --sysconfdir="%_sysconfdir" --enable-shared \ + CFLAGS="%optflags" CXXFLAGS="%optflags" +%make_build +popd + +%install +pushd build/ +%make_install LDCONFIG=true +popd + +%check +pushd build/ +%make_build check +popd + +%post +%install_info --info-dir="%_infodir" "%_infodir/%name.info%ext_info" + +%preun +%install_info_delete --info-dir="%_infodir" "%_infodir/%name.info%ext_info" + +%files +%license COPYING +%doc ChangeLog README +%_bindir/plzip +%_infodir/plzip.info* +%_mandir/man1/plzip.1* + +%changelog