From f37ea53b7549a9f005f213772213a95873d2ad2c161344509ac9ef2e63d65c8b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 19 Jan 2025 14:56:20 +0000 Subject: [PATCH] [info=fb33f8fb811e6a30c9e27ebe331a9fc4a03f0be14adcabb613d8e96f3653bde0] OBS-URL: https://build.opensuse.org/package/show/Archiving/lzlib?expand=0&rev=31 --- .gitattributes | 23 +++++ .gitignore | 1 + _scmsync.obsinfo | 3 + build.specials.obscpio | 3 + lzlib-1.14.tar.gz | 3 + lzlib-1.14.tar.gz.sig | Bin 0 -> 72 bytes lzlib.changes | 208 +++++++++++++++++++++++++++++++++++++++++ lzlib.keyring | 32 +++++++ lzlib.spec | 112 ++++++++++++++++++++++ 9 files changed, 385 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _scmsync.obsinfo create mode 100644 build.specials.obscpio create mode 100644 lzlib-1.14.tar.gz create mode 100644 lzlib-1.14.tar.gz.sig create mode 100644 lzlib.changes create mode 100644 lzlib.keyring create mode 100644 lzlib.spec 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..1429603 --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,3 @@ +mtime: 1707415452 +commit: fb33f8fb811e6a30c9e27ebe331a9fc4a03f0be14adcabb613d8e96f3653bde0 +url: https://src.opensuse.org/jengelh/lzlib diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..c3c5d44 --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b103998e79528589b49487753ab0886449329e06bc5e81141d3c5fc328808077 +size 256 diff --git a/lzlib-1.14.tar.gz b/lzlib-1.14.tar.gz new file mode 100644 index 0000000..c001ca1 --- /dev/null +++ b/lzlib-1.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5acac8714ed4f306020bae660dddce706e5f8a795863679037da9fe6bf4dcf6f +size 131624 diff --git a/lzlib-1.14.tar.gz.sig b/lzlib-1.14.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..620a7b83cde2ad69c1f3fcbd640f78584ab0837ce949b931fb400cbf581e15f0 GIT binary patch literal 72 zcmV-O0Jr~$Mg#y60ssaD0%fj+R{#nL5Rd7V0~0NGLL00Ao*=jxSw_wjt$@b@p0{@4 e9YNVP6#$^H@aOy1PisnIiHBvc9Ka70{6K3vy&EwA literal 0 HcmV?d00001 diff --git a/lzlib.changes b/lzlib.changes new file mode 100644 index 0000000..00fc294 --- /dev/null +++ b/lzlib.changes @@ -0,0 +1,208 @@ +------------------------------------------------------------------- +Thu Feb 8 13:28:55 UTC 2024 - Jan Engelhardt + +- Update to release 1.14 + * The option -o/--output of minilzip now preserves dates, + permissions, and ownership of the file when (de)compressing + exactly one file. + +------------------------------------------------------------------- +Fri Jan 28 20:41:46 UTC 2022 - Dirk Müller + +- update to 1.13: + * The variables AR and ARFLAGS can now be set from configure. + * In case of error in a numerical argument to a command line option, minilzip + now shows the name of the option and the range of valid values. + * 'minilzip --check-lib' now checks that LZ_API_VERSION and LZ_version_string + match. + * Several descriptions have been improved in manual, '--help', and man page. + * The texinfo category of the manual has been changed from 'Data Compression' + to 'Compression' to match that of gzip. + +------------------------------------------------------------------- +Wed Jan 20 09:19:16 UTC 2021 - Dirk Müller + +- Update to 1.12: + * see included NEWS + * The value of the version test macro 'LZ_API_VERSION' is now + defined as 1000 * major + minor. For version 1.12 it is 1012. + * The new function 'LZ_api_version', which returns the + LZ_API_VERSION of the library object code being used, has + been added to lzlib. + * Decompression speed has been slightly increased. + * The new option '--check-lib', which compares the version of + lzlib used to compile minilzip with the version actually + being used, has been added to minilzip. + * Minilzip now reports an error if a file name is empty (minilzip -t ""). + * Option '-o, --output' now behaves like '-c, --stdout', but + sending the output unconditionally to a file instead of to + standard output. See the new description of '-o' in the + manual. This change is not backwards compatible. + * When using '-c' or '-o', minilzip now checks whether the + output is a terminal only once. + * The words 'decompressed' and 'compressed' have been replaced + with the shorter 'out' and 'in' in the verbose output of + minilzip when decompressing or testing. + * It has been documented in the manual that + 'LZ_(de)compress_close' and 'LZ_(de)compress_errno' can be + called with a null argument. + * Bugfixes, documentation updates. + +------------------------------------------------------------------- +Wed Feb 6 09:25:28 UTC 2019 - Jan Engelhardt + +- Move to final release 1.11 + * No visible changes + +------------------------------------------------------------------- +Wed Feb 6 09:23:43 UTC 2019 - Jan Engelhardt + +- Update License field as per SR 658030 review + +------------------------------------------------------------------- +Fri Dec 14 11:42:47 UTC 2018 - Jan Engelhardt + +- Update to new upstream release 1.11~rc2 + * In case of decompression error caused by corrupt or truncated data, + LZ_decompress_read now does not signal the error immediately + to the application, but waits until all decoded bytes have + been read. This allows tools like tarlz to recover as much + data as possible from damaged members. + +------------------------------------------------------------------- +Sun Feb 18 21:41:57 UTC 2018 - avindra@opensuse.org + +- Update to version 1.10: + * LZ_compress_finish now adjusts dictionary size for each member. + * lzlib.c (LZ_decompress_read): Detect corrupt header with HD=3. + * main.c: Added new option '--loose-trailing'. + * main.c (main): Option '-S, --volume-size' now keeps input files. + * main.c: Replaced 'bits/byte' with inverse compression ratio. + * main.c: Show final diagnostic when testing multiple files. + * main.c: Do not add a second .lz extension to the arg of -o. + * main.c: Show dictionary size at verbosity level 4 (-vvvv). + * lzlib.texi: Added chapter 'Invoking minilzip'. +- Includes 1.9: + * Compression time of option '-0' has been reduced by 3%. + * Compression time of options -1 to -9 has been reduced by 1%. + * Decompression time has been reduced by 3%. + * main.c: Continue testing if any input file is a terminal. + * License of the library changed to "2-clause BSD". +- partial cleanup with spec-cleaner + +------------------------------------------------------------------- +Tue May 31 08:57:47 UTC 2016 - mpluskal@suse.com + +- Update to version 1.8: + * decoder.c (LZd_verify_trailer): Removed test of final code. + * main.c: Added new option '-a, --trailing-error'. + * main.c (main): Delete '--output' file if infd is a terminal. + * main.c (main): Don't use stdin more than once. + * configure: Avoid warning on some shells when testing for gcc. + * Makefile.in: Detect the existence of install-info. + * testsuite/check.sh: A POSIX shell is required to run the tests. + * testsuite/check.sh: Don't check error messages. +- Move info scriplet to preun + +------------------------------------------------------------------- +Thu Aug 6 08:22:07 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 1.7 +* The fast encoder, which produces a compression speed and ratio + comparable to those of gzip, has been ported from lzip. +* The option "-0" has been ported from lzip to minilzip. +* If all the data to be compressed are written in advance, lzlib + will automatically adjust the header of the compressed data to + use the smallest possible dictionary size. This feature reduces + the amount of memory needed for decompression and allows minilzip + to produce identical compressed output as lzip. + +------------------------------------------------------------------- +Wed Oct 1 11:23:04 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 1.6 +* Compression ratio of option -9 has been slightly increased. +* Minilzip now copies file dates, permissions, and ownership 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). +* The license has been changed to "GPL version 2 or later with link + exception". + +------------------------------------------------------------------- +Tue Sep 23 16:49:09 UTC 2014 - jengelh@inai.de + +- Drop gpg-offline build-time requirement; this is now handled by + the local source validator + +------------------------------------------------------------------- +Sun Sep 29 20:41:45 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 1.5 +* Decompression support for deprecated version 0 files has been + removed. +* A bug has been fixed that would make an instance of + "struct LZ_Encoder" unresponsive if "LZ_compress_sync_flush" were + called at the wrong moment. + +------------------------------------------------------------------- +Wed Jun 5 21:42:17 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 1.4 +* Compression ratio has been slightly increased. +* Compression time has been reduced by 8%. +* Decompression time has been reduced by 7%. +* Arguments and return values of functions in lzlib.h have been + changed from "long long" to "unsigned long long". +* "LZ_decompress_read" now tells "header error" from "unexpected + eof" the same way as lzip does when the EOF happens at the header. +- Do signature verification +- Base name of devel package on main name +- Remove static libraries from installation +- Wrap description at 70 cols + +------------------------------------------------------------------- +Thu Apr 12 07:29:52 UTC 2012 - pascal.bleser@opensuse.org + +- update to 1.3: + * Lzlib has been translated to C from the C++ source of lzlib 1.2. This has + been done to avoid the dependency on libstdc++, making lzlib useful in more + environments + +------------------------------------------------------------------- +Sun Jan 29 20:41:45 UTC 2012 - jengelh@medozas.de + +- Remove redundant tags/sections per specfile guideline suggestions + +------------------------------------------------------------------- +Thu Oct 27 20:23:41 UTC 2011 - pascal.bleser@opensuse.org + +- update to 1.2: + * for large values of "--match-length", compression ratio has been slightly + increased and compression time has been reduced by up to 6% + * the option "-F, --recompress", which forces recompression of files whose + name already has the ".lz" or ".tlz" suffix, has been added to minilzip + +------------------------------------------------------------------- +Wed Dec 8 23:10:23 UTC 2010 - pascal.bleser@opensuse.org + +- update to 1.0: + * new functions: LZ_decompress_member_finished, LZ_decompress_member_version, + LZ_decompress_dictionary_size, LZ_decompress_data_crc + * variables declared "extern" have been encapsulated in a namespace + * a warning about fchown's return value being ignored has been fixed + * input_buffer has been integrated in Range_decoder, simplifying the code and + making decompression slightly faster + +- SONAME changed from 0 to 1 + +------------------------------------------------------------------- +Mon Feb 15 13:57:02 UTC 2010 - pascal.bleser@opensuse.org + +- update to 0.9: + * compression time has been reduced by 8% + +------------------------------------------------------------------- +Tue Jan 19 10:18:48 UTC 2010 - pascal.bleser@opensuse.org + +- initial package (0.8) + diff --git a/lzlib.keyring b/lzlib.keyring new file mode 100644 index 0000000..0aa43e9 --- /dev/null +++ b/lzlib.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+6sldd0LQ9il4MiZ36VFOec2xAeyYoB1 +D3hup/zUTjzljj+JyKyGXahrwm0941QhYr+Kw/99dvE0pB8CsaQ5/e5R70uv7YnD +ZT9xA/wO4acdvGCLDw5ZPVKZW1rcgGL1Pr2nWCc92hv4SxdSWu3FU8aeGOVwJa2q +I/CwiEk2oEXI/WwTEf9mde3qlsc1SkRKgR0DDj+7Az5MUcilCUDv2BG2mLa+dEus +zwqLDPmjo2AWP1L2UIx7c46U9suvcGBwsI7NSnD9PLrvrUVGYrQjQW50b25pbyBE +aWF6IDxhbnRfZGlhekB0ZWxlbGluZS5lcz6IYQQTEQIAGQUCP2h0gAQLBwMCAxUC +AwMWAgECHgECF4AAEgkQj+mVAxMtd0IHZUdQRwABASgPAJ9FP48ts9GETKX1Kc6m +P6trpaMZdACfTNqHKHiG5qaFqp1dT93+iM4KMgu0I0FudG9uaW8gRGlheiBEaWF6 +IDxhbnRvbmlvQGdudS5vcmc+iF4EExECAB4FAlGQyJkCGwMGCwkIBwMCAxUCAwMW +AgECHgECF4AACgkQj+mVAxMtd0IaIQCeM/BA/56UVtCPMlODGCuUiqQDluoAn2Sp +K4RybxL/e5aCNrnJg/kITt00uQENBD9odJIQBAC7Nr/BOCBOovFtIAnFufclBiUZ +1jC8kvNTC0i8vparh0WroyRCNfzYujc4H6zLbe/9hPhexSTR8GD0q3m2MxGnADpb +whHFrsMK+Tpk/dva7twlPWmwt4ZOl+wsmXRG9d6iDXdgVfThuXY009lY6TRUHlPW +CCe4zkjsRV0Sq9qy0wADBQQAh3FFwHKq2M9qfuykxlhMpDt2CbeiwnIeMpOHwXoV +cG8ahfxlaT1J9RnKIkzMJ9KSueyqWvjGrDfWAmoFbXgQ/rv82qmEMwKwmg75kzkt +elVlFMicqX1N1KT1Ttce0UAxuxd1Vi/SfMzJLbc0s4fHDdfnVZH7fgq+SM9F0DHc +qnuITgQYEQIABgUCP2h0kgASCRCP6ZUDEy13QgdlR1BHAAEBaHYAn1bocEx8GNyk +RG/RBe2octjFEFlNAKCMIurPIOzYo20sBAq7kIR9x8qvwQ== +=pg7M +-----END PGP PUBLIC KEY BLOCK----- diff --git a/lzlib.spec b/lzlib.spec new file mode 100644 index 0000000..bfd5b9b --- /dev/null +++ b/lzlib.spec @@ -0,0 +1,112 @@ +# +# spec file for package lzlib +# +# 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/ +# + + +%define lname liblz1 +Name: lzlib +Version: 1.14 +Release: 0 +Summary: LZMA Compression and Decompression Library +License: BSD-2-Clause AND GPL-2.0-or-later +Group: Development/Libraries/C and C++ +URL: https://www.nongnu.org/lzip/lzlib.html +Source: https://download.savannah.gnu.org/releases/lzip/lzlib/%name-%version.tar.gz +Source2: https://download.savannah.gnu.org/releases/lzip/lzlib/%name-%version.tar.gz.sig +Source3: %name.keyring +PreReq: %install_info_prereq + +%description +The lzlib compression library provides in-memory LZMA compression and +decompression functions, including integrity checking of the +decompressed data. The compressed data format used by the library is +the lzip format. + +%package -n %lname +Summary: LZMA Compression and Decompression Library +Group: System/Libraries + +%description -n %lname +The lzlib compression library provides in-memory LZMA compression and +decompression functions, including integrity checking of the +decompressed data. The compressed data format used by the library is +the lzip format. + +%package devel +Summary: LZMA Compression and Decompression Library +Group: Development/Libraries/C and C++ +Requires: %lname = %version +Obsoletes: lzlib-devel < %version-%release +Provides: lzlib-devel = %version-%release + +%description devel +The lzlib compression library provides in-memory LZMA compression and +decompression functions, including integrity checking of the +decompressed data. The compressed data format used by the library is +the lzip format. + +This subpackage contains libraries and header files for developing +applications that want to make use of libcerror. + +%prep +%autosetup + +%build +# not autoconf! +# don't use the configure macro here, as it will cause the configure script to +# skip parameters as soon as it encounters one that it doesn't understand +mkdir build +pushd build/ +../configure --prefix="%_prefix" --bindir="%_bindir" --datadir="%_datadir" \ + --includedir="%_includedir" --infodir="%_infodir" --libdir="%_libdir" \ + --mandir="%_mandir" --sysconfdir="%_sysconfdir" --enable-shared \ + CC="%__cc" CFLAGS="%optflags" CXX="%__cxx" CXXFLAGS="%optflags" +%make_build +popd + +%install +pushd build/ +%make_install LDCONFIG=true +popd +# configure had no --disable-static +rm -f "%buildroot/%_libdir"/*.a + +%check +pushd build/ +%make_build check +popd + +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig + +%post devel +%install_info --info-dir="%_infodir" "%_infodir/%name.info%ext_info" + +%preun devel +%install_info_delete --info-dir="%_infodir" "%_infodir/%name.info%ext_info" + +%files -n %lname +%license COPYING +%doc AUTHORS ChangeLog NEWS README +%_libdir/liblz.so.* + +%files devel +%_includedir/lzlib.h +%_libdir/liblz.so +%_infodir/lzlib.info* + +%changelog