From 0a91e58a7dd026688bd271a59cd00d9e8701c10ce1cd0b4709e270a34c978eb8 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 10 Feb 2009 04:05:14 +0000 Subject: [PATCH 001/126] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=1 --- .gitattributes | 24 +++++ .gitignore | 4 + nostatic.diff | 25 +++++ ready | 0 xz-4.999.8beta.tar.bz2 | 3 + xz.changes | 116 ++++++++++++++++++++++ xz.spec | 215 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 387 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 nostatic.diff create mode 100644 ready create mode 100644 xz-4.999.8beta.tar.bz2 create mode 100644 xz.changes create mode 100644 xz.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +*.changes merge=merge-changes +*.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 +*.tar 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..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/nostatic.diff b/nostatic.diff new file mode 100644 index 0000000..b437d74 --- /dev/null +++ b/nostatic.diff @@ -0,0 +1,25 @@ +Index: src/lzmadec/Makefile.am +================================================================================ +--- src/xz/Makefile.am ++++ src/xz/Makefile.am +@@ -42,10 +42,6 @@ xz_CPPFLAGS = \ + -I@top_builddir@/lib \ + -I@top_srcdir@/lib + +-## Always link the command line tool statically against liblzma. It is +-## faster on x86, because no need for PIC. We also have one dependency less, +-## which allows users to more freely copy the xz binary to other boxes. +-xz_LDFLAGS = -static + xz_LDADD = \ + @top_builddir@/src/liblzma/liblzma.la \ + @LTLIBINTL@ +--- src/xzdec/Makefile.am ++++ src/xzdec/Makefile.am +@@ -19,7 +19,6 @@ xzdec_CPPFLAGS = \ + -I@top_srcdir@/src/common \ + -I@top_srcdir@/src/liblzma/api \ + -I@top_builddir@/lib +-xzdec_LDFLAGS = -static + xzdec_LDADD = \ + @top_builddir@/src/liblzma/liblzma.la \ + @LTLIBINTL@ diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 diff --git a/xz-4.999.8beta.tar.bz2 b/xz-4.999.8beta.tar.bz2 new file mode 100644 index 0000000..1673090 --- /dev/null +++ b/xz-4.999.8beta.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a1b5ff2f7ed76fdfd426aad1ad6021a8f5ae97619dd626aebad79c8d2eddf5a +size 666585 diff --git a/xz.changes b/xz.changes new file mode 100644 index 0000000..6457c53 --- /dev/null +++ b/xz.changes @@ -0,0 +1,116 @@ +------------------------------------------------------------------- +Fri Feb 6 13:50:53 CET 2009 - schwab@suse.de + +- Update to xz-4.999.7beta. + See git://ctrl.tukaani.org/lzma-utils.git. + +------------------------------------------------------------------- +Wed Jan 7 10:26:30 CET 2009 - schwab@suse.de + +- Update to xz-4.999.7beta. + See git://ctrl.tukaani.org/lzma-utils.git. +- Rename to xz. + +------------------------------------------------------------------- +Wed Jul 30 13:53:18 CEST 2008 - schwab@suse.de + +- Update to lzma-4.32.7. + * If "lzma -t" is run on a corrupt file or interrupted by a signal, + don't unlink /dev/null. + + * Partial fix to race conditions where a signal could make lzma to + unlink both the source and destination files. Now it cannot lose + data anymore, but with bad luck an incomplete file may be left + on the disk. + +------------------------------------------------------------------- +Wed May 14 22:04:25 CEST 2008 - schwab@suse.de + +- Update to lzma-4.32.6. + * Always use 32-bit integer to hold probability variables. Earlier, + these were 64-bit on 64-bit architectures, which hurt cache + efficiency in the CPU, and thus performance of LZMA. 32-bit + architectures are not affected by this change. + * Fix a theoretical data corruption bug in the LZMA encoder. It is + about overflowing a 32-bit integer, whose typical value stays below + five. I don't know if it is actually possible to construct to a file + that could make it overflow. Even if it were possible, it would "only" + make the output file corrupt so that it is 4 GiB too small; there + are no other security risks. Now the integer is 64-bit to be sure + it won't overflow. + * Add support for copying timestamps on operating systems that support + setting timestamps only by filename, not by file descriptor. + * Several portability fixes were made. + +------------------------------------------------------------------- +Fri May 9 11:51:42 CEST 2008 - schwab@suse.de + +- Revert last changes. + +------------------------------------------------------------------- +Tue May 6 22:36:09 CEST 2008 - bk@suse.de + +- ci removed #neededforbuild while mbuild converts to BuildRequires +- bzip2 source to save space (not lzma, so it can be built in <11.0) + +------------------------------------------------------------------- +Tue May 6 14:24:02 CEST 2008 - bk@suse.de + +- run the package-provided self-test by adding a call to 'make check' +- use %configure instead of equivalent configure call with options +- improved to allow building in SLES and non-SUSE repositories, eg: + - replace obsolete nostatic patch with check for static objects + - use more generic wildcards in the file list for manual pages + +------------------------------------------------------------------- +Mon Feb 4 19:20:31 CET 2008 - schwab@suse.de + +- Fix installation. + +------------------------------------------------------------------- +Mon Feb 4 13:32:06 CET 2008 - schwab@suse.de + +- Update to lzma-4.32.5. + * The percentage shown when --verbose is used, works again. Also some + typos were fixed from the messages printed by --verbose. + * Several small portability fixes were made. + +------------------------------------------------------------------- +Fri Jan 4 07:12:26 CET 2008 - crrodriguez@suse.de + +- Version 4.32.4 + * Ignore command line switch --format=alone. This way current scripts + can be written so that they will produce LZMA_Alone format files + even with the new command line tool once it is finishes along with + liblzma. + * The command line tool now tells if the user tries to decode files + in the new .lzma format. The message recommends upgrading to newer + LZMA Utils. + * Added some internal consistency checks to liblzmadec, so that it + doesn't crash if given lzmadec_stream whose initialization failed. + Some applications using zlib and libbzip2 don't check if + initialization was successful, and expect that error gets caught + safely later. +- disable static libraries +- remove liblzmadec.la that has empty dependency_libs +- do not link utils statically + +------------------------------------------------------------------- +Mon Dec 3 14:12:12 CET 2007 - dmueller@suse.de + +- update to 4.32.3: + * rare file content loss bugs fixed (did not check for error upon close()) + * permissions copying fixed +- testsuited switched partially to GPLv3 +- fix library package name + +------------------------------------------------------------------- +Thu Oct 11 14:52:41 CEST 2007 - schwab@suse.de + +- Fix missing include. + +------------------------------------------------------------------- +Wed Oct 10 14:56:31 CEST 2007 - schwab@suse.de + +- Initial version 4.32.0beta5. + diff --git a/xz.spec b/xz.spec new file mode 100644 index 0000000..245b5dd --- /dev/null +++ b/xz.spec @@ -0,0 +1,215 @@ +# +# spec file for package xz (Version 4.999.8beta) +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + + +Name: xz +Summary: A Program for Compressing Files +Version: 4.999.8beta +Release: 1 +Group: Productivity/Archiving/Compression +License: GPL v2 or later +Url: http://tukaani.org/lzma/ +Source: %{name}-%{version}.tar.bz2 +Patch: nostatic.diff +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Provides: lzma = %version +Obsoletes: lzma < %version + +%description +The xz command is a very powerful program for compressing files. + +* Average compression ratio of LZMA is about 30% better than that of + gzip, and 15% better than that of bzip2. + +* Decompression speed is only little slower than that of gzip, being + two to five times faster than bzip2. + +* In fast mode, compresses faster than bzip2 with a comparable + compression ratio. + +* Achieving the best compression ratios takes four to even twelve + times longer than with bzip2. However. this doesn't affect + decompressing speed. + +* Very similar command line interface to what gzip and bzip2 have. + + + +Authors: +-------- + Igor Pavlov + Ville Koskinen + Lasse Collin + +%package -n liblzma0 +License: LGPL v2.1 or later +Summary: LZMA library +Group: System/Libraries + +%description -n liblzma0 +Library for encoding/decoding LZMA files. + + + +Authors: +-------- + Igor Pavlov + Ville Koskinen + Lasse Collin + +%package devel +License: LGPL v2.1 or later +Summary: Development package for the LZMA library +Group: Development/Libraries/C and C++ +Requires: liblzma0 = %{version} +Provides: lzma-devel = %version +Obsoletes: lzma-devel < %version +Provides: lzma-alpha-devel = %version +Obsoletes: lzma-alpha-devel < %version + +%description devel +This package contains the header files and libraries needed for +compiling programs using the LZMA library. + + + +Authors: +-------- + Igor Pavlov + Ville Koskinen + Lasse Collin + +%prep +%setup -q +%patch + +%build +AUTOPOINT=true autoreconf -fi +./configure CFLAGS="$RPM_OPT_FLAGS" \ + --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} +make %{?jobs:-j%jobs} + +%install +make install DESTDIR=$RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_lib} +mv $RPM_BUILD_ROOT%{_libdir}/liblzma.so.* $RPM_BUILD_ROOT/%{_lib} +#empty dependency_libs +rm -f $RPM_BUILD_ROOT/%{_lib}/*.la + +%clean +rm -fr $RPM_BUILD_ROOT + +%post -n liblzma0 -p /sbin/ldconfig + +%postun -n liblzma0 -p /sbin/ldconfig + +%files +%defattr(-, root, root) +%doc README doc/file-format.txt +%{_bindir}/* +%{_mandir}/man?/* + +%files -n liblzma0 +%defattr(-, root, root) +/%{_lib}/lib*.so.0* + +%files devel +%defattr(-, root, root) +%{_includedir}/*.h +%{_includedir}/lzma +%{_libdir}/lib*.so +%{_libdir}/lib*.*a +%{_libdir}/pkgconfig/*.pc + +%changelog +* Fri Feb 06 2009 schwab@suse.de +- Update to xz-4.999.7beta. + See git://ctrl.tukaani.org/lzma-utils.git. +* Wed Jan 07 2009 schwab@suse.de +- Update to xz-4.999.7beta. + See git://ctrl.tukaani.org/lzma-utils.git. +- Rename to xz. +* Wed Jul 30 2008 schwab@suse.de +- Update to lzma-4.32.7. + * If "lzma -t" is run on a corrupt file or interrupted by a signal, + don't unlink /dev/null. + * Partial fix to race conditions where a signal could make lzma to + unlink both the source and destination files. Now it cannot lose + data anymore, but with bad luck an incomplete file may be left + on the disk. +* Wed May 14 2008 schwab@suse.de +- Update to lzma-4.32.6. + * Always use 32-bit integer to hold probability variables. Earlier, + these were 64-bit on 64-bit architectures, which hurt cache + efficiency in the CPU, and thus performance of LZMA. 32-bit + architectures are not affected by this change. + * Fix a theoretical data corruption bug in the LZMA encoder. It is + about overflowing a 32-bit integer, whose typical value stays below + five. I don't know if it is actually possible to construct to a file + that could make it overflow. Even if it were possible, it would "only" + make the output file corrupt so that it is 4 GiB too small; there + are no other security risks. Now the integer is 64-bit to be sure + it won't overflow. + * Add support for copying timestamps on operating systems that support + setting timestamps only by filename, not by file descriptor. + * Several portability fixes were made. +* Fri May 09 2008 schwab@suse.de +- Revert last changes. +* Tue May 06 2008 bk@suse.de +- ci removed #neededforbuild while mbuild converts to BuildRequires +- bzip2 source to save space (not lzma, so it can be built in <11.0) +* Tue May 06 2008 bk@suse.de +- run the package-provided self-test by adding a call to 'make check' +- use %%configure instead of equivalent configure call with options +- improved to allow building in SLES and non-SUSE repositories, eg: + - replace obsolete nostatic patch with check for static objects + - use more generic wildcards in the file list for manual pages +* Mon Feb 04 2008 schwab@suse.de +- Fix installation. +* Mon Feb 04 2008 schwab@suse.de +- Update to lzma-4.32.5. + * The percentage shown when --verbose is used, works again. Also some + typos were fixed from the messages printed by --verbose. + * Several small portability fixes were made. +* Fri Jan 04 2008 crrodriguez@suse.de +- Version 4.32.4 + * Ignore command line switch --format=alone. This way current scripts + can be written so that they will produce LZMA_Alone format files + even with the new command line tool once it is finishes along with + liblzma. + * The command line tool now tells if the user tries to decode files + in the new .lzma format. The message recommends upgrading to newer + LZMA Utils. + * Added some internal consistency checks to liblzmadec, so that it + doesn't crash if given lzmadec_stream whose initialization failed. + Some applications using zlib and libbzip2 don't check if + initialization was successful, and expect that error gets caught + safely later. +- disable static libraries +- remove liblzmadec.la that has empty dependency_libs +- do not link utils statically +* Mon Dec 03 2007 dmueller@suse.de +- update to 4.32.3: + * rare file content loss bugs fixed (did not check for error upon close()) + * permissions copying fixed +- testsuited switched partially to GPLv3 +- fix library package name +* Thu Oct 11 2007 schwab@suse.de +- Fix missing include. +* Wed Oct 10 2007 schwab@suse.de +- Initial version 4.32.0beta5. -- 2.51.1 From 3f31115fd15dae562cdb55d78fdc5e43ccedf449165b2f8f0bb6b6dacd2c9944 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 11 Feb 2009 12:01:26 +0000 Subject: [PATCH 002/126] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=2 --- xz.changes | 7 ++++++- xz.spec | 7 +++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/xz.changes b/xz.changes index 6457c53..14011f2 100644 --- a/xz.changes +++ b/xz.changes @@ -1,7 +1,12 @@ +------------------------------------------------------------------- +Wed Feb 11 12:44:41 CET 2009 - coolo@suse.de + +- fix devel symlink + ------------------------------------------------------------------- Fri Feb 6 13:50:53 CET 2009 - schwab@suse.de -- Update to xz-4.999.7beta. +- Update to xz-4.999.8beta. See git://ctrl.tukaani.org/lzma-utils.git. ------------------------------------------------------------------- diff --git a/xz.spec b/xz.spec index 245b5dd..ce7aaeb 100644 --- a/xz.spec +++ b/xz.spec @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files Version: 4.999.8beta -Release: 1 +Release: 2 Group: Productivity/Archiving/Compression License: GPL v2 or later Url: http://tukaani.org/lzma/ @@ -108,6 +108,7 @@ make %{?jobs:-j%jobs} make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_lib} mv $RPM_BUILD_ROOT%{_libdir}/liblzma.so.* $RPM_BUILD_ROOT/%{_lib} +ln -sf /%{_lib}/liblzma.so.0 $RPM_BUILD_ROOT%{_libdir}/liblzma.so #empty dependency_libs rm -f $RPM_BUILD_ROOT/%{_lib}/*.la @@ -137,8 +138,10 @@ rm -fr $RPM_BUILD_ROOT %{_libdir}/pkgconfig/*.pc %changelog +* Wed Feb 11 2009 coolo@suse.de +- fix devel symlink * Fri Feb 06 2009 schwab@suse.de -- Update to xz-4.999.7beta. +- Update to xz-4.999.8beta. See git://ctrl.tukaani.org/lzma-utils.git. * Wed Jan 07 2009 schwab@suse.de - Update to xz-4.999.7beta. -- 2.51.1 From d1769a7a83e8bc5f765814d9818db4720a60691fc219432587d1c341dea40eba Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 16 Feb 2009 11:27:19 +0000 Subject: [PATCH 003/126] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=3 --- xz.changes | 5 +++++ xz.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/xz.changes b/xz.changes index 14011f2..c712994 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 16 10:59:51 CET 2009 - coolo@suse.de + +- use bzip payload, so users are able to install new rpm on old systems + ------------------------------------------------------------------- Wed Feb 11 12:44:41 CET 2009 - coolo@suse.de diff --git a/xz.spec b/xz.spec index ce7aaeb..cd93f44 100644 --- a/xz.spec +++ b/xz.spec @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files Version: 4.999.8beta -Release: 2 +Release: 3 Group: Productivity/Archiving/Compression License: GPL v2 or later Url: http://tukaani.org/lzma/ @@ -29,6 +29,8 @@ Patch: nostatic.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: lzma = %version Obsoletes: lzma < %version +# avoid bootstrapping problem +%define _binary_payload w9.bzdio %description The xz command is a very powerful program for compressing files. @@ -138,6 +140,8 @@ rm -fr $RPM_BUILD_ROOT %{_libdir}/pkgconfig/*.pc %changelog +* Mon Feb 16 2009 coolo@suse.de +- use bzip payload, so users are able to install new rpm on old systems * Wed Feb 11 2009 coolo@suse.de - fix devel symlink * Fri Feb 06 2009 schwab@suse.de -- 2.51.1 From 085e9e6b494fa6f6773e4c3ef1c6ae7bafb36d083288dfa887fcfdc27b0f7762 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 23 Feb 2009 12:03:37 +0000 Subject: [PATCH 004/126] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=4 --- baselibs.conf | 1 + xz.changes | 5 +++++ xz.spec | 4 +++- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 baselibs.conf diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..e75fdc3 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +liblzma0 diff --git a/xz.changes b/xz.changes index c712994..e73448e 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Feb 22 18:37:26 CET 2009 - ro@suse.de + +- added baselibs.conf (for rpm-32bit) + ------------------------------------------------------------------- Mon Feb 16 10:59:51 CET 2009 - coolo@suse.de diff --git a/xz.spec b/xz.spec index cd93f44..2b8ca40 100644 --- a/xz.spec +++ b/xz.spec @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files Version: 4.999.8beta -Release: 3 +Release: 4 Group: Productivity/Archiving/Compression License: GPL v2 or later Url: http://tukaani.org/lzma/ @@ -140,6 +140,8 @@ rm -fr $RPM_BUILD_ROOT %{_libdir}/pkgconfig/*.pc %changelog +* Sun Feb 22 2009 ro@suse.de +- added baselibs.conf (for rpm-32bit) * Mon Feb 16 2009 coolo@suse.de - use bzip payload, so users are able to install new rpm on old systems * Wed Feb 11 2009 coolo@suse.de -- 2.51.1 From f83bf57179cd62adef69f196ea7135165702fa15554e8d9890870a160ae465d3 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 12 Jun 2009 14:04:38 +0000 Subject: [PATCH 005/126] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=5 --- xz.changes | 5 +++++ xz.spec | 17 ++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/xz.changes b/xz.changes index e73448e..9a41c82 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jun 7 19:39:45 CEST 2009 - crrodriguez@suse.de + +- remove static libraries, see bnc#509945 for details + ------------------------------------------------------------------- Sun Feb 22 18:37:26 CET 2009 - ro@suse.de diff --git a/xz.spec b/xz.spec index 2b8ca40..f718140 100644 --- a/xz.spec +++ b/xz.spec @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files Version: 4.999.8beta -Release: 4 +Release: 5 Group: Productivity/Archiving/Compression License: GPL v2 or later Url: http://tukaani.org/lzma/ @@ -102,17 +102,15 @@ Authors: %build AUTOPOINT=true autoreconf -fi -./configure CFLAGS="$RPM_OPT_FLAGS" \ - --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} +%configure --libdir=/%{_lib} --disable-static --with-pic make %{?jobs:-j%jobs} %install make install DESTDIR=$RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/%{_lib} -mv $RPM_BUILD_ROOT%{_libdir}/liblzma.so.* $RPM_BUILD_ROOT/%{_lib} -ln -sf /%{_lib}/liblzma.so.0 $RPM_BUILD_ROOT%{_libdir}/liblzma.so -#empty dependency_libs -rm -f $RPM_BUILD_ROOT/%{_lib}/*.la +%{__mkdir_p} %{buildroot}%{_libdir} +%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/liblzma.so) %{buildroot}%{_libdir}/liblzma.so +%{__mv} -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir} +%{__rm} -v %{buildroot}/%{_lib}/liblzma.{so,la} %clean rm -fr $RPM_BUILD_ROOT @@ -136,10 +134,11 @@ rm -fr $RPM_BUILD_ROOT %{_includedir}/*.h %{_includedir}/lzma %{_libdir}/lib*.so -%{_libdir}/lib*.*a %{_libdir}/pkgconfig/*.pc %changelog +* Sun Jun 07 2009 crrodriguez@suse.de +- remove static libraries, see bnc#509945 for details * Sun Feb 22 2009 ro@suse.de - added baselibs.conf (for rpm-32bit) * Mon Feb 16 2009 coolo@suse.de -- 2.51.1 From d5b63966df50d7e17fcc5abe72584db8fb79edde9b6033ab85608c0124d0325f Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Sat, 22 Aug 2009 01:40:19 +0000 Subject: [PATCH 006/126] Accepting request 18441 from Base:System Copy from Base:System/xz based on submit request 18441 from user coolo OBS-URL: https://build.opensuse.org/request/show/18441 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=6 --- nostatic.diff | 25 ---------- xz-git.diff.bz2 | 3 ++ xz.changes | 13 +++++ xz.spec | 126 ++++-------------------------------------------- 4 files changed, 25 insertions(+), 142 deletions(-) delete mode 100644 nostatic.diff create mode 100644 xz-git.diff.bz2 diff --git a/nostatic.diff b/nostatic.diff deleted file mode 100644 index b437d74..0000000 --- a/nostatic.diff +++ /dev/null @@ -1,25 +0,0 @@ -Index: src/lzmadec/Makefile.am -================================================================================ ---- src/xz/Makefile.am -+++ src/xz/Makefile.am -@@ -42,10 +42,6 @@ xz_CPPFLAGS = \ - -I@top_builddir@/lib \ - -I@top_srcdir@/lib - --## Always link the command line tool statically against liblzma. It is --## faster on x86, because no need for PIC. We also have one dependency less, --## which allows users to more freely copy the xz binary to other boxes. --xz_LDFLAGS = -static - xz_LDADD = \ - @top_builddir@/src/liblzma/liblzma.la \ - @LTLIBINTL@ ---- src/xzdec/Makefile.am -+++ src/xzdec/Makefile.am -@@ -19,7 +19,6 @@ xzdec_CPPFLAGS = \ - -I@top_srcdir@/src/common \ - -I@top_srcdir@/src/liblzma/api \ - -I@top_builddir@/lib --xzdec_LDFLAGS = -static - xzdec_LDADD = \ - @top_builddir@/src/liblzma/liblzma.la \ - @LTLIBINTL@ diff --git a/xz-git.diff.bz2 b/xz-git.diff.bz2 new file mode 100644 index 0000000..3f87b25 --- /dev/null +++ b/xz-git.diff.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b2a205768fe1bf0bd04eddcf7b379d96117fdd5fcb3f2aa02e81d4a6f5c3fe4 +size 545877 diff --git a/xz.changes b/xz.changes index 9a41c82..38f96a4 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Aug 20 15:51:47 CEST 2009 - coolo@novell.com + +- update to latest git (5.0 still not released) + * a xz man page (bnc#505969) + * fix data corruption in LZ/LZMA2 encoder. + * major documentation update + * install lzdiff, lzgrep, and lzmore as symlinks + * make the default memory usage limit 40 % of RAM for both + compressing and decompressing. + * fixed a crash in liblzma + See git://ctrl.tukaani.org/xz.git for more + ------------------------------------------------------------------- Sun Jun 7 19:39:45 CEST 2009 - crrodriguez@suse.de diff --git a/xz.spec b/xz.spec index f718140..98cb355 100644 --- a/xz.spec +++ b/xz.spec @@ -1,5 +1,5 @@ # -# spec file for package xz (Version 4.999.8beta) +# spec file for package xz (Version 4.999.8git) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,13 +19,13 @@ Name: xz Summary: A Program for Compressing Files -Version: 4.999.8beta -Release: 5 +Version: 4.999.8git +Release: 1 Group: Productivity/Archiving/Compression License: GPL v2 or later Url: http://tukaani.org/lzma/ -Source: %{name}-%{version}.tar.bz2 -Patch: nostatic.diff +Source: %{name}-4.999.8beta.tar.bz2 +Patch0: xz-git.diff.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: lzma = %version Obsoletes: lzma < %version @@ -50,14 +50,6 @@ The xz command is a very powerful program for compressing files. * Very similar command line interface to what gzip and bzip2 have. - - -Authors: --------- - Igor Pavlov - Ville Koskinen - Lasse Collin - %package -n liblzma0 License: LGPL v2.1 or later Summary: LZMA library @@ -66,14 +58,6 @@ Group: System/Libraries %description -n liblzma0 Library for encoding/decoding LZMA files. - - -Authors: --------- - Igor Pavlov - Ville Koskinen - Lasse Collin - %package devel License: LGPL v2.1 or later Summary: Development package for the LZMA library @@ -88,21 +72,13 @@ Obsoletes: lzma-alpha-devel < %version This package contains the header files and libraries needed for compiling programs using the LZMA library. - - -Authors: --------- - Igor Pavlov - Ville Koskinen - Lasse Collin - %prep -%setup -q -%patch +%setup -q -n %{name}-4.999.8beta +%patch0 -p1 %build AUTOPOINT=true autoreconf -fi -%configure --libdir=/%{_lib} --disable-static --with-pic +%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name make %{?jobs:-j%jobs} %install @@ -121,7 +97,7 @@ rm -fr $RPM_BUILD_ROOT %files %defattr(-, root, root) -%doc README doc/file-format.txt +%_docdir/%name %{_bindir}/* %{_mandir}/man?/* @@ -137,87 +113,3 @@ rm -fr $RPM_BUILD_ROOT %{_libdir}/pkgconfig/*.pc %changelog -* Sun Jun 07 2009 crrodriguez@suse.de -- remove static libraries, see bnc#509945 for details -* Sun Feb 22 2009 ro@suse.de -- added baselibs.conf (for rpm-32bit) -* Mon Feb 16 2009 coolo@suse.de -- use bzip payload, so users are able to install new rpm on old systems -* Wed Feb 11 2009 coolo@suse.de -- fix devel symlink -* Fri Feb 06 2009 schwab@suse.de -- Update to xz-4.999.8beta. - See git://ctrl.tukaani.org/lzma-utils.git. -* Wed Jan 07 2009 schwab@suse.de -- Update to xz-4.999.7beta. - See git://ctrl.tukaani.org/lzma-utils.git. -- Rename to xz. -* Wed Jul 30 2008 schwab@suse.de -- Update to lzma-4.32.7. - * If "lzma -t" is run on a corrupt file or interrupted by a signal, - don't unlink /dev/null. - * Partial fix to race conditions where a signal could make lzma to - unlink both the source and destination files. Now it cannot lose - data anymore, but with bad luck an incomplete file may be left - on the disk. -* Wed May 14 2008 schwab@suse.de -- Update to lzma-4.32.6. - * Always use 32-bit integer to hold probability variables. Earlier, - these were 64-bit on 64-bit architectures, which hurt cache - efficiency in the CPU, and thus performance of LZMA. 32-bit - architectures are not affected by this change. - * Fix a theoretical data corruption bug in the LZMA encoder. It is - about overflowing a 32-bit integer, whose typical value stays below - five. I don't know if it is actually possible to construct to a file - that could make it overflow. Even if it were possible, it would "only" - make the output file corrupt so that it is 4 GiB too small; there - are no other security risks. Now the integer is 64-bit to be sure - it won't overflow. - * Add support for copying timestamps on operating systems that support - setting timestamps only by filename, not by file descriptor. - * Several portability fixes were made. -* Fri May 09 2008 schwab@suse.de -- Revert last changes. -* Tue May 06 2008 bk@suse.de -- ci removed #neededforbuild while mbuild converts to BuildRequires -- bzip2 source to save space (not lzma, so it can be built in <11.0) -* Tue May 06 2008 bk@suse.de -- run the package-provided self-test by adding a call to 'make check' -- use %%configure instead of equivalent configure call with options -- improved to allow building in SLES and non-SUSE repositories, eg: - - replace obsolete nostatic patch with check for static objects - - use more generic wildcards in the file list for manual pages -* Mon Feb 04 2008 schwab@suse.de -- Fix installation. -* Mon Feb 04 2008 schwab@suse.de -- Update to lzma-4.32.5. - * The percentage shown when --verbose is used, works again. Also some - typos were fixed from the messages printed by --verbose. - * Several small portability fixes were made. -* Fri Jan 04 2008 crrodriguez@suse.de -- Version 4.32.4 - * Ignore command line switch --format=alone. This way current scripts - can be written so that they will produce LZMA_Alone format files - even with the new command line tool once it is finishes along with - liblzma. - * The command line tool now tells if the user tries to decode files - in the new .lzma format. The message recommends upgrading to newer - LZMA Utils. - * Added some internal consistency checks to liblzmadec, so that it - doesn't crash if given lzmadec_stream whose initialization failed. - Some applications using zlib and libbzip2 don't check if - initialization was successful, and expect that error gets caught - safely later. -- disable static libraries -- remove liblzmadec.la that has empty dependency_libs -- do not link utils statically -* Mon Dec 03 2007 dmueller@suse.de -- update to 4.32.3: - * rare file content loss bugs fixed (did not check for error upon close()) - * permissions copying fixed -- testsuited switched partially to GPLv3 -- fix library package name -* Thu Oct 11 2007 schwab@suse.de -- Fix missing include. -* Wed Oct 10 2007 schwab@suse.de -- Initial version 4.32.0beta5. -- 2.51.1 From 87b734323b07c670e9868d76ea6cb2154d6d256d0971b3325f3607eac881b028 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 30 Aug 2009 18:16:06 +0000 Subject: [PATCH 007/126] Copy from home:coolo:branches:openSUSE:Factory/xz via accept of submit request 19245 Request was accepted with message: OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=4 --- xz.changes | 5 +++++ xz.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/xz.changes b/xz.changes index 38f96a4..a80776c 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Aug 23 14:50:09 CEST 2009 - coolo@novell.com + +- borrow %check section from fedora spec + ------------------------------------------------------------------- Thu Aug 20 15:51:47 CEST 2009 - coolo@novell.com diff --git a/xz.spec b/xz.spec index 98cb355..6cbf8ed 100644 --- a/xz.spec +++ b/xz.spec @@ -81,6 +81,9 @@ AUTOPOINT=true autoreconf -fi %configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name make %{?jobs:-j%jobs} +%check +LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check + %install make install DESTDIR=$RPM_BUILD_ROOT %{__mkdir_p} %{buildroot}%{_libdir} -- 2.51.1 From a7447a50e22c8119894fb554a4554971dc735e32265edcadb5ddfb54d21736ef Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 4 Sep 2009 09:55:31 +0000 Subject: [PATCH 008/126] Copy from home:coolo:branches:openSUSE:Factory/xz via accept of submit request 19891 Request was accepted with message: OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=5 --- xz-4.999.8beta.tar.bz2 | 3 --- xz-4.999.9beta.tar.bz2 | 3 +++ xz-git.diff.bz2 | 3 --- xz.changes | 6 ++++++ xz.spec | 8 +++----- 5 files changed, 12 insertions(+), 11 deletions(-) delete mode 100644 xz-4.999.8beta.tar.bz2 create mode 100644 xz-4.999.9beta.tar.bz2 delete mode 100644 xz-git.diff.bz2 diff --git a/xz-4.999.8beta.tar.bz2 b/xz-4.999.8beta.tar.bz2 deleted file mode 100644 index 1673090..0000000 --- a/xz-4.999.8beta.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5a1b5ff2f7ed76fdfd426aad1ad6021a8f5ae97619dd626aebad79c8d2eddf5a -size 666585 diff --git a/xz-4.999.9beta.tar.bz2 b/xz-4.999.9beta.tar.bz2 new file mode 100644 index 0000000..7f8e705 --- /dev/null +++ b/xz-4.999.9beta.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:330312c4397608d8b7be362cc7edbfeafa6101614bc2164d816ea767656aa15c +size 849062 diff --git a/xz-git.diff.bz2 b/xz-git.diff.bz2 deleted file mode 100644 index 3f87b25..0000000 --- a/xz-git.diff.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b2a205768fe1bf0bd04eddcf7b379d96117fdd5fcb3f2aa02e81d4a6f5c3fe4 -size 545877 diff --git a/xz.changes b/xz.changes index a80776c..a2757e4 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 4 11:53:41 CEST 2009 - coolo@novell.com + +- update to 4.999.9beta + * only some polishment above the git snapshot I took + ------------------------------------------------------------------- Sun Aug 23 14:50:09 CEST 2009 - coolo@novell.com diff --git a/xz.spec b/xz.spec index 6cbf8ed..054ae40 100644 --- a/xz.spec +++ b/xz.spec @@ -19,13 +19,12 @@ Name: xz Summary: A Program for Compressing Files -Version: 4.999.8git +Version: 4.999.9beta Release: 1 Group: Productivity/Archiving/Compression License: GPL v2 or later Url: http://tukaani.org/lzma/ -Source: %{name}-4.999.8beta.tar.bz2 -Patch0: xz-git.diff.bz2 +Source: %{name}-4.999.9beta.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: lzma = %version Obsoletes: lzma < %version @@ -73,8 +72,7 @@ This package contains the header files and libraries needed for compiling programs using the LZMA library. %prep -%setup -q -n %{name}-4.999.8beta -%patch0 -p1 +%setup -q -n %{name}-4.999.9beta %build AUTOPOINT=true autoreconf -fi -- 2.51.1 From 1b435dc8b238b0d0c2ce56ca46216ce61b8c92a97fa5171c91a9c01919cd392f Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 4 Sep 2009 22:17:34 +0000 Subject: [PATCH 009/126] checked in OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=6 --- xz-4.999.8beta.tar.bz2 | 3 +++ xz-4.999.9beta.tar.bz2 | 3 --- xz-git.diff.bz2 | 3 +++ xz.changes | 11 ----------- xz.spec | 11 +++++------ 5 files changed, 11 insertions(+), 20 deletions(-) create mode 100644 xz-4.999.8beta.tar.bz2 delete mode 100644 xz-4.999.9beta.tar.bz2 create mode 100644 xz-git.diff.bz2 diff --git a/xz-4.999.8beta.tar.bz2 b/xz-4.999.8beta.tar.bz2 new file mode 100644 index 0000000..1673090 --- /dev/null +++ b/xz-4.999.8beta.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a1b5ff2f7ed76fdfd426aad1ad6021a8f5ae97619dd626aebad79c8d2eddf5a +size 666585 diff --git a/xz-4.999.9beta.tar.bz2 b/xz-4.999.9beta.tar.bz2 deleted file mode 100644 index 7f8e705..0000000 --- a/xz-4.999.9beta.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:330312c4397608d8b7be362cc7edbfeafa6101614bc2164d816ea767656aa15c -size 849062 diff --git a/xz-git.diff.bz2 b/xz-git.diff.bz2 new file mode 100644 index 0000000..3f87b25 --- /dev/null +++ b/xz-git.diff.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b2a205768fe1bf0bd04eddcf7b379d96117fdd5fcb3f2aa02e81d4a6f5c3fe4 +size 545877 diff --git a/xz.changes b/xz.changes index a2757e4..38f96a4 100644 --- a/xz.changes +++ b/xz.changes @@ -1,14 +1,3 @@ -------------------------------------------------------------------- -Fri Sep 4 11:53:41 CEST 2009 - coolo@novell.com - -- update to 4.999.9beta - * only some polishment above the git snapshot I took - -------------------------------------------------------------------- -Sun Aug 23 14:50:09 CEST 2009 - coolo@novell.com - -- borrow %check section from fedora spec - ------------------------------------------------------------------- Thu Aug 20 15:51:47 CEST 2009 - coolo@novell.com diff --git a/xz.spec b/xz.spec index 054ae40..98cb355 100644 --- a/xz.spec +++ b/xz.spec @@ -19,12 +19,13 @@ Name: xz Summary: A Program for Compressing Files -Version: 4.999.9beta +Version: 4.999.8git Release: 1 Group: Productivity/Archiving/Compression License: GPL v2 or later Url: http://tukaani.org/lzma/ -Source: %{name}-4.999.9beta.tar.bz2 +Source: %{name}-4.999.8beta.tar.bz2 +Patch0: xz-git.diff.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: lzma = %version Obsoletes: lzma < %version @@ -72,16 +73,14 @@ This package contains the header files and libraries needed for compiling programs using the LZMA library. %prep -%setup -q -n %{name}-4.999.9beta +%setup -q -n %{name}-4.999.8beta +%patch0 -p1 %build AUTOPOINT=true autoreconf -fi %configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name make %{?jobs:-j%jobs} -%check -LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check - %install make install DESTDIR=$RPM_BUILD_ROOT %{__mkdir_p} %{buildroot}%{_libdir} -- 2.51.1 From 1cc59a68edb6e697258b2ea0295120240fd6189f1c7007c021ea5fc3759a4905 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 4 Sep 2009 22:17:35 +0000 Subject: [PATCH 010/126] Updating link to change in openSUSE:Factory/xz revision 7.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=7caa7b256d4d592cfdf25c5a9f8bf6ff --- xz-4.999.8beta.tar.bz2 | 3 --- xz-4.999.9beta.tar.bz2 | 3 +++ xz-git.diff.bz2 | 3 --- xz.changes | 11 +++++++++++ xz.spec | 13 +++++++------ 5 files changed, 21 insertions(+), 12 deletions(-) delete mode 100644 xz-4.999.8beta.tar.bz2 create mode 100644 xz-4.999.9beta.tar.bz2 delete mode 100644 xz-git.diff.bz2 diff --git a/xz-4.999.8beta.tar.bz2 b/xz-4.999.8beta.tar.bz2 deleted file mode 100644 index 1673090..0000000 --- a/xz-4.999.8beta.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5a1b5ff2f7ed76fdfd426aad1ad6021a8f5ae97619dd626aebad79c8d2eddf5a -size 666585 diff --git a/xz-4.999.9beta.tar.bz2 b/xz-4.999.9beta.tar.bz2 new file mode 100644 index 0000000..7f8e705 --- /dev/null +++ b/xz-4.999.9beta.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:330312c4397608d8b7be362cc7edbfeafa6101614bc2164d816ea767656aa15c +size 849062 diff --git a/xz-git.diff.bz2 b/xz-git.diff.bz2 deleted file mode 100644 index 3f87b25..0000000 --- a/xz-git.diff.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b2a205768fe1bf0bd04eddcf7b379d96117fdd5fcb3f2aa02e81d4a6f5c3fe4 -size 545877 diff --git a/xz.changes b/xz.changes index 38f96a4..a2757e4 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Sep 4 11:53:41 CEST 2009 - coolo@novell.com + +- update to 4.999.9beta + * only some polishment above the git snapshot I took + +------------------------------------------------------------------- +Sun Aug 23 14:50:09 CEST 2009 - coolo@novell.com + +- borrow %check section from fedora spec + ------------------------------------------------------------------- Thu Aug 20 15:51:47 CEST 2009 - coolo@novell.com diff --git a/xz.spec b/xz.spec index 98cb355..17af17d 100644 --- a/xz.spec +++ b/xz.spec @@ -1,5 +1,5 @@ # -# spec file for package xz (Version 4.999.8git) +# spec file for package xz (Version 4.999.9beta) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,13 +19,12 @@ Name: xz Summary: A Program for Compressing Files -Version: 4.999.8git +Version: 4.999.9beta Release: 1 Group: Productivity/Archiving/Compression License: GPL v2 or later Url: http://tukaani.org/lzma/ -Source: %{name}-4.999.8beta.tar.bz2 -Patch0: xz-git.diff.bz2 +Source: %{name}-4.999.9beta.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: lzma = %version Obsoletes: lzma < %version @@ -73,14 +72,16 @@ This package contains the header files and libraries needed for compiling programs using the LZMA library. %prep -%setup -q -n %{name}-4.999.8beta -%patch0 -p1 +%setup -q -n %{name}-4.999.9beta %build AUTOPOINT=true autoreconf -fi %configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name make %{?jobs:-j%jobs} +%check +LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check + %install make install DESTDIR=$RPM_BUILD_ROOT %{__mkdir_p} %{buildroot}%{_libdir} -- 2.51.1 From b9b8ea86a69022a0b625d73693aaf9602f3467ef504fea5f554bf1902c673553 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Mon, 14 Dec 2009 22:27:34 +0000 Subject: [PATCH 011/126] Accepting request 26310 from home:jengelh:branches:Base:System Copy from home:jengelh:branches:Base:System/xz via accept of submit request 26310 revision 2. Request was accepted with message: reviewed OBS-URL: https://build.opensuse.org/request/show/26310 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=7 --- xz.changes | 5 +++++ xz.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/xz.changes b/xz.changes index a2757e4..52015a7 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 12 18:40:53 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + ------------------------------------------------------------------- Fri Sep 4 11:53:41 CEST 2009 - coolo@novell.com diff --git a/xz.spec b/xz.spec index 17af17d..936d9c4 100644 --- a/xz.spec +++ b/xz.spec @@ -25,6 +25,7 @@ Group: Productivity/Archiving/Compression License: GPL v2 or later Url: http://tukaani.org/lzma/ Source: %{name}-4.999.9beta.tar.bz2 +Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: lzma = %version Obsoletes: lzma < %version -- 2.51.1 From 2ca9489889c00fa7d895d83010e91b16c2f8bdc86663a3f151ef785f0b8860cc Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 18 Dec 2009 11:29:41 +0000 Subject: [PATCH 012/126] checked in OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=8 --- xz.changes | 5 ----- xz.spec | 1 - 2 files changed, 6 deletions(-) diff --git a/xz.changes b/xz.changes index 52015a7..a2757e4 100644 --- a/xz.changes +++ b/xz.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Sat Dec 12 18:40:53 CET 2009 - jengelh@medozas.de - -- add baselibs.conf as a source - ------------------------------------------------------------------- Fri Sep 4 11:53:41 CEST 2009 - coolo@novell.com diff --git a/xz.spec b/xz.spec index 936d9c4..17af17d 100644 --- a/xz.spec +++ b/xz.spec @@ -25,7 +25,6 @@ Group: Productivity/Archiving/Compression License: GPL v2 or later Url: http://tukaani.org/lzma/ Source: %{name}-4.999.9beta.tar.bz2 -Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: lzma = %version Obsoletes: lzma < %version -- 2.51.1 From 23620eed6480f14fedede3bb9942780c99a9adffee4fbe12a523e7b3edb04018 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 18 Dec 2009 11:29:42 +0000 Subject: [PATCH 013/126] Accepting request 26843 from Base:System Copy from Base:System/xz based on submit request 26843 from user coolo OBS-URL: https://build.opensuse.org/request/show/26843 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=9 --- xz.changes | 5 +++++ xz.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/xz.changes b/xz.changes index a2757e4..52015a7 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 12 18:40:53 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + ------------------------------------------------------------------- Fri Sep 4 11:53:41 CEST 2009 - coolo@novell.com diff --git a/xz.spec b/xz.spec index 17af17d..5ae64f8 100644 --- a/xz.spec +++ b/xz.spec @@ -20,11 +20,12 @@ Name: xz Summary: A Program for Compressing Files Version: 4.999.9beta -Release: 1 +Release: 2 Group: Productivity/Archiving/Compression -License: GPL v2 or later +License: GPLv2+ Url: http://tukaani.org/lzma/ Source: %{name}-4.999.9beta.tar.bz2 +Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: lzma = %version Obsoletes: lzma < %version @@ -50,7 +51,7 @@ The xz command is a very powerful program for compressing files. * Very similar command line interface to what gzip and bzip2 have. %package -n liblzma0 -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: LZMA library Group: System/Libraries @@ -58,7 +59,7 @@ Group: System/Libraries Library for encoding/decoding LZMA files. %package devel -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: Development package for the LZMA library Group: Development/Libraries/C and C++ Requires: liblzma0 = %{version} -- 2.51.1 From 3691d61a8ac695a289f48b162782d2ec2264458b4632bcf4ef36653258ab8c85 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 12 Feb 2010 07:01:55 +0000 Subject: [PATCH 014/126] converted link to branch OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=9 --- xz.changes | 5 +++++ xz.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/xz.changes b/xz.changes index a2757e4..52015a7 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 12 18:40:53 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + ------------------------------------------------------------------- Fri Sep 4 11:53:41 CEST 2009 - coolo@novell.com diff --git a/xz.spec b/xz.spec index 17af17d..5ae64f8 100644 --- a/xz.spec +++ b/xz.spec @@ -20,11 +20,12 @@ Name: xz Summary: A Program for Compressing Files Version: 4.999.9beta -Release: 1 +Release: 2 Group: Productivity/Archiving/Compression -License: GPL v2 or later +License: GPLv2+ Url: http://tukaani.org/lzma/ Source: %{name}-4.999.9beta.tar.bz2 +Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: lzma = %version Obsoletes: lzma < %version @@ -50,7 +51,7 @@ The xz command is a very powerful program for compressing files. * Very similar command line interface to what gzip and bzip2 have. %package -n liblzma0 -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: LZMA library Group: System/Libraries @@ -58,7 +59,7 @@ Group: System/Libraries Library for encoding/decoding LZMA files. %package devel -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: Development package for the LZMA library Group: Development/Libraries/C and C++ Requires: liblzma0 = %{version} -- 2.51.1 From 7fb631e61f0566b6ec3442f337b51e338f9c31170cd1b356c980f63807fb5f54 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 18 Mar 2010 15:38:27 +0000 Subject: [PATCH 015/126] Updating link to change in openSUSE:Factory/xz revision 10.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=693c0fa6f51d8e66f11c5edb2ba190a3 --- ready | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 ready diff --git a/ready b/ready deleted file mode 100644 index 473a0f4..0000000 -- 2.51.1 From baefde31bfd81d923beda8ab7fa2af649b86dcb0c68cd2c9ad0515fe6b93d42f Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 18 Mar 2010 15:38:27 +0000 Subject: [PATCH 016/126] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=10 --- ready | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 ready diff --git a/ready b/ready deleted file mode 100644 index 473a0f4..0000000 -- 2.51.1 From ea8970d22b040ebcac712bba597b0b4dcff52071a8e6175b8e0d832ce1e296b7 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 24 Apr 2010 12:06:39 +0000 Subject: [PATCH 017/126] Accepting request 38723 from home:coolo:branches:openSUSE:Factory Copy from home:coolo:branches:openSUSE:Factory/xz via accept of submit request 38723 revision 2. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/38723 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=10 --- xz.changes | 5 +++++ xz.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/xz.changes b/xz.changes index 52015a7..d7ec949 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 24 11:38:25 UTC 2010 - coolo@novell.com + +- buildrequire pkg-config to fix provides + ------------------------------------------------------------------- Sat Dec 12 18:40:53 CET 2009 - jengelh@medozas.de diff --git a/xz.spec b/xz.spec index 5ae64f8..60bc424 100644 --- a/xz.spec +++ b/xz.spec @@ -27,6 +27,7 @@ Url: http://tukaani.org/lzma/ Source: %{name}-4.999.9beta.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkg-config Provides: lzma = %version Obsoletes: lzma < %version # avoid bootstrapping problem -- 2.51.1 From aafac15184b69257a236eaecfc1818e70e0ade6c004b6e26d91f61514f65e2e7 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 4 Jun 2010 12:46:29 +0000 Subject: [PATCH 018/126] Updating link to change in openSUSE:Factory/xz revision 11.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=aede9b19881ebd77907b92d1f9443637 --- xz.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xz.spec b/xz.spec index 60bc424..6980a98 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz (Version 4.999.9beta) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,9 +20,9 @@ Name: xz Summary: A Program for Compressing Files Version: 4.999.9beta -Release: 2 +Release: 3 Group: Productivity/Archiving/Compression -License: GPLv2+ +License: LGPLv2.1+ Url: http://tukaani.org/lzma/ Source: %{name}-4.999.9beta.tar.bz2 Source2: baselibs.conf -- 2.51.1 From d17acaf41b8a0bf72a290537efed1ee570ef5315ada8cbbad043b66771931c8e Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 28 Oct 2010 09:18:03 +0000 Subject: [PATCH 019/126] Accepting request 51502 from home:elvigia:branches:Base:System I'll fix baselibs.conf OBS-URL: https://build.opensuse.org/request/show/51502 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=13 --- _service | 13 +++++++++++++ xz-4.999.9beta.tar.bz2 | 3 --- xz.changes | 12 ++++++++++++ xz.spec | 27 ++++++++++++++++----------- 4 files changed, 41 insertions(+), 14 deletions(-) create mode 100644 _service delete mode 100644 xz-4.999.9beta.tar.bz2 diff --git a/_service b/_service new file mode 100644 index 0000000..99261a1 --- /dev/null +++ b/_service @@ -0,0 +1,13 @@ + + + + http + tukaani.org + /xz/xz-5.0.0.tar.bz2 + + + _service:download_url:xz-5.0.0.tar.bz2 + sha256 + 47a89e65c4690364a0123871a221e663d23a9fbd1ca756a804b10dd4006056d8 + + diff --git a/xz-4.999.9beta.tar.bz2 b/xz-4.999.9beta.tar.bz2 deleted file mode 100644 index 7f8e705..0000000 --- a/xz-4.999.9beta.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:330312c4397608d8b7be362cc7edbfeafa6101614bc2164d816ea767656aa15c -size 849062 diff --git a/xz.changes b/xz.changes index d7ec949..194e383 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Oct 27 00:28:26 UTC 2010 - cristian.rodriguez@opensuse.org + +- Update to 5.0.0 final + * The major soname has been bumped to 5.0.0. liblzma API and ABI + are now stable. + * The memory usage limit is now disabled by default + * Added support for XZ_DEFAULTS environment variable + * The compression settings associated with the preset levels + have been changed,they are now less likely to make compression worse. + * Support for "xz --list" was added + ------------------------------------------------------------------- Sat Apr 24 11:38:25 UTC 2010 - coolo@novell.com diff --git a/xz.spec b/xz.spec index 6980a98..f6c9cfd 100644 --- a/xz.spec +++ b/xz.spec @@ -19,12 +19,12 @@ Name: xz Summary: A Program for Compressing Files -Version: 4.999.9beta +Version: 5.0.0 Release: 3 Group: Productivity/Archiving/Compression License: LGPLv2.1+ Url: http://tukaani.org/lzma/ -Source: %{name}-4.999.9beta.tar.bz2 +Source: %{name}-%{version}.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkg-config @@ -51,19 +51,21 @@ The xz command is a very powerful program for compressing files. * Very similar command line interface to what gzip and bzip2 have. -%package -n liblzma0 +%lang_package + +%package -n liblzma5 License: LGPLv2.1+ Summary: LZMA library Group: System/Libraries -%description -n liblzma0 +%description -n liblzma5 Library for encoding/decoding LZMA files. %package devel License: LGPLv2.1+ Summary: Development package for the LZMA library Group: Development/Libraries/C and C++ -Requires: liblzma0 = %{version} +Requires: liblzma5 = %{version} Provides: lzma-devel = %version Obsoletes: lzma-devel < %version Provides: lzma-alpha-devel = %version @@ -74,10 +76,10 @@ This package contains the header files and libraries needed for compiling programs using the LZMA library. %prep -%setup -q -n %{name}-4.999.9beta +%setup -q %build -AUTOPOINT=true autoreconf -fi +AUTOPOINT=true autoreconf -fiv %configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name make %{?jobs:-j%jobs} @@ -90,13 +92,14 @@ make install DESTDIR=$RPM_BUILD_ROOT %{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/liblzma.so) %{buildroot}%{_libdir}/liblzma.so %{__mv} -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir} %{__rm} -v %{buildroot}/%{_lib}/liblzma.{so,la} +%find_lang %{name} %clean rm -fr $RPM_BUILD_ROOT -%post -n liblzma0 -p /sbin/ldconfig +%post -n liblzma5 -p /sbin/ldconfig -%postun -n liblzma0 -p /sbin/ldconfig +%postun -n liblzma5 -p /sbin/ldconfig %files %defattr(-, root, root) @@ -104,9 +107,11 @@ rm -fr $RPM_BUILD_ROOT %{_bindir}/* %{_mandir}/man?/* -%files -n liblzma0 +%files lang -f %{name}.lang + +%files -n liblzma5 %defattr(-, root, root) -/%{_lib}/lib*.so.0* +/%{_lib}/lib*.so.5* %files devel %defattr(-, root, root) -- 2.51.1 From 3e766434b3994a691c5ab93443783d9e058a43af047abcaaa6947c497c706811 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 28 Oct 2010 09:19:11 +0000 Subject: [PATCH 020/126] - adapt baselibs.conf OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=15 --- baselibs.conf | 2 +- xz.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/baselibs.conf b/baselibs.conf index e75fdc3..b991336 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -liblzma0 +liblzma5 diff --git a/xz.changes b/xz.changes index 194e383..cd53398 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 28 09:18:47 UTC 2010 - coolo@novell.com + +- adapt baselibs.conf + ------------------------------------------------------------------- Wed Oct 27 00:28:26 UTC 2010 - cristian.rodriguez@opensuse.org -- 2.51.1 From 5dcc8f13c5812d8245e169eb2dba99f10f2407c815985c4f9e400342efd5e4e8 Mon Sep 17 00:00:00 2001 From: OBS User _service Date: Thu, 28 Oct 2010 09:25:35 +0000 Subject: [PATCH 021/126] generated via source service OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=16 -- 2.51.1 From fc069b5f1cf5f8cb08e605fc3afe92647ef44abfdb0a405d210bb5f748e3727b Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 28 Oct 2010 10:20:43 +0000 Subject: [PATCH 022/126] Autobuild autoformatter for 51559 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=15 --- xz.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xz.spec b/xz.spec index f6c9cfd..cc30522 100644 --- a/xz.spec +++ b/xz.spec @@ -1,5 +1,5 @@ # -# spec file for package xz (Version 4.999.9beta) +# spec file for package xz (Version 5.0.0) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files Version: 5.0.0 -Release: 3 +Release: 1 Group: Productivity/Archiving/Compression License: LGPLv2.1+ Url: http://tukaani.org/lzma/ @@ -51,8 +51,8 @@ The xz command is a very powerful program for compressing files. * Very similar command line interface to what gzip and bzip2 have. -%lang_package +%lang_package %package -n liblzma5 License: LGPLv2.1+ Summary: LZMA library -- 2.51.1 From 8d557d90ec72ca83f12b3accbc61b5ff2718a068292c478ce2bd09fcce504629 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 28 Oct 2010 16:48:41 +0000 Subject: [PATCH 023/126] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=16 --- xz.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xz.spec b/xz.spec index cc30522..9161a6a 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz (Version 5.0.0) # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed -- 2.51.1 From b32fa9e7a461a30c846ec835d7b125ef1b57ce82e4dcb557d85ecedda468f659 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 29 Oct 2010 02:47:05 +0000 Subject: [PATCH 024/126] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=17 --- xz.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xz.spec b/xz.spec index 9161a6a..cc30522 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz (Version 5.0.0) # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed -- 2.51.1 From 8bb9ef6628e679f8512dee2720c016469f96d82c1c1730c453e0cc599ba28a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Sun, 31 Oct 2010 16:42:32 +0000 Subject: [PATCH 025/126] Accepting request 51713 from home:jengelh:dev OBS-URL: https://build.opensuse.org/request/show/51713 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=18 --- xz.changes | 5 +++++ xz.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/xz.changes b/xz.changes index cd53398..835b1ea 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Oct 30 20:17:49 UTC 2010 - jengelh@medozas.de + +- Use %_smp_mflags + ------------------------------------------------------------------- Thu Oct 28 09:18:47 UTC 2010 - coolo@novell.com diff --git a/xz.spec b/xz.spec index f6c9cfd..eee7577 100644 --- a/xz.spec +++ b/xz.spec @@ -1,5 +1,5 @@ # -# spec file for package xz (Version 4.999.9beta) +# spec file for package xz (Version 5.0.0) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files Version: 5.0.0 -Release: 3 +Release: 1 Group: Productivity/Archiving/Compression License: LGPLv2.1+ Url: http://tukaani.org/lzma/ @@ -51,8 +51,8 @@ The xz command is a very powerful program for compressing files. * Very similar command line interface to what gzip and bzip2 have. -%lang_package +%lang_package %package -n liblzma5 License: LGPLv2.1+ Summary: LZMA library @@ -81,7 +81,7 @@ compiling programs using the LZMA library. %build AUTOPOINT=true autoreconf -fiv %configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %check LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check -- 2.51.1 From f99bcd78ea4e24081ab13ee62b283bf1ea4d7c66f5ccf8bbc00c3aa2c5a16b7d Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 2 Nov 2010 09:12:15 +0000 Subject: [PATCH 026/126] Autobuild autoformatter for 51734 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=19 --- xz.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xz.spec b/xz.spec index eee7577..795500c 100644 --- a/xz.spec +++ b/xz.spec @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files Version: 5.0.0 -Release: 1 +Release: 2 Group: Productivity/Archiving/Compression License: LGPLv2.1+ Url: http://tukaani.org/lzma/ -- 2.51.1 From 7622d1afddc994e84ca000ed0d109c95e40c88b0eecca440566e25255d742934 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 12 Nov 2010 03:49:50 +0000 Subject: [PATCH 027/126] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=20 -- 2.51.1 From 77e54874f27776f8d1da9b9e17504b98acfc9f5c449fb9f2167468eb02974933 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 12 Nov 2010 13:42:15 +0000 Subject: [PATCH 028/126] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=21 -- 2.51.1 From 955cea69e1bee12af55ced42f6df48078583ce0ae4dfa9505ff5e5a3056fa912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Tue, 7 Dec 2010 18:58:20 +0000 Subject: [PATCH 029/126] Accepting request 55069 from home:elvigia:branches:Base:System OBS-URL: https://build.opensuse.org/request/show/55069 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=20 --- xz.changes | 6 ++++++ xz.spec | 16 ++++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/xz.changes b/xz.changes index 835b1ea..0ba81e5 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 7 18:47:04 UTC 2010 - cristian.rodriguez@opensuse.org + +- Use compiler profile information, makes xz marginally faster + (around 1-2 secs) + ------------------------------------------------------------------- Sat Oct 30 20:17:49 UTC 2010 - jengelh@medozas.de diff --git a/xz.spec b/xz.spec index eee7577..8526b9e 100644 --- a/xz.spec +++ b/xz.spec @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files Version: 5.0.0 -Release: 1 +Release: 2 Group: Productivity/Archiving/Compression License: LGPLv2.1+ Url: http://tukaani.org/lzma/ @@ -80,11 +80,23 @@ compiling programs using the LZMA library. %build AUTOPOINT=true autoreconf -fiv +%if %{do_profiling} +profiledir=$(mktemp -d) +trap "rm -rf $profiledir" EXIT +export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir" +%endif %configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name make %{?_smp_mflags} +%if %{do_profiling} +time make check +make clean +export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir" +%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name +make %{?_smp_mflags} +%endif %check -LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check +time make check %install make install DESTDIR=$RPM_BUILD_ROOT -- 2.51.1 From efb0dc784231ad977c3dbe369d5c1eb6d6bdeefe62d1ea743f52b0ec8d7d2402 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Wed, 8 Dec 2010 13:26:54 +0000 Subject: [PATCH 030/126] Autobuild autoformatter for 55070 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=23 --- xz.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xz.spec b/xz.spec index 8526b9e..bc74428 100644 --- a/xz.spec +++ b/xz.spec @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files Version: 5.0.0 -Release: 2 +Release: 3 Group: Productivity/Archiving/Compression License: LGPLv2.1+ Url: http://tukaani.org/lzma/ -- 2.51.1 From 079378c863f19bc453b041df5f8afd6fd82f5dad22142fd5c54ca924821e9806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Sat, 5 Mar 2011 13:27:05 +0000 Subject: [PATCH 031/126] Accepting request 63452 from home:elvigia:branches:Base:System OBS-URL: https://build.opensuse.org/request/show/63452 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=22 --- _service | 6 +++--- xz.changes | 8 ++++++++ xz.spec | 4 ++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/_service b/_service index 99261a1..ab0831b 100644 --- a/_service +++ b/_service @@ -3,11 +3,11 @@ http tukaani.org - /xz/xz-5.0.0.tar.bz2 + /xz/xz-5.0.1.tar.bz2 - _service:download_url:xz-5.0.0.tar.bz2 + _service:download_url:xz-5.0.1.tar.bz2 sha256 - 47a89e65c4690364a0123871a221e663d23a9fbd1ca756a804b10dd4006056d8 + 9b380f502d37085a60821484a3a13747454638927cc36033be64970512451ed8 diff --git a/xz.changes b/xz.changes index 0ba81e5..ee6c61a 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Mar 4 17:54:21 UTC 2011 - crrodriguez@opensuse.org + +- Update to version 5.0.1 +* Fix --force on setuid/setgid/sticky and multi-hardlink files. +* Add alloc_size and malloc attributes to a few functions. +* Fix gzip and bzip2 support in xzdiff + ------------------------------------------------------------------- Tue Dec 7 18:47:04 UTC 2010 - cristian.rodriguez@opensuse.org diff --git a/xz.spec b/xz.spec index 8526b9e..4654663 100644 --- a/xz.spec +++ b/xz.spec @@ -19,8 +19,8 @@ Name: xz Summary: A Program for Compressing Files -Version: 5.0.0 -Release: 2 +Version: 5.0.1 +Release: 3 Group: Productivity/Archiving/Compression License: LGPLv2.1+ Url: http://tukaani.org/lzma/ -- 2.51.1 From 9b7e1f0920da8d2984da6390ef95e32a5f655b77058dd95e4d183c04704e4c5d Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 7 Mar 2011 13:56:53 +0000 Subject: [PATCH 032/126] Updating link to change in openSUSE:Factory/xz revision 26.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=11d69dfe2f6b23038d3c1e765607d908 --- xz.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xz.spec b/xz.spec index 4654663..d947a78 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # -# spec file for package xz (Version 5.0.0) +# spec file for package xz # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files Version: 5.0.1 -Release: 3 +Release: 1 Group: Productivity/Archiving/Compression License: LGPLv2.1+ Url: http://tukaani.org/lzma/ -- 2.51.1 From 1c9deb45e34a9f7685f1990d51c4981a8e33dbb636bf36a8f6dc490e6e542349 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 7 Mar 2011 13:56:53 +0000 Subject: [PATCH 033/126] Autobuild autoformatter for 63474 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=26 --- xz.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xz.spec b/xz.spec index 4654663..d947a78 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # -# spec file for package xz (Version 5.0.0) +# spec file for package xz # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files Version: 5.0.1 -Release: 3 +Release: 1 Group: Productivity/Archiving/Compression License: LGPLv2.1+ Url: http://tukaani.org/lzma/ -- 2.51.1 From e028b69dbe2770b39f7562509adb3be1dfb4e324e3abad7ef290936bd653926f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Thu, 7 Apr 2011 21:55:20 +0000 Subject: [PATCH 034/126] Accepting request 66469 from home:elvigia:branches:Base:System OBS-URL: https://build.opensuse.org/request/show/66469 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=24 --- _service | 9 ++++----- xz.changes | 19 +++++++++++++++++++ xz.spec | 2 +- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/_service b/_service index ab0831b..e84bc88 100644 --- a/_service +++ b/_service @@ -1,13 +1,12 @@ - http tukaani.org - /xz/xz-5.0.1.tar.bz2 + /xz/xz-5.0.2.tar.bz2 - _service:download_url:xz-5.0.1.tar.bz2 + _service:download_url:xz-5.0.2.tar.bz2 sha256 - 9b380f502d37085a60821484a3a13747454638927cc36033be64970512451ed8 + 216df1ddbd591f0da63de31d4b0837eed6d019ccb0e36e57812764c69af645bc - + \ No newline at end of file diff --git a/xz.changes b/xz.changes index ee6c61a..9bc90ed 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Thu Apr 7 20:43:05 UTC 2011 - crrodriguez@opensuse.org + +- Update to version 5.0.2 + * LZMA2 decompressor now correctly accepts LZMA2 streams with no + uncompressed data. Previously it considered them corrupt. The + bug can affect applications that use raw LZMA2 streams. It is + very unlikely to affect .xz files because no compressor creates + .xz files with empty LZMA2 streams. (Empty .xz files are a + different thing than empty LZMA2 streams.) + + * "xz --suffix=.foo filename.foo" now refuses to compress the + file due to it already having the suffix .foo. It was already + documented on the man page, but the code lacked the test. + + * "xzgrep -l foo bar.xz" works now. + + * Polish translation was added. + ------------------------------------------------------------------- Fri Mar 4 17:54:21 UTC 2011 - crrodriguez@opensuse.org diff --git a/xz.spec b/xz.spec index d947a78..77bd360 100644 --- a/xz.spec +++ b/xz.spec @@ -19,7 +19,7 @@ Name: xz Summary: A Program for Compressing Files -Version: 5.0.1 +Version: 5.0.2 Release: 1 Group: Productivity/Archiving/Compression License: LGPLv2.1+ -- 2.51.1 From 1867250e0b638bb4463967b6dcfea91a4be46e4c3f316cca16452850b674569b Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 8 Jun 2011 19:26:22 +0000 Subject: [PATCH 035/126] - Update to version 5.0.3 * liblzma fixes: - A memory leak was fixed. - lzma_stream_buffer_encode() no longer creates an empty .xz Block if encoding an empty buffer. Such an empty Block with LZMA2 data would trigger a bug in 5.0.1 and older (see the first bullet point in 5.0.2 notes). When releasing 5.0.2, I thought that no encoder creates this kind of files but I was wrong. - Validate function arguments better in a few functions. Most importantly, specifying an unsupported integrity check to lzma_stream_buffer_encode() no longer creates a corrupt .xz file. Probably no application tries to do that, so this shouldn't be a big problem in practice. - Document that lzma_block_buffer_encode(), lzma_easy_buffer_encode(), lzma_stream_encoder(), and lzma_stream_buffer_encode() may return LZMA_UNSUPPORTED_CHECK. - The return values of the _memusage() functions are now documented better. * Fix command name detection in xzgrep. xzegrep and xzfgrep now correctly use egrep and fgrep instead of grep. * French translation was added. OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=26 --- _service | 8 ++++---- xz.changes | 33 +++++++++++++++++++++++++++++++++ xz.spec | 2 +- 3 files changed, 38 insertions(+), 5 deletions(-) diff --git a/_service b/_service index e84bc88..5b651a2 100644 --- a/_service +++ b/_service @@ -2,11 +2,11 @@ http tukaani.org - /xz/xz-5.0.2.tar.bz2 + /xz/xz-5.0.3.tar.bz2 - _service:download_url:xz-5.0.2.tar.bz2 + _service:download_url:xz-5.0.3.tar.bz2 sha256 - 216df1ddbd591f0da63de31d4b0837eed6d019ccb0e36e57812764c69af645bc + 5a11b9e17bfcda62319c5a8c4a2062dc81607a316d3f6adff89422d81ec1eae9 - \ No newline at end of file + diff --git a/xz.changes b/xz.changes index 9bc90ed..8940beb 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Wed Jun 8 19:25:51 UTC 2011 - coolo@novell.com + +- Update to version 5.0.3 + * liblzma fixes: + + - A memory leak was fixed. + + - lzma_stream_buffer_encode() no longer creates an empty .xz + Block if encoding an empty buffer. Such an empty Block with + LZMA2 data would trigger a bug in 5.0.1 and older (see the + first bullet point in 5.0.2 notes). When releasing 5.0.2, + I thought that no encoder creates this kind of files but + I was wrong. + + - Validate function arguments better in a few functions. Most + importantly, specifying an unsupported integrity check to + lzma_stream_buffer_encode() no longer creates a corrupt .xz + file. Probably no application tries to do that, so this + shouldn't be a big problem in practice. + + - Document that lzma_block_buffer_encode(), + lzma_easy_buffer_encode(), lzma_stream_encoder(), and + lzma_stream_buffer_encode() may return LZMA_UNSUPPORTED_CHECK. + + - The return values of the _memusage() functions are now + documented better. + + * Fix command name detection in xzgrep. xzegrep and xzfgrep now + correctly use egrep and fgrep instead of grep. + + * French translation was added. + ------------------------------------------------------------------- Thu Apr 7 20:43:05 UTC 2011 - crrodriguez@opensuse.org diff --git a/xz.spec b/xz.spec index 77bd360..e5c2259 100644 --- a/xz.spec +++ b/xz.spec @@ -19,7 +19,7 @@ Name: xz Summary: A Program for Compressing Files -Version: 5.0.2 +Version: 5.0.3 Release: 1 Group: Productivity/Archiving/Compression License: LGPLv2.1+ -- 2.51.1 From 7f3b8cad62245ca9a683476b192068cb6d84afd0615e234337df42f08671b6c3 Mon Sep 17 00:00:00 2001 From: OBS User _service Date: Wed, 8 Jun 2011 19:26:24 +0000 Subject: [PATCH 036/126] generated via source service OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=27 -- 2.51.1 From bc34f01caecb1e391efcef672c9f747372c05b656dab2e7e0091d293c861f73b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 14 Jun 2011 16:06:32 +0000 Subject: [PATCH 037/126] - add recommends xz-lang OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=29 --- xz.changes | 5 +++++ xz.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/xz.changes b/xz.changes index 8940beb..0b682c0 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 14 18:04:53 CEST 2011 - dmueller@suse.de + +- add recommends xz-lang + ------------------------------------------------------------------- Wed Jun 8 19:25:51 UTC 2011 - coolo@novell.com diff --git a/xz.spec b/xz.spec index e5c2259..5a203b7 100644 --- a/xz.spec +++ b/xz.spec @@ -30,6 +30,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkg-config Provides: lzma = %version Obsoletes: lzma < %version +Recommends: %name-lang # avoid bootstrapping problem %define _binary_payload w9.bzdio -- 2.51.1 From 8d289708d7da5ade1454e4969387e3fad71fe4bfc8eae472d52df7d3770ffa4b Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Wed, 15 Jun 2011 06:54:47 +0000 Subject: [PATCH 038/126] Updating link to change in openSUSE:Factory/xz revision 30.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=ede10ec77ef651534fbd325eab0c1e1e --- xz.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xz.spec b/xz.spec index 5a203b7..3c3d6da 100644 --- a/xz.spec +++ b/xz.spec @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files Version: 5.0.3 -Release: 1 +Release: 2 Group: Productivity/Archiving/Compression License: LGPLv2.1+ Url: http://tukaani.org/lzma/ -- 2.51.1 From 23d59822104136303237d367f825a71676def2d8a9e550cb7c979befb44b600d Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 15 Jun 2011 06:54:47 +0000 Subject: [PATCH 039/126] Autobuild autoformatter for 73576 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=30 --- xz.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xz.spec b/xz.spec index 5a203b7..3c3d6da 100644 --- a/xz.spec +++ b/xz.spec @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files Version: 5.0.3 -Release: 1 +Release: 2 Group: Productivity/Archiving/Compression License: LGPLv2.1+ Url: http://tukaani.org/lzma/ -- 2.51.1 From 7dbc1e5477ef9d833526397f9952866bc6180a7686cd6dff059ad0f6b1bf12a7 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 17 Sep 2011 08:28:27 +0000 Subject: [PATCH 040/126] Accepting request 82586 from home:jengelh:bl - Add xz-devel to baselibs - Remove redundant sections OBS-URL: https://build.opensuse.org/request/show/82586 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=31 --- baselibs.conf | 3 +++ xz.changes | 6 ++++++ xz.spec | 3 --- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/baselibs.conf b/baselibs.conf index b991336..d240a68 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1,4 @@ liblzma5 +xz-devel + requires -xz- + requires "liblzma5- = " diff --git a/xz.changes b/xz.changes index 0b682c0..4579113 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 16 16:37:32 UTC 2011 - jengelh@medozas.de + +- Add xz-devel to baselibs +- Remove redundant sections + ------------------------------------------------------------------- Tue Jun 14 18:04:53 CEST 2011 - dmueller@suse.de diff --git a/xz.spec b/xz.spec index 3c3d6da..540f8ab 100644 --- a/xz.spec +++ b/xz.spec @@ -107,9 +107,6 @@ make install DESTDIR=$RPM_BUILD_ROOT %{__rm} -v %{buildroot}/%{_lib}/liblzma.{so,la} %find_lang %{name} -%clean -rm -fr $RPM_BUILD_ROOT - %post -n liblzma5 -p /sbin/ldconfig %postun -n liblzma5 -p /sbin/ldconfig -- 2.51.1 From bb4d134c6e77b5bc9e731444b798d2b108f13d06634fd9c8a1ec7ac95dc27925 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 17 Sep 2011 15:19:48 +0000 Subject: [PATCH 041/126] remove _service OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=32 --- _service | 12 ------------ xz-5.0.3.tar.bz2 | 3 +++ xz.spec | 2 +- 3 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 _service create mode 100644 xz-5.0.3.tar.bz2 diff --git a/_service b/_service deleted file mode 100644 index 5b651a2..0000000 --- a/_service +++ /dev/null @@ -1,12 +0,0 @@ - - - http - tukaani.org - /xz/xz-5.0.3.tar.bz2 - - - _service:download_url:xz-5.0.3.tar.bz2 - sha256 - 5a11b9e17bfcda62319c5a8c4a2062dc81607a316d3f6adff89422d81ec1eae9 - - diff --git a/xz-5.0.3.tar.bz2 b/xz-5.0.3.tar.bz2 new file mode 100644 index 0000000..3fc4698 --- /dev/null +++ b/xz-5.0.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a11b9e17bfcda62319c5a8c4a2062dc81607a316d3f6adff89422d81ec1eae9 +size 1025913 diff --git a/xz.spec b/xz.spec index 540f8ab..67bede3 100644 --- a/xz.spec +++ b/xz.spec @@ -24,7 +24,7 @@ Release: 2 Group: Productivity/Archiving/Compression License: LGPLv2.1+ Url: http://tukaani.org/lzma/ -Source: %{name}-%{version}.tar.bz2 +Source: http://tukaani.org/xz/%{name}-%{version}.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkg-config -- 2.51.1 From d53b1b55865e60462a1c7748dee222bf2da9b0ea47f66267ac5f0d4a78d286c8 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 17 Sep 2011 15:20:35 +0000 Subject: [PATCH 042/126] - remove _service, too fragile OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=33 --- xz.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xz.changes b/xz.changes index 4579113..69d0f49 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Sep 17 15:19:50 UTC 2011 - coolo@suse.com + +- remove _service, too fragile + ------------------------------------------------------------------- Fri Sep 16 16:37:32 UTC 2011 - jengelh@medozas.de -- 2.51.1 From 65541bd9272cbbf306c385f17628c2326fff29bc2154ff58e95b6d0fe6cdaed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Mon, 26 Sep 2011 17:58:10 +0000 Subject: [PATCH 043/126] Accepting request 84931 from devel:tools:building - build on SLE_10 OBS-URL: https://build.opensuse.org/request/show/84931 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=36 --- xz.changes | 5 +++++ xz.spec | 25 ++++++++++++++++++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/xz.changes b/xz.changes index 69d0f49..9571dad 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 26 15:59:51 UTC 2011 - coolo@suse.com + +- build on SLE_10 + ------------------------------------------------------------------- Sat Sep 17 15:19:50 UTC 2011 - coolo@suse.com diff --git a/xz.spec b/xz.spec index 67bede3..087b204 100644 --- a/xz.spec +++ b/xz.spec @@ -27,10 +27,19 @@ Url: http://tukaani.org/lzma/ Source: http://tukaani.org/xz/%{name}-%{version}.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: pkg-config +BuildRequires: pkgconfig Provides: lzma = %version Obsoletes: lzma < %version + +%if 0%{?suse_version} > 1400 +%define do_factory 1 +%else +%define do_profiling 0 +%endif + +%if 0%{?do_factory} > 1 Recommends: %name-lang +%endif # avoid bootstrapping problem %define _binary_payload w9.bzdio @@ -52,8 +61,10 @@ The xz command is a very powerful program for compressing files. * Very similar command line interface to what gzip and bzip2 have. - +%if 0%{?do_factory} > 1 %lang_package +%endif + %package -n liblzma5 License: LGPLv2.1+ Summary: LZMA library @@ -80,7 +91,6 @@ compiling programs using the LZMA library. %setup -q %build -AUTOPOINT=true autoreconf -fiv %if %{do_profiling} profiledir=$(mktemp -d) trap "rm -rf $profiledir" EXIT @@ -111,13 +121,22 @@ make install DESTDIR=$RPM_BUILD_ROOT %postun -n liblzma5 -p /sbin/ldconfig +%if 0%{?do_factory} > 0 + %files +%else + +%files -f %{name}.lang +%endif %defattr(-, root, root) %_docdir/%name %{_bindir}/* %{_mandir}/man?/* +%if 0%{?do_factory} > 0 + %files lang -f %{name}.lang +%endif %files -n liblzma5 %defattr(-, root, root) -- 2.51.1 From 8cf571b1710d9671e46bb4317b14ad3788feeca5a62f9af2cbf00d36e38958ff Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 27 Sep 2011 07:28:36 +0000 Subject: [PATCH 044/126] fix last fix OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=37 --- xz.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xz.spec b/xz.spec index 087b204..fe0866f 100644 --- a/xz.spec +++ b/xz.spec @@ -31,13 +31,13 @@ BuildRequires: pkgconfig Provides: lzma = %version Obsoletes: lzma < %version -%if 0%{?suse_version} > 1400 +%if 0%{?suse_version} > 1140 %define do_factory 1 %else %define do_profiling 0 %endif -%if 0%{?do_factory} > 1 +%if 0%{?do_factory} > 0 Recommends: %name-lang %endif # avoid bootstrapping problem @@ -61,7 +61,7 @@ The xz command is a very powerful program for compressing files. * Very similar command line interface to what gzip and bzip2 have. -%if 0%{?do_factory} > 1 +%if 0%{?do_factory} > 0 %lang_package %endif -- 2.51.1 From 6956b12fb3cc16b51734bc0814c3e931ebd743a974d323b083c6e47eadf31105 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 27 Sep 2011 13:40:01 +0000 Subject: [PATCH 045/126] Accepting request 85092 from home:rudi_m:branches:Base:System - minor fixes of last portability changes: * decouple do_profiling and lang_package again * don't define do_factory, just use lang_package instead * simplify files section * do_profiling for some more systems OBS-URL: https://build.opensuse.org/request/show/85092 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=38 --- xz.changes | 9 +++++++++ xz.spec | 19 ++++++------------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/xz.changes b/xz.changes index 9571dad..5479482 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Sep 27 13:05:34 UTC 2011 - sweet_f_a@gmx.de + +- minor fixes of last portability changes: + * decouple do_profiling and lang_package again + * don't define do_factory, just use lang_package instead + * simplify files section + * do_profiling for some more systems + ------------------------------------------------------------------- Mon Sep 26 15:59:51 UTC 2011 - coolo@suse.com diff --git a/xz.spec b/xz.spec index fe0866f..8943770 100644 --- a/xz.spec +++ b/xz.spec @@ -31,13 +31,11 @@ BuildRequires: pkgconfig Provides: lzma = %version Obsoletes: lzma < %version -%if 0%{?suse_version} > 1140 -%define do_factory 1 -%else +%if 0%{?suse_version} < 1130 %define do_profiling 0 %endif -%if 0%{?do_factory} > 0 +%if 0%{?lang_package:1} > 0 Recommends: %name-lang %endif # avoid bootstrapping problem @@ -61,9 +59,7 @@ The xz command is a very powerful program for compressing files. * Very similar command line interface to what gzip and bzip2 have. -%if 0%{?do_factory} > 0 -%lang_package -%endif +%{?lang_package} %package -n liblzma5 License: LGPLv2.1+ @@ -121,7 +117,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %postun -n liblzma5 -p /sbin/ldconfig -%if 0%{?do_factory} > 0 +%if 0%{?lang_package:1} > 0 + +%files lang -f %{name}.lang %files %else @@ -133,11 +131,6 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_bindir}/* %{_mandir}/man?/* -%if 0%{?do_factory} > 0 - -%files lang -f %{name}.lang -%endif - %files -n liblzma5 %defattr(-, root, root) /%{_lib}/lib*.so.5* -- 2.51.1 From 04edf8878975e5ced7859e8e73c33f28e467357cf181cda17ede3b6ec041a7e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Fri, 30 Sep 2011 21:25:41 +0000 Subject: [PATCH 046/126] Accepting request 85834 from home:elvigia:branches:Base:System - Fix build in armv5el doesnt like profiling OBS-URL: https://build.opensuse.org/request/show/85834 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=40 --- xz.changes | 5 +++++ xz.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/xz.changes b/xz.changes index 5479482..60428b7 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 20:31:59 UTC 2011 - crrodriguez@opensuse.org + +- Fix build in armv5el doesnt like profiling + ------------------------------------------------------------------- Tue Sep 27 13:05:34 UTC 2011 - sweet_f_a@gmx.de diff --git a/xz.spec b/xz.spec index 8943770..05056b7 100644 --- a/xz.spec +++ b/xz.spec @@ -87,14 +87,14 @@ compiling programs using the LZMA library. %setup -q %build -%if %{do_profiling} +%ifnarch %{arm} && %{do_profiling} profiledir=$(mktemp -d) trap "rm -rf $profiledir" EXIT export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir" %endif -%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name +%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name || cat config.log make %{?_smp_mflags} -%if %{do_profiling} +%ifnarch %{arm} && %{do_profiling} time make check make clean export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir" -- 2.51.1 From 576f48b5669f88285423e677b61cf18f70cc965822bd294aeabfe874c3c0c48e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 10 Oct 2011 13:48:55 +0000 Subject: [PATCH 047/126] Accepting request 87178 from home:rudi_m:branches:Base:System re-submit #86758 including changelog OBS-URL: https://build.opensuse.org/request/show/87178 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=42 --- xz.changes | 5 +++++ xz.spec | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/xz.changes b/xz.changes index 60428b7..236ba5c 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 9 15:25:02 UTC 2011 - sweet_f_a@gmx.de + +- rewrite last broken arm portability changes + ------------------------------------------------------------------- Fri Sep 30 20:31:59 UTC 2011 - crrodriguez@opensuse.org diff --git a/xz.spec b/xz.spec index 05056b7..2303f4b 100644 --- a/xz.spec +++ b/xz.spec @@ -34,6 +34,9 @@ Obsoletes: lzma < %version %if 0%{?suse_version} < 1130 %define do_profiling 0 %endif +%ifarch %{arm} +%define do_profiling 0 +%endif %if 0%{?lang_package:1} > 0 Recommends: %name-lang @@ -87,14 +90,14 @@ compiling programs using the LZMA library. %setup -q %build -%ifnarch %{arm} && %{do_profiling} +%if %{do_profiling} profiledir=$(mktemp -d) trap "rm -rf $profiledir" EXIT export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir" %endif -%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name || cat config.log +%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name make %{?_smp_mflags} -%ifnarch %{arm} && %{do_profiling} +%if %{do_profiling} time make check make clean export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir" -- 2.51.1 From cd09eb63aafe26dd51c8d27c4339a3920e01a0752ce37153801e450e3ff9a559 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 6 Dec 2011 18:18:27 +0000 Subject: [PATCH 048/126] replace license with spdx.org variant OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=36 --- xz.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xz.spec b/xz.spec index 2303f4b..882a238 100644 --- a/xz.spec +++ b/xz.spec @@ -22,7 +22,7 @@ Summary: A Program for Compressing Files Version: 5.0.3 Release: 2 Group: Productivity/Archiving/Compression -License: LGPLv2.1+ +License: LGPL-2.1+ Url: http://tukaani.org/lzma/ Source: http://tukaani.org/xz/%{name}-%{version}.tar.bz2 Source2: baselibs.conf @@ -65,7 +65,7 @@ The xz command is a very powerful program for compressing files. %{?lang_package} %package -n liblzma5 -License: LGPLv2.1+ +License: LGPL-2.1+ Summary: LZMA library Group: System/Libraries @@ -73,7 +73,7 @@ Group: System/Libraries Library for encoding/decoding LZMA files. %package devel -License: LGPLv2.1+ +License: LGPL-2.1+ Summary: Development package for the LZMA library Group: Development/Libraries/C and C++ Requires: liblzma5 = %{version} -- 2.51.1 From 2beaef82c62ac3e90ad0964f11ac2d88a7911049e5efb71dca955d412aca6cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Sun, 12 Feb 2012 23:56:47 +0000 Subject: [PATCH 049/126] Accepting request 104193 from home:elvigia:branches:Base:System - Put libraries back in %{_libdir}, /usr merge project. OBS-URL: https://build.opensuse.org/request/show/104193 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=44 --- xz.changes | 5 +++++ xz.spec | 22 ++++++++-------------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/xz.changes b/xz.changes index 236ba5c..af01f23 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Feb 12 23:37:44 UTC 2012 - crrodriguez@opensuse.org + +- Put libraries back in %{_libdir}, /usr merge project. + ------------------------------------------------------------------- Sun Oct 9 15:25:02 UTC 2011 - sweet_f_a@gmx.de diff --git a/xz.spec b/xz.spec index 2303f4b..bd05d80 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,13 +16,12 @@ # - Name: xz Summary: A Program for Compressing Files -Version: 5.0.3 -Release: 2 +License: LGPL-2.1+ Group: Productivity/Archiving/Compression -License: LGPLv2.1+ +Version: 5.0.3 +Release: 0 Url: http://tukaani.org/lzma/ Source: http://tukaani.org/xz/%{name}-%{version}.tar.bz2 Source2: baselibs.conf @@ -65,7 +64,6 @@ The xz command is a very powerful program for compressing files. %{?lang_package} %package -n liblzma5 -License: LGPLv2.1+ Summary: LZMA library Group: System/Libraries @@ -73,7 +71,6 @@ Group: System/Libraries Library for encoding/decoding LZMA files. %package devel -License: LGPLv2.1+ Summary: Development package for the LZMA library Group: Development/Libraries/C and C++ Requires: liblzma5 = %{version} @@ -95,13 +92,13 @@ profiledir=$(mktemp -d) trap "rm -rf $profiledir" EXIT export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir" %endif -%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name +%configure --disable-static --with-pic --docdir=%_docdir/%name make %{?_smp_mflags} %if %{do_profiling} time make check make clean export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir" -%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name +%configure --disable-static --with-pic --docdir=%_docdir/%name make %{?_smp_mflags} %endif @@ -110,10 +107,7 @@ time make check %install make install DESTDIR=$RPM_BUILD_ROOT -%{__mkdir_p} %{buildroot}%{_libdir} -%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/liblzma.so) %{buildroot}%{_libdir}/liblzma.so -%{__mv} -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir} -%{__rm} -v %{buildroot}/%{_lib}/liblzma.{so,la} +%{__rm} -v %{buildroot}%{_libdir}/liblzma.la %find_lang %{name} %post -n liblzma5 -p /sbin/ldconfig @@ -136,7 +130,7 @@ make install DESTDIR=$RPM_BUILD_ROOT %files -n liblzma5 %defattr(-, root, root) -/%{_lib}/lib*.so.5* +%{_libdir}/lib*.so.5* %files devel %defattr(-, root, root) -- 2.51.1 From ebfda6999e95dbd1ed784b654be1f6b2abceff853cccd5d4ab579e2c20456c6a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 6 Jul 2012 10:54:13 +0000 Subject: [PATCH 050/126] Accepting request 127267 from home:rudi_m:bldchn - correct license "LGPL-2.1+ and GPL-2.0+" (bnc#770195) OBS-URL: https://build.opensuse.org/request/show/127267 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=46 --- xz.changes | 5 +++++ xz.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/xz.changes b/xz.changes index af01f23..b47d644 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 6 10:18:06 UTC 2012 - sweet_f_a@gmx.de + +- correct license "LGPL-2.1+ and GPL-2.0+" (bnc#770195) + ------------------------------------------------------------------- Sun Feb 12 23:37:44 UTC 2012 - crrodriguez@opensuse.org diff --git a/xz.spec b/xz.spec index bd05d80..df381c3 100644 --- a/xz.spec +++ b/xz.spec @@ -18,7 +18,7 @@ Name: xz Summary: A Program for Compressing Files -License: LGPL-2.1+ +License: LGPL-2.1+ and GPL-2.0+ Group: Productivity/Archiving/Compression Version: 5.0.3 Release: 0 -- 2.51.1 From c760b7957188661c77bda8e5a26587b5c18a29a39009e69d0fd2ae8cd700de91 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 29 Jul 2012 21:42:17 +0000 Subject: [PATCH 051/126] Accepting request 129221 from home:jengelh:branches:Base:System - Disable profiling on SPARC due to compiler bug [gcc #54121] OBS-URL: https://build.opensuse.org/request/show/129221 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=48 --- xz.changes | 5 +++++ xz.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/xz.changes b/xz.changes index b47d644..8acfd3d 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jul 29 17:52:57 UTC 2012 - jengelh@inai.de + +- Disable profiling on SPARC due to compiler bug [gcc #54121] + ------------------------------------------------------------------- Fri Jul 6 10:18:06 UTC 2012 - sweet_f_a@gmx.de diff --git a/xz.spec b/xz.spec index df381c3..3c670f0 100644 --- a/xz.spec +++ b/xz.spec @@ -33,7 +33,7 @@ Obsoletes: lzma < %version %if 0%{?suse_version} < 1130 %define do_profiling 0 %endif -%ifarch %{arm} +%ifarch %{arm} %sparc %define do_profiling 0 %endif -- 2.51.1 From 36bf01b4262f93c82f52d5a120664f75ccf84eb20edd45c85d834e29e03e2406 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 27 Nov 2012 13:46:12 +0000 Subject: [PATCH 052/126] Accepting request 143030 from home:rudi_m:bldchn - Update to version 5.0.4 * liblzma: - Fix lzma_index_init(). It could crash if memory allocation failed. - Fix the possibility of an incorrect LZMA_BUF_ERROR when a BCJ filter is used and the application only provides exactly as much output space as is the uncompressed size of the file. - Fix a bug in doc/examples_old/xz_pipe_decompress.c. It didn't check if the last call to lzma_code() really returned LZMA_STREAM_END, which made the program think that truncated files are valid. - New example programs in doc/examples (old programs are now in doc/examples_old). These have more comments and more detailed error handling. * Fix "xz -lvv foo.xz". It could crash on some corrupted files. * Fix output of "xz --robot -lv" and "xz --robot -lvv" which incorrectly printed the filename also in the "foo (x/x)" format. * Fix exit status of "xzdiff foo.xz bar.xz". * Fix exit status of "xzgrep foo binary_file". * Fix portability to EBCDIC systems. * Fix a configure issue on AIX with the XL C compiler. See INSTALL for details. * Update French, German, Italian, and Polish translations OBS-URL: https://build.opensuse.org/request/show/143030 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=50 --- xz-5.0.3.tar.bz2 | 3 --- xz-5.0.4.tar.bz2 | 3 +++ xz.changes | 27 +++++++++++++++++++++++++++ xz.spec | 2 +- 4 files changed, 31 insertions(+), 4 deletions(-) delete mode 100644 xz-5.0.3.tar.bz2 create mode 100644 xz-5.0.4.tar.bz2 diff --git a/xz-5.0.3.tar.bz2 b/xz-5.0.3.tar.bz2 deleted file mode 100644 index 3fc4698..0000000 --- a/xz-5.0.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5a11b9e17bfcda62319c5a8c4a2062dc81607a316d3f6adff89422d81ec1eae9 -size 1025913 diff --git a/xz-5.0.4.tar.bz2 b/xz-5.0.4.tar.bz2 new file mode 100644 index 0000000..1f9ccb6 --- /dev/null +++ b/xz-5.0.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5cd9b060d3a1ad396b3be52c9b9311046a1c369e6062aea752658c435629ce92 +size 1048328 diff --git a/xz.changes b/xz.changes index 8acfd3d..003b82e 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Tue Nov 27 11:10:13 UTC 2012 - sweet_f_a@gmx.de + +- Update to version 5.0.4 + * liblzma: + - Fix lzma_index_init(). It could crash if memory allocation + failed. + - Fix the possibility of an incorrect LZMA_BUF_ERROR when a BCJ + filter is used and the application only provides exactly as + much output space as is the uncompressed size of the file. + - Fix a bug in doc/examples_old/xz_pipe_decompress.c. It didn't + check if the last call to lzma_code() really returned + LZMA_STREAM_END, which made the program think that truncated + files are valid. + - New example programs in doc/examples (old programs are now in + doc/examples_old). These have more comments and more detailed + error handling. + * Fix "xz -lvv foo.xz". It could crash on some corrupted files. + * Fix output of "xz --robot -lv" and "xz --robot -lvv" which + incorrectly printed the filename also in the "foo (x/x)" format. + * Fix exit status of "xzdiff foo.xz bar.xz". + * Fix exit status of "xzgrep foo binary_file". + * Fix portability to EBCDIC systems. + * Fix a configure issue on AIX with the XL C compiler. See INSTALL + for details. + * Update French, German, Italian, and Polish translations + ------------------------------------------------------------------- Sun Jul 29 17:52:57 UTC 2012 - jengelh@inai.de diff --git a/xz.spec b/xz.spec index 3c670f0..f9f81a3 100644 --- a/xz.spec +++ b/xz.spec @@ -20,7 +20,7 @@ Name: xz Summary: A Program for Compressing Files License: LGPL-2.1+ and GPL-2.0+ Group: Productivity/Archiving/Compression -Version: 5.0.3 +Version: 5.0.4 Release: 0 Url: http://tukaani.org/lzma/ Source: http://tukaani.org/xz/%{name}-%{version}.tar.bz2 -- 2.51.1 From b689d37c5ca9443d7e28e33311cdfddc5f9b2ecec3724d86f3d4e8b8ce253606 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 31 Jan 2013 12:30:31 +0000 Subject: [PATCH 053/126] Accepting request 150409 from devel:ARM:AArch64:Factory Disable profiling for aarch64 arch OBS-URL: https://build.opensuse.org/request/show/150409 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=52 --- xz.changes | 5 +++++ xz.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/xz.changes b/xz.changes index 003b82e..54b15f5 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 29 17:28:51 UTC 2013 - guillaume@opensuse.org + +- Disable profiling for aarch64 arch + ------------------------------------------------------------------- Tue Nov 27 11:10:13 UTC 2012 - sweet_f_a@gmx.de diff --git a/xz.spec b/xz.spec index f9f81a3..a5dc23e 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,7 +33,7 @@ Obsoletes: lzma < %version %if 0%{?suse_version} < 1130 %define do_profiling 0 %endif -%ifarch %{arm} %sparc +%ifarch aarch64 %{arm} %sparc %define do_profiling 0 %endif -- 2.51.1 From 3091a2ed478915d34f89d897b043abb97bf5f678a5d410585d68c59e64361488 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 16 Jul 2013 15:39:06 +0000 Subject: [PATCH 054/126] Accepting request 183430 from home:namtrac:bugfix - Update to version 5.0.5 * lzmadec and liblzma's lzma_alone_decoder(): Support decompressing .lzma files that have less common settings in the headers (dictionary size other than 2^n or 2^n + 2^(n-1), or uncompressed size greater than 256 GiB). * xz: - Fixes and improvements to error handling. - Various fixes to the man page. * xzless: Fixed to work with "less" versions 448 and later * xzgrep: Made -h an alias for --no-filename. OBS-URL: https://build.opensuse.org/request/show/183430 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=54 --- xz-5.0.4.tar.bz2 | 3 --- xz-5.0.5.tar.xz | 3 +++ xz.changes | 14 ++++++++++++++ xz.spec | 4 ++-- 4 files changed, 19 insertions(+), 5 deletions(-) delete mode 100644 xz-5.0.4.tar.bz2 create mode 100644 xz-5.0.5.tar.xz diff --git a/xz-5.0.4.tar.bz2 b/xz-5.0.4.tar.bz2 deleted file mode 100644 index 1f9ccb6..0000000 --- a/xz-5.0.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5cd9b060d3a1ad396b3be52c9b9311046a1c369e6062aea752658c435629ce92 -size 1048328 diff --git a/xz-5.0.5.tar.xz b/xz-5.0.5.tar.xz new file mode 100644 index 0000000..58634d2 --- /dev/null +++ b/xz-5.0.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3515c74d170d0f6ec00820de63106ad16c07bae55a59c174b4741242c76264a4 +size 928700 diff --git a/xz.changes b/xz.changes index 54b15f5..7676a3b 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Jul 16 13:52:16 UTC 2013 - idonmez@suse.com + +- Update to version 5.0.5 + * lzmadec and liblzma's lzma_alone_decoder(): Support decompressing + .lzma files that have less common settings in the headers + (dictionary size other than 2^n or 2^n + 2^(n-1), or uncompressed + size greater than 256 GiB). + * xz: + - Fixes and improvements to error handling. + - Various fixes to the man page. + * xzless: Fixed to work with "less" versions 448 and later + * xzgrep: Made -h an alias for --no-filename. + ------------------------------------------------------------------- Tue Jan 29 17:28:51 UTC 2013 - guillaume@opensuse.org diff --git a/xz.spec b/xz.spec index a5dc23e..9f0a347 100644 --- a/xz.spec +++ b/xz.spec @@ -20,10 +20,10 @@ Name: xz Summary: A Program for Compressing Files License: LGPL-2.1+ and GPL-2.0+ Group: Productivity/Archiving/Compression -Version: 5.0.4 +Version: 5.0.5 Release: 0 Url: http://tukaani.org/lzma/ -Source: http://tukaani.org/xz/%{name}-%{version}.tar.bz2 +Source: http://tukaani.org/xz/%{name}-%{version}.tar.xz Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig -- 2.51.1 From 46e76b3d5cd06501b66181083794edd4ec06b3521b0bdfa337d9c21fb11e88f0 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Wed, 16 Oct 2013 18:42:10 +0000 Subject: [PATCH 055/126] Accepting request 203465 from home:mvyskocil - Use gzipped archive to prevent a build cycle on older targets * http://lists.opensuse.org/opensuse-buildservice/2013-10/msg00079.html - Add a signature and keyring file for source verification * not enable in spec due bootstrapping issues OBS-URL: https://build.opensuse.org/request/show/203465 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=56 --- xz-5.0.5.tar.gz | 3 +++ xz-5.0.5.tar.gz.sig | Bin 0 -> 543 bytes xz-5.0.5.tar.xz | 3 --- xz.changes | 8 +++++++ xz.keyring | 56 ++++++++++++++++++++++++++++++++++++++++++++ xz.spec | 6 ++++- 6 files changed, 72 insertions(+), 4 deletions(-) create mode 100644 xz-5.0.5.tar.gz create mode 100644 xz-5.0.5.tar.gz.sig delete mode 100644 xz-5.0.5.tar.xz create mode 100644 xz.keyring diff --git a/xz-5.0.5.tar.gz b/xz-5.0.5.tar.gz new file mode 100644 index 0000000..2a7bf41 --- /dev/null +++ b/xz-5.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5dcffe6a3726d23d1711a65288de2e215b4960da5092248ce63c99d50093b93a +size 1305685 diff --git a/xz-5.0.5.tar.gz.sig b/xz-5.0.5.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..094e7128191f4eaca031de9b98ab3fa65adf6e6ea405e389db94870e962197e2 GIT binary patch literal 543 zcmV+)0^t3L0vrSY0RjL91p-mfU%CJa2@p8$b$w|VMj%1n5C2L}jNw>za_(+$nX-fU zVH)Y%og?3HOL0i6NU-^L`5#Za=u6I?6rLo1F%dSTO~3&K+Mec)Mv0#}pDBG9(_t&Y z^b3DSLE>%*j;s5L+@7x|Z)u#;S`sH}frjkUoZ+-)f#+v)B z1ly$y$rfWGX(L*&hmq$7?gkh0Ro`eoo*nf2J-!es`Y?O&^bKWwYys)>AHsp3-oWu6 zVJLm4OZm#u_W zCWCMH&R8D`YHK#`>ERH$4h*j3{1sCL|I2RrGDoSneuxSv5SyMp&0M2PGQQm$cI4SS}?MAROk^Ea7xw*kCl8ziw_wTdLvPo~NOysTmzZat5)i zdeF6Ze_L@}1_~rjh$BiL`)CClv$yJ_4_xEV>dsGE&o4M*IcSwHjIyKM)1cqRbB+4v h1oUZ1719JN03vR_Fc(ezL-Ln7RXgp=(%wWF*YOXe2?_uJ literal 0 HcmV?d00001 diff --git a/xz-5.0.5.tar.xz b/xz-5.0.5.tar.xz deleted file mode 100644 index 58634d2..0000000 --- a/xz-5.0.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3515c74d170d0f6ec00820de63106ad16c07bae55a59c174b4741242c76264a4 -size 928700 diff --git a/xz.changes b/xz.changes index 7676a3b..d4e115b 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Oct 16 08:53:16 UTC 2013 - mvyskocil@suse.com + +- Use gzipped archive to prevent a build cycle on older targets + * http://lists.opensuse.org/opensuse-buildservice/2013-10/msg00079.html +- Add a signature and keyring file for source verification + * not enable in spec due bootstrapping issues + ------------------------------------------------------------------- Tue Jul 16 13:52:16 UTC 2013 - idonmez@suse.com diff --git a/xz.keyring b/xz.keyring new file mode 100644 index 0000000..7e82196 --- /dev/null +++ b/xz.keyring @@ -0,0 +1,56 @@ +pub 4096R/69184620 2010-10-24 +uid Lasse Collin +sub 4096R/58ADF744 2010-10-24 + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.22 (GNU/Linux) + +mQINBEzEOZIBEACxg/IuXERlDB48JBWmF4NxNUuuup1IhJAJyFGFSKh3OGAO2Ard +sNuRLjANsFXA7m7P5eTFcG+BoHHuAVYmKnI3PPZtHVLnUt4pGItPczQZ2BE1WpcI +ayjGTBJeKItX3Npqg9D/odO9WWS1i3FQPVdrLn0YH37/BA66jeMQCRo7g7GLpaNf +IrvYGsqTbxCwsmA37rpE7oyU4Yrf74HT091WBsRIoq/MelhbxTDMR8eu/dUGZQVc +Kj3lN55RepwWwUUKyqarY0zMt4HkFJ7v7yRL+Cvzy92Ouv4Wf2FlhNtEs5LE4Tax +W0PO5AEmUoKjX87SezQK0f652018b4u6Ex52cY7p+n5TII/UyoowH6+tY8UHo9yb +fStrqgNE/mY2bhA6+AwCaOUGsFzVVPTbjtxL3HacUP/jlA1h78V8VTvTs5d55iG7 +jSqR9o05wje8rwNiXXK0xtiJahyNzL97Kn/DgPSqPIi45G+8nxWSPFM5eunBKRl9 +vAnsvwrdPRsR6YR3uMHTuVhQX9/CY891MHkaZJ6wydWtKt3yQwJLYqwo5d4DwnUX +CduUwSKv+6RmtWI5ZmTQYOcBRcZyGKml9X9Q8iSbm6cnpFXmLrNQwCJN+D3SiYGc +MtbltZo0ysPMa6Xj5xFaYqWk/BI4iLb2Gs+ByGo/+a0Eq4XYBMOpitNniQARAQAB +tCdMYXNzZSBDb2xsaW4gPGxhc3NlLmNvbGxpbkB0dWthYW5pLm9yZz6JAjgEEwEC +ACIFAkzEOZICGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEDjudX1pGEYg +IOAP+wVysKEWl6zGzDzlu77lRe3NiCgdmKs59bywQsLhB5KmNt+5Q3F2OP+S0ftY +HGdw7sNZ/wUUptBQXb8l/yU1oljUg1JCgDv9JU9k4OOGC6w09288LvHW1PcULepB +/kgjh77+TnuJO/ZeZq6Onxdx9TNGzet8f2KBWKI8tPQ+/yabWPNqEeH/1XSp32Sy +XAlYgm9MKfEg9jZAwLnSoPivuzw/B5U1pJUEIE2XUV8VWSiCXlONmiQ6p0WwISXe +uGB8gpYarrfReS1Joj+any3zYZCg4TTsJNgZawRgSZEne8D8s3F+DLp/y+mLKR42 +3lTLfUw+x0JaPjjndjowBwseqasJF583izxGhHD3UNUh4KwVYgMV9wzT7myz9Cp8 +PF8BbvehLoR2YHsRNVu2weCxbCclwHOZNT6jwwi7AGrsZryNjnyO6KRv/MMsQ7zY +KD4xvH2TQIGNERKjwtCZ01woR99SMVJoTaLR/LQ9ww02Th8NOZ+TMMFKxBPcYhE1 +Q3xUHDC38WfSi8/gQtoNbeS2Lm5UYJwjDScxYLDVDDNNgqYQAc5fywi57pq9HskE +P8HleLcBIS8Eg5qi2By9BHWFtGNwp51Pb5mMUHFym7LUu9bBCSWAQZkgW3/RsZDm +PAUTbcFcGNJD4Mb9VqnVQYgBb3wfqcgLK2sfQd1Hge2UsEQ+uQINBEzEOZIBEAC/ +xcCnY8YD8bUqYKtUjM4GbU08i6oYBg9zWX2nR1h2ESC9/DQ1dyXkwO/WNs49nY+y +kDw0/tGqnos01dhN4z94gkOd1Tk+HKJ7AWkAICnsaabZ0vk9Q6G7SAhSdBhs39B0 +Y+ijts0jrjorVj1pVMG71+zNCyyNvoapcdI0z6myRWf2Wuik7W0usXQj1VKVKmGU +KaJBGXMEJlKfEPpRqCQ9rDWAmcmqet1/2gDoAhq9kV2HXTh+XvLxsxlvpsLQr/lk +PQMt+ZhqiOTKpG2XdUG7r9m9euOxP0BBLnH0R1WyVShhj6RTFCbXCLcsiLeY6Pq/ +Qgi+ArOO3Rf/f0TcLjb6bx11MqjAUHVjWUTMeJPzRg/1r4j4vZupiDLouqzkLEjm +qmHXFF+Datjq69zms9iT0HVH3iNt4qLdbyvIcb1AkE1dx3yYIYszerKVZdMkDigY +hPJoiUYK4x4pR94U28aKONsQ5DQKvgkKN0AJtYmw8Sgg6tEXFj43AkQDf0OTJqXK +HaXSpM1dMhiEuIO7OX61a4Ff5KMdq+P2MbK/CvdPfuB/NgI0yhl/wZrEBQkwKgZO +qeyNM8YyKif8N902QUND5+K91iJVD2n82OmvfywLzdXx0cX/UqQgcibLMw9N0LuX ++UwfILYbHZ1Zk6O444qK3RCjLcNmhDC83Vlk0P0zVQARAQABiQIfBBgBAgAJBQJM +xDmSAhsMAAoJEDjudX1pGEYgJosP/A6V89zcX1AHqp5dtKXRa9mCTvtvA+wU6M4b +y/gS7EUos6GH22qe6Y1iEjqTeBgHkmD22TFPjHyfU9nDQOs3s3U+KZE1srjIzvHV +or1anIhl82IQPRxz775If1TT68rdmUadjc9Y6Xe2h8fvIhrkkXpQz/PTLW+gqJjf +xstOT4WUgGpNrYRf2T3A3RhRWLBVakXfzlQg1ZnXp/bQfaMQbrgeuZD5bXF88joo +UY3u1VLaaWwr8TzANBDZGbH3+uzjsuSY/IDspzdo+K0uNAoXSHowAYnlBg8aGubT +PBvJdZ5YE6gdo1++Sk5kJz1S0JNYnzV/Cwh+ne9vba/RHcXPSqEggm9Bv1k43eDD +aSO44Yy7nUhd+X77LOZmsWwRCwUxq05gHCxaUTqPBp8pKysn2/JVI5ik2aDpoLLB +U5gyB5wwreuCXm7qoHGaC2hgBipLgHuBDLHZSOn95TUyi1ZA6/+p1VWHStJXkLHx +ZqIbz46DKa8Uvy81Hn13cqdbTWTSYjjEq4Jd0AMSnewX2nMZ/4dN3xgb3ds361cQ +yVaF7JzyAzUOiyRknw5rGhv5kYGSRLp1SxkBXtp7FajZkMabS2k87ctWb9nQjhJu +Vv6UnpCwiz3gyuipl/GVUWiz4+HXUQgBmTGovm5tJ/9LIwPdw2wbUtF9MJPpCLqT +wOSlnSuT +=u8YC +-----END PGP PUBLIC KEY BLOCK----- diff --git a/xz.spec b/xz.spec index 9f0a347..62e1c7e 100644 --- a/xz.spec +++ b/xz.spec @@ -23,8 +23,10 @@ Group: Productivity/Archiving/Compression Version: 5.0.5 Release: 0 Url: http://tukaani.org/lzma/ -Source: http://tukaani.org/xz/%{name}-%{version}.tar.xz +Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz +Source1: http://tukaani.org/xz/%{name}-%{version}.tar.gz.sig Source2: baselibs.conf +Source3: xz.keyring BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig Provides: lzma = %version @@ -117,11 +119,13 @@ make install DESTDIR=$RPM_BUILD_ROOT %if 0%{?lang_package:1} > 0 %files lang -f %{name}.lang +%defattr(-, root, root) %files %else %files -f %{name}.lang +%defattr(-, root, root) %endif %defattr(-, root, root) %_docdir/%name -- 2.51.1 From 57e02057ce63654c87fc43d19a9400621fdd1803d4040baf5a82de2b6574ebe6 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 25 Nov 2013 12:16:47 +0000 Subject: [PATCH 056/126] merge from Archiving/xz OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=57 --- baselibs.conf | 4 - project.diff | 113 +++++++++++++ xz-5.0.5.tar.bz2 | 3 + xz-5.0.5.tar.bz2.sig | Bin 0 -> 543 bytes xz-5.0.5.tar.gz | 3 - xz-5.0.5.tar.gz.sig | Bin 543 -> 0 bytes xz.changes | 367 ------------------------------------------- xz.keyring | 6 +- xz.spec | 146 ----------------- 9 files changed, 117 insertions(+), 525 deletions(-) delete mode 100644 baselibs.conf create mode 100644 project.diff create mode 100644 xz-5.0.5.tar.bz2 create mode 100644 xz-5.0.5.tar.bz2.sig delete mode 100644 xz-5.0.5.tar.gz delete mode 100644 xz-5.0.5.tar.gz.sig delete mode 100644 xz.changes delete mode 100644 xz.spec diff --git a/baselibs.conf b/baselibs.conf deleted file mode 100644 index d240a68..0000000 --- a/baselibs.conf +++ /dev/null @@ -1,4 +0,0 @@ -liblzma5 -xz-devel - requires -xz- - requires "liblzma5- = " diff --git a/project.diff b/project.diff new file mode 100644 index 0000000..789cecc --- /dev/null +++ b/project.diff @@ -0,0 +1,113 @@ +--- xz.changes.orig ++++ xz.changes +@@ -1,4 +1,11 @@ + ------------------------------------------------------------------- ++Sun Nov 24 16:25:53 UTC 2013 - andreas.stieger@gmx.de ++ ++- verify source signature ++- add optional -static library package, intended to publish pixz for ++ CentOS / RHEL, default off ++ ++------------------------------------------------------------------- + Tue Jul 16 13:52:16 UTC 2013 - idonmez@suse.com + + - Update to version 5.0.5 +@@ -55,6 +62,11 @@ Fri Jul 6 10:18:06 UTC 2012 - sweet_f_a + - correct license "LGPL-2.1+ and GPL-2.0+" (bnc#770195) + + ------------------------------------------------------------------- ++Mon May 7 08:30:57 UTC 2012 - werner@suse.de ++ ++- Enforce usage of reentrant versions of libc functions ++ ++------------------------------------------------------------------- + Sun Feb 12 23:37:44 UTC 2012 - crrodriguez@opensuse.org + + - Put libraries back in %{_libdir}, /usr merge project. +--- xz.spec.orig ++++ xz.spec +@@ -16,15 +16,25 @@ + # + + ++%if 0%{?centos_version} || 0%{?rhel_version} ++%if 0%{?centos_version} <= 600 || 0%{?rhel_version <= 600} ++%bcond_without static_libs ++%endif ++%else ++%bcond_with static_libs ++%endif ++ + Name: xz + Summary: A Program for Compressing Files + License: LGPL-2.1+ and GPL-2.0+ + Group: Productivity/Archiving/Compression + Version: 5.0.5 + Release: 0 +-Url: http://tukaani.org/lzma/ +-Source: http://tukaani.org/xz/%{name}-%{version}.tar.xz ++Url: http://tukaani.org/xz/ ++Source: http://tukaani.org/xz/%{name}-%{version}.tar.bz2 + Source2: baselibs.conf ++Source3: http://tukaani.org/xz/%{name}-%{version}.tar.bz2.sig ++Source4: http://tukaani.org/misc/lasse_collin_pubkey.txt#/xz.keyring + BuildRoot: %{_tmppath}/%{name}-%{version}-build + BuildRequires: pkgconfig + Provides: lzma = %version +@@ -83,22 +93,43 @@ Obsoletes: lzma-alpha-devel < %vers + This package contains the header files and libraries needed for + compiling programs using the LZMA library. + ++%if %{with static_libs} ++%package static ++Summary: Static version of LZMA library ++Group: Development/Libraries/C and C++ ++Requires: lzma-devel = %version ++ ++%description static ++Static library for the LZMA library ++%endif ++ + %prep + %setup -q + + %build ++%global optflags %{optflags} -D_REENTRANT -pipe + %if %{do_profiling} + profiledir=$(mktemp -d) + trap "rm -rf $profiledir" EXIT + export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir" + %endif +-%configure --disable-static --with-pic --docdir=%_docdir/%name ++%configure \ ++%if ! %{with static_libs} ++ --disable-static \ ++%endif ++ --with-pic \ ++ --docdir=%_docdir/%name + make %{?_smp_mflags} + %if %{do_profiling} + time make check + make clean + export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir" +-%configure --disable-static --with-pic --docdir=%_docdir/%name ++%configure \ ++%if ! %{with static_libs} ++ --disable-static \ ++%endif ++ --with-pic \ ++ --docdir=%_docdir/%name + make %{?_smp_mflags} + %endif + +@@ -139,4 +170,10 @@ make install DESTDIR=$RPM_BUILD_ROOT + %{_libdir}/lib*.so + %{_libdir}/pkgconfig/*.pc + ++%if %{with static_libs} ++%files static ++%defattr(-, root, root) ++%{_libdir}/*.a ++%endif ++ + %changelog diff --git a/xz-5.0.5.tar.bz2 b/xz-5.0.5.tar.bz2 new file mode 100644 index 0000000..16adbf6 --- /dev/null +++ b/xz-5.0.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:166c48d2842519bc4f96333bff9e265f8cdda44d38e40594ef3f9bbb52890490 +size 1060649 diff --git a/xz-5.0.5.tar.bz2.sig b/xz-5.0.5.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..3aba2f092e327ac4c7e75038713cb48232a70cc06e7514a1d9d9e865e97aebce GIT binary patch literal 543 zcmV+)0^t3L0vrSY0RjL91p-mfU%3DZ2@p8$b$w|VMj-l#5CE!9yx~QFE>3?_#@|_W z+$pOtJSGfWa#==f4b2#GwFo1iYjxvd#8Qhl!k^YSw=ZmPlq8LsD6Eslr@oD3!Y!j& zX1;Aiy5}d&ffdFHyCElY%Qvph2pc*JtZ7;1G_7|p`;QOLfx}iYv9T6U@G@N4-Xp6h zf?Ru}ArW~}mn+%zGOfZDFrL$jFMa&z%I$Jlm59CFsXLwZO3qJf*LcIlWFUlz_&mWM zl1e<+$^HYaHYxdtxqMjdyi!P_Ak(KM3d>sH;=~1zeHHq6Ecz$>5z^MivE^xej8bNmA!jQrj?in=DL4NER zXX=<5#1s>zFt40H$%Z+9D^FM9 zUt*iAav*y}@zcx|eG9*I)RaFC&8C(xFjOnEQ0t_Ll_PpO)Mx)I>Xou$CZ(zDqx4`# znCE0Yu4vpFXCPy8dj^_%-%@bpb~Hf`_FnRORQyBp{GDg0ml_Okvr1;^yZNgYx=nZE ho@6s*%OL-|I1L879y0=4rqv~pN~*c`ucOc*kyUs0`fdOK literal 0 HcmV?d00001 diff --git a/xz-5.0.5.tar.gz b/xz-5.0.5.tar.gz deleted file mode 100644 index 2a7bf41..0000000 --- a/xz-5.0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5dcffe6a3726d23d1711a65288de2e215b4960da5092248ce63c99d50093b93a -size 1305685 diff --git a/xz-5.0.5.tar.gz.sig b/xz-5.0.5.tar.gz.sig deleted file mode 100644 index 094e7128191f4eaca031de9b98ab3fa65adf6e6ea405e389db94870e962197e2..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0RjL91p-mfU%CJa2@p8$b$w|VMj%1n5C2L}jNw>za_(+$nX-fU zVH)Y%og?3HOL0i6NU-^L`5#Za=u6I?6rLo1F%dSTO~3&K+Mec)Mv0#}pDBG9(_t&Y z^b3DSLE>%*j;s5L+@7x|Z)u#;S`sH}frjkUoZ+-)f#+v)B z1ly$y$rfWGX(L*&hmq$7?gkh0Ro`eoo*nf2J-!es`Y?O&^bKWwYys)>AHsp3-oWu6 zVJLm4OZm#u_W zCWCMH&R8D`YHK#`>ERH$4h*j3{1sCL|I2RrGDoSneuxSv5SyMp&0M2PGQQm$cI4SS}?MAROk^Ea7xw*kCl8ziw_wTdLvPo~NOysTmzZat5)i zdeF6Ze_L@}1_~rjh$BiL`)CClv$yJ_4_xEV>dsGE&o4M*IcSwHjIyKM)1cqRbB+4v h1oUZ1719JN03vR_Fc(ezL-Ln7RXgp=(%wWF*YOXe2?_uJ diff --git a/xz.changes b/xz.changes deleted file mode 100644 index d4e115b..0000000 --- a/xz.changes +++ /dev/null @@ -1,367 +0,0 @@ -------------------------------------------------------------------- -Wed Oct 16 08:53:16 UTC 2013 - mvyskocil@suse.com - -- Use gzipped archive to prevent a build cycle on older targets - * http://lists.opensuse.org/opensuse-buildservice/2013-10/msg00079.html -- Add a signature and keyring file for source verification - * not enable in spec due bootstrapping issues - -------------------------------------------------------------------- -Tue Jul 16 13:52:16 UTC 2013 - idonmez@suse.com - -- Update to version 5.0.5 - * lzmadec and liblzma's lzma_alone_decoder(): Support decompressing - .lzma files that have less common settings in the headers - (dictionary size other than 2^n or 2^n + 2^(n-1), or uncompressed - size greater than 256 GiB). - * xz: - - Fixes and improvements to error handling. - - Various fixes to the man page. - * xzless: Fixed to work with "less" versions 448 and later - * xzgrep: Made -h an alias for --no-filename. - -------------------------------------------------------------------- -Tue Jan 29 17:28:51 UTC 2013 - guillaume@opensuse.org - -- Disable profiling for aarch64 arch - -------------------------------------------------------------------- -Tue Nov 27 11:10:13 UTC 2012 - sweet_f_a@gmx.de - -- Update to version 5.0.4 - * liblzma: - - Fix lzma_index_init(). It could crash if memory allocation - failed. - - Fix the possibility of an incorrect LZMA_BUF_ERROR when a BCJ - filter is used and the application only provides exactly as - much output space as is the uncompressed size of the file. - - Fix a bug in doc/examples_old/xz_pipe_decompress.c. It didn't - check if the last call to lzma_code() really returned - LZMA_STREAM_END, which made the program think that truncated - files are valid. - - New example programs in doc/examples (old programs are now in - doc/examples_old). These have more comments and more detailed - error handling. - * Fix "xz -lvv foo.xz". It could crash on some corrupted files. - * Fix output of "xz --robot -lv" and "xz --robot -lvv" which - incorrectly printed the filename also in the "foo (x/x)" format. - * Fix exit status of "xzdiff foo.xz bar.xz". - * Fix exit status of "xzgrep foo binary_file". - * Fix portability to EBCDIC systems. - * Fix a configure issue on AIX with the XL C compiler. See INSTALL - for details. - * Update French, German, Italian, and Polish translations - -------------------------------------------------------------------- -Sun Jul 29 17:52:57 UTC 2012 - jengelh@inai.de - -- Disable profiling on SPARC due to compiler bug [gcc #54121] - -------------------------------------------------------------------- -Fri Jul 6 10:18:06 UTC 2012 - sweet_f_a@gmx.de - -- correct license "LGPL-2.1+ and GPL-2.0+" (bnc#770195) - -------------------------------------------------------------------- -Sun Feb 12 23:37:44 UTC 2012 - crrodriguez@opensuse.org - -- Put libraries back in %{_libdir}, /usr merge project. - -------------------------------------------------------------------- -Sun Oct 9 15:25:02 UTC 2011 - sweet_f_a@gmx.de - -- rewrite last broken arm portability changes - -------------------------------------------------------------------- -Fri Sep 30 20:31:59 UTC 2011 - crrodriguez@opensuse.org - -- Fix build in armv5el doesnt like profiling - -------------------------------------------------------------------- -Tue Sep 27 13:05:34 UTC 2011 - sweet_f_a@gmx.de - -- minor fixes of last portability changes: - * decouple do_profiling and lang_package again - * don't define do_factory, just use lang_package instead - * simplify files section - * do_profiling for some more systems - -------------------------------------------------------------------- -Mon Sep 26 15:59:51 UTC 2011 - coolo@suse.com - -- build on SLE_10 - -------------------------------------------------------------------- -Sat Sep 17 15:19:50 UTC 2011 - coolo@suse.com - -- remove _service, too fragile - -------------------------------------------------------------------- -Fri Sep 16 16:37:32 UTC 2011 - jengelh@medozas.de - -- Add xz-devel to baselibs -- Remove redundant sections - -------------------------------------------------------------------- -Tue Jun 14 18:04:53 CEST 2011 - dmueller@suse.de - -- add recommends xz-lang - -------------------------------------------------------------------- -Wed Jun 8 19:25:51 UTC 2011 - coolo@novell.com - -- Update to version 5.0.3 - * liblzma fixes: - - - A memory leak was fixed. - - - lzma_stream_buffer_encode() no longer creates an empty .xz - Block if encoding an empty buffer. Such an empty Block with - LZMA2 data would trigger a bug in 5.0.1 and older (see the - first bullet point in 5.0.2 notes). When releasing 5.0.2, - I thought that no encoder creates this kind of files but - I was wrong. - - - Validate function arguments better in a few functions. Most - importantly, specifying an unsupported integrity check to - lzma_stream_buffer_encode() no longer creates a corrupt .xz - file. Probably no application tries to do that, so this - shouldn't be a big problem in practice. - - - Document that lzma_block_buffer_encode(), - lzma_easy_buffer_encode(), lzma_stream_encoder(), and - lzma_stream_buffer_encode() may return LZMA_UNSUPPORTED_CHECK. - - - The return values of the _memusage() functions are now - documented better. - - * Fix command name detection in xzgrep. xzegrep and xzfgrep now - correctly use egrep and fgrep instead of grep. - - * French translation was added. - -------------------------------------------------------------------- -Thu Apr 7 20:43:05 UTC 2011 - crrodriguez@opensuse.org - -- Update to version 5.0.2 - * LZMA2 decompressor now correctly accepts LZMA2 streams with no - uncompressed data. Previously it considered them corrupt. The - bug can affect applications that use raw LZMA2 streams. It is - very unlikely to affect .xz files because no compressor creates - .xz files with empty LZMA2 streams. (Empty .xz files are a - different thing than empty LZMA2 streams.) - - * "xz --suffix=.foo filename.foo" now refuses to compress the - file due to it already having the suffix .foo. It was already - documented on the man page, but the code lacked the test. - - * "xzgrep -l foo bar.xz" works now. - - * Polish translation was added. - -------------------------------------------------------------------- -Fri Mar 4 17:54:21 UTC 2011 - crrodriguez@opensuse.org - -- Update to version 5.0.1 -* Fix --force on setuid/setgid/sticky and multi-hardlink files. -* Add alloc_size and malloc attributes to a few functions. -* Fix gzip and bzip2 support in xzdiff - -------------------------------------------------------------------- -Tue Dec 7 18:47:04 UTC 2010 - cristian.rodriguez@opensuse.org - -- Use compiler profile information, makes xz marginally faster - (around 1-2 secs) - -------------------------------------------------------------------- -Sat Oct 30 20:17:49 UTC 2010 - jengelh@medozas.de - -- Use %_smp_mflags - -------------------------------------------------------------------- -Thu Oct 28 09:18:47 UTC 2010 - coolo@novell.com - -- adapt baselibs.conf - -------------------------------------------------------------------- -Wed Oct 27 00:28:26 UTC 2010 - cristian.rodriguez@opensuse.org - -- Update to 5.0.0 final - * The major soname has been bumped to 5.0.0. liblzma API and ABI - are now stable. - * The memory usage limit is now disabled by default - * Added support for XZ_DEFAULTS environment variable - * The compression settings associated with the preset levels - have been changed,they are now less likely to make compression worse. - * Support for "xz --list" was added - -------------------------------------------------------------------- -Sat Apr 24 11:38:25 UTC 2010 - coolo@novell.com - -- buildrequire pkg-config to fix provides - -------------------------------------------------------------------- -Sat Dec 12 18:40:53 CET 2009 - jengelh@medozas.de - -- add baselibs.conf as a source - -------------------------------------------------------------------- -Fri Sep 4 11:53:41 CEST 2009 - coolo@novell.com - -- update to 4.999.9beta - * only some polishment above the git snapshot I took - -------------------------------------------------------------------- -Sun Aug 23 14:50:09 CEST 2009 - coolo@novell.com - -- borrow %check section from fedora spec - -------------------------------------------------------------------- -Thu Aug 20 15:51:47 CEST 2009 - coolo@novell.com - -- update to latest git (5.0 still not released) - * a xz man page (bnc#505969) - * fix data corruption in LZ/LZMA2 encoder. - * major documentation update - * install lzdiff, lzgrep, and lzmore as symlinks - * make the default memory usage limit 40 % of RAM for both - compressing and decompressing. - * fixed a crash in liblzma - See git://ctrl.tukaani.org/xz.git for more - -------------------------------------------------------------------- -Sun Jun 7 19:39:45 CEST 2009 - crrodriguez@suse.de - -- remove static libraries, see bnc#509945 for details - -------------------------------------------------------------------- -Sun Feb 22 18:37:26 CET 2009 - ro@suse.de - -- added baselibs.conf (for rpm-32bit) - -------------------------------------------------------------------- -Mon Feb 16 10:59:51 CET 2009 - coolo@suse.de - -- use bzip payload, so users are able to install new rpm on old systems - -------------------------------------------------------------------- -Wed Feb 11 12:44:41 CET 2009 - coolo@suse.de - -- fix devel symlink - -------------------------------------------------------------------- -Fri Feb 6 13:50:53 CET 2009 - schwab@suse.de - -- Update to xz-4.999.8beta. - See git://ctrl.tukaani.org/lzma-utils.git. - -------------------------------------------------------------------- -Wed Jan 7 10:26:30 CET 2009 - schwab@suse.de - -- Update to xz-4.999.7beta. - See git://ctrl.tukaani.org/lzma-utils.git. -- Rename to xz. - -------------------------------------------------------------------- -Wed Jul 30 13:53:18 CEST 2008 - schwab@suse.de - -- Update to lzma-4.32.7. - * If "lzma -t" is run on a corrupt file or interrupted by a signal, - don't unlink /dev/null. - - * Partial fix to race conditions where a signal could make lzma to - unlink both the source and destination files. Now it cannot lose - data anymore, but with bad luck an incomplete file may be left - on the disk. - -------------------------------------------------------------------- -Wed May 14 22:04:25 CEST 2008 - schwab@suse.de - -- Update to lzma-4.32.6. - * Always use 32-bit integer to hold probability variables. Earlier, - these were 64-bit on 64-bit architectures, which hurt cache - efficiency in the CPU, and thus performance of LZMA. 32-bit - architectures are not affected by this change. - * Fix a theoretical data corruption bug in the LZMA encoder. It is - about overflowing a 32-bit integer, whose typical value stays below - five. I don't know if it is actually possible to construct to a file - that could make it overflow. Even if it were possible, it would "only" - make the output file corrupt so that it is 4 GiB too small; there - are no other security risks. Now the integer is 64-bit to be sure - it won't overflow. - * Add support for copying timestamps on operating systems that support - setting timestamps only by filename, not by file descriptor. - * Several portability fixes were made. - -------------------------------------------------------------------- -Fri May 9 11:51:42 CEST 2008 - schwab@suse.de - -- Revert last changes. - -------------------------------------------------------------------- -Tue May 6 22:36:09 CEST 2008 - bk@suse.de - -- ci removed #neededforbuild while mbuild converts to BuildRequires -- bzip2 source to save space (not lzma, so it can be built in <11.0) - -------------------------------------------------------------------- -Tue May 6 14:24:02 CEST 2008 - bk@suse.de - -- run the package-provided self-test by adding a call to 'make check' -- use %configure instead of equivalent configure call with options -- improved to allow building in SLES and non-SUSE repositories, eg: - - replace obsolete nostatic patch with check for static objects - - use more generic wildcards in the file list for manual pages - -------------------------------------------------------------------- -Mon Feb 4 19:20:31 CET 2008 - schwab@suse.de - -- Fix installation. - -------------------------------------------------------------------- -Mon Feb 4 13:32:06 CET 2008 - schwab@suse.de - -- Update to lzma-4.32.5. - * The percentage shown when --verbose is used, works again. Also some - typos were fixed from the messages printed by --verbose. - * Several small portability fixes were made. - -------------------------------------------------------------------- -Fri Jan 4 07:12:26 CET 2008 - crrodriguez@suse.de - -- Version 4.32.4 - * Ignore command line switch --format=alone. This way current scripts - can be written so that they will produce LZMA_Alone format files - even with the new command line tool once it is finishes along with - liblzma. - * The command line tool now tells if the user tries to decode files - in the new .lzma format. The message recommends upgrading to newer - LZMA Utils. - * Added some internal consistency checks to liblzmadec, so that it - doesn't crash if given lzmadec_stream whose initialization failed. - Some applications using zlib and libbzip2 don't check if - initialization was successful, and expect that error gets caught - safely later. -- disable static libraries -- remove liblzmadec.la that has empty dependency_libs -- do not link utils statically - -------------------------------------------------------------------- -Mon Dec 3 14:12:12 CET 2007 - dmueller@suse.de - -- update to 4.32.3: - * rare file content loss bugs fixed (did not check for error upon close()) - * permissions copying fixed -- testsuited switched partially to GPLv3 -- fix library package name - -------------------------------------------------------------------- -Thu Oct 11 14:52:41 CEST 2007 - schwab@suse.de - -- Fix missing include. - -------------------------------------------------------------------- -Wed Oct 10 14:56:31 CEST 2007 - schwab@suse.de - -- Initial version 4.32.0beta5. - diff --git a/xz.keyring b/xz.keyring index 7e82196..0d6f4c0 100644 --- a/xz.keyring +++ b/xz.keyring @@ -1,9 +1,5 @@ -pub 4096R/69184620 2010-10-24 -uid Lasse Collin -sub 4096R/58ADF744 2010-10-24 - -----BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v2.0.22 (GNU/Linux) +Version: GnuPG v2.0.16 (GNU/Linux) mQINBEzEOZIBEACxg/IuXERlDB48JBWmF4NxNUuuup1IhJAJyFGFSKh3OGAO2Ard sNuRLjANsFXA7m7P5eTFcG+BoHHuAVYmKnI3PPZtHVLnUt4pGItPczQZ2BE1WpcI diff --git a/xz.spec b/xz.spec deleted file mode 100644 index 62e1c7e..0000000 --- a/xz.spec +++ /dev/null @@ -1,146 +0,0 @@ -# -# spec file for package xz -# -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. -# -# 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 http://bugs.opensuse.org/ -# - - -Name: xz -Summary: A Program for Compressing Files -License: LGPL-2.1+ and GPL-2.0+ -Group: Productivity/Archiving/Compression -Version: 5.0.5 -Release: 0 -Url: http://tukaani.org/lzma/ -Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz -Source1: http://tukaani.org/xz/%{name}-%{version}.tar.gz.sig -Source2: baselibs.conf -Source3: xz.keyring -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: pkgconfig -Provides: lzma = %version -Obsoletes: lzma < %version - -%if 0%{?suse_version} < 1130 -%define do_profiling 0 -%endif -%ifarch aarch64 %{arm} %sparc -%define do_profiling 0 -%endif - -%if 0%{?lang_package:1} > 0 -Recommends: %name-lang -%endif -# avoid bootstrapping problem -%define _binary_payload w9.bzdio - -%description -The xz command is a very powerful program for compressing files. - -* Average compression ratio of LZMA is about 30% better than that of - gzip, and 15% better than that of bzip2. - -* Decompression speed is only little slower than that of gzip, being - two to five times faster than bzip2. - -* In fast mode, compresses faster than bzip2 with a comparable - compression ratio. - -* Achieving the best compression ratios takes four to even twelve - times longer than with bzip2. However. this doesn't affect - decompressing speed. - -* Very similar command line interface to what gzip and bzip2 have. - -%{?lang_package} - -%package -n liblzma5 -Summary: LZMA library -Group: System/Libraries - -%description -n liblzma5 -Library for encoding/decoding LZMA files. - -%package devel -Summary: Development package for the LZMA library -Group: Development/Libraries/C and C++ -Requires: liblzma5 = %{version} -Provides: lzma-devel = %version -Obsoletes: lzma-devel < %version -Provides: lzma-alpha-devel = %version -Obsoletes: lzma-alpha-devel < %version - -%description devel -This package contains the header files and libraries needed for -compiling programs using the LZMA library. - -%prep -%setup -q - -%build -%if %{do_profiling} -profiledir=$(mktemp -d) -trap "rm -rf $profiledir" EXIT -export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir" -%endif -%configure --disable-static --with-pic --docdir=%_docdir/%name -make %{?_smp_mflags} -%if %{do_profiling} -time make check -make clean -export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir" -%configure --disable-static --with-pic --docdir=%_docdir/%name -make %{?_smp_mflags} -%endif - -%check -time make check - -%install -make install DESTDIR=$RPM_BUILD_ROOT -%{__rm} -v %{buildroot}%{_libdir}/liblzma.la -%find_lang %{name} - -%post -n liblzma5 -p /sbin/ldconfig - -%postun -n liblzma5 -p /sbin/ldconfig - -%if 0%{?lang_package:1} > 0 - -%files lang -f %{name}.lang -%defattr(-, root, root) - -%files -%else - -%files -f %{name}.lang -%defattr(-, root, root) -%endif -%defattr(-, root, root) -%_docdir/%name -%{_bindir}/* -%{_mandir}/man?/* - -%files -n liblzma5 -%defattr(-, root, root) -%{_libdir}/lib*.so.5* - -%files devel -%defattr(-, root, root) -%{_includedir}/*.h -%{_includedir}/lzma -%{_libdir}/lib*.so -%{_libdir}/pkgconfig/*.pc - -%changelog -- 2.51.1 From 71ef9a9f6025411ce9cc53942731314cc7c8a8013f87e51ccb890bbc8dca89ea Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 25 Nov 2013 12:17:20 +0000 Subject: [PATCH 057/126] OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=58 --- project.diff | 113 --------------------------------------------------- 1 file changed, 113 deletions(-) delete mode 100644 project.diff diff --git a/project.diff b/project.diff deleted file mode 100644 index 789cecc..0000000 --- a/project.diff +++ /dev/null @@ -1,113 +0,0 @@ ---- xz.changes.orig -+++ xz.changes -@@ -1,4 +1,11 @@ - ------------------------------------------------------------------- -+Sun Nov 24 16:25:53 UTC 2013 - andreas.stieger@gmx.de -+ -+- verify source signature -+- add optional -static library package, intended to publish pixz for -+ CentOS / RHEL, default off -+ -+------------------------------------------------------------------- - Tue Jul 16 13:52:16 UTC 2013 - idonmez@suse.com - - - Update to version 5.0.5 -@@ -55,6 +62,11 @@ Fri Jul 6 10:18:06 UTC 2012 - sweet_f_a - - correct license "LGPL-2.1+ and GPL-2.0+" (bnc#770195) - - ------------------------------------------------------------------- -+Mon May 7 08:30:57 UTC 2012 - werner@suse.de -+ -+- Enforce usage of reentrant versions of libc functions -+ -+------------------------------------------------------------------- - Sun Feb 12 23:37:44 UTC 2012 - crrodriguez@opensuse.org - - - Put libraries back in %{_libdir}, /usr merge project. ---- xz.spec.orig -+++ xz.spec -@@ -16,15 +16,25 @@ - # - - -+%if 0%{?centos_version} || 0%{?rhel_version} -+%if 0%{?centos_version} <= 600 || 0%{?rhel_version <= 600} -+%bcond_without static_libs -+%endif -+%else -+%bcond_with static_libs -+%endif -+ - Name: xz - Summary: A Program for Compressing Files - License: LGPL-2.1+ and GPL-2.0+ - Group: Productivity/Archiving/Compression - Version: 5.0.5 - Release: 0 --Url: http://tukaani.org/lzma/ --Source: http://tukaani.org/xz/%{name}-%{version}.tar.xz -+Url: http://tukaani.org/xz/ -+Source: http://tukaani.org/xz/%{name}-%{version}.tar.bz2 - Source2: baselibs.conf -+Source3: http://tukaani.org/xz/%{name}-%{version}.tar.bz2.sig -+Source4: http://tukaani.org/misc/lasse_collin_pubkey.txt#/xz.keyring - BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildRequires: pkgconfig - Provides: lzma = %version -@@ -83,22 +93,43 @@ Obsoletes: lzma-alpha-devel < %vers - This package contains the header files and libraries needed for - compiling programs using the LZMA library. - -+%if %{with static_libs} -+%package static -+Summary: Static version of LZMA library -+Group: Development/Libraries/C and C++ -+Requires: lzma-devel = %version -+ -+%description static -+Static library for the LZMA library -+%endif -+ - %prep - %setup -q - - %build -+%global optflags %{optflags} -D_REENTRANT -pipe - %if %{do_profiling} - profiledir=$(mktemp -d) - trap "rm -rf $profiledir" EXIT - export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir" - %endif --%configure --disable-static --with-pic --docdir=%_docdir/%name -+%configure \ -+%if ! %{with static_libs} -+ --disable-static \ -+%endif -+ --with-pic \ -+ --docdir=%_docdir/%name - make %{?_smp_mflags} - %if %{do_profiling} - time make check - make clean - export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir" --%configure --disable-static --with-pic --docdir=%_docdir/%name -+%configure \ -+%if ! %{with static_libs} -+ --disable-static \ -+%endif -+ --with-pic \ -+ --docdir=%_docdir/%name - make %{?_smp_mflags} - %endif - -@@ -139,4 +170,10 @@ make install DESTDIR=$RPM_BUILD_ROOT - %{_libdir}/lib*.so - %{_libdir}/pkgconfig/*.pc - -+%if %{with static_libs} -+%files static -+%defattr(-, root, root) -+%{_libdir}/*.a -+%endif -+ - %changelog -- 2.51.1 From bc0523122481dd569f50ca3e92ab39c301a14987fd40b319a9305c368536e15b Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 25 Nov 2013 12:18:05 +0000 Subject: [PATCH 058/126] - Use gzipped archive to prevent a build cycle on older targets * http://lists.opensuse.org/opensuse-buildservice/2013-10/msg00079.html - Add a signature and keyring file for source verification * not enable in spec due bootstrapping issues - Update to version 5.0.5 * lzmadec and liblzma's lzma_alone_decoder(): Support decompressing .lzma files that have less common settings in the headers (dictionary size other than 2^n or 2^n + 2^(n-1), or uncompressed size greater than 256 GiB). * xz: - Fixes and improvements to error handling. - Various fixes to the man page. * xzless: Fixed to work with "less" versions 448 and later * xzgrep: Made -h an alias for --no-filename. - Disable profiling for aarch64 arch - Update to version 5.0.4 * liblzma: - Fix lzma_index_init(). It could crash if memory allocation failed. - Fix the possibility of an incorrect LZMA_BUF_ERROR when a BCJ filter is used and the application only provides exactly as much output space as is the uncompressed size of the file. - Fix a bug in doc/examples_old/xz_pipe_decompress.c. It didn't check if the last call to lzma_code() really returned LZMA_STREAM_END, which made the program think that truncated files are valid. - New example programs in doc/examples (old programs are now in OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=59 --- baselibs.conf | 4 + xz-5.0.5.tar.gz | 3 + xz-5.0.5.tar.gz.sig | Bin 0 -> 543 bytes xz.changes | 367 ++++++++++++++++++++++++++++++++++++++++++++ xz.keyring | 6 +- xz.spec | 146 ++++++++++++++++++ 6 files changed, 525 insertions(+), 1 deletion(-) create mode 100644 baselibs.conf create mode 100644 xz-5.0.5.tar.gz create mode 100644 xz-5.0.5.tar.gz.sig create mode 100644 xz.changes create mode 100644 xz.spec diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..d240a68 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +liblzma5 +xz-devel + requires -xz- + requires "liblzma5- = " diff --git a/xz-5.0.5.tar.gz b/xz-5.0.5.tar.gz new file mode 100644 index 0000000..2a7bf41 --- /dev/null +++ b/xz-5.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5dcffe6a3726d23d1711a65288de2e215b4960da5092248ce63c99d50093b93a +size 1305685 diff --git a/xz-5.0.5.tar.gz.sig b/xz-5.0.5.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..094e7128191f4eaca031de9b98ab3fa65adf6e6ea405e389db94870e962197e2 GIT binary patch literal 543 zcmV+)0^t3L0vrSY0RjL91p-mfU%CJa2@p8$b$w|VMj%1n5C2L}jNw>za_(+$nX-fU zVH)Y%og?3HOL0i6NU-^L`5#Za=u6I?6rLo1F%dSTO~3&K+Mec)Mv0#}pDBG9(_t&Y z^b3DSLE>%*j;s5L+@7x|Z)u#;S`sH}frjkUoZ+-)f#+v)B z1ly$y$rfWGX(L*&hmq$7?gkh0Ro`eoo*nf2J-!es`Y?O&^bKWwYys)>AHsp3-oWu6 zVJLm4OZm#u_W zCWCMH&R8D`YHK#`>ERH$4h*j3{1sCL|I2RrGDoSneuxSv5SyMp&0M2PGQQm$cI4SS}?MAROk^Ea7xw*kCl8ziw_wTdLvPo~NOysTmzZat5)i zdeF6Ze_L@}1_~rjh$BiL`)CClv$yJ_4_xEV>dsGE&o4M*IcSwHjIyKM)1cqRbB+4v h1oUZ1719JN03vR_Fc(ezL-Ln7RXgp=(%wWF*YOXe2?_uJ literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes new file mode 100644 index 0000000..d4e115b --- /dev/null +++ b/xz.changes @@ -0,0 +1,367 @@ +------------------------------------------------------------------- +Wed Oct 16 08:53:16 UTC 2013 - mvyskocil@suse.com + +- Use gzipped archive to prevent a build cycle on older targets + * http://lists.opensuse.org/opensuse-buildservice/2013-10/msg00079.html +- Add a signature and keyring file for source verification + * not enable in spec due bootstrapping issues + +------------------------------------------------------------------- +Tue Jul 16 13:52:16 UTC 2013 - idonmez@suse.com + +- Update to version 5.0.5 + * lzmadec and liblzma's lzma_alone_decoder(): Support decompressing + .lzma files that have less common settings in the headers + (dictionary size other than 2^n or 2^n + 2^(n-1), or uncompressed + size greater than 256 GiB). + * xz: + - Fixes and improvements to error handling. + - Various fixes to the man page. + * xzless: Fixed to work with "less" versions 448 and later + * xzgrep: Made -h an alias for --no-filename. + +------------------------------------------------------------------- +Tue Jan 29 17:28:51 UTC 2013 - guillaume@opensuse.org + +- Disable profiling for aarch64 arch + +------------------------------------------------------------------- +Tue Nov 27 11:10:13 UTC 2012 - sweet_f_a@gmx.de + +- Update to version 5.0.4 + * liblzma: + - Fix lzma_index_init(). It could crash if memory allocation + failed. + - Fix the possibility of an incorrect LZMA_BUF_ERROR when a BCJ + filter is used and the application only provides exactly as + much output space as is the uncompressed size of the file. + - Fix a bug in doc/examples_old/xz_pipe_decompress.c. It didn't + check if the last call to lzma_code() really returned + LZMA_STREAM_END, which made the program think that truncated + files are valid. + - New example programs in doc/examples (old programs are now in + doc/examples_old). These have more comments and more detailed + error handling. + * Fix "xz -lvv foo.xz". It could crash on some corrupted files. + * Fix output of "xz --robot -lv" and "xz --robot -lvv" which + incorrectly printed the filename also in the "foo (x/x)" format. + * Fix exit status of "xzdiff foo.xz bar.xz". + * Fix exit status of "xzgrep foo binary_file". + * Fix portability to EBCDIC systems. + * Fix a configure issue on AIX with the XL C compiler. See INSTALL + for details. + * Update French, German, Italian, and Polish translations + +------------------------------------------------------------------- +Sun Jul 29 17:52:57 UTC 2012 - jengelh@inai.de + +- Disable profiling on SPARC due to compiler bug [gcc #54121] + +------------------------------------------------------------------- +Fri Jul 6 10:18:06 UTC 2012 - sweet_f_a@gmx.de + +- correct license "LGPL-2.1+ and GPL-2.0+" (bnc#770195) + +------------------------------------------------------------------- +Sun Feb 12 23:37:44 UTC 2012 - crrodriguez@opensuse.org + +- Put libraries back in %{_libdir}, /usr merge project. + +------------------------------------------------------------------- +Sun Oct 9 15:25:02 UTC 2011 - sweet_f_a@gmx.de + +- rewrite last broken arm portability changes + +------------------------------------------------------------------- +Fri Sep 30 20:31:59 UTC 2011 - crrodriguez@opensuse.org + +- Fix build in armv5el doesnt like profiling + +------------------------------------------------------------------- +Tue Sep 27 13:05:34 UTC 2011 - sweet_f_a@gmx.de + +- minor fixes of last portability changes: + * decouple do_profiling and lang_package again + * don't define do_factory, just use lang_package instead + * simplify files section + * do_profiling for some more systems + +------------------------------------------------------------------- +Mon Sep 26 15:59:51 UTC 2011 - coolo@suse.com + +- build on SLE_10 + +------------------------------------------------------------------- +Sat Sep 17 15:19:50 UTC 2011 - coolo@suse.com + +- remove _service, too fragile + +------------------------------------------------------------------- +Fri Sep 16 16:37:32 UTC 2011 - jengelh@medozas.de + +- Add xz-devel to baselibs +- Remove redundant sections + +------------------------------------------------------------------- +Tue Jun 14 18:04:53 CEST 2011 - dmueller@suse.de + +- add recommends xz-lang + +------------------------------------------------------------------- +Wed Jun 8 19:25:51 UTC 2011 - coolo@novell.com + +- Update to version 5.0.3 + * liblzma fixes: + + - A memory leak was fixed. + + - lzma_stream_buffer_encode() no longer creates an empty .xz + Block if encoding an empty buffer. Such an empty Block with + LZMA2 data would trigger a bug in 5.0.1 and older (see the + first bullet point in 5.0.2 notes). When releasing 5.0.2, + I thought that no encoder creates this kind of files but + I was wrong. + + - Validate function arguments better in a few functions. Most + importantly, specifying an unsupported integrity check to + lzma_stream_buffer_encode() no longer creates a corrupt .xz + file. Probably no application tries to do that, so this + shouldn't be a big problem in practice. + + - Document that lzma_block_buffer_encode(), + lzma_easy_buffer_encode(), lzma_stream_encoder(), and + lzma_stream_buffer_encode() may return LZMA_UNSUPPORTED_CHECK. + + - The return values of the _memusage() functions are now + documented better. + + * Fix command name detection in xzgrep. xzegrep and xzfgrep now + correctly use egrep and fgrep instead of grep. + + * French translation was added. + +------------------------------------------------------------------- +Thu Apr 7 20:43:05 UTC 2011 - crrodriguez@opensuse.org + +- Update to version 5.0.2 + * LZMA2 decompressor now correctly accepts LZMA2 streams with no + uncompressed data. Previously it considered them corrupt. The + bug can affect applications that use raw LZMA2 streams. It is + very unlikely to affect .xz files because no compressor creates + .xz files with empty LZMA2 streams. (Empty .xz files are a + different thing than empty LZMA2 streams.) + + * "xz --suffix=.foo filename.foo" now refuses to compress the + file due to it already having the suffix .foo. It was already + documented on the man page, but the code lacked the test. + + * "xzgrep -l foo bar.xz" works now. + + * Polish translation was added. + +------------------------------------------------------------------- +Fri Mar 4 17:54:21 UTC 2011 - crrodriguez@opensuse.org + +- Update to version 5.0.1 +* Fix --force on setuid/setgid/sticky and multi-hardlink files. +* Add alloc_size and malloc attributes to a few functions. +* Fix gzip and bzip2 support in xzdiff + +------------------------------------------------------------------- +Tue Dec 7 18:47:04 UTC 2010 - cristian.rodriguez@opensuse.org + +- Use compiler profile information, makes xz marginally faster + (around 1-2 secs) + +------------------------------------------------------------------- +Sat Oct 30 20:17:49 UTC 2010 - jengelh@medozas.de + +- Use %_smp_mflags + +------------------------------------------------------------------- +Thu Oct 28 09:18:47 UTC 2010 - coolo@novell.com + +- adapt baselibs.conf + +------------------------------------------------------------------- +Wed Oct 27 00:28:26 UTC 2010 - cristian.rodriguez@opensuse.org + +- Update to 5.0.0 final + * The major soname has been bumped to 5.0.0. liblzma API and ABI + are now stable. + * The memory usage limit is now disabled by default + * Added support for XZ_DEFAULTS environment variable + * The compression settings associated with the preset levels + have been changed,they are now less likely to make compression worse. + * Support for "xz --list" was added + +------------------------------------------------------------------- +Sat Apr 24 11:38:25 UTC 2010 - coolo@novell.com + +- buildrequire pkg-config to fix provides + +------------------------------------------------------------------- +Sat Dec 12 18:40:53 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Fri Sep 4 11:53:41 CEST 2009 - coolo@novell.com + +- update to 4.999.9beta + * only some polishment above the git snapshot I took + +------------------------------------------------------------------- +Sun Aug 23 14:50:09 CEST 2009 - coolo@novell.com + +- borrow %check section from fedora spec + +------------------------------------------------------------------- +Thu Aug 20 15:51:47 CEST 2009 - coolo@novell.com + +- update to latest git (5.0 still not released) + * a xz man page (bnc#505969) + * fix data corruption in LZ/LZMA2 encoder. + * major documentation update + * install lzdiff, lzgrep, and lzmore as symlinks + * make the default memory usage limit 40 % of RAM for both + compressing and decompressing. + * fixed a crash in liblzma + See git://ctrl.tukaani.org/xz.git for more + +------------------------------------------------------------------- +Sun Jun 7 19:39:45 CEST 2009 - crrodriguez@suse.de + +- remove static libraries, see bnc#509945 for details + +------------------------------------------------------------------- +Sun Feb 22 18:37:26 CET 2009 - ro@suse.de + +- added baselibs.conf (for rpm-32bit) + +------------------------------------------------------------------- +Mon Feb 16 10:59:51 CET 2009 - coolo@suse.de + +- use bzip payload, so users are able to install new rpm on old systems + +------------------------------------------------------------------- +Wed Feb 11 12:44:41 CET 2009 - coolo@suse.de + +- fix devel symlink + +------------------------------------------------------------------- +Fri Feb 6 13:50:53 CET 2009 - schwab@suse.de + +- Update to xz-4.999.8beta. + See git://ctrl.tukaani.org/lzma-utils.git. + +------------------------------------------------------------------- +Wed Jan 7 10:26:30 CET 2009 - schwab@suse.de + +- Update to xz-4.999.7beta. + See git://ctrl.tukaani.org/lzma-utils.git. +- Rename to xz. + +------------------------------------------------------------------- +Wed Jul 30 13:53:18 CEST 2008 - schwab@suse.de + +- Update to lzma-4.32.7. + * If "lzma -t" is run on a corrupt file or interrupted by a signal, + don't unlink /dev/null. + + * Partial fix to race conditions where a signal could make lzma to + unlink both the source and destination files. Now it cannot lose + data anymore, but with bad luck an incomplete file may be left + on the disk. + +------------------------------------------------------------------- +Wed May 14 22:04:25 CEST 2008 - schwab@suse.de + +- Update to lzma-4.32.6. + * Always use 32-bit integer to hold probability variables. Earlier, + these were 64-bit on 64-bit architectures, which hurt cache + efficiency in the CPU, and thus performance of LZMA. 32-bit + architectures are not affected by this change. + * Fix a theoretical data corruption bug in the LZMA encoder. It is + about overflowing a 32-bit integer, whose typical value stays below + five. I don't know if it is actually possible to construct to a file + that could make it overflow. Even if it were possible, it would "only" + make the output file corrupt so that it is 4 GiB too small; there + are no other security risks. Now the integer is 64-bit to be sure + it won't overflow. + * Add support for copying timestamps on operating systems that support + setting timestamps only by filename, not by file descriptor. + * Several portability fixes were made. + +------------------------------------------------------------------- +Fri May 9 11:51:42 CEST 2008 - schwab@suse.de + +- Revert last changes. + +------------------------------------------------------------------- +Tue May 6 22:36:09 CEST 2008 - bk@suse.de + +- ci removed #neededforbuild while mbuild converts to BuildRequires +- bzip2 source to save space (not lzma, so it can be built in <11.0) + +------------------------------------------------------------------- +Tue May 6 14:24:02 CEST 2008 - bk@suse.de + +- run the package-provided self-test by adding a call to 'make check' +- use %configure instead of equivalent configure call with options +- improved to allow building in SLES and non-SUSE repositories, eg: + - replace obsolete nostatic patch with check for static objects + - use more generic wildcards in the file list for manual pages + +------------------------------------------------------------------- +Mon Feb 4 19:20:31 CET 2008 - schwab@suse.de + +- Fix installation. + +------------------------------------------------------------------- +Mon Feb 4 13:32:06 CET 2008 - schwab@suse.de + +- Update to lzma-4.32.5. + * The percentage shown when --verbose is used, works again. Also some + typos were fixed from the messages printed by --verbose. + * Several small portability fixes were made. + +------------------------------------------------------------------- +Fri Jan 4 07:12:26 CET 2008 - crrodriguez@suse.de + +- Version 4.32.4 + * Ignore command line switch --format=alone. This way current scripts + can be written so that they will produce LZMA_Alone format files + even with the new command line tool once it is finishes along with + liblzma. + * The command line tool now tells if the user tries to decode files + in the new .lzma format. The message recommends upgrading to newer + LZMA Utils. + * Added some internal consistency checks to liblzmadec, so that it + doesn't crash if given lzmadec_stream whose initialization failed. + Some applications using zlib and libbzip2 don't check if + initialization was successful, and expect that error gets caught + safely later. +- disable static libraries +- remove liblzmadec.la that has empty dependency_libs +- do not link utils statically + +------------------------------------------------------------------- +Mon Dec 3 14:12:12 CET 2007 - dmueller@suse.de + +- update to 4.32.3: + * rare file content loss bugs fixed (did not check for error upon close()) + * permissions copying fixed +- testsuited switched partially to GPLv3 +- fix library package name + +------------------------------------------------------------------- +Thu Oct 11 14:52:41 CEST 2007 - schwab@suse.de + +- Fix missing include. + +------------------------------------------------------------------- +Wed Oct 10 14:56:31 CEST 2007 - schwab@suse.de + +- Initial version 4.32.0beta5. + diff --git a/xz.keyring b/xz.keyring index 0d6f4c0..7e82196 100644 --- a/xz.keyring +++ b/xz.keyring @@ -1,5 +1,9 @@ +pub 4096R/69184620 2010-10-24 +uid Lasse Collin +sub 4096R/58ADF744 2010-10-24 + -----BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v2.0.16 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) mQINBEzEOZIBEACxg/IuXERlDB48JBWmF4NxNUuuup1IhJAJyFGFSKh3OGAO2Ard sNuRLjANsFXA7m7P5eTFcG+BoHHuAVYmKnI3PPZtHVLnUt4pGItPczQZ2BE1WpcI diff --git a/xz.spec b/xz.spec new file mode 100644 index 0000000..62e1c7e --- /dev/null +++ b/xz.spec @@ -0,0 +1,146 @@ +# +# spec file for package xz +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +Name: xz +Summary: A Program for Compressing Files +License: LGPL-2.1+ and GPL-2.0+ +Group: Productivity/Archiving/Compression +Version: 5.0.5 +Release: 0 +Url: http://tukaani.org/lzma/ +Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz +Source1: http://tukaani.org/xz/%{name}-%{version}.tar.gz.sig +Source2: baselibs.conf +Source3: xz.keyring +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig +Provides: lzma = %version +Obsoletes: lzma < %version + +%if 0%{?suse_version} < 1130 +%define do_profiling 0 +%endif +%ifarch aarch64 %{arm} %sparc +%define do_profiling 0 +%endif + +%if 0%{?lang_package:1} > 0 +Recommends: %name-lang +%endif +# avoid bootstrapping problem +%define _binary_payload w9.bzdio + +%description +The xz command is a very powerful program for compressing files. + +* Average compression ratio of LZMA is about 30% better than that of + gzip, and 15% better than that of bzip2. + +* Decompression speed is only little slower than that of gzip, being + two to five times faster than bzip2. + +* In fast mode, compresses faster than bzip2 with a comparable + compression ratio. + +* Achieving the best compression ratios takes four to even twelve + times longer than with bzip2. However. this doesn't affect + decompressing speed. + +* Very similar command line interface to what gzip and bzip2 have. + +%{?lang_package} + +%package -n liblzma5 +Summary: LZMA library +Group: System/Libraries + +%description -n liblzma5 +Library for encoding/decoding LZMA files. + +%package devel +Summary: Development package for the LZMA library +Group: Development/Libraries/C and C++ +Requires: liblzma5 = %{version} +Provides: lzma-devel = %version +Obsoletes: lzma-devel < %version +Provides: lzma-alpha-devel = %version +Obsoletes: lzma-alpha-devel < %version + +%description devel +This package contains the header files and libraries needed for +compiling programs using the LZMA library. + +%prep +%setup -q + +%build +%if %{do_profiling} +profiledir=$(mktemp -d) +trap "rm -rf $profiledir" EXIT +export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir" +%endif +%configure --disable-static --with-pic --docdir=%_docdir/%name +make %{?_smp_mflags} +%if %{do_profiling} +time make check +make clean +export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir" +%configure --disable-static --with-pic --docdir=%_docdir/%name +make %{?_smp_mflags} +%endif + +%check +time make check + +%install +make install DESTDIR=$RPM_BUILD_ROOT +%{__rm} -v %{buildroot}%{_libdir}/liblzma.la +%find_lang %{name} + +%post -n liblzma5 -p /sbin/ldconfig + +%postun -n liblzma5 -p /sbin/ldconfig + +%if 0%{?lang_package:1} > 0 + +%files lang -f %{name}.lang +%defattr(-, root, root) + +%files +%else + +%files -f %{name}.lang +%defattr(-, root, root) +%endif +%defattr(-, root, root) +%_docdir/%name +%{_bindir}/* +%{_mandir}/man?/* + +%files -n liblzma5 +%defattr(-, root, root) +%{_libdir}/lib*.so.5* + +%files devel +%defattr(-, root, root) +%{_includedir}/*.h +%{_includedir}/lzma +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/*.pc + +%changelog -- 2.51.1 From 696e2bacd2b32badc1e46450b1c519e7ac458ac1734247d65b281a2775c21aad Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 25 Nov 2013 12:18:31 +0000 Subject: [PATCH 059/126] OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=60 --- xz-5.0.5.tar.bz2 | 3 --- xz-5.0.5.tar.bz2.sig | Bin 543 -> 0 bytes 2 files changed, 3 deletions(-) delete mode 100644 xz-5.0.5.tar.bz2 delete mode 100644 xz-5.0.5.tar.bz2.sig diff --git a/xz-5.0.5.tar.bz2 b/xz-5.0.5.tar.bz2 deleted file mode 100644 index 16adbf6..0000000 --- a/xz-5.0.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:166c48d2842519bc4f96333bff9e265f8cdda44d38e40594ef3f9bbb52890490 -size 1060649 diff --git a/xz-5.0.5.tar.bz2.sig b/xz-5.0.5.tar.bz2.sig deleted file mode 100644 index 3aba2f092e327ac4c7e75038713cb48232a70cc06e7514a1d9d9e865e97aebce..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0RjL91p-mfU%3DZ2@p8$b$w|VMj-l#5CE!9yx~QFE>3?_#@|_W z+$pOtJSGfWa#==f4b2#GwFo1iYjxvd#8Qhl!k^YSw=ZmPlq8LsD6Eslr@oD3!Y!j& zX1;Aiy5}d&ffdFHyCElY%Qvph2pc*JtZ7;1G_7|p`;QOLfx}iYv9T6U@G@N4-Xp6h zf?Ru}ArW~}mn+%zGOfZDFrL$jFMa&z%I$Jlm59CFsXLwZO3qJf*LcIlWFUlz_&mWM zl1e<+$^HYaHYxdtxqMjdyi!P_Ak(KM3d>sH;=~1zeHHq6Ecz$>5z^MivE^xej8bNmA!jQrj?in=DL4NER zXX=<5#1s>zFt40H$%Z+9D^FM9 zUt*iAav*y}@zcx|eG9*I)RaFC&8C(xFjOnEQ0t_Ll_PpO)Mx)I>Xou$CZ(zDqx4`# znCE0Yu4vpFXCPy8dj^_%-%@bpb~Hf`_FnRORQyBp{GDg0ml_Okvr1;^yZNgYx=nZE ho@6s*%OL-|I1L879y0=4rqv~pN~*c`ucOc*kyUs0`fdOK -- 2.51.1 From 13873e49ed2538c0f545d192b28ea3c7d30e565094b89f3bbb63c1503c2c3c73 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 25 Nov 2013 12:24:18 +0000 Subject: [PATCH 060/126] - add optional -static library package, intended to publish pixz for CentOS / RHEL, default off OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=61 --- xz.changes | 6 ++++++ xz.spec | 42 +++++++++++++++++++++++++++++++++++++++--- 2 files changed, 45 insertions(+), 3 deletions(-) diff --git a/xz.changes b/xz.changes index d4e115b..e5d8c2c 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 24 16:25:53 UTC 2013 - andreas.stieger@gmx.de + +- add optional -static library package, intended to publish pixz for + CentOS / RHEL, default off + ------------------------------------------------------------------- Wed Oct 16 08:53:16 UTC 2013 - mvyskocil@suse.com diff --git a/xz.spec b/xz.spec index 62e1c7e..9f5c3fc 100644 --- a/xz.spec +++ b/xz.spec @@ -16,16 +16,25 @@ # +%if 0%{?centos_version} || 0%{?rhel_version} +%if 0%{?centos_version} <= 600 || 0%{?rhel_version <= 600} +%bcond_without static_libs +%endif +%else +%bcond_with static_libs +%endif + Name: xz Summary: A Program for Compressing Files License: LGPL-2.1+ and GPL-2.0+ Group: Productivity/Archiving/Compression Version: 5.0.5 Release: 0 -Url: http://tukaani.org/lzma/ +Url: http://tukaani.org/xz/ Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz Source1: http://tukaani.org/xz/%{name}-%{version}.tar.gz.sig Source2: baselibs.conf +# from http://tukaani.org/misc/lasse_collin_pubkey.txt#/xz.keyring Source3: xz.keyring BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig @@ -85,22 +94,43 @@ Obsoletes: lzma-alpha-devel < %version This package contains the header files and libraries needed for compiling programs using the LZMA library. +%if %{with static_libs} +%package static +Summary: Static version of LZMA library +Group: Development/Libraries/C and C++ +Requires: lzma-devel = %version + +%description static +Static library for the LZMA library +%endif + %prep %setup -q %build +%global optflags %{optflags} -D_REENTRANT -pipe %if %{do_profiling} profiledir=$(mktemp -d) trap "rm -rf $profiledir" EXIT export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir" %endif -%configure --disable-static --with-pic --docdir=%_docdir/%name +%configure \ +%if ! %{with static_libs} + --disable-static \ +%endif + --with-pic \ + --docdir=%_docdir/%name make %{?_smp_mflags} %if %{do_profiling} time make check make clean export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir" -%configure --disable-static --with-pic --docdir=%_docdir/%name +%configure \ +%if ! %{with static_libs} + --disable-static \ +%endif + --with-pic \ + --docdir=%_docdir/%name make %{?_smp_mflags} %endif @@ -143,4 +173,10 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc +%if %{with static_libs} +%files static +%defattr(-, root, root) +%{_libdir}/*.a +%endif + %changelog -- 2.51.1 From 0ff27d97045d4b21a7b2c3128c033970aaba9d42273b6cf633bc7c755bee49c2 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 10 Dec 2013 17:06:54 +0000 Subject: [PATCH 061/126] - add optional -static-devel library package, intended to publish pixz for OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=62 --- xz.changes | 2 +- xz.spec | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/xz.changes b/xz.changes index e5d8c2c..1728c06 100644 --- a/xz.changes +++ b/xz.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Sun Nov 24 16:25:53 UTC 2013 - andreas.stieger@gmx.de -- add optional -static library package, intended to publish pixz for +- add optional -static-devel library package, intended to publish pixz for CentOS / RHEL, default off ------------------------------------------------------------------- diff --git a/xz.spec b/xz.spec index 9f5c3fc..9103b70 100644 --- a/xz.spec +++ b/xz.spec @@ -95,12 +95,12 @@ This package contains the header files and libraries needed for compiling programs using the LZMA library. %if %{with static_libs} -%package static +%package static-devel Summary: Static version of LZMA library Group: Development/Libraries/C and C++ Requires: lzma-devel = %version -%description static +%description static-devel Static library for the LZMA library %endif @@ -126,7 +126,7 @@ time make check make clean export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir" %configure \ -%if ! %{with static_libs} +%if %{without static_libs} --disable-static \ %endif --with-pic \ @@ -174,7 +174,7 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libdir}/pkgconfig/*.pc %if %{with static_libs} -%files static +%files static-devel %defattr(-, root, root) %{_libdir}/*.a %endif -- 2.51.1 From 4b90fdd485b73be88d3065b181f9b0fe46734892752bcd8d403de4d21379d0a6 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 23 Sep 2014 08:40:06 +0000 Subject: [PATCH 062/126] Accepting request 251497 from home:AndreasStieger:branches:Base:System xz 5.0.7 OBS-URL: https://build.opensuse.org/request/show/251497 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=64 --- xz-5.0.5.tar.gz | 3 --- xz-5.0.5.tar.gz.sig | Bin 543 -> 0 bytes xz-5.0.7.tar.gz | 3 +++ xz-5.0.7.tar.gz.sig | Bin 0 -> 543 bytes xz.changes | 13 +++++++++ xz.spec | 64 ++++++++++++++++++++++---------------------- 6 files changed, 48 insertions(+), 35 deletions(-) delete mode 100644 xz-5.0.5.tar.gz delete mode 100644 xz-5.0.5.tar.gz.sig create mode 100644 xz-5.0.7.tar.gz create mode 100644 xz-5.0.7.tar.gz.sig diff --git a/xz-5.0.5.tar.gz b/xz-5.0.5.tar.gz deleted file mode 100644 index 2a7bf41..0000000 --- a/xz-5.0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5dcffe6a3726d23d1711a65288de2e215b4960da5092248ce63c99d50093b93a -size 1305685 diff --git a/xz-5.0.5.tar.gz.sig b/xz-5.0.5.tar.gz.sig deleted file mode 100644 index 094e7128191f4eaca031de9b98ab3fa65adf6e6ea405e389db94870e962197e2..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0RjL91p-mfU%CJa2@p8$b$w|VMj%1n5C2L}jNw>za_(+$nX-fU zVH)Y%og?3HOL0i6NU-^L`5#Za=u6I?6rLo1F%dSTO~3&K+Mec)Mv0#}pDBG9(_t&Y z^b3DSLE>%*j;s5L+@7x|Z)u#;S`sH}frjkUoZ+-)f#+v)B z1ly$y$rfWGX(L*&hmq$7?gkh0Ro`eoo*nf2J-!es`Y?O&^bKWwYys)>AHsp3-oWu6 zVJLm4OZm#u_W zCWCMH&R8D`YHK#`>ERH$4h*j3{1sCL|I2RrGDoSneuxSv5SyMp&0M2PGQQm$cI4SS}?MAROk^Ea7xw*kCl8ziw_wTdLvPo~NOysTmzZat5)i zdeF6Ze_L@}1_~rjh$BiL`)CClv$yJ_4_xEV>dsGE&o4M*IcSwHjIyKM)1cqRbB+4v h1oUZ1719JN03vR_Fc(ezL-Ln7RXgp=(%wWF*YOXe2?_uJ diff --git a/xz-5.0.7.tar.gz b/xz-5.0.7.tar.gz new file mode 100644 index 0000000..789d472 --- /dev/null +++ b/xz-5.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4d2165553b9d0d82fd08bc2eacddeb48ebeb862a5686a603f8c044a2e52c93f +size 1317771 diff --git a/xz-5.0.7.tar.gz.sig b/xz-5.0.7.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..a6cbcca098f5a5c70da29b37404c68f04f3411f33c6295c0f7c7d0749b97f121 GIT binary patch literal 543 zcmV+)0^t3L0vrSY0RjL91p-tZzd8U42@p8$b$w|VMj&(h5B(aygVljtP?!q^_ben7 z-qP>wB8&sR$7-&bg00}9MIXoU6HWEBr*;Nav9d!48JSM4o1nq22k2G4cO;+#}rc`ld6rmhihBWHMk3>`pR=f|qSy~gCL)}5H-=IAY$M_UK$l<%laK-;t6og>)vO;w! zsCqN5qqq%xkvhf9F!I{Bd9nEd6m0Vqy*qI<@=^x92Ht=4za)thz60&}aZU_mc++@Q zhP?JVekW6^$vWg55M8*H2?^Va%vd0co0nbg=P&Z#NG zh@%jRgd%Q-4scvjm4Va1#)_{X?JRgZ@no8i_$ur)jowl8PD)|&|K+FeNoPA>l+%vp zgEEUlc26*1FJz_J-{y41@px literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index 1728c06..82656f1 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Sep 23 00:11:27 UTC 2014 - andreas.stieger@gmx.de + +- xz 5.0.7: + * Fix regressions introduced in 5.0.6: + - Fix building with non-GNU make. + - Fix invalid Libs.private value in liblzma.pc which broke + static linking against liblzma if the linker flags were + taken from pkg-config. +- include changes from 5.0.6: + * xzgrep now exits with status 0 if at least one file matched. + * A few minor portability and build system fixes + ------------------------------------------------------------------- Sun Nov 24 16:25:53 UTC 2013 - andreas.stieger@gmx.de diff --git a/xz.spec b/xz.spec index 9103b70..17007d7 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,8 @@ # +# avoid bootstrapping problem +%define _binary_payload w9.bzdio %if 0%{?centos_version} || 0%{?rhel_version} %if 0%{?centos_version} <= 600 || 0%{?rhel_version <= 600} %bcond_without static_libs @@ -23,36 +25,31 @@ %else %bcond_with static_libs %endif - +%if 0%{?suse_version} < 1130 +%define do_profiling 0 +%endif +%ifarch aarch64 %{arm} %{sparc} +%define do_profiling 0 +%endif Name: xz +Version: 5.0.7 +Release: 0 Summary: A Program for Compressing Files License: LGPL-2.1+ and GPL-2.0+ Group: Productivity/Archiving/Compression -Version: 5.0.5 -Release: 0 Url: http://tukaani.org/xz/ Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz Source1: http://tukaani.org/xz/%{name}-%{version}.tar.gz.sig Source2: baselibs.conf # from http://tukaani.org/misc/lasse_collin_pubkey.txt#/xz.keyring Source3: xz.keyring -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig -Provides: lzma = %version -Obsoletes: lzma < %version - -%if 0%{?suse_version} < 1130 -%define do_profiling 0 -%endif -%ifarch aarch64 %{arm} %sparc -%define do_profiling 0 -%endif - +Provides: lzma = %{version} +Obsoletes: lzma < %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?lang_package:1} > 0 -Recommends: %name-lang +Recommends: %{name}-lang %endif -# avoid bootstrapping problem -%define _binary_payload w9.bzdio %description The xz command is a very powerful program for compressing files. @@ -85,23 +82,24 @@ Library for encoding/decoding LZMA files. Summary: Development package for the LZMA library Group: Development/Libraries/C and C++ Requires: liblzma5 = %{version} -Provides: lzma-devel = %version -Obsoletes: lzma-devel < %version -Provides: lzma-alpha-devel = %version -Obsoletes: lzma-alpha-devel < %version +Provides: lzma-devel = %{version} +Obsoletes: lzma-devel < %{version} +Provides: lzma-alpha-devel = %{version} +Obsoletes: lzma-alpha-devel < %{version} %description devel This package contains the header files and libraries needed for compiling programs using the LZMA library. %if %{with static_libs} + %package static-devel Summary: Static version of LZMA library Group: Development/Libraries/C and C++ -Requires: lzma-devel = %version +Requires: lzma-devel = %{version} %description static-devel -Static library for the LZMA library +Static library for the LZMA library %endif %prep @@ -112,25 +110,25 @@ Static library for the LZMA library %if %{do_profiling} profiledir=$(mktemp -d) trap "rm -rf $profiledir" EXIT -export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir" +export CFLAGS="%{optflags} %{cflags_profile_generate}=$profiledir" %endif %configure \ %if ! %{with static_libs} --disable-static \ %endif --with-pic \ - --docdir=%_docdir/%name + --docdir=%{_docdir}/%{name} make %{?_smp_mflags} %if %{do_profiling} time make check -make clean -export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir" +make clean %{?_smp_mflags} +export CFLAGS="%{optflags} %{cflags_profile_feedback}=$profiledir" %configure \ %if %{without static_libs} --disable-static \ %endif --with-pic \ - --docdir=%_docdir/%name + --docdir=%{_docdir}/%{name} make %{?_smp_mflags} %endif @@ -138,8 +136,8 @@ make %{?_smp_mflags} time make check %install -make install DESTDIR=$RPM_BUILD_ROOT -%{__rm} -v %{buildroot}%{_libdir}/liblzma.la +make DESTDIR=%{buildroot} install %{?_smp_mflags} +rm -v %{buildroot}%{_libdir}/liblzma.la %find_lang %{name} %post -n liblzma5 -p /sbin/ldconfig @@ -152,13 +150,14 @@ make install DESTDIR=$RPM_BUILD_ROOT %defattr(-, root, root) %files +%defattr(-,root,root) %else %files -f %{name}.lang %defattr(-, root, root) %endif %defattr(-, root, root) -%_docdir/%name +%{_docdir}/%{name} %{_bindir}/* %{_mandir}/man?/* @@ -174,6 +173,7 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libdir}/pkgconfig/*.pc %if %{with static_libs} + %files static-devel %defattr(-, root, root) %{_libdir}/*.a -- 2.51.1 From 57fbb89b787c51fbd2beeba6891db52bed4519e962871e71b18e7eeba7a6b3ca Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 19 Dec 2014 09:38:13 +0000 Subject: [PATCH 063/126] Accepting request 265844 from home:elvigia:branches:Base:System - Build XZ with full RELRO. OBS-URL: https://build.opensuse.org/request/show/265844 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=66 --- xz.changes | 5 +++++ xz.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/xz.changes b/xz.changes index 82656f1..4950fbd 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 18 19:37:09 UTC 2014 - crrodriguez@opensuse.org + +- Build XZ with full RELRO. + ------------------------------------------------------------------- Tue Sep 23 00:11:27 UTC 2014 - andreas.stieger@gmx.de diff --git a/xz.spec b/xz.spec index 17007d7..17361f1 100644 --- a/xz.spec +++ b/xz.spec @@ -107,6 +107,7 @@ Static library for the LZMA library %build %global optflags %{optflags} -D_REENTRANT -pipe +export LDFLAGS="-Wl,-z,relro,-z,now" %if %{do_profiling} profiledir=$(mktemp -d) trap "rm -rf $profiledir" EXIT -- 2.51.1 From 95d17d6a13756a9bf7d9291b908b8511c7bc3e603ba0cf82fa71b2d86813d649 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 19 Dec 2014 09:38:38 +0000 Subject: [PATCH 064/126] OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=67 --- xz.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xz.spec b/xz.spec index 17361f1..57168b0 100644 --- a/xz.spec +++ b/xz.spec @@ -106,8 +106,8 @@ Static library for the LZMA library %setup -q %build -%global optflags %{optflags} -D_REENTRANT -pipe -export LDFLAGS="-Wl,-z,relro,-z,now" +%global optflags %{optflags} -D_REENTRANT -pipe -fPIE +export LDFLAGS="-Wl,-z,relro,-z,now -pie" %if %{do_profiling} profiledir=$(mktemp -d) trap "rm -rf $profiledir" EXIT -- 2.51.1 From a5e61ed005aea6f74ee489e2176359e69b5df30987e78306b30c7bd93066476a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 19 Dec 2014 09:44:59 +0000 Subject: [PATCH 065/126] - build with PIE support. OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=68 --- xz.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xz.changes b/xz.changes index 4950fbd..6916c55 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 19 09:43:36 UTC 2014 - meissner@suse.com + +- build with PIE support. + ------------------------------------------------------------------- Thu Dec 18 19:37:09 UTC 2014 - crrodriguez@opensuse.org -- 2.51.1 From a1fe9b6aecb85d0974d8f5227e54d1d69268652a9e997dfcee61f9d5b3da3a30 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 25 Dec 2014 21:06:48 +0000 Subject: [PATCH 066/126] Accepting request 266416 from home:AndreasStieger:branches:Base:System xz 5.2.0 OBS-URL: https://build.opensuse.org/request/show/266416 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=70 --- xz-5.0.7.tar.gz | 3 --- xz-5.0.7.tar.gz.sig | Bin 543 -> 0 bytes xz-5.2.0.tar.gz | 3 +++ xz-5.2.0.tar.gz.sig | Bin 0 -> 542 bytes xz.changes | 35 +++++++++++++++++++++++++++++++++++ xz.spec | 2 +- 6 files changed, 39 insertions(+), 4 deletions(-) delete mode 100644 xz-5.0.7.tar.gz delete mode 100644 xz-5.0.7.tar.gz.sig create mode 100644 xz-5.2.0.tar.gz create mode 100644 xz-5.2.0.tar.gz.sig diff --git a/xz-5.0.7.tar.gz b/xz-5.0.7.tar.gz deleted file mode 100644 index 789d472..0000000 --- a/xz-5.0.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f4d2165553b9d0d82fd08bc2eacddeb48ebeb862a5686a603f8c044a2e52c93f -size 1317771 diff --git a/xz-5.0.7.tar.gz.sig b/xz-5.0.7.tar.gz.sig deleted file mode 100644 index a6cbcca098f5a5c70da29b37404c68f04f3411f33c6295c0f7c7d0749b97f121..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0RjL91p-tZzd8U42@p8$b$w|VMj&(h5B(aygVljtP?!q^_ben7 z-qP>wB8&sR$7-&bg00}9MIXoU6HWEBr*;Nav9d!48JSM4o1nq22k2G4cO;+#}rc`ld6rmhihBWHMk3>`pR=f|qSy~gCL)}5H-=IAY$M_UK$l<%laK-;t6og>)vO;w! zsCqN5qqq%xkvhf9F!I{Bd9nEd6m0Vqy*qI<@=^x92Ht=4za)thz60&}aZU_mc++@Q zhP?JVekW6^$vWg55M8*H2?^Va%vd0co0nbg=P&Z#NG zh@%jRgd%Q-4scvjm4Va1#)_{X?JRgZ@no8i_$ur)jowl8PD)|&|K+FeNoPA>l+%vp zgEEUlc26*1FJz_J-{y41@px diff --git a/xz-5.2.0.tar.gz b/xz-5.2.0.tar.gz new file mode 100644 index 0000000..9ad73c0 --- /dev/null +++ b/xz-5.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:231ef369982240bb20ed7cffa52bb12a4a297ce6871f480ab85e8a7ba98bf3d6 +size 1445562 diff --git a/xz-5.2.0.tar.gz.sig b/xz-5.2.0.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..3a541d73ce8ed968e34be3a9a5c0b480f9cdb0e26baad708652c491ead60dc85 GIT binary patch literal 542 zcmV+(0^$9M0viMX0SEvF1p-u;F|_~+2@p8$b$w|VMj&(m5BRJ>313BW>FdvOsefXG z*AAlsD#JP@-;{Q5N_VZ}W_8i6~F1LtrI0MC*t6^V~bLhCYB z)M#<2mki>>&xe{!-krSSDq&rGSCye-m1vnc8k6gqhp{Th>a+e~TnAJPj3z&dlu~Y_N>A_H0aJ2MbMmdB`s_hILov-)pN!sP@@#thnK$9Gqg&miT2(<;*hafTy2UC@WMN#s zf%D)P)JoMUun%^?nRbaPxK;RRJt92J>=*P66%5@Yek;PrCaOG3u#m@_4i2u^vFMD< gJz>l Date: Wed, 21 Jan 2015 11:25:49 +0000 Subject: [PATCH 067/126] - Avoid running configure twice and using -fprofile-generate or -fprofile-use for compiling configure tests when profiling. OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=72 --- xz.changes | 6 ++++++ xz.spec | 20 ++++++-------------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/xz.changes b/xz.changes index 06f4f11..f1ce171 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 21 11:21:32 UTC 2015 - rguenther@suse.com + +- Avoid running configure twice and using -fprofile-generate or + -fprofile-use for compiling configure tests when profiling. + ------------------------------------------------------------------- Thu Dec 25 20:23:28 UTC 2014 - andreas.stieger@gmx.de diff --git a/xz.spec b/xz.spec index 468c76d..c24ce07 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -108,28 +108,20 @@ Static library for the LZMA library %build %global optflags %{optflags} -D_REENTRANT -pipe -fPIE export LDFLAGS="-Wl,-z,relro,-z,now -pie" -%if %{do_profiling} -profiledir=$(mktemp -d) -trap "rm -rf $profiledir" EXIT -export CFLAGS="%{optflags} %{cflags_profile_generate}=$profiledir" -%endif %configure \ %if ! %{with static_libs} --disable-static \ %endif --with-pic \ --docdir=%{_docdir}/%{name} -make %{?_smp_mflags} %if %{do_profiling} +profiledir=$(mktemp -d) +trap "rm -rf $profiledir" EXIT +make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}=$profiledir" time make check make clean %{?_smp_mflags} -export CFLAGS="%{optflags} %{cflags_profile_feedback}=$profiledir" -%configure \ -%if %{without static_libs} - --disable-static \ -%endif - --with-pic \ - --docdir=%{_docdir}/%{name} +make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}=$profiledir" +%else make %{?_smp_mflags} %endif -- 2.51.1 From 84f89d87bc750121c068dec9742bcb19485d7728574390c2bf233dea8239ba07 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 28 Feb 2015 08:37:57 +0000 Subject: [PATCH 068/126] Accepting request 288132 from home:AndreasStieger:branches:Base:System xz 5.2.1 OBS-URL: https://build.opensuse.org/request/show/288132 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=74 --- xz-5.2.0.tar.gz | 3 --- xz-5.2.0.tar.gz.sig | Bin 542 -> 0 bytes xz-5.2.1.tar.gz | 3 +++ xz-5.2.1.tar.gz.sig | Bin 0 -> 543 bytes xz.changes | 9 ++++++++- xz.spec | 2 +- 6 files changed, 12 insertions(+), 5 deletions(-) delete mode 100644 xz-5.2.0.tar.gz delete mode 100644 xz-5.2.0.tar.gz.sig create mode 100644 xz-5.2.1.tar.gz create mode 100644 xz-5.2.1.tar.gz.sig diff --git a/xz-5.2.0.tar.gz b/xz-5.2.0.tar.gz deleted file mode 100644 index 9ad73c0..0000000 --- a/xz-5.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:231ef369982240bb20ed7cffa52bb12a4a297ce6871f480ab85e8a7ba98bf3d6 -size 1445562 diff --git a/xz-5.2.0.tar.gz.sig b/xz-5.2.0.tar.gz.sig deleted file mode 100644 index 3a541d73ce8ed968e34be3a9a5c0b480f9cdb0e26baad708652c491ead60dc85..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 542 zcmV+(0^$9M0viMX0SEvF1p-u;F|_~+2@p8$b$w|VMj&(m5BRJ>313BW>FdvOsefXG z*AAlsD#JP@-;{Q5N_VZ}W_8i6~F1LtrI0MC*t6^V~bLhCYB z)M#<2mki>>&xe{!-krSSDq&rGSCye-m1vnc8k6gqhp{Th>a+e~TnAJPj3z&dlu~Y_N>A_H0aJ2MbMmdB`s_hILov-)pN!sP@@#thnK$9Gqg&miT2(<;*hafTy2UC@WMN#s zf%D)P)JoMUun%^?nRbaPxK;RRJt92J>=*P66%5@Yek;PrCaOG3u#m@_4i2u^vFMD< gJz>lOZ@-}2@p8$b$w|VMj)!#5C2J`?z%Jb2_z1sb217U z=h19{$L>PQbHM?Dvq_~BguPdZKOT7 zCA`|lk2XebKFwqegnMU8t%)=qK5_;;0W3F?-tTN0CXaNt{z74(?Td2NU~Xavf{7Jl z)?r;a0`^&IrwE9TpZvGgeUNCbLUm=@??en7W=5Ek(u{Ck_{5o0%T68_C5?9vPd>Hg zcVyWH^HhK5eCMv@!Mx47Qc-oK!8lD$1^e3_KYU)`|8F}-bOXLxXQq{|IC=I8W!-Jk z1SP|V+fT_i9`Czt$NloGdk7=)n!z2LnPqPsIXtmK1fyp)-O;!x~jb5;gWmCLP@84b>aviNAsFA6~$d~Jc?emu=VP^A}5QH#5)tv6`Y!~b7A~X!!ABT14=f_ hn;H>_6AYV7G1#E90U~P3LDEA(aln!ATKuhx_XlpF0Q~>} literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index f1ce171..fd21c6a 100644 --- a/xz.changes +++ b/xz.changes @@ -1,10 +1,17 @@ +------------------------------------------------------------------- +Fri Feb 27 18:48:48 UTC 2015 - astieger@suse.com + +- xz 5.2.1: + * Fixed a compression-ratio regression in fast mode of LZMA1 and + LZMA2. + ------------------------------------------------------------------- Wed Jan 21 11:21:32 UTC 2015 - rguenther@suse.com - Avoid running configure twice and using -fprofile-generate or -fprofile-use for compiling configure tests when profiling. -------------------------------------------------------------------- +----------------------------------------------------------------- Thu Dec 25 20:23:28 UTC 2014 - andreas.stieger@gmx.de - xz 5.2.0: diff --git a/xz.spec b/xz.spec index c24ce07..677fbe6 100644 --- a/xz.spec +++ b/xz.spec @@ -32,7 +32,7 @@ %define do_profiling 0 %endif Name: xz -Version: 5.2.0 +Version: 5.2.1 Release: 0 Summary: A Program for Compressing Files License: LGPL-2.1+ and GPL-2.0+ -- 2.51.1 From e0e2642b898e01bd2c9ad65837b5be71904d08e32dcf7aab97b76fc8b4130cb8 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 30 Sep 2015 04:37:54 +0000 Subject: [PATCH 069/126] Accepting request 334878 from home:AndreasStieger:branches:Base:System xz 5.2.2 OBS-URL: https://build.opensuse.org/request/show/334878 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=76 --- xz-5.2.1.tar.gz | 3 --- xz-5.2.1.tar.gz.sig | Bin 543 -> 0 bytes xz-5.2.2.tar.gz | 3 +++ xz-5.2.2.tar.gz.sig | Bin 0 -> 543 bytes xz.changes | 9 +++++++++ xz.spec | 4 ++-- 6 files changed, 14 insertions(+), 5 deletions(-) delete mode 100644 xz-5.2.1.tar.gz delete mode 100644 xz-5.2.1.tar.gz.sig create mode 100644 xz-5.2.2.tar.gz create mode 100644 xz-5.2.2.tar.gz.sig diff --git a/xz-5.2.1.tar.gz b/xz-5.2.1.tar.gz deleted file mode 100644 index 8ba7217..0000000 --- a/xz-5.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b918b6648076e74f8d7ae19db5ee663df800049e187259faf5eb997a7b974681 -size 1454491 diff --git a/xz-5.2.1.tar.gz.sig b/xz-5.2.1.tar.gz.sig deleted file mode 100644 index ddf72550789dbe0985affff219ef103b6ddec129ec69d315d28abd744e15374d..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0SW*H1p-v>OZ@-}2@p8$b$w|VMj)!#5C2J`?z%Jb2_z1sb217U z=h19{$L>PQbHM?Dvq_~BguPdZKOT7 zCA`|lk2XebKFwqegnMU8t%)=qK5_;;0W3F?-tTN0CXaNt{z74(?Td2NU~Xavf{7Jl z)?r;a0`^&IrwE9TpZvGgeUNCbLUm=@??en7W=5Ek(u{Ck_{5o0%T68_C5?9vPd>Hg zcVyWH^HhK5eCMv@!Mx47Qc-oK!8lD$1^e3_KYU)`|8F}-bOXLxXQq{|IC=I8W!-Jk z1SP|V+fT_i9`Czt$NloGdk7=)n!z2LnPqPsIXtmK1fyp)-O;!x~jb5;gWmCLP@84b>aviNAsFA6~$d~Jc?emu=VP^A}5QH#5)tv6`Y!~b7A~X!!ABT14=f_ hn;H>_6AYV7G1#E90U~P3LDEA(aln!ATKuhx_XlpF0Q~>} diff --git a/xz-5.2.2.tar.gz b/xz-5.2.2.tar.gz new file mode 100644 index 0000000..65618c3 --- /dev/null +++ b/xz-5.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73df4d5d34f0468bd57d09f2d8af363e95ed6cc3a4a86129d2f2c366259902a2 +size 1464228 diff --git a/xz-5.2.2.tar.gz.sig b/xz-5.2.2.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..88b9450ed9e62c893495543a9b201458fe3d07f6bd6ff367bba74cc66fc42ba0 GIT binary patch literal 543 zcmV+)0^t3L0vrSY0SW*H1p-zIevbeO2@p8$b$w|VMj*(&5C3si0TTSXd#n4CFIB%A&;RJ@*OQnud!P<}9gMZ0R;0iXxACec#p+9_K z)8Y6?SH!rC1lyVA8lvPcCBiCep5@y9X_KF~84!TLg+*g*s;S%W{;L*1S&%5CTxhdV zP@2E%>$zgzi!0rLBUD$(z&GO(F@sztOS9kX)5l~%FgRz0!ur2d{q4=n-=Rse^n*DS z@*i1{U3mzT(}V`CMQnOq^VA zx?m2&#{CB^N3M#00_N&)v+Z4Ss$kR_$V_bc*;QwCs)ABzzbG Date: Tue, 10 Nov 2015 14:52:35 +0000 Subject: [PATCH 070/126] Accepting request 343469 from home:frispete:tools Hi Andreas, thanks for catching the missed parts. To be honest, I don't get the meaning of of the 2nd sentence of the description in the man page, but I'm probably too simple minded for a couple of GNU tools (code and description). ;) Cheers, Pete - fix conversion: spell the missed parts correctly - add xznew{,.1}, converted from bznew OBS-URL: https://build.opensuse.org/request/show/343469 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=78 --- xz.changes | 10 +++ xz.spec | 4 ++ xznew | 177 +++++++++++++++++++++++++++++++++++++++++++++++++++++ xznew.1 | 39 ++++++++++++ 4 files changed, 230 insertions(+) create mode 100644 xznew create mode 100644 xznew.1 diff --git a/xz.changes b/xz.changes index 1488ff5..b3fced3 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Nov 10 14:34:14 UTC 2015 - hpj@urpla.net + +- fix conversion: spell the missed parts correctly + +------------------------------------------------------------------- +Sun Nov 8 13:09:53 UTC 2015 - hpj@urpla.net + +- add xznew{,.1}, converted from bznew + ------------------------------------------------------------------- Tue Sep 29 21:28:21 UTC 2015 - astieger@suse.com diff --git a/xz.spec b/xz.spec index 6970a52..ad7a8e5 100644 --- a/xz.spec +++ b/xz.spec @@ -43,6 +43,8 @@ Source1: http://tukaani.org/xz/%{name}-%{version}.tar.gz.sig Source2: baselibs.conf # from http://tukaani.org/misc/lasse_collin_pubkey.txt#/xz.keyring Source3: xz.keyring +Source4: xznew +Source5: xznew.1 BuildRequires: pkgconfig Provides: lzma = %{version} Obsoletes: lzma < %{version} @@ -132,6 +134,8 @@ time make check make DESTDIR=%{buildroot} install %{?_smp_mflags} rm -v %{buildroot}%{_libdir}/liblzma.la %find_lang %{name} +cp -p %{SOURCE4} %{buildroot}%{_bindir} +cp -p %{SOURCE5} %{buildroot}%{_mandir}/man1/ %post -n liblzma5 -p /sbin/ldconfig diff --git a/xznew b/xznew new file mode 100644 index 0000000..5e8dd06 --- /dev/null +++ b/xznew @@ -0,0 +1,177 @@ +#!/bin/sh + +# Copyright (C) 2015 Hans-Peter Jansen +# Copyright (C) 1998, 2002, 2004 Free Software Foundation +# Copyright (C) 1993 Jean-loup Gailly + +# 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 2 of the License, 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, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + +PATH="/usr/bin:$PATH"; export PATH +check=0 +pipe=0 +opt= +files= +keep=0 +res=0 +old=0 +new=0 +block=1024 +# block is the disk block size (best guess, need not be exact) + +warn="(does not preserve modes and timestamp)" +tmp=`mktemp -d ${TMPDIR-/tmp}/zfoo.XXXXXX` || { + echo 'cannot create temporary directory' >&2 + exit 1 +} +trap "rm -rf $tmp/" 0 1 2 3 6 13 15 +set -C +echo hi > $tmp/1 +echo hi > $tmp/2 +if test -z "`(${CPMOD-cpmod} $tmp/1 $tmp/2) 2>&1`"; then + cpmod=${CPMOD-cpmod} + warn="" +fi + +if test -z "$cpmod" && ${TOUCH-touch} -r $tmp/1 $tmp/2 2>/dev/null; then + cpmod="${TOUCH-touch}" + cpmodarg="-r" + warn="(does not preserve file modes)" +fi + +# check about xz extension +xz $tmp/1 &> /dev/null +ext=`echo $tmp/1* | sed "s|$tmp/1||"` +rm -rf $tmp/ +trap - 0 1 2 3 6 13 15 +if test -z "$ext"; then + echo xznew: error determining xz extension + exit 1 +fi +if test "$ext" = ".gz"; then + echo xznew: cannot use .gz as bzip extension. + exit 1 +fi + +for arg +do + case "$arg" in + -*) opt="$opt $arg"; shift;; + *) break;; + esac +done + +if test $# -eq 0; then + echo "recompress .gz or .tgz files into $ext (xz) files" + echo usage: `echo $0 | sed 's,^.*/,,'` "[-tv9KP]" file.gz... + echo " -t tests the new files before deleting originals" + echo " -v be verbose" + echo " -9 use the slowest compression method (optimal compression)" + echo " -K keep a .gz file when it is smaller than the $ext file" + echo " -P use pipes for the conversion $warn" + exit 1 +fi + +opt=`echo "$opt" | sed -e 's/ //g' -e 's/-//g'` +case "$opt" in + *t*) check=1; opt=`echo "$opt" | sed 's/t//g'` +esac +case "$opt" in + *K*) keep=1; opt=`echo "$opt" | sed 's/K//g'` +esac +case "$opt" in + *P*) pipe=1; opt=`echo "$opt" | sed 's/P//g'` +esac +if test -n "$opt"; then + opt="-$opt" +fi + +for i do + m=`echo $i | sed 's/\.tgz$//'` + if test -f "$m.tgz" ; then + echo "Renaming file *.tgz to *.tar.gz" + mv "$i" "$m.tar.gz" + n=`echo $i | sed 's/\.tgz$/\.tar/'` + else + n=`echo $i | sed 's/\.gz$//'` + fi + if test ! -f "$n.gz" ; then + echo $n.gz not found + res=1; continue + fi + test $keep -eq 1 && old=`wc -c < "$n.gz"` + if test $pipe -eq 1; then + if gzip -d < "$n.gz" | xz $opt > "$n$ext"; then + # Copy file attributes from old file to new one, if possible. + test -n "$cpmod" && $cpmod $cpmodarg "$n.gz" "$n$ext" 2> /dev/null + else + echo error while recompressing $n.gz + res=1; continue + fi + else + if test $check -eq 1; then + if cp -p "$n.gz" "$n.$$" 2> /dev/null || cp "$n.gz" "$n.$$"; then + : + else + echo cannot backup "$n.gz" + res=1; continue + fi + fi + if gzip -d "$n.gz"; then + : + else + test $check -eq 1 && mv "$n.$$" "$n.gz" + echo error while uncompressing $n.gz + res=1; continue + fi + if xz $opt "$n"; then + : + else + if test $check -eq 1; then + mv "$n.$$" "$n.gz" && rm -f "$n" + echo error while recompressing $n + else + # gzip $n (might be dangerous if disk full) + echo error while recompressing $n, left uncompressed + fi + res=1; continue + fi + fi + test $keep -eq 1 && new=`wc -c < "$n$ext"` + if test $keep -eq 1 && test `expr \( $old + $block - 1 \) / $block` -lt \ + `expr \( $new + $block - 1 \) / $block`; then + if test $pipe -eq 1; then + rm -f "$n$ext" + elif test $check -eq 1; then + mv "$n.$$" "$n.gz" && rm -f "$n$ext" + else + xz -d "$n$ext" && gzip "$n" && rm -f "$n$ext" + fi + echo "$n.gz smaller than $n$ext -- unchanged" + + elif test $check -eq 1; then + if xz -t "$n$ext" ; then + rm -f "$n.$$" "$n.gz" + else + test $pipe -eq 0 && mv "$n.$$" "$n.gz" + rm -f "$n$ext" + echo error while testing $n$ext, $n.gz unchanged + res=1; continue + fi + elif test $pipe -eq 1; then + rm -f "$n.gz" + fi +done +exit $res diff --git a/xznew.1 b/xznew.1 new file mode 100644 index 0000000..7fc9dc0 --- /dev/null +++ b/xznew.1 @@ -0,0 +1,39 @@ +.TH XZNEW 1 +.SH NAME +xznew \- recompress .gz or .tgz files to .xz files +.SH SYNOPSIS +.B xznew +[ -ftv9PK] [ name.gz ... ] +.SH DESCRIPTION +.I xznew +recompresses files from .gz (gzip) format to .xz (xz) format. +If you want to recompress a file already in xz format, rename the file +to force a .xz extension then apply xznew. +.SH OPTIONS +.TP +.B \-f +Force recompression from .gz to .xz format even if a .xz file already exists. +.TP +.B \-t +Tests the new files before deleting originals. +.TP +.B \-v +Verbose. Display the name and percentage reduction for each file compressed. +.TP +.B \-9 +Use the slowest compression method (optimal compression). +.TP +.B \-P +Use pipes for the conversion to reduce disk space usage. +.TP +.B \-K +Keep a .gz file when it is smaller than the .xz file +.SH "SEE ALSO" +xz(1), gzip(1) +.SH BUGS +.I xznew +does not maintain the time stamp with the -P option if +.I cpmod(1) +is not available and +.I touch(1) +does not support the -r option. -- 2.51.1 From b6249516e69cc61a6bbe10948fab938911731465d260e4d9bdce80ba4ce444fe Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Tue, 10 Nov 2015 15:05:35 +0000 Subject: [PATCH 071/126] fix minor typo OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=79 --- xznew | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xznew b/xznew index 5e8dd06..744913d 100644 --- a/xznew +++ b/xznew @@ -61,7 +61,7 @@ if test -z "$ext"; then exit 1 fi if test "$ext" = ".gz"; then - echo xznew: cannot use .gz as bzip extension. + echo xznew: cannot use .gz as xz extension. exit 1 fi -- 2.51.1 From 6a29aa3b0d96fc9f42df2f36d511fd9cf3c0e276d926d1acbf25253c3272e2bd Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Wed, 17 Feb 2016 10:01:31 +0000 Subject: [PATCH 072/126] Accepting request 359921 from home:scarabeus_iv:branches:Base:System - Do not split out lang_package conditional, used in sle10 out of support OBS-URL: https://build.opensuse.org/request/show/359921 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=81 --- xz.changes | 5 +++++ xz.spec | 34 +++++++++------------------------- 2 files changed, 14 insertions(+), 25 deletions(-) diff --git a/xz.changes b/xz.changes index b3fced3..7983338 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Feb 14 09:21:33 UTC 2016 - tchvatal@suse.com + +- Do not split out lang_package conditional, used in sle10 out of support + ------------------------------------------------------------------- Tue Nov 10 14:34:14 UTC 2015 - hpj@urpla.net diff --git a/xz.spec b/xz.spec index ad7a8e5..c7dc3e7 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,6 +18,12 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio +%if 0%{?suse_version} < 1130 +%define do_profiling 0 +%endif +%ifarch aarch64 %arm %{sparc} +%define do_profiling 0 +%endif %if 0%{?centos_version} || 0%{?rhel_version} %if 0%{?centos_version} <= 600 || 0%{?rhel_version <= 600} %bcond_without static_libs @@ -25,12 +31,6 @@ %else %bcond_with static_libs %endif -%if 0%{?suse_version} < 1130 -%define do_profiling 0 -%endif -%ifarch aarch64 %{arm} %{sparc} -%define do_profiling 0 -%endif Name: xz Version: 5.2.2 Release: 0 @@ -55,23 +55,18 @@ Recommends: %{name}-lang %description The xz command is a very powerful program for compressing files. - * Average compression ratio of LZMA is about 30% better than that of gzip, and 15% better than that of bzip2. - * Decompression speed is only little slower than that of gzip, being two to five times faster than bzip2. - * In fast mode, compresses faster than bzip2 with a comparable compression ratio. - * Achieving the best compression ratios takes four to even twelve times longer than with bzip2. However. this doesn't affect decompressing speed. - * Very similar command line interface to what gzip and bzip2 have. -%{?lang_package} +%lang_package %package -n liblzma5 Summary: LZMA library @@ -94,7 +89,6 @@ This package contains the header files and libraries needed for compiling programs using the LZMA library. %if %{with static_libs} - %package static-devel Summary: Static version of LZMA library Group: Development/Libraries/C and C++ @@ -116,7 +110,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie" %endif --with-pic \ --docdir=%{_docdir}/%{name} -%if %{do_profiling} +%if 0%{do_profiling} profiledir=$(mktemp -d) trap "rm -rf $profiledir" EXIT make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}=$profiledir" @@ -138,21 +132,12 @@ cp -p %{SOURCE4} %{buildroot}%{_bindir} cp -p %{SOURCE5} %{buildroot}%{_mandir}/man1/ %post -n liblzma5 -p /sbin/ldconfig - %postun -n liblzma5 -p /sbin/ldconfig -%if 0%{?lang_package:1} > 0 - %files lang -f %{name}.lang %defattr(-, root, root) %files -%defattr(-,root,root) -%else - -%files -f %{name}.lang -%defattr(-, root, root) -%endif %defattr(-, root, root) %{_docdir}/%{name} %{_bindir}/* @@ -170,7 +155,6 @@ cp -p %{SOURCE5} %{buildroot}%{_mandir}/man1/ %{_libdir}/pkgconfig/*.pc %if %{with static_libs} - %files static-devel %defattr(-, root, root) %{_libdir}/*.a -- 2.51.1 From 4d19ea670c9271fa60aa671bee8bb1638f6fe2004e45ae19ed9d1ff04befbeea Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 18 Mar 2016 10:08:27 +0000 Subject: [PATCH 073/126] Accepting request 370848 from home:pluskalm:branches:Base:System - Install xznew with correct permissions (boo#970842) OBS-URL: https://build.opensuse.org/request/show/370848 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=83 --- xz.changes | 5 +++++ xz.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/xz.changes b/xz.changes index 7983338..4ce3176 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Mar 13 09:40:51 UTC 2016 - mpluskal@suse.com + +- Install xznew with correct permissions (boo#970842) + ------------------------------------------------------------------- Sun Feb 14 09:21:33 UTC 2016 - tchvatal@suse.com diff --git a/xz.spec b/xz.spec index c7dc3e7..2502f53 100644 --- a/xz.spec +++ b/xz.spec @@ -128,8 +128,8 @@ time make check make DESTDIR=%{buildroot} install %{?_smp_mflags} rm -v %{buildroot}%{_libdir}/liblzma.la %find_lang %{name} -cp -p %{SOURCE4} %{buildroot}%{_bindir} -cp -p %{SOURCE5} %{buildroot}%{_mandir}/man1/ +install -D -m 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew +install -D -m 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 %post -n liblzma5 -p /sbin/ldconfig %postun -n liblzma5 -p /sbin/ldconfig -- 2.51.1 From 6713d38e82dd5f93de88beb24c717ee77c413bb20e13656b1c9916b5b9bef28f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 2 Jan 2017 08:54:34 +0000 Subject: [PATCH 074/126] Accepting request 448373 from Archiving 1 OBS-URL: https://build.opensuse.org/request/show/448373 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=85 --- xz-5.2.2.tar.gz | 3 --- xz-5.2.2.tar.gz.sig | Bin 543 -> 0 bytes xz-5.2.3.tar.gz | 3 +++ xz-5.2.3.tar.gz.sig | Bin 0 -> 565 bytes xz.changes | 15 +++++++++++++++ xz.spec | 6 +++--- 6 files changed, 21 insertions(+), 6 deletions(-) delete mode 100644 xz-5.2.2.tar.gz delete mode 100644 xz-5.2.2.tar.gz.sig create mode 100644 xz-5.2.3.tar.gz create mode 100644 xz-5.2.3.tar.gz.sig diff --git a/xz-5.2.2.tar.gz b/xz-5.2.2.tar.gz deleted file mode 100644 index 65618c3..0000000 --- a/xz-5.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:73df4d5d34f0468bd57d09f2d8af363e95ed6cc3a4a86129d2f2c366259902a2 -size 1464228 diff --git a/xz-5.2.2.tar.gz.sig b/xz-5.2.2.tar.gz.sig deleted file mode 100644 index 88b9450ed9e62c893495543a9b201458fe3d07f6bd6ff367bba74cc66fc42ba0..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0SW*H1p-zIevbeO2@p8$b$w|VMj*(&5C3si0TTSXd#n4CFIB%A&;RJ@*OQnud!P<}9gMZ0R;0iXxACec#p+9_K z)8Y6?SH!rC1lyVA8lvPcCBiCep5@y9X_KF~84!TLg+*g*s;S%W{;L*1S&%5CTxhdV zP@2E%>$zgzi!0rLBUD$(z&GO(F@sztOS9kX)5l~%FgRz0!ur2d{q4=n-=Rse^n*DS z@*i1{U3mzT(}V`CMQnOq^VA zx?m2&#{CB^N3M#00_N&)v+Z4Ss$kR_$V_bc*;QwCs)ABzzbGu0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0$65IuK)@O5IF92 zeQ6j*AaBPH_}!y5qN{F$P%lNo?5XbLh9}9R_;=uHEk%|kvAEmnVP9*XKnF@q5Kd1j zqpdo5#3xlLKXc@HVUzZaUZG-vTj*wpJYUUfrj#9@5NP%+65KzMXqJLRete~IY-5Ld zVQ~PG{i+H&2jTccpJXT_K;(w(8M7Xy3lc7Kbv90W@bYrbq+<5=GAUdMfV^skZ& zNF9sFoPAsWg9@T`(cM_Oc~#9$W@ci(^}XinVyRx@0d4H#-gXc+sswI)f%T(VjDoG9Jvi<-A*G+4K^`gT9v1_P53NI zd;+NgoX@f}zXuxpS8j|ir#sRrFuS)DnZOz+Fp!_+Q2~h$-GoY<1sus*MiND9cl-IW zUQ>}9;YzLrJYS-wWh0ioGXrklzMvgo`isf@wzKybOo9Eg0Mc*sZ@} Date: Mon, 6 Mar 2017 12:43:36 +0000 Subject: [PATCH 075/126] Accepting request 460649 from home:adrianSuSE:AppImage is there any reason why we can't enable static build of xz in SUSE? I would need to build an extra package of it otherwise .... OBS-URL: https://build.opensuse.org/request/show/460649 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=87 --- xz.changes | 6 ++++++ xz.spec | 8 +------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/xz.changes b/xz.changes index 6e35c96..15fe4db 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 21 09:03:18 UTC 2017 - adrian@suse.de + +- enable static package by default. + Needed for AppImageKit + ------------------------------------------------------------------- Sat Dec 31 22:17:33 UTC 2016 - astieger@suse.com diff --git a/xz.spec b/xz.spec index ab04532..e14cb1c 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,13 +24,7 @@ %ifarch aarch64 %{arm} %{sparc} %define do_profiling 0 %endif -%if 0%{?centos_version} || 0%{?rhel_version} -%if 0%{?centos_version} <= 600 || 0%{?rhel_version <= 600} %bcond_without static_libs -%endif -%else -%bcond_with static_libs -%endif Name: xz Version: 5.2.3 Release: 0 -- 2.51.1 From 9d04082f61bb0a9494e520cd0b5e18da432f1d737a1bbdafb2639f40ecd76b0b Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 22 Jun 2017 18:04:11 +0000 Subject: [PATCH 076/126] Accepting request 505452 from home:pluskalm:branches:Base:System - Simplify spec file conditions - Clenup profiled building - Use full lists of files OBS-URL: https://build.opensuse.org/request/show/505452 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=89 --- xz.changes | 7 ++++ xz.spec | 113 +++++++++++++++++++++++++++++++++-------------------- 2 files changed, 78 insertions(+), 42 deletions(-) diff --git a/xz.changes b/xz.changes index 15fe4db..6c4506a 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jun 21 14:11:44 UTC 2017 - mpluskal@suse.com + +- Simplify spec file conditions +- Clenup profiled building +- Use full lists of files + ------------------------------------------------------------------- Tue Feb 21 09:03:18 UTC 2017 - adrian@suse.de diff --git a/xz.spec b/xz.spec index e14cb1c..551ff69 100644 --- a/xz.spec +++ b/xz.spec @@ -18,18 +18,12 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio -%if 0%{?suse_version} < 1130 -%define do_profiling 0 -%endif -%ifarch aarch64 %{arm} %{sparc} -%define do_profiling 0 -%endif -%bcond_without static_libs + Name: xz Version: 5.2.3 Release: 0 Summary: A Program for Compressing Files -License: LGPL-2.1+ and GPL-2.0+ +License: LGPL-2.1+ AND GPL-2.0+ Group: Productivity/Archiving/Compression Url: http://tukaani.org/xz/ Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz @@ -40,12 +34,9 @@ Source3: xz.keyring Source4: xznew Source5: xznew.1 BuildRequires: pkgconfig +Recommends: %{name}-lang Provides: lzma = %{version} Obsoletes: lzma < %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?lang_package:1} > 0 -Recommends: %{name}-lang -%endif %description The xz command is a very powerful program for compressing files. @@ -82,7 +73,6 @@ Obsoletes: lzma-alpha-devel < %{version} This package contains the header files and libraries needed for compiling programs using the LZMA library. -%if %{with static_libs} %package static-devel Summary: Static version of LZMA library Group: Development/Libraries/C and C++ @@ -90,40 +80,34 @@ Requires: lzma-devel = %{version} %description static-devel Static library for the LZMA library -%endif %prep %setup -q %build -%global optflags %{optflags} -D_REENTRANT -pipe -fPIE +export CFLAGS="%{optflags} -D_REENTRANT -pipe -fPIE" export LDFLAGS="-Wl,-z,relro,-z,now -pie" %configure \ -%if ! %{with static_libs} - --disable-static \ -%endif - --with-pic \ - --docdir=%{_docdir}/%{name} -%if 0%{do_profiling} -profiledir=$(mktemp -d) -trap "rm -rf $profiledir" EXIT -make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}=$profiledir" -time make check -make clean %{?_smp_mflags} -make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}=$profiledir" + --with-pic \ + --docdir=%{_docdir}/%{name} +%if %{do_profiling} + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" + make check %{?_smp_mflags} + make clean + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" %else -make %{?_smp_mflags} + make %{?_smp_mflags} %endif %check -time make check +make %{?_smp_mflags} check %install %make_install -rm -v %{buildroot}%{_libdir}/liblzma.la +find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} -install -D -m 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew -install -D -m 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 +install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew +install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 %post -n liblzma5 -p /sbin/ldconfig %postun -n liblzma5 -p /sbin/ldconfig @@ -134,24 +118,69 @@ install -D -m 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 %files %defattr(-, root, root) %{_docdir}/%{name} -%{_bindir}/* -%{_mandir}/man?/* +%{_bindir}/lzcat +%{_bindir}/lzcmp +%{_bindir}/lzdiff +%{_bindir}/lzegrep +%{_bindir}/lzfgrep +%{_bindir}/lzgrep +%{_bindir}/lzless +%{_bindir}/lzma +%{_bindir}/lzmadec +%{_bindir}/lzmainfo +%{_bindir}/lzmore +%{_bindir}/unlzma +%{_bindir}/unxz +%{_bindir}/xz +%{_bindir}/xzcat +%{_bindir}/xzcmp +%{_bindir}/xzdec +%{_bindir}/xzdiff +%{_bindir}/xzegrep +%{_bindir}/xzfgrep +%{_bindir}/xzgrep +%{_bindir}/xzless +%{_bindir}/xzmore +%{_bindir}/xznew +%{_mandir}/man1/lzcat.1%{ext_man} +%{_mandir}/man1/lzcmp.1%{ext_man} +%{_mandir}/man1/lzdiff.1%{ext_man} +%{_mandir}/man1/lzegrep.1%{ext_man} +%{_mandir}/man1/lzfgrep.1%{ext_man} +%{_mandir}/man1/lzgrep.1%{ext_man} +%{_mandir}/man1/lzless.1%{ext_man} +%{_mandir}/man1/lzma.1%{ext_man} +%{_mandir}/man1/lzmadec.1%{ext_man} +%{_mandir}/man1/lzmainfo.1%{ext_man} +%{_mandir}/man1/lzmore.1%{ext_man} +%{_mandir}/man1/unlzma.1%{ext_man} +%{_mandir}/man1/unxz.1%{ext_man} +%{_mandir}/man1/xz.1%{ext_man} +%{_mandir}/man1/xzcat.1%{ext_man} +%{_mandir}/man1/xzcmp.1%{ext_man} +%{_mandir}/man1/xzdec.1%{ext_man} +%{_mandir}/man1/xzdiff.1%{ext_man} +%{_mandir}/man1/xzegrep.1%{ext_man} +%{_mandir}/man1/xzfgrep.1%{ext_man} +%{_mandir}/man1/xzgrep.1%{ext_man} +%{_mandir}/man1/xzless.1%{ext_man} +%{_mandir}/man1/xzmore.1%{ext_man} +%{_mandir}/man1/xznew.1%{ext_man} %files -n liblzma5 %defattr(-, root, root) -%{_libdir}/lib*.so.5* +%{_libdir}/liblzma.so.5* %files devel %defattr(-, root, root) -%{_includedir}/*.h -%{_includedir}/lzma -%{_libdir}/lib*.so -%{_libdir}/pkgconfig/*.pc +%{_includedir}/lzma.h +%dir %{_includedir}/lzma/ +%{_includedir}/lzma/* +%{_libdir}/liblzma.so +%{_libdir}/pkgconfig/liblzma.pc -%if %{with static_libs} %files static-devel %defattr(-, root, root) -%{_libdir}/*.a -%endif +%{_libdir}/liblzma.a %changelog -- 2.51.1 From 445848925ef5bf2b95d97fc979f0c96ed476a46b9818e3015c515a2410600ada Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Sun, 25 Jun 2017 17:03:45 +0000 Subject: [PATCH 077/126] Accepting request 506129 from home:AndreasStieger:branches:Archiving - fix CentOS/RHEL builds after clean-up OBS-URL: https://build.opensuse.org/request/show/506129 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=90 --- xz.changes | 5 +++++ xz.spec | 17 ++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/xz.changes b/xz.changes index 6c4506a..170457e 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jun 25 11:37:03 UTC 2017 - astieger@suse.com + +- fix CentOS/RHEL builds after clean-up + ------------------------------------------------------------------- Wed Jun 21 14:11:44 UTC 2017 - mpluskal@suse.com diff --git a/xz.spec b/xz.spec index 551ff69..b07232b 100644 --- a/xz.spec +++ b/xz.spec @@ -18,7 +18,6 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio - Name: xz Version: 5.2.3 Release: 0 @@ -34,9 +33,12 @@ Source3: xz.keyring Source4: xznew Source5: xznew.1 BuildRequires: pkgconfig -Recommends: %{name}-lang Provides: lzma = %{version} Obsoletes: lzma < %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?lang_package:1} +Recommends: %{name}-lang +%endif %description The xz command is a very powerful program for compressing files. @@ -90,7 +92,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie" %configure \ --with-pic \ --docdir=%{_docdir}/%{name} -%if %{do_profiling} +%if 0%{?do_profiling} make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" make check %{?_smp_mflags} make clean @@ -103,7 +105,11 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie" make %{?_smp_mflags} check %install +%if 0%{?make_install:1} %make_install +%else +make DESTDIR=%{buildroot} install %{?_smp_mflags} # +%endif find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew @@ -112,8 +118,10 @@ install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 %post -n liblzma5 -p /sbin/ldconfig %postun -n liblzma5 -p /sbin/ldconfig +%if 0%{?lang_package:1} %files lang -f %{name}.lang %defattr(-, root, root) +%endif %files %defattr(-, root, root) @@ -166,6 +174,9 @@ install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 %{_mandir}/man1/xzless.1%{ext_man} %{_mandir}/man1/xzmore.1%{ext_man} %{_mandir}/man1/xznew.1%{ext_man} +%if 0%{!?lang_package:1} +%{_datadir}/locale/*/LC_MESSAGES/xz.mo +%endif %files -n liblzma5 %defattr(-, root, root) -- 2.51.1 From 595bebbece12d967c7ac8b8e59de230cf32d3f66a52b677588ea6ea3b910b5ee Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 4 Jul 2017 05:23:33 +0000 Subject: [PATCH 078/126] Accepting request 507445 from home:olh:branches:Base:System - Really use the selfdefined CFLAGS during build to fix build OBS-URL: https://build.opensuse.org/request/show/507445 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=92 --- xz.changes | 5 +++++ xz.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/xz.changes b/xz.changes index 170457e..b916a9e 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 30 18:25:33 UTC 2017 - olaf@aepfle.de + +- Really use the selfdefined CFLAGS during build to fix build + ------------------------------------------------------------------- Sun Jun 25 11:37:03 UTC 2017 - astieger@suse.com diff --git a/xz.spec b/xz.spec index b07232b..90576b4 100644 --- a/xz.spec +++ b/xz.spec @@ -93,10 +93,10 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie" --with-pic \ --docdir=%{_docdir}/%{name} %if 0%{?do_profiling} - make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" + make %{?_smp_mflags} CFLAGS="${CFLAGS} %{cflags_profile_generate}" make check %{?_smp_mflags} make clean - make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" + make %{?_smp_mflags} CFLAGS="${CFLAGS} %{cflags_profile_feedback}" %else make %{?_smp_mflags} %endif -- 2.51.1 From 38c039b7cbfe905bff0c3d5bad224aea20a46570a28dd96a38e6c459a3daa31d Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Tue, 11 Jul 2017 07:24:06 +0000 Subject: [PATCH 079/126] Accepting request 509172 from home:jengelh:branches:Base:System - % needs to be encoded in description; adjust weird indent there as well. Expand LZMA in summaries. OBS-URL: https://build.opensuse.org/request/show/509172 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=93 --- xz.changes | 6 ++++++ xz.spec | 19 ++++++++++--------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/xz.changes b/xz.changes index b916a9e..4cc57ce 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 10 10:50:01 UTC 2017 - jengelh@inai.de + +- % needs to be encoded in description; adjust weird indent there + as well. Expand LZMA in summaries. + ------------------------------------------------------------------- Fri Jun 30 18:25:33 UTC 2017 - olaf@aepfle.de diff --git a/xz.spec b/xz.spec index 90576b4..93d147a 100644 --- a/xz.spec +++ b/xz.spec @@ -21,7 +21,7 @@ Name: xz Version: 5.2.3 Release: 0 -Summary: A Program for Compressing Files +Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: LGPL-2.1+ AND GPL-2.0+ Group: Productivity/Archiving/Compression Url: http://tukaani.org/xz/ @@ -41,22 +41,22 @@ Recommends: %{name}-lang %endif %description -The xz command is a very powerful program for compressing files. -* Average compression ratio of LZMA is about 30% better than that of - gzip, and 15% better than that of bzip2. +The xz command is a program for compressing files. +* Average compression ratio of LZMA is about 30%% better than that of + gzip, and 15%% better than that of bzip2. * Decompression speed is only little slower than that of gzip, being - two to five times faster than bzip2. + two to five times faster than bzip2. * In fast mode, compresses faster than bzip2 with a comparable - compression ratio. + compression ratio. * Achieving the best compression ratios takes four to even twelve - times longer than with bzip2. However. this doesn't affect - decompressing speed. + times longer than with bzip2. However, this does not affect + decompressing speed. * Very similar command line interface to what gzip and bzip2 have. %lang_package %package -n liblzma5 -Summary: LZMA library +Summary: Lempel–Ziv–Markov chain algorithm compression library Group: System/Libraries %description -n liblzma5 @@ -108,6 +108,7 @@ make %{?_smp_mflags} check %if 0%{?make_install:1} %make_install %else +# Retain this line, with trailing #, to work around an overly eager spec-cleaner make DESTDIR=%{buildroot} install %{?_smp_mflags} # %endif find %{buildroot} -type f -name "*.la" -delete -print -- 2.51.1 From a6ccd9da96301d231285846f21258431e50817fc0bfda9b632968024a409d4d6 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 19 Mar 2018 14:54:29 +0000 Subject: [PATCH 080/126] Accepting request 588638 from home:kukuk:branches:Base:System - Use %license instead of %doc [bsc#1082318] OBS-URL: https://build.opensuse.org/request/show/588638 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=95 --- xz.changes | 5 +++++ xz.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/xz.changes b/xz.changes index 4cc57ce..38384e2 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 19 15:41:58 CET 2018 - kukuk@suse.de + +- Use %license instead of %doc [bsc#1082318] + ------------------------------------------------------------------- Mon Jul 10 10:50:01 UTC 2017 - jengelh@inai.de diff --git a/xz.spec b/xz.spec index 93d147a..5360032 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: xz Version: 5.2.3 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm -License: LGPL-2.1+ AND GPL-2.0+ +License: LGPL-2.1-or-later AND GPL-2.0-or-later Group: Productivity/Archiving/Compression Url: http://tukaani.org/xz/ Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz @@ -115,6 +115,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 +rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %post -n liblzma5 -p /sbin/ldconfig %postun -n liblzma5 -p /sbin/ldconfig @@ -126,6 +127,7 @@ install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 %files %defattr(-, root, root) +%license COPYING COPYING.GPLv2 %{_docdir}/%{name} %{_bindir}/lzcat %{_bindir}/lzcmp -- 2.51.1 From d4610910f1468d32322ade6946b73e3af802a734268e1e90c5b3ada591a3cbb6 Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Fri, 15 Jun 2018 11:20:06 +0000 Subject: [PATCH 081/126] Accepting request 617060 from home:AndreasStieger:branches:Base:System xz 5.2.4 OBS-URL: https://build.opensuse.org/request/show/617060 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=97 --- xz-5.2.3.tar.gz | 3 --- xz-5.2.3.tar.gz.sig | Bin 565 -> 0 bytes xz-5.2.4.tar.gz | 3 +++ xz-5.2.4.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 19 +++++++++++++++++++ xz.spec | 2 +- 6 files changed, 23 insertions(+), 4 deletions(-) delete mode 100644 xz-5.2.3.tar.gz delete mode 100644 xz-5.2.3.tar.gz.sig create mode 100644 xz-5.2.4.tar.gz create mode 100644 xz-5.2.4.tar.gz.sig diff --git a/xz-5.2.3.tar.gz b/xz-5.2.3.tar.gz deleted file mode 100644 index e8e6ae8..0000000 --- a/xz-5.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:71928b357d0a09a12a4b4c5fafca8c31c19b0e7d3b8ebb19622e96f26dbf28cb -size 1490665 diff --git a/xz-5.2.3.tar.gz.sig b/xz-5.2.3.tar.gz.sig deleted file mode 100644 index eb583df5e414c5c91ca6d0777ada36f871107575a84be2b7e2c4356b5cb8f264..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 565 zcmV-50?Pe~0x|>u0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0$65IuK)@O5IF92 zeQ6j*AaBPH_}!y5qN{F$P%lNo?5XbLh9}9R_;=uHEk%|kvAEmnVP9*XKnF@q5Kd1j zqpdo5#3xlLKXc@HVUzZaUZG-vTj*wpJYUUfrj#9@5NP%+65KzMXqJLRete~IY-5Ld zVQ~PG{i+H&2jTccpJXT_K;(w(8M7Xy3lc7Kbv90W@bYrbq+<5=GAUdMfV^skZ& zNF9sFoPAsWg9@T`(cM_Oc~#9$W@ci(^}XinVyRx@0d4H#-gXc+sswI)f%T(VjDoG9Jvi<-A*G+4K^`gT9v1_P53NI zd;+NgoX@f}zXuxpS8j|ir#sRrFuS)DnZOz+Fp!_+Q2~h$-GoY<1sus*MiND9cl-IW zUQ>}9;YzLrJYS-wWh0ioGXrklzMvgo`isf@wzKybOo9Eg0Mc*sZ@}7)Brk0$SztbN~to5IF92 zeQ6j*Ab|M~|7zBA3Br)ppIk5ClRRUzSD7K6gN+G1)nPq^e|r;&b;pOg!*d#EAE?oC zGR4sk=GW0PjI#nap82|CdOHUHsANck0ljLjrqsQ1&Y0rl+I4g)7kc@hza3cW>~U>a zzZgaQsVu`S!4cRX21RQW@DTf*ZC27q+{evz?=-E+UI#A&Pd8l(*N*v2Ig?{z(;gKG zylG&>2_3bJ&IKuYE zc@Z%lfe@vx23t%3706OC%;cW*BN*!*1(mD*iq>?k$XT_-rSu#enH78?O?~#_XCy Date: Mon, 27 May 2019 05:56:49 +0000 Subject: [PATCH 082/126] Accepting request 704524 from home:kstreitova:branches:Base:System - add SUSE-Public-Domain licence as some parts of xz utils (liblzma, xz, xzdec, lzmadec, documentation, translated messages, tests, debug, extra directory) are in public domain licence [bsc#1135709] OBS-URL: https://build.opensuse.org/request/show/704524 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=99 --- xz.changes | 7 +++++++ xz.spec | 9 ++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/xz.changes b/xz.changes index c266281..85bf3f9 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue May 21 13:05:05 UTC 2019 - Kristýna Streitová + +- add SUSE-Public-Domain licence as some parts of xz utils (liblzma, + xz, xzdec, lzmadec, documentation, translated messages, tests, + debug, extra directory) are in public domain licence [bsc#1135709] + ------------------------------------------------------------------- Fri Jun 15 11:11:38 UTC 2018 - astieger@suse.com diff --git a/xz.spec b/xz.spec index e6f1660..909c01e 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,7 +22,7 @@ Name: xz Version: 5.2.4 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm -License: LGPL-2.1-or-later AND GPL-2.0-or-later +License: LGPL-2.1-or-later AND GPL-2.0-or-later AND SUSE-Public-Domain Group: Productivity/Archiving/Compression Url: http://tukaani.org/xz/ Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz @@ -57,6 +57,7 @@ The xz command is a program for compressing files. %package -n liblzma5 Summary: Lempel–Ziv–Markov chain algorithm compression library +License: SUSE-Public-Domain Group: System/Libraries %description -n liblzma5 @@ -64,6 +65,7 @@ Library for encoding/decoding LZMA files. %package devel Summary: Development package for the LZMA library +License: SUSE-Public-Domain Group: Development/Libraries/C and C++ Requires: liblzma5 = %{version} Provides: lzma-devel = %{version} @@ -77,6 +79,7 @@ compiling programs using the LZMA library. %package static-devel Summary: Static version of LZMA library +License: SUSE-Public-Domain Group: Development/Libraries/C and C++ Requires: lzma-devel = %{version} -- 2.51.1 From 519f2fb73662ad963054bcebe6e812c14127c4d3375efbccfecfc78dc3ff4ec4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 2 Aug 2019 08:28:06 +0000 Subject: [PATCH 083/126] Accepting request 720508 from home:marxin:static Use FAT LTO objects in order to provide proper static library. OBS-URL: https://build.opensuse.org/request/show/720508 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=101 --- xz.changes | 5 +++++ xz.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/xz.changes b/xz.changes index 85bf3f9..851871c 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 2 08:22:51 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Tue May 21 13:05:05 UTC 2019 - Kristýna Streitová diff --git a/xz.spec b/xz.spec index 909c01e..d739deb 100644 --- a/xz.spec +++ b/xz.spec @@ -90,6 +90,7 @@ Static library for the LZMA library %setup -q %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CFLAGS="%{optflags} -D_REENTRANT -pipe -fPIE" export LDFLAGS="-Wl,-z,relro,-z,now -pie" %configure \ -- 2.51.1 From 51369e1c1b97066e524f530ba27943edcb0f444e7a4524793e7d265c298141dd Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 20 Sep 2019 07:54:18 +0000 Subject: [PATCH 084/126] Accepting request 731872 from home:lnussel:branches:Base:System - Do not recommend lang package. The lang package already has a supplements. OBS-URL: https://build.opensuse.org/request/show/731872 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=103 --- xz.changes | 5 +++++ xz.spec | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/xz.changes b/xz.changes index 851871c..126ffc3 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 19 07:49:19 UTC 2019 - Ludwig Nussel + +- Do not recommend lang package. The lang package already has a supplements. + ------------------------------------------------------------------- Fri Aug 2 08:22:51 UTC 2019 - Martin Liška diff --git a/xz.spec b/xz.spec index d739deb..812856e 100644 --- a/xz.spec +++ b/xz.spec @@ -36,9 +36,6 @@ BuildRequires: pkgconfig Provides: lzma = %{version} Obsoletes: lzma < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?lang_package:1} -Recommends: %{name}-lang -%endif %description The xz command is a program for compressing files. -- 2.51.1 From 8897ad6e8d2a7982e7a9146ea0b1d5141ef52a623a94cbb6251f787d75c9d976 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 25 Mar 2020 08:21:28 +0000 Subject: [PATCH 085/126] Accepting request 786367 from home:polslinux:branches:Base:System - Update to 5.2.5: * liblzma: - Fixed several C99/C11 conformance bugs. Now the code is clean under gcc/clang -fsanitize=undefined. Some of these changes might have a negative effect on performance with old GCC versions or compilers other than GCC and Clang. The configure option --enable-unsafe-type-punning can be used to (mostly) restore the old behavior but it shouldn't normally be used. - Improved API documentation of lzma_properties_decode(). - Added a very minor encoder speed optimization. * xz: - Fixed a crash in "xz -dcfv not_an_xz_file". All four options were required to trigger it. The crash occurred in the progress indicator code when xz was in passthru mode where xz works like "cat". - Fixed an integer overflow with 32-bit off_t. It could happen when decompressing a file that has a long run of zero bytes which xz would try to write as a sparse file. Since the build system enables large file support by default, off_t is normally 64-bit even on 32-bit systems. - Fixes for --flush-timeout: * Fix semi-busy-waiting. * Avoid unneeded flushes when no new input has arrived since the previous flush was completed. - Added a special case for 32-bit xz: If --memlimit-compress is used to specify a limit that exceeds 4020 MiB, the limit will be set to 4020 MiB. The values "0" and "max" aren't affected by this and neither is decompression. This hack can be helpful when a 32-bit xz has access to 4 GiB address space but the specified memlimit exceeds 4 GiB. This can happen e.g. with some scripts. - Capsicum sandbox is now enabled by default where available (FreeBSD >= 10). The sandbox debug messages (xz -vv) were removed since they seemed to be more annoying than useful. OBS-URL: https://build.opensuse.org/request/show/786367 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=105 --- xz-5.2.4.tar.gz | 3 --- xz-5.2.4.tar.gz.sig | Bin 566 -> 0 bytes xz-5.2.5.tar.gz | 3 +++ xz-5.2.5.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 38 ++++++++++++++++++++++++++++++++++++++ xz.spec | 7 ++++--- 6 files changed, 45 insertions(+), 6 deletions(-) delete mode 100644 xz-5.2.4.tar.gz delete mode 100644 xz-5.2.4.tar.gz.sig create mode 100644 xz-5.2.5.tar.gz create mode 100644 xz-5.2.5.tar.gz.sig diff --git a/xz-5.2.4.tar.gz b/xz-5.2.4.tar.gz deleted file mode 100644 index 5b601a0..0000000 --- a/xz-5.2.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b512f3b726d3b37b6dc4c8570e137b9311e7552e8ccbab4d39d47ce5f4177145 -size 1572354 diff --git a/xz-5.2.4.tar.gz.sig b/xz-5.2.4.tar.gz.sig deleted file mode 100644 index d40ed14bcd08d295e01125c9840eb5f222c7c975703c980b8bf389568c8eabd7..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0$SztbN~to5IF92 zeQ6j*Ab|M~|7zBA3Br)ppIk5ClRRUzSD7K6gN+G1)nPq^e|r;&b;pOg!*d#EAE?oC zGR4sk=GW0PjI#nap82|CdOHUHsANck0ljLjrqsQ1&Y0rl+I4g)7kc@hza3cW>~U>a zzZgaQsVu`S!4cRX21RQW@DTf*ZC27q+{evz?=-E+UI#A&Pd8l(*N*v2Ig?{z(;gKG zylG&>2_3bJ&IKuYE zc@Z%lfe@vx23t%3706OC%;cW*BN*!*1(mD*iq>?k$XT_-rSu#enH78?O?~#_XCy7)Brk0$y>IN)NvG%!KZy#Utrk!T(OE<1{ z1#Zc)a&3}M0u%Nuky{G*iNddKOKkQ*BVObJm+>1C`uI|*puy>IHqI+4m%)WovH?Ia z2g^###~5P&=Qx5{KtC$4lNIjzLZwr0gxyE_9Px%&OS%>>hopA87l`PyK@V?6oP~Cx ze=)2_edQT-n5b9+HUKHY1?azc&_YY#uH8T1r0`QE4I(Z++15&njGf2@wY;tOma+}G zS~4`00@*Ua9%cJgz=H! zVjgnQ>iChrEe(K5zio-;F8vcFi7#62&Zt^6>nm&UKsH!X5m0E4KQijpe3~%A`VR*g zOMeH@AG1XtB*-g9jt-Cdz0`2UZO*q*mp9t-XD + +- Update to 5.2.5: + * liblzma: + - Fixed several C99/C11 conformance bugs. Now the code is clean + under gcc/clang -fsanitize=undefined. Some of these changes + might have a negative effect on performance with old GCC + versions or compilers other than GCC and Clang. The configure + option --enable-unsafe-type-punning can be used to (mostly) + restore the old behavior but it shouldn't normally be used. + - Improved API documentation of lzma_properties_decode(). + - Added a very minor encoder speed optimization. + * xz: + - Fixed a crash in "xz -dcfv not_an_xz_file". All four options + were required to trigger it. The crash occurred in the + progress indicator code when xz was in passthru mode where + xz works like "cat". + - Fixed an integer overflow with 32-bit off_t. It could happen + when decompressing a file that has a long run of zero bytes + which xz would try to write as a sparse file. Since the build + system enables large file support by default, off_t is + normally 64-bit even on 32-bit systems. + - Fixes for --flush-timeout: + * Fix semi-busy-waiting. + * Avoid unneeded flushes when no new input has arrived + since the previous flush was completed. + - Added a special case for 32-bit xz: If --memlimit-compress is + used to specify a limit that exceeds 4020 MiB, the limit will + be set to 4020 MiB. The values "0" and "max" aren't affected + by this and neither is decompression. This hack can be + helpful when a 32-bit xz has access to 4 GiB address space + but the specified memlimit exceeds 4 GiB. This can happen + e.g. with some scripts. + - Capsicum sandbox is now enabled by default where available + (FreeBSD >= 10). The sandbox debug messages (xz -vv) were + removed since they seemed to be more annoying than useful. + ------------------------------------------------------------------- Thu Sep 19 07:49:19 UTC 2019 - Ludwig Nussel diff --git a/xz.spec b/xz.spec index 812856e..53f1204 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,12 +19,12 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio Name: xz -Version: 5.2.4 +Version: 5.2.5 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: LGPL-2.1-or-later AND GPL-2.0-or-later AND SUSE-Public-Domain Group: Productivity/Archiving/Compression -Url: http://tukaani.org/xz/ +URL: http://tukaani.org/xz/ Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz Source1: http://tukaani.org/xz/%{name}-%{version}.tar.gz.sig Source2: baselibs.conf @@ -124,6 +124,7 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %if 0%{?lang_package:1} %files lang -f %{name}.lang %defattr(-, root, root) +%{_mandir}/de/man1/*.1%{ext_man} %endif %files -- 2.51.1 From f63c48605555372f424827c0b2dda8bb14d522b1eb964d415e6e7906da042839 Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Mon, 7 Jun 2021 15:24:28 +0000 Subject: [PATCH 086/126] Accepting request 898063 from home:jengelh:pic - Upgrade old rpm constructs (SLE12 is disabled in Base:System/xz already) OBS-URL: https://build.opensuse.org/request/show/898063 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=107 --- xz.changes | 5 +++++ xz.spec | 26 ++++++++------------------ 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/xz.changes b/xz.changes index 33ec92b..40469fd 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 7 11:45:15 UTC 2021 - Jan Engelhardt + +- Upgrade old rpm constructs. + ------------------------------------------------------------------- Wed Mar 18 11:11:48 UTC 2020 - Paolo Stivanin diff --git a/xz.spec b/xz.spec index 53f1204..92faaa3 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: xz Version: 5.2.5 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm -License: LGPL-2.1-or-later AND GPL-2.0-or-later AND SUSE-Public-Domain +License: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain Group: Productivity/Archiving/Compression URL: http://tukaani.org/xz/ Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz @@ -94,24 +94,19 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie" --with-pic \ --docdir=%{_docdir}/%{name} %if 0%{?do_profiling} - make %{?_smp_mflags} CFLAGS="${CFLAGS} %{cflags_profile_generate}" - make check %{?_smp_mflags} - make clean - make %{?_smp_mflags} CFLAGS="${CFLAGS} %{cflags_profile_feedback}" + %make_build CFLAGS="${CFLAGS} %{cflags_profile_generate}" + %make_build + %make_build clean + %make_build CFLAGS="${CFLAGS} %{cflags_profile_feedback}" %else - make %{?_smp_mflags} + %make_build %endif %check -make %{?_smp_mflags} check +%make_build check %install -%if 0%{?make_install:1} %make_install -%else -# Retain this line, with trailing #, to work around an overly eager spec-cleaner -make DESTDIR=%{buildroot} install %{?_smp_mflags} # -%endif find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew @@ -123,12 +118,10 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %if 0%{?lang_package:1} %files lang -f %{name}.lang -%defattr(-, root, root) %{_mandir}/de/man1/*.1%{ext_man} %endif %files -%defattr(-, root, root) %license COPYING COPYING.GPLv2 %{_docdir}/%{name} %{_bindir}/lzcat @@ -184,11 +177,9 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %endif %files -n liblzma5 -%defattr(-, root, root) %{_libdir}/liblzma.so.5* %files devel -%defattr(-, root, root) %{_includedir}/lzma.h %dir %{_includedir}/lzma/ %{_includedir}/lzma/* @@ -196,7 +187,6 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %{_libdir}/pkgconfig/liblzma.pc %files static-devel -%defattr(-, root, root) %{_libdir}/liblzma.a %changelog -- 2.51.1 From 688cbc6db775dabb5ab7c35cd122d5ed8424c73a89f3d9b7a12cda8417bd3477 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 12 Apr 2022 15:35:29 +0000 Subject: [PATCH 087/126] - change URL to https OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=109 --- xz.changes | 5 +++++ xz.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/xz.changes b/xz.changes index 40469fd..ba597d8 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 12 15:35:19 UTC 2022 - Marcus Meissner + +- use https urls. + ------------------------------------------------------------------- Mon Jun 7 11:45:15 UTC 2021 - Jan Engelhardt diff --git a/xz.spec b/xz.spec index 92faaa3..517afc1 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,9 +24,9 @@ Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain Group: Productivity/Archiving/Compression -URL: http://tukaani.org/xz/ -Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz -Source1: http://tukaani.org/xz/%{name}-%{version}.tar.gz.sig +URL: https://tukaani.org/xz/ +Source0: https://tukaani.org/xz/%{name}-%{version}.tar.gz +Source1: https://tukaani.org/xz/%{name}-%{version}.tar.gz.sig Source2: baselibs.conf # from http://tukaani.org/misc/lasse_collin_pubkey.txt#/xz.keyring Source3: xz.keyring -- 2.51.1 From c6096d3a0e4ce67666035b05f036076cfcef672443377a66e5cf79605d870ba0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 16 Aug 2022 06:45:42 +0000 Subject: [PATCH 088/126] Accepting request 994818 from home:dirkmueller:Factory - update to 5.2.6 (CVE-2022-1271, bsc#1198062): * xz: - The --keep option now accepts symlinks, hardlinks, and setuid, setgid, and sticky files. - When copying metadata from the source file to the destination file, don't try to set the group (GID) if it is already set correctly. This avoids a failure on OpenBSD (and possibly on a few other OSes) where files may get created so that their group doesn't belong to the user, and fchown(2) can fail even if it needs to do nothing. - Cap --memlimit-compress to 2000 MiB instead of 4020 MiB on MIPS32 because on MIPS32 userspace processes are limited to 2 GiB of address space. * liblzma: - Fixed a missing error-check in the threaded encoder. If a small memory allocation fails, a .xz file with an invalid Index field would be created. Decompressing such a file would produce the correct output but result in an error at the end. Thus this is a "mild" data corruption bug. Note that while a failed memory allocation can trigger the bug, it cannot cause invalid memory access. - The decoder for .lzma files now supports files that have uncompressed size stored in the header and still use the end of payload marker (end of stream marker) at the end of the LZMA stream. Such files are rare but, according to the documentation in LZMA SDK, they are valid. doc/lzma-file-format.txt was updated too. - Improved 32-bit x86 assembly files: * Support Intel Control-flow Enforcement Technology (CET) * Use non-executable stack on FreeBSD. OBS-URL: https://build.opensuse.org/request/show/994818 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=111 --- xz-5.2.5.tar.gz | 3 -- xz-5.2.5.tar.gz.sig | Bin 566 -> 0 bytes xz-5.2.6.tar.gz | 3 ++ xz-5.2.6.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 68 ++++++++++++++++++++++++++++++++++++++++++++ xz.spec | 20 ++++++++++++- 6 files changed, 90 insertions(+), 4 deletions(-) delete mode 100644 xz-5.2.5.tar.gz delete mode 100644 xz-5.2.5.tar.gz.sig create mode 100644 xz-5.2.6.tar.gz create mode 100644 xz-5.2.6.tar.gz.sig diff --git a/xz-5.2.5.tar.gz b/xz-5.2.5.tar.gz deleted file mode 100644 index f23bea4..0000000 --- a/xz-5.2.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f6f4910fd033078738bd82bfba4f49219d03b17eb0794eb91efbae419f4aba10 -size 1791345 diff --git a/xz-5.2.5.tar.gz.sig b/xz-5.2.5.tar.gz.sig deleted file mode 100644 index 734fe10f30e60a94a21ae9608ba312a39b596ff68f0ace6f201f97937b689b6f..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0$y>IN)NvG%!KZy#Utrk!T(OE<1{ z1#Zc)a&3}M0u%Nuky{G*iNddKOKkQ*BVObJm+>1C`uI|*puy>IHqI+4m%)WovH?Ia z2g^###~5P&=Qx5{KtC$4lNIjzLZwr0gxyE_9Px%&OS%>>hopA87l`PyK@V?6oP~Cx ze=)2_edQT-n5b9+HUKHY1?azc&_YY#uH8T1r0`QE4I(Z++15&njGf2@wY;tOma+}G zS~4`00@*Ua9%cJgz=H! zVjgnQ>iChrEe(K5zio-;F8vcFi7#62&Zt^6>nm&UKsH!X5m0E4KQijpe3~%A`VR*g zOMeH@AG1XtB*-g9jt-Cdz0`2UZO*q*mp9t-XD7)Brk0%G=Y%K!=q5IF92 zeQ6j*AS+f6|4s~r*bIUUaQd1A$ho@D6D@G$$^*3g!=s>wLZz-+ANyJ#=GW}YT!0-% z@d!=*gIX*!J1^DR)pS_JZO*OnU4=IFqYEhhan`Gab6I>$<3|%%dOI@^grNvL*4d9| z@zI5ksnu4+hq27WSnqrxmX}cN2gaTLIm$b~%E0Q@)IOm*2vG(iaY0mdbNOI|bq|9b z!Sy(0cwQ$@-$U_ucR8WVtvWZC2400*z8Q95zRW2bQ|}+z{j+Bo3gHP~Z5FzhdloU{ zrc*{RM8%3dWK%PS;x+s!7IwnVbcN!dJaEL(hs@TCvkoHc%S6qT5-K)c+M)erh2~Z?<29VYz^5b*VMbRB855D(0XXv-BJ1Ko&BT` z^|erM+=SF7MN+koD{A_cq}A6HlrR2}S)f2YWRK EmW&V!1poj5 literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index ba597d8..a02e51d 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,71 @@ +------------------------------------------------------------------- +Fri Aug 12 20:50:23 UTC 2022 - Dirk Müller + +- update to 5.2.6 (CVE-2022-1271, bsc#1198062): + * xz: + - The --keep option now accepts symlinks, hardlinks, and + setuid, setgid, and sticky files. + - When copying metadata from the source file to the destination + file, don't try to set the group (GID) if it is already set + correctly. This avoids a failure on OpenBSD (and possibly on + a few other OSes) where files may get created so that their + group doesn't belong to the user, and fchown(2) can fail even + if it needs to do nothing. + - Cap --memlimit-compress to 2000 MiB instead of 4020 MiB on + MIPS32 because on MIPS32 userspace processes are limited + to 2 GiB of address space. + * liblzma: + - Fixed a missing error-check in the threaded encoder. If a + small memory allocation fails, a .xz file with an invalid + Index field would be created. Decompressing such a file would + produce the correct output but result in an error at the end. + Thus this is a "mild" data corruption bug. Note that while + a failed memory allocation can trigger the bug, it cannot + cause invalid memory access. + - The decoder for .lzma files now supports files that have + uncompressed size stored in the header and still use the + end of payload marker (end of stream marker) at the end + of the LZMA stream. Such files are rare but, according to + the documentation in LZMA SDK, they are valid. + doc/lzma-file-format.txt was updated too. + - Improved 32-bit x86 assembly files: + * Support Intel Control-flow Enforcement Technology (CET) + * Use non-executable stack on FreeBSD. + * xzgrep: + - Fixed arbitrary command injection via a malicious filename + (CVE-2022-1271, ZDI-CAN-16587). A standalone patch for + this was released to the public on 2022-04-07. A slight + robustness improvement has been made since then and, if + using GNU or *BSD grep, a new faster method is now used + that doesn't use the old sed-based construct at all. This + also fixes bad output with GNU grep >= 3.5 (2020-09-27) + when xzgrepping binary files. + - Fixed detection of corrupt .bz2 files. + - Improved error handling to fix exit status in some situations + and to fix handling of signals: in some situations a signal + didn't make xzgrep exit when it clearly should have. It's + possible that the signal handling still isn't quite perfect + but hopefully it's good enough. + - Documented exit statuses on the man page. + - xzegrep and xzfgrep now use "grep -E" and "grep -F" instead + of the deprecated egrep and fgrep commands. + - Fixed parsing of the options -E, -F, -G, -P, and -X. The + problem occurred when multiple options were specied in + a single argument, for example, + echo foo | xzgrep -Fe foo + treated foo as a filename because -Fe wasn't correctly + split into -F -e. + - Added zstd support. + * xzdiff/xzcmp: + - Fixed wrong exit status. Exit status could be 2 when the + correct value is 1. + - Documented on the man page that exit status of 2 is used + for decompression errors. + - Added zstd support. + * xzless: + - Fix less(1) version detection. It failed if the version number + from "less -V" contained a dot. + ------------------------------------------------------------------- Tue Apr 12 15:35:19 UTC 2022 - Marcus Meissner diff --git a/xz.spec b/xz.spec index 517afc1..1e47362 100644 --- a/xz.spec +++ b/xz.spec @@ -19,7 +19,7 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio Name: xz -Version: 5.2.5 +Version: 5.2.6 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain @@ -172,6 +172,24 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %{_mandir}/man1/xzless.1%{ext_man} %{_mandir}/man1/xzmore.1%{ext_man} %{_mandir}/man1/xznew.1%{ext_man} +%dir %{_mandir}/fr_FR +%dir %{_mandir}/fr_FR/man1 +%{_mandir}/fr_FR/man1/lzcat.1%{ext_man} +%{_mandir}/fr_FR/man1/lzcmp.1%{ext_man} +%{_mandir}/fr_FR/man1/lzdiff.1%{ext_man} +%{_mandir}/fr_FR/man1/lzless.1%{ext_man} +%{_mandir}/fr_FR/man1/lzma.1%{ext_man} +%{_mandir}/fr_FR/man1/lzmadec.1%{ext_man} +%{_mandir}/fr_FR/man1/lzmore.1%{ext_man} +%{_mandir}/fr_FR/man1/unlzma.1%{ext_man} +%{_mandir}/fr_FR/man1/unxz.1%{ext_man} +%{_mandir}/fr_FR/man1/xz.1%{ext_man} +%{_mandir}/fr_FR/man1/xzcat.1%{ext_man} +%{_mandir}/fr_FR/man1/xzcmp.1%{ext_man} +%{_mandir}/fr_FR/man1/xzdec.1%{ext_man} +%{_mandir}/fr_FR/man1/xzdiff.1%{ext_man} +%{_mandir}/fr_FR/man1/xzless.1%{ext_man} +%{_mandir}/fr_FR/man1/xzmore.1%{ext_man} %if 0%{!?lang_package:1} %{_datadir}/locale/*/LC_MESSAGES/xz.mo %endif -- 2.51.1 From 2c0858612055c02f73030425904c1eddb566be35d2bb0de4ad3aae4da3189365 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 5 Oct 2022 08:45:20 +0000 Subject: [PATCH 089/126] Accepting request 1007351 from home:CJ:branches:Base:System - update to 5.2.7: * liblzma: - Add API doc note about the .xz decoder LZMA_MEMLIMIT_ERROR bug. - Add dest and src NULL checks to lzma_index_cat. The documentation states LZMA_PROG_ERROR can be returned from lzma_index_cat. Previously, lzma_index_cat could not return LZMA_PROG_ERROR. Now, the validation is similar to lzma_index_append, which does a NULL check on the index parameter. - Fix copying of check type statistics in lzma_index_cat(). The check type of the last Stream in dest was never copied to dest->checks (the code tried to copy it but it was done too late). This meant that the value returned by lzma_index_checks() would only include the check type of the last Stream when multiple lzma_indexes had been concatenated. In xz --list this meant that the summary would only list the check type of the last Stream, so in this sense this was only a visual bug. However, it's possible that some applications use this information for purposes other than merely showing it to the users in an informational message. I'm not aware of such applications though and it's quite possible that such applications don't exist. Regular streamed decompression in xz or any other application doesn't use lzma_index_cat() and so this bug cannot affect them. - Stream decoder: Fix restarting after LZMA_MEMLIMIT_ERROR. If lzma_code() returns LZMA_MEMLIMIT_ERROR it is now possible to use lzma_memlimit_set() to increase the limit and continue decoding. This was supposed to work from the beginning but there was a bug. With other decoders (.lzma or threaded .xz) this already worked correctly. - lzma_filters_copy: Keep dest[] unmodified if an error occurs. lzma_stream_encoder() and lzma_stream_encoder_mt() always assumed this. Before this patch, failing lzma_filters_copy() could result in free(invalid_pointer) or invalid memory reads in stream_encoder.c or stream_encoder_mt.c. To trigger this, allocating memory for a filter options structure has to fail. These are tiny allocations so in practice they very rarely fail. Certain badness in the filter chain array could also make lzma_filters_copy() fail but both stream_encoder.c and stream_encoder_mt.c validate the filter chain before trying to copy it, so the crash cannot occur this way. - lzma_index_append: Add missing integer overflow check. The documentation in src/liblzma/api/lzma/index.h suggests that both the unpadded (compressed) size and the uncompressed size are checked for overflow, but only the unpadded size was checked. The uncompressed check is done first since that is more likely to occur than the unpadded or index field size overflows. - Vaccinate against an ill patch from RHEL/CentOS 7. * xzgrep: - Fix compatibility with old shells. Turns out that some old shells don't like apostrophes (') inside command substitutions. The problem was introduced by commits 69d1b3fc29677af8ade8dc15dba83f0589cb63d6 (2022-03-29), bd7b290f3fe4faeceb7d3497ed9bf2e6ed5e7dc5 (2022-07-18), and a648978b20495b7aa4a8b029c5a810b5ad9d08ff (2022-07-19). 5.2.6 is the only stable release that included this problem. * Translations: Add Turkish translation. OBS-URL: https://build.opensuse.org/request/show/1007351 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=113 --- xz-5.2.6.tar.gz | 3 -- xz-5.2.6.tar.gz.sig | Bin 566 -> 0 bytes xz-5.2.7.tar.gz | 3 ++ xz-5.2.7.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 65 ++++++++++++++++++++++++++++++++++++++++++++ xz.spec | 2 +- 6 files changed, 69 insertions(+), 4 deletions(-) delete mode 100644 xz-5.2.6.tar.gz delete mode 100644 xz-5.2.6.tar.gz.sig create mode 100644 xz-5.2.7.tar.gz create mode 100644 xz-5.2.7.tar.gz.sig diff --git a/xz-5.2.6.tar.gz b/xz-5.2.6.tar.gz deleted file mode 100644 index 75d2edc..0000000 --- a/xz-5.2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a2105abee17bcd2ebd15ced31b4f5eda6e17efd6b10f921a01cda4a44c91b3a0 -size 2069602 diff --git a/xz-5.2.6.tar.gz.sig b/xz-5.2.6.tar.gz.sig deleted file mode 100644 index e0945d54e7620ae3b39b6b150a19f75e418331e8bf331fe9cab4432a2cf77021..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%G=Y%K!=q5IF92 zeQ6j*AS+f6|4s~r*bIUUaQd1A$ho@D6D@G$$^*3g!=s>wLZz-+ANyJ#=GW}YT!0-% z@d!=*gIX*!J1^DR)pS_JZO*OnU4=IFqYEhhan`Gab6I>$<3|%%dOI@^grNvL*4d9| z@zI5ksnu4+hq27WSnqrxmX}cN2gaTLIm$b~%E0Q@)IOm*2vG(iaY0mdbNOI|bq|9b z!Sy(0cwQ$@-$U_ucR8WVtvWZC2400*z8Q95zRW2bQ|}+z{j+Bo3gHP~Z5FzhdloU{ zrc*{RM8%3dWK%PS;x+s!7IwnVbcN!dJaEL(hs@TCvkoHc%S6qT5-K)c+M)erh2~Z?<29VYz^5b*VMbRB855D(0XXv-BJ1Ko&BT` z^|erM+=SF7MN+koD{A_cq}A6HlrR2}S)f2YWRK EmW&V!1poj5 diff --git a/xz-5.2.7.tar.gz b/xz-5.2.7.tar.gz new file mode 100644 index 0000000..b699809 --- /dev/null +++ b/xz-5.2.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06327c2ddc81e126a6d9a78b0be5014b976a2c0832f492dcfc4755d7facf6d33 +size 2105803 diff --git a/xz-5.2.7.tar.gz.sig b/xz-5.2.7.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..6605d7e5a2f40620da304361803f908ddc79532e1525369a5c3925e6a60fa46f GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%JD?-T(>-5IF92 zeQ6j*ARV(0{yYG<^mGIq;OfN+<(Soq?fD%pt`}lo&ea2))6rs2`swqin%B#k)p#3S zsO^(rI5SRr1bKJhh*`YqOd-idq}xrGGEXEtAKgaFB-cK=W$?y)ygQb7WHoXSIi*WwWzX$Cg*^mRA<`x`S>fm=*CkhtiLw-K7r*ev zB}eRy9n;IL$GGW9y07LzJdA1xcMB+76K7zQclY=eE*jTK@)}L7cgL(Z&1L(%mo2au zVMIGBmj;S5)XKX|x$Iwu2&f?iMsR7Tfqxrbo8^ zbq=8PLzj*cb(3~l)Y<;P-&&^B-IdXWbH6@8#a9l5^P>ossl(eA7!-x|^d*SMe-+e? zH$=UucN>*;2@oC!q3ETzB-*5mDc!o+hqzc0^hMN9+hY6#9R zlviGMX&X3el6cc92dJdznzB4&%O&=Z{OhW~p$_nv|NFgCMjh$BfOD + +- update to 5.2.7: + * liblzma: + - Add API doc note about the .xz decoder LZMA_MEMLIMIT_ERROR bug. + - Add dest and src NULL checks to lzma_index_cat. + The documentation states LZMA_PROG_ERROR can be returned from + lzma_index_cat. Previously, lzma_index_cat could not return + LZMA_PROG_ERROR. Now, the validation is similar to + lzma_index_append, which does a NULL check on the index + parameter. + - Fix copying of check type statistics in lzma_index_cat(). + The check type of the last Stream in dest was never copied to + dest->checks (the code tried to copy it but it was done too late). + This meant that the value returned by lzma_index_checks() would + only include the check type of the last Stream when multiple + lzma_indexes had been concatenated. + In xz --list this meant that the summary would only list the + check type of the last Stream, so in this sense this was only + a visual bug. However, it's possible that some applications + use this information for purposes other than merely showing + it to the users in an informational message. I'm not aware of + such applications though and it's quite possible that such + applications don't exist. + Regular streamed decompression in xz or any other application + doesn't use lzma_index_cat() and so this bug cannot affect them. + - Stream decoder: Fix restarting after LZMA_MEMLIMIT_ERROR. + If lzma_code() returns LZMA_MEMLIMIT_ERROR it is now possible + to use lzma_memlimit_set() to increase the limit and continue + decoding. This was supposed to work from the beginning but + there was a bug. With other decoders (.lzma or threaded .xz) + this already worked correctly. + - lzma_filters_copy: Keep dest[] unmodified if an error occurs. + lzma_stream_encoder() and lzma_stream_encoder_mt() always assumed + this. Before this patch, failing lzma_filters_copy() could result + in free(invalid_pointer) or invalid memory reads in stream_encoder.c + or stream_encoder_mt.c. + To trigger this, allocating memory for a filter options structure + has to fail. These are tiny allocations so in practice they very + rarely fail. + Certain badness in the filter chain array could also make + lzma_filters_copy() fail but both stream_encoder.c and + stream_encoder_mt.c validate the filter chain before + trying to copy it, so the crash cannot occur this way. + - lzma_index_append: Add missing integer overflow check. + The documentation in src/liblzma/api/lzma/index.h suggests that + both the unpadded (compressed) size and the uncompressed size + are checked for overflow, but only the unpadded size was checked. + The uncompressed check is done first since that is more likely to + occur than the unpadded or index field size overflows. + - Vaccinate against an ill patch from RHEL/CentOS 7. + + * xzgrep: + - Fix compatibility with old shells. + Turns out that some old shells don't like apostrophes (') inside + command substitutions. The problem was introduced by commits + 69d1b3fc29677af8ade8dc15dba83f0589cb63d6 (2022-03-29), + bd7b290f3fe4faeceb7d3497ed9bf2e6ed5e7dc5 (2022-07-18), and + a648978b20495b7aa4a8b029c5a810b5ad9d08ff (2022-07-19). + 5.2.6 is the only stable release that included + this problem. + + * Translations: Add Turkish translation. + ------------------------------------------------------------------- Fri Aug 12 20:50:23 UTC 2022 - Dirk Müller diff --git a/xz.spec b/xz.spec index 1e47362..84cb0df 100644 --- a/xz.spec +++ b/xz.spec @@ -19,7 +19,7 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio Name: xz -Version: 5.2.6 +Version: 5.2.7 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain -- 2.51.1 From 8e1b789227ac7ac5f5894554e4ed28c6b590164e1378775ab10ad4ece8df3407 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 10 Oct 2022 12:54:08 +0000 Subject: [PATCH 090/126] Accepting request 1007999 from home:gmbr3:Active - Move localised man pages to lang subpackage OBS-URL: https://build.opensuse.org/request/show/1007999 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=115 --- xz.changes | 5 +++++ xz.spec | 27 ++------------------------- 2 files changed, 7 insertions(+), 25 deletions(-) diff --git a/xz.changes b/xz.changes index fc3d0a0..57e0d75 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 4 20:36:09 UTC 2022 - Callum Farmer + +- Move localised man pages to lang subpackage + ------------------------------------------------------------------- Fri Sep 30 21:20:14 UTC 2022 - C J diff --git a/xz.spec b/xz.spec index 84cb0df..f016a75 100644 --- a/xz.spec +++ b/xz.spec @@ -108,7 +108,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie" %install %make_install find %{buildroot} -type f -name "*.la" -delete -print -%find_lang %{name} +%find_lang %{name} --all-name --with-man install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} @@ -116,10 +116,8 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %post -n liblzma5 -p /sbin/ldconfig %postun -n liblzma5 -p /sbin/ldconfig -%if 0%{?lang_package:1} %files lang -f %{name}.lang -%{_mandir}/de/man1/*.1%{ext_man} -%endif +%dir %{_mandir}/fr_FR %files %license COPYING COPYING.GPLv2 @@ -172,27 +170,6 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %{_mandir}/man1/xzless.1%{ext_man} %{_mandir}/man1/xzmore.1%{ext_man} %{_mandir}/man1/xznew.1%{ext_man} -%dir %{_mandir}/fr_FR -%dir %{_mandir}/fr_FR/man1 -%{_mandir}/fr_FR/man1/lzcat.1%{ext_man} -%{_mandir}/fr_FR/man1/lzcmp.1%{ext_man} -%{_mandir}/fr_FR/man1/lzdiff.1%{ext_man} -%{_mandir}/fr_FR/man1/lzless.1%{ext_man} -%{_mandir}/fr_FR/man1/lzma.1%{ext_man} -%{_mandir}/fr_FR/man1/lzmadec.1%{ext_man} -%{_mandir}/fr_FR/man1/lzmore.1%{ext_man} -%{_mandir}/fr_FR/man1/unlzma.1%{ext_man} -%{_mandir}/fr_FR/man1/unxz.1%{ext_man} -%{_mandir}/fr_FR/man1/xz.1%{ext_man} -%{_mandir}/fr_FR/man1/xzcat.1%{ext_man} -%{_mandir}/fr_FR/man1/xzcmp.1%{ext_man} -%{_mandir}/fr_FR/man1/xzdec.1%{ext_man} -%{_mandir}/fr_FR/man1/xzdiff.1%{ext_man} -%{_mandir}/fr_FR/man1/xzless.1%{ext_man} -%{_mandir}/fr_FR/man1/xzmore.1%{ext_man} -%if 0%{!?lang_package:1} -%{_datadir}/locale/*/LC_MESSAGES/xz.mo -%endif %files -n liblzma5 %{_libdir}/liblzma.so.5* -- 2.51.1 From b3a241344a460dc84016f95555f5c699ccc1e03ad12568d905d2cd74fef94a0d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 18 Nov 2022 13:36:45 +0000 Subject: [PATCH 091/126] Accepting request 1036633 from home:dspinella:branches:Base:System - Update to 5.2.8: * xz: - If xz cannot remove an input file when it should, this is now treated as a warning (exit status 2) instead of an error (exit status 1). This matches GNU gzip and it is more logical as at that point the output file has already been successfully closed. - Fix handling of .xz files with an unsupported check type. Previously such printed a warning message but then xz behaved as if an error had occurred (didn't decompress, exit status 1). Now a warning is printed, decompression is done anyway, and exit status is 2. This used to work slightly before 5.0.0. In practice this bug matters only if xz has been built with some check types disabled. As instructed in PACKAGERS, such builds should be done in special situations only. - Fix "xz -dc --single-stream tests/files/good-0-empty.xz" which failed with "Internal error (bug)". That is, --single-stream was broken if the first .xz stream in the input file didn't contain any uncompressed data. - Fix displaying file sizes in the progress indicator when working in passthru mode and there are multiple input files. Just like "gzip -cdf", "xz -cdf" works like "cat" when the input file isn't a supported compressed file format. In this case the file size counters weren't reset between files so with multiple input files the progress indicator displayed an incorrect (too large) value. * liblzma: - API docs in lzma/container.h: * Update the list of decoder flags in the decoder OBS-URL: https://build.opensuse.org/request/show/1036633 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=117 --- xz-5.2.7.tar.gz | 3 --- xz-5.2.7.tar.gz.sig | Bin 566 -> 0 bytes xz-5.2.8.tar.gz | 3 +++ xz-5.2.8.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 64 ++++++++++++++++++++++++++++++++++++++++++++ xz.spec | 5 ++-- 6 files changed, 70 insertions(+), 5 deletions(-) delete mode 100644 xz-5.2.7.tar.gz delete mode 100644 xz-5.2.7.tar.gz.sig create mode 100644 xz-5.2.8.tar.gz create mode 100644 xz-5.2.8.tar.gz.sig diff --git a/xz-5.2.7.tar.gz b/xz-5.2.7.tar.gz deleted file mode 100644 index b699809..0000000 --- a/xz-5.2.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:06327c2ddc81e126a6d9a78b0be5014b976a2c0832f492dcfc4755d7facf6d33 -size 2105803 diff --git a/xz-5.2.7.tar.gz.sig b/xz-5.2.7.tar.gz.sig deleted file mode 100644 index 6605d7e5a2f40620da304361803f908ddc79532e1525369a5c3925e6a60fa46f..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%JD?-T(>-5IF92 zeQ6j*ARV(0{yYG<^mGIq;OfN+<(Soq?fD%pt`}lo&ea2))6rs2`swqin%B#k)p#3S zsO^(rI5SRr1bKJhh*`YqOd-idq}xrGGEXEtAKgaFB-cK=W$?y)ygQb7WHoXSIi*WwWzX$Cg*^mRA<`x`S>fm=*CkhtiLw-K7r*ev zB}eRy9n;IL$GGW9y07LzJdA1xcMB+76K7zQclY=eE*jTK@)}L7cgL(Z&1L(%mo2au zVMIGBmj;S5)XKX|x$Iwu2&f?iMsR7Tfqxrbo8^ zbq=8PLzj*cb(3~l)Y<;P-&&^B-IdXWbH6@8#a9l5^P>ossl(eA7!-x|^d*SMe-+e? zH$=UucN>*;2@oC!q3ETzB-*5mDc!o+hqzc0^hMN9+hY6#9R zlviGMX&X3el6cc92dJdznzB4&%O&=Z{OhW~p$_nv|NFgCMjh$BfOD7)Brk0%LJJFaQb(5IF92 zeQ6j*Ao1T1|4z|8B}{!8OOj}fKL#o;mIWo!pT@Z45{2e!7Qf^W<0j)=6W|elD=Bd2 zIh|<3-W4P-JV>7!0a(~QbrH8ZZy}xegX$QZShcGOl|lb^>nd}f8<%zBan#k`o<@}5 z5=bA~iOGjIvm4ZWRAuVYs{OlAh&2M>NeKcf7i~m{JYF_Mv_JoXGX|NEzg=+tG{03i z6Mq-oXUmeOJe#Ap7j@YVu_UOgfU>bM{&)Ot-4z3NfgO0m!+^8@@W9?PozMH8qGRLi zA9^BH6|sI64)NC!2#B;_0B7Q_td)$D@~z;~hgA8-ls81aqr@T5)F@eOVDvh#7*_%Jir_vE0i0XN!KXWLkJV4rx5?qr+j7S<>mwBh1qt z8EIloUt?ePat=Rk&vkdm*y#p-`Ii5%gsTL7pX=%3sA9)|!G>+OmQElQ0OKDPut26J zm|n@Kk(`Nc6uA(CTN!OPoFAGIz&s~?21!5GTou*~Pc|$<_Cwj(p9qdGV@+_KJ~*NG z1vZ1n8nqxOj#}r#xo$7C^RNxy^r- EC03^g7XSbN literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index 57e0d75..7981032 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Fri Nov 18 10:56:35 UTC 2022 - Danilo Spinella + +- Update to 5.2.8: + * xz: + - If xz cannot remove an input file when it should, this + is now treated as a warning (exit status 2) instead of + an error (exit status 1). This matches GNU gzip and it + is more logical as at that point the output file has + already been successfully closed. + - Fix handling of .xz files with an unsupported check type. + Previously such printed a warning message but then xz + behaved as if an error had occurred (didn't decompress, + exit status 1). Now a warning is printed, decompression + is done anyway, and exit status is 2. This used to work + slightly before 5.0.0. In practice this bug matters only + if xz has been built with some check types disabled. As + instructed in PACKAGERS, such builds should be done in + special situations only. + - Fix "xz -dc --single-stream tests/files/good-0-empty.xz" + which failed with "Internal error (bug)". That is, + --single-stream was broken if the first .xz stream in + the input file didn't contain any uncompressed data. + - Fix displaying file sizes in the progress indicator when + working in passthru mode and there are multiple input files. + Just like "gzip -cdf", "xz -cdf" works like "cat" when the + input file isn't a supported compressed file format. In + this case the file size counters weren't reset between + files so with multiple input files the progress indicator + displayed an incorrect (too large) value. + * liblzma: + - API docs in lzma/container.h: + * Update the list of decoder flags in the decoder + function docs. + * Explain LZMA_CONCATENATED behavior with .lzma files + in lzma_auto_decoder() docs. + - OpenBSD: Use HW_NCPUONLINE to detect the number of + available hardware threads in lzma_physmem(). + - Fix use of wrong macro to detect x86 SSE2 support. + __SSE2_MATH__ was used with GCC/Clang but the correct + one is __SSE2__. The first one means that SSE2 is used + for floating point math which is irrelevant here. + The affected SSE2 code isn't used on x86-64 so this affects + only 32-bit x86 builds that use -msse2 without -mfpmath=sse + (there is no runtime detection for SSE2). It improves LZMA + compression speed (not decompression). + - Fix the build with Intel C compiler 2021 (ICC, not ICX) + on Linux. It defines __GNUC__ to 10 but doesn't support + the __symver__ attribute introduced in GCC 10. + * Scripts: Ignore warnings from xz by using --quiet --no-warn. + This is needed if the input .xz files use an unsupported + check type. + * Translations: + - Updated Croatian and Turkish translations. + - One new translations wasn't included because it needed + technical fixes. It will be in upcoming 5.4.0. No new + translations will be added to the 5.2.x branch anymore. + - Renamed the French man page translation file from + fr_FR.po to fr.po and thus also its install directory + (like /usr/share/man/fr_FR -> .../fr). + - Man page translations for upcoming 5.4.0 are now handled + in the Translation Project. + * Update doc/faq.txt a little so it's less out-of-date. + ------------------------------------------------------------------- Tue Oct 4 20:36:09 UTC 2022 - Callum Farmer diff --git a/xz.spec b/xz.spec index f016a75..49ef6a0 100644 --- a/xz.spec +++ b/xz.spec @@ -19,7 +19,7 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio Name: xz -Version: 5.2.7 +Version: 5.2.8 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain @@ -117,7 +117,8 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %postun -n liblzma5 -p /sbin/ldconfig %files lang -f %{name}.lang -%dir %{_mandir}/fr_FR +%dir %{_mandir}/fr +%dir %{_mandir}/de %files %license COPYING COPYING.GPLv2 -- 2.51.1 From e8768eefbddf862978b1245742014fe6b347547da39550a3a2c02011cb926a6a Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Tue, 13 Dec 2022 09:38:54 +0000 Subject: [PATCH 092/126] Accepting request 1042586 from home:jengelh:branches:Base:System - Rename xz-static-devel -> xz-devel-static to follow the general naming used in openSUSE. OBS-URL: https://build.opensuse.org/request/show/1042586 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=119 --- xz.changes | 6 ++++++ xz.spec | 10 ++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/xz.changes b/xz.changes index 7981032..a3d8cdc 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 1 09:33:47 UTC 2022 - Jan Engelhardt + +- Rename xz-static-devel -> xz-devel-static to follow the general + naming used in openSUSE. + ------------------------------------------------------------------- Fri Nov 18 10:56:35 UTC 2022 - Danilo Spinella diff --git a/xz.spec b/xz.spec index 49ef6a0..cea0de5 100644 --- a/xz.spec +++ b/xz.spec @@ -74,17 +74,19 @@ Obsoletes: lzma-alpha-devel < %{version} This package contains the header files and libraries needed for compiling programs using the LZMA library. -%package static-devel +%package devel-static Summary: Static version of LZMA library License: SUSE-Public-Domain Group: Development/Libraries/C and C++ Requires: lzma-devel = %{version} +Obsoletes: xz-static-devel < %{version}-%{release} +Provides: xz-static-devel = %{version}-%{release} -%description static-devel +%description devel-static Static library for the LZMA library %prep -%setup -q +%autosetup %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects @@ -182,7 +184,7 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %{_libdir}/liblzma.so %{_libdir}/pkgconfig/liblzma.pc -%files static-devel +%files devel-static %{_libdir}/liblzma.a %changelog -- 2.51.1 From a7f8ce23b20f3c5c810011ea4029d90466d0e1e0f8922aa8d778051033d76f0d Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Mon, 19 Dec 2022 14:42:33 +0000 Subject: [PATCH 093/126] Accepting request 1043472 from home:dirkmueller:Factory - update to 5.2.10: * xz: Don't modify argv[] when parsing the --memlimit* and --block-list command line options. This fixes confusing arguments in process listing (like "ps auxf"). * GNU/Linux only: Use __has_attribute(__symver__) to detect if that attribute is supported. This fixes build on Mandriva where Clang is patched to define __GNUC__ to 11 by default (instead of 4 as used by Clang upstream). * liblzma: - Fixed an infinite loop in LZMA encoder initialization if dict_size >= 2 GiB. - Fixed two cases of invalid free() that can happen if a tiny allocation fails in encoder re-initialization or in lzma_filters_update(). These bugs had some similarities with the bug fixed in 5.2.7. - Fixed lzma_block_encoder() not allowing the use of LZMA_SYNC_FLUSH with lzma_code() even though it was documented to be supported. The sync-flush code in the Block encoder was already used internally via lzma_stream_encoder(), so this was just a missing flag in the lzma_block_encoder() API function. - GNU/Linux only: Don't put symbol versions into static liblzma as it breaks things in some cases (and even if it didn't break anything, symbol versions in static libraries are useless anyway). The downside of the fix is that if the configure options --with-pic or --without-pic are used then it's not possible to build both shared and static liblzma at the same time on GNU/Linux anymore; with those options --disable-static or --disable-shared must be used too. OBS-URL: https://build.opensuse.org/request/show/1043472 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=121 --- xz-5.2.10.tar.gz | 3 +++ xz-5.2.10.tar.gz.sig | Bin 0 -> 566 bytes xz-5.2.8.tar.gz | 3 --- xz-5.2.8.tar.gz.sig | Bin 566 -> 0 bytes xz.changes | 36 ++++++++++++++++++++++++++++++++++++ xz.spec | 20 +++----------------- 6 files changed, 42 insertions(+), 20 deletions(-) create mode 100644 xz-5.2.10.tar.gz create mode 100644 xz-5.2.10.tar.gz.sig delete mode 100644 xz-5.2.8.tar.gz delete mode 100644 xz-5.2.8.tar.gz.sig diff --git a/xz-5.2.10.tar.gz b/xz-5.2.10.tar.gz new file mode 100644 index 0000000..2035c52 --- /dev/null +++ b/xz-5.2.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb7a3b2623c9d0135da70ca12808a214be9c019132baaa61c9e1d198d1d9ded3 +size 2123206 diff --git a/xz-5.2.10.tar.gz.sig b/xz-5.2.10.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..64649159fce97bd748bffcab22ba4cfa0bafe121b881ed566d68ea62b7524040 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%Mrhxc~|Y5IF92 zeQ6j*APj^L{y7kL!odO9DhZop3Rbt14DZSD;B+8xAjeANxcbHX<}beNU}sxVg*4Y+ zg{2>9#Y?em51yMTxkj|Yk6iN14+Qo{rF>=e;kZ8o7~j@jdd8Cd!aIx*T?Rv=4FcOv zx0DkEA|+Dg19(>V1w*=2D4bD@qu_P%NOLSuVsE%{QH1>lYN|W$6yfCiov2>*bh!3q=LD2(@V!S zJ7gv}KGkcv!6A7rnyj-zq;cu;Nf$xJ4mK1d_HqSWa1b*f(4L)Fy&1ikTPA zkp#graD6g&>vkZYjkcIvHRV8Gfrahy3MSDLwHz)#yFrFbApIk>Vj(RRYOV8Iu-Ts9E1YE^ zL@WnKBq&#;yLtX0FpNgrIZc?Jas`kmZj7+^bQU4^b9@`X5srqk&_Q7)Brk0%LJJFaQb(5IF92 zeQ6j*Ao1T1|4z|8B}{!8OOj}fKL#o;mIWo!pT@Z45{2e!7Qf^W<0j)=6W|elD=Bd2 zIh|<3-W4P-JV>7!0a(~QbrH8ZZy}xegX$QZShcGOl|lb^>nd}f8<%zBan#k`o<@}5 z5=bA~iOGjIvm4ZWRAuVYs{OlAh&2M>NeKcf7i~m{JYF_Mv_JoXGX|NEzg=+tG{03i z6Mq-oXUmeOJe#Ap7j@YVu_UOgfU>bM{&)Ot-4z3NfgO0m!+^8@@W9?PozMH8qGRLi zA9^BH6|sI64)NC!2#B;_0B7Q_td)$D@~z;~hgA8-ls81aqr@T5)F@eOVDvh#7*_%Jir_vE0i0XN!KXWLkJV4rx5?qr+j7S<>mwBh1qt z8EIloUt?ePat=Rk&vkdm*y#p-`Ii5%gsTL7pX=%3sA9)|!G>+OmQElQ0OKDPut26J zm|n@Kk(`Nc6uA(CTN!OPoFAGIz&s~?21!5GTou*~Pc|$<_Cwj(p9qdGV@+_KJ~*NG z1vZ1n8nqxOj#}r#xo$7C^RNxy^r- EC03^g7XSbN diff --git a/xz.changes b/xz.changes index a3d8cdc..d08eba1 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Sat Dec 17 17:23:35 UTC 2022 - Dirk Müller + +- update to 5.2.10: + * xz: Don't modify argv[] when parsing the --memlimit* and + --block-list command line options. This fixes confusing + arguments in process listing (like "ps auxf"). + * GNU/Linux only: Use __has_attribute(__symver__) to detect if + that attribute is supported. This fixes build on Mandriva where + Clang is patched to define __GNUC__ to 11 by default (instead + of 4 as used by Clang upstream). + * liblzma: + - Fixed an infinite loop in LZMA encoder initialization + if dict_size >= 2 GiB. + - Fixed two cases of invalid free() that can happen if + a tiny allocation fails in encoder re-initialization + or in lzma_filters_update(). These bugs had some + similarities with the bug fixed in 5.2.7. + - Fixed lzma_block_encoder() not allowing the use of + LZMA_SYNC_FLUSH with lzma_code() even though it was + documented to be supported. The sync-flush code in + the Block encoder was already used internally via + lzma_stream_encoder(), so this was just a missing flag + in the lzma_block_encoder() API function. + - GNU/Linux only: Don't put symbol versions into static + liblzma as it breaks things in some cases (and even if + it didn't break anything, symbol versions in static + libraries are useless anyway). The downside of the fix + is that if the configure options --with-pic or --without-pic + are used then it's not possible to build both shared and + static liblzma at the same time on GNU/Linux anymore; + with those options --disable-static or --disable-shared + must be used too. +- drop unused xz-devel-static which is no longer supported when using + --with-pic (which is needed for shared libs) + ------------------------------------------------------------------- Thu Dec 1 09:33:47 UTC 2022 - Jan Engelhardt diff --git a/xz.spec b/xz.spec index cea0de5..013ab77 100644 --- a/xz.spec +++ b/xz.spec @@ -19,7 +19,7 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio Name: xz -Version: 5.2.8 +Version: 5.2.10 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain @@ -35,7 +35,6 @@ Source5: xznew.1 BuildRequires: pkgconfig Provides: lzma = %{version} Obsoletes: lzma < %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The xz command is a program for compressing files. @@ -74,17 +73,6 @@ Obsoletes: lzma-alpha-devel < %{version} This package contains the header files and libraries needed for compiling programs using the LZMA library. -%package devel-static -Summary: Static version of LZMA library -License: SUSE-Public-Domain -Group: Development/Libraries/C and C++ -Requires: lzma-devel = %{version} -Obsoletes: xz-static-devel < %{version}-%{release} -Provides: xz-static-devel = %{version}-%{release} - -%description devel-static -Static library for the LZMA library - %prep %autosetup @@ -94,7 +82,8 @@ export CFLAGS="%{optflags} -D_REENTRANT -pipe -fPIE" export LDFLAGS="-Wl,-z,relro,-z,now -pie" %configure \ --with-pic \ - --docdir=%{_docdir}/%{name} + --docdir=%{_docdir}/%{name} \ + --disable-static %if 0%{?do_profiling} %make_build CFLAGS="${CFLAGS} %{cflags_profile_generate}" %make_build @@ -184,7 +173,4 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %{_libdir}/liblzma.so %{_libdir}/pkgconfig/liblzma.pc -%files devel-static -%{_libdir}/liblzma.a - %changelog -- 2.51.1 From 09c37558a6c5ddcafa5512e59b1a281ce04124ed5bf6de1dc61e2485bd64f0ad Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 2 Jan 2023 09:11:26 +0000 Subject: [PATCH 094/126] Accepting request 1045839 from home:dirkmueller:Factory - update to 5.4.0: This bumps the minor version of liblzma because new features were added. The API and ABI are still backward compatible with liblzma 5.2.x and 5.0.x. Summary of new features added in the 5.3.x development releases: * liblzma: - Added threaded .xz decompressor lzma_stream_decoder_mt(). It can use multiple threads with .xz files that have multiple Blocks with size information in Block Headers. The threaded encoder in xz has always created such files. Single-threaded encoder cannot store the size information in Block Headers even if one used LZMA_FULL_FLUSH to create multiple Blocks, so this threaded decoder cannot use multiple threads with such files. If there are multiple Streams (concatenated .xz files), one Stream will be decompressed completely before starting the next Stream. - A new decoder flag LZMA_FAIL_FAST was added. It makes the threaded decompressor report errors soon instead of first flushing all pending data before the error location. - New Filter IDs: * LZMA_FILTER_ARM64 is for ARM64 binaries. * LZMA_FILTER_LZMA1EXT is for raw LZMA1 streams that don't necessarily use the end marker. - Added lzma_str_to_filters(), lzma_str_from_filters(), and lzma_str_list_filters() to convert a preset or a filter chain string to a lzma_filter[] and vice versa. These should make it easier to write applications that allow users to specify custom compression options. - Added lzma_filters_free() which can be convenient for freeing OBS-URL: https://build.opensuse.org/request/show/1045839 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=123 --- xz-5.2.10.tar.gz | 3 - xz-5.2.10.tar.gz.sig | Bin 566 -> 0 bytes xz-5.4.0.tar.gz | 3 + xz-5.4.0.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 179 +++++++++++++++++++++++++++++++++++++++++++ xz.spec | 2 +- 6 files changed, 183 insertions(+), 4 deletions(-) delete mode 100644 xz-5.2.10.tar.gz delete mode 100644 xz-5.2.10.tar.gz.sig create mode 100644 xz-5.4.0.tar.gz create mode 100644 xz-5.4.0.tar.gz.sig diff --git a/xz-5.2.10.tar.gz b/xz-5.2.10.tar.gz deleted file mode 100644 index 2035c52..0000000 --- a/xz-5.2.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb7a3b2623c9d0135da70ca12808a214be9c019132baaa61c9e1d198d1d9ded3 -size 2123206 diff --git a/xz-5.2.10.tar.gz.sig b/xz-5.2.10.tar.gz.sig deleted file mode 100644 index 64649159fce97bd748bffcab22ba4cfa0bafe121b881ed566d68ea62b7524040..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%Mrhxc~|Y5IF92 zeQ6j*APj^L{y7kL!odO9DhZop3Rbt14DZSD;B+8xAjeANxcbHX<}beNU}sxVg*4Y+ zg{2>9#Y?em51yMTxkj|Yk6iN14+Qo{rF>=e;kZ8o7~j@jdd8Cd!aIx*T?Rv=4FcOv zx0DkEA|+Dg19(>V1w*=2D4bD@qu_P%NOLSuVsE%{QH1>lYN|W$6yfCiov2>*bh!3q=LD2(@V!S zJ7gv}KGkcv!6A7rnyj-zq;cu;Nf$xJ4mK1d_HqSWa1b*f(4L)Fy&1ikTPA zkp#graD6g&>vkZYjkcIvHRV8Gfrahy3MSDLwHz)#yFrFbApIk>Vj(RRYOV8Iu-Ts9E1YE^ zL@WnKBq&#;yLtX0FpNgrIZc?Jas`kmZj7+^bQU4^b9@`X5srqk&_Q7)Brk0%Mrhx&R6Z5IF92 zeQ6j*Ahj3}0H8R$Q@@`ICc0u`-|oD%<)c1JQAp9vVu%lb_-v8U-75m4tKBCUSIUU8AIT_Qp{WVh!?q*Q-1gUnO;P#tbhYspS55f>ap#&^ ztKHGJRc{NTq%xls_6qs=`ZlX?MA-s71EOCyuh1XDPKS0{89B;Sk%rB1%@P?Yk9Fnq ziOWK+DA5`67ZwyKSTTFVBY&vHjm9#r(744t1W0PIOP zec+5azO=!ttOsMsKAGa2uCb{w^X%G>awY=(8L7l^2jaB8H8#C&Kg12>0Hz4;EliKK zsI_^>+TfRmOX$*Lw7fXUS9D{!8RJ~6dfzHV{5K@z09XH)(Sb|-CSb4sLm{&%?jmx& zH@8Rvy2b)CK!6|7})jhbR^5a~}*z9b1m)-NC@Bv2Kkt*{EIc0Ykp&Ddp z>go(U@;VpNQ%2TXiquK~0`nxRqb_c~tpJLI?d35+Ta=}_x@+;n>qi#vgb zS1kkN7+cPvcV{a&G$S~5-Y-AJE+oC^ThVeS-A~ymcC@7Cv21N9kOb6qL5OXf5 + +- update to 5.4.0: + This bumps the minor version of liblzma because new features were + added. The API and ABI are still backward compatible with liblzma + 5.2.x and 5.0.x. + Summary of new features added in the 5.3.x development releases: + * liblzma: + - Added threaded .xz decompressor lzma_stream_decoder_mt(). + It can use multiple threads with .xz files that have multiple + Blocks with size information in Block Headers. The threaded + encoder in xz has always created such files. + + Single-threaded encoder cannot store the size information in + Block Headers even if one used LZMA_FULL_FLUSH to create + multiple Blocks, so this threaded decoder cannot use multiple + threads with such files. + + If there are multiple Streams (concatenated .xz files), one + Stream will be decompressed completely before starting the + next Stream. + + - A new decoder flag LZMA_FAIL_FAST was added. It makes the + threaded decompressor report errors soon instead of first + flushing all pending data before the error location. + + - New Filter IDs: + * LZMA_FILTER_ARM64 is for ARM64 binaries. + * LZMA_FILTER_LZMA1EXT is for raw LZMA1 streams that don't + necessarily use the end marker. + + - Added lzma_str_to_filters(), lzma_str_from_filters(), and + lzma_str_list_filters() to convert a preset or a filter chain + string to a lzma_filter[] and vice versa. These should make + it easier to write applications that allow users to specify + custom compression options. + + - Added lzma_filters_free() which can be convenient for freeing + the filter options in a filter chain (an array of lzma_filter + structures). + + - lzma_file_info_decoder() to makes it a little easier to get + the Index field from .xz files. This helps in getting the + uncompressed file size but an easy-to-use random access + API is still missing which has existed in XZ for Java for + a long time. + + - Added lzma_microlzma_encoder() and lzma_microlzma_decoder(). + It is used by erofs-utils and may be used by others too. + + The MicroLZMA format is a raw LZMA stream (without end marker) + whose first byte (always 0x00) has been replaced with + bitwise-negation of the LZMA properties (lc/lp/pb). It was + created for use in EROFS but may be used in other contexts + as well where it is important to avoid wasting bytes for + stream headers or footers. The format is also supported by + XZ Embedded (the XZ Embedded version in Linux got MicroLZMA + support in Linux 5.16). + + The MicroLZMA encoder API in liblzma can compress into a + fixed-sized output buffer so that as much data is compressed + as can be fit into the buffer while still creating a valid + MicroLZMA stream. This is needed for EROFS. + + - Added lzma_lzip_decoder() to decompress the .lz (lzip) file + format version 0 and the original unextended version 1 files. + Also lzma_auto_decoder() supports .lz files. + + - lzma_filters_update() can now be used with the multi-threaded + encoder (lzma_stream_encoder_mt()) to change the filter chain + after LZMA_FULL_BARRIER or LZMA_FULL_FLUSH. + + - In lzma_options_lzma, allow nice_len = 2 and 3 with the match + finders that require at least 3 or 4. Now it is internally + rounded up if needed. + + - CLMUL-based CRC64 on x86-64 and E2K with runtime processor + detection. On 32-bit x86 it currently isn't available unless + --disable-assembler is used which can make the non-CLMUL + CRC64 slower; this might be fixed in the future. + + - Building with --disable-threads --enable-small + is now thread-safe if the compiler supports + __attribute__((__constructor__)). + + * xz: + - Using -T0 (--threads=0) will now use multi-threaded encoder + even on a single-core system. This is to ensure that output + from the same xz binary is identical on both single-core and + multi-core systems. + + - --threads=+1 or -T+1 is now a way to put xz into + multi-threaded mode while using only one worker thread. + The + is ignored if the number is not 1. + + - A default soft memory usage limit is now used for compression + when -T0 is used and no explicit limit has been specified. + This soft limit is used to restrict the number of threads + but if the limit is exceeded with even one thread then xz + will continue with one thread using the multi-threaded + encoder and this limit is ignored. If the number of threads + is specified manually then no default limit will be used; + this affects only -T0. + + This change helps on systems that have very many cores and + using all of them for xz makes no sense. Previously xz -T0 + could run out of memory on such systems because it attempted + to reserve memory for too many threads. + + This also helps with 32-bit builds which don't have a large + amount of address space that would be required for many + threads. The default soft limit for -T0 is at most 1400 MiB + on all 32-bit platforms. + + - Previously a low value in --memlimit-compress wouldn't cause + xz to switch from multi-threaded mode to single-threaded mode + if the limit cannot otherwise be met; xz failed instead. Now + xz can switch to single-threaded mode and then, if needed, + scale down the LZMA2 dictionary size too just like it already + did when it was started in single-threaded mode. + + - The option --no-adjust no longer prevents xz from scaling down + the number of threads as that doesn't affect the compressed + output (only performance). Now --no-adjust only prevents + adjustments that affect compressed output, that is, with + --no-adjust xz won't switch from multi-threaded mode to + single-threaded mode and won't scale down the LZMA2 + dictionary size. + + - Added a new option --memlimit-mt-decompress=LIMIT. This is + used to limit the number of decompressor threads (possibly + falling back to single-threaded mode) but it will never make + xz refuse to decompress a file. This has a system-specific + default value because without any limit xz could end up + allocating memory for the whole compressed input file, the + whole uncompressed output file, multiple thread-specific + decompressor instances and so on. Basically xz could + attempt to use an insane amount of memory even with fairly + common files. The system-specific default value is currently + the same as the one used for compression with -T0. + + The new option works together with the existing option + --memlimit-decompress=LIMIT. The old option sets a hard limit + that must not be exceeded (xz will refuse to decompress) + while the new option only restricts the number of threads. + If the limit set with --memlimit-mt-decompress is greater + than the limit set with --memlimit-compress, then the latter + value is used also for --memlimit-mt-decompress. + + - Added new information to the output of xz --info-memory and + new fields to the output of xz --robot --info-memory. + + - In --lzma2=nice=NUMBER allow 2 and 3 with all match finders + now that liblzma handles it. + + - Don't mention endianness for ARM and ARM-Thumb filters in + --long-help. The filters only work for little endian + instruction encoding but modern ARM processors using + big endian data access still use little endian + instruction encoding. So the help text was misleading. + In contrast, the PowerPC filter is only for big endian + 32/64-bit PowerPC code. Little endian PowerPC would need + a separate filter. + + - Added decompression support for the .lz (lzip) file format + version 0 and the original unextended version 1. It is + autodetected by default. See also the option --format on + the xz man page. + + - Sandboxing enabled by default: + * Capsicum (FreeBSD) + * pledge(2) (OpenBSD) + + * Scripts now support the .lz format using xz. + * A few new tests were added. + * The liblzma-specific tests are now supported in CMake-based + builds too ("make test"). + ------------------------------------------------------------------- Sat Dec 17 17:23:35 UTC 2022 - Dirk Müller diff --git a/xz.spec b/xz.spec index 013ab77..878c32b 100644 --- a/xz.spec +++ b/xz.spec @@ -19,7 +19,7 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio Name: xz -Version: 5.2.10 +Version: 5.4.0 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain -- 2.51.1 From 79a65bff79f9afd51e1a6c9ab8a12382678fef597ed8a1090b6e2a0e821ff427 Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Thu, 26 Jan 2023 10:35:31 +0000 Subject: [PATCH 095/126] Accepting request 1060588 from home:dirkmueller:Factory - update to 5.4.1: * liblzma: - Fixed the return value of lzma_microlzma_encoder() if the LZMA options lc/lp/pb are invalid. Invalid lc/lp/pb options made the function return LZMA_STREAM_END without encoding anything instead of returning LZMA_OPTIONS_ERROR. * Tests: - Fixed test script compatibility with ancient /bin/sh versions. Now the five test_compress_* tests should no longer fail on Solaris 10. - Added and refactored a few tests. * Translations: - Updated the Catalan and Esperanto translations. - Added Korean and Ukrainian man page translations. OBS-URL: https://build.opensuse.org/request/show/1060588 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=125 --- xz-5.4.0.tar.gz | 3 --- xz-5.4.0.tar.gz.sig | Bin 566 -> 0 bytes xz-5.4.1.tar.gz | 3 +++ xz-5.4.1.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 18 ++++++++++++++ xz.spec | 57 ++++++++++++++++++++++++-------------------- 6 files changed, 52 insertions(+), 29 deletions(-) delete mode 100644 xz-5.4.0.tar.gz delete mode 100644 xz-5.4.0.tar.gz.sig create mode 100644 xz-5.4.1.tar.gz create mode 100644 xz-5.4.1.tar.gz.sig diff --git a/xz-5.4.0.tar.gz b/xz-5.4.0.tar.gz deleted file mode 100644 index e298469..0000000 --- a/xz-5.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7471ef5991f690268a8f2be019acec2e0564b7b233ca40035f339fe9a07f830b -size 2332619 diff --git a/xz-5.4.0.tar.gz.sig b/xz-5.4.0.tar.gz.sig deleted file mode 100644 index da97a02567be1e81783b44a486149a01ee8e56234601b26a05728899873f75c5..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%Mrhx&R6Z5IF92 zeQ6j*Ahj3}0H8R$Q@@`ICc0u`-|oD%<)c1JQAp9vVu%lb_-v8U-75m4tKBCUSIUU8AIT_Qp{WVh!?q*Q-1gUnO;P#tbhYspS55f>ap#&^ ztKHGJRc{NTq%xls_6qs=`ZlX?MA-s71EOCyuh1XDPKS0{89B;Sk%rB1%@P?Yk9Fnq ziOWK+DA5`67ZwyKSTTFVBY&vHjm9#r(744t1W0PIOP zec+5azO=!ttOsMsKAGa2uCb{w^X%G>awY=(8L7l^2jaB8H8#C&Kg12>0Hz4;EliKK zsI_^>+TfRmOX$*Lw7fXUS9D{!8RJ~6dfzHV{5K@z09XH)(Sb|-CSb4sLm{&%?jmx& zH@8Rvy2b)CK!6|7})jhbR^5a~}*z9b1m)-NC@Bv2Kkt*{EIc0Ykp&Ddp z>go(U@;VpNQ%2TXiquK~0`nxRqb_c~tpJLI?d35+Ta=}_x@+;n>qi#vgb zS1kkN7+cPvcV{a&G$S~5-Y-AJE+oC^ThVeS-A~ymcC@7Cv21N9kOb6qL5OXf57)Brk0%N}I{QwFH5IF92 zeQ6j*AO(F7|5rWDvtWIR!ZjcV&<~oxdJSp_UNj-uMmb$I8!<-Xzw5Z@jjtek67%9t z*fgK0M_U=j{9~D_iD`*S)~BnSFzI{k``X^S>u~GTA2}~QQ2Jx=LW%M^zSYJ6mX>N= zl)5P|vmB}0aaOL*b`A|1n+q9UOBWV1?(f~P(s|3i4xIIjsNGRVA^qQMmPJ39L0)%Z zK{>e+!RoOgdIQJ)f-YySSwUzaE-=1WlQ>kY%cz_QEpZ@CM?1ujgifBQ2LIsccijz6 zVjNod+zRzRn2(^lh+oSVqBYHgGf+vFr9S{6KT8-LK!H2A z-*#!EeC^JAx-k=mChg{MIFx|7(9Q1+&TzgJ;arLKXj9l~_N-?a{ z%zaZfu#S5qS#DmLzHRli8#BXnGlIK}8j|KkpPX#u>vw4+zmi@AGJ6otE|OdjtP8J- zG4~atE8$dsEITCj;PwHf6WXaw=(Cr852^P0y%V;^iN_{rBre0H>Hyud6B1q~18CL2 EsV>tIVgLXD literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index 4d34dc3..01bc826 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Sat Jan 21 09:56:39 UTC 2023 - Dirk Müller + +- update to 5.4.1: + * liblzma: + - Fixed the return value of lzma_microlzma_encoder() if the + LZMA options lc/lp/pb are invalid. Invalid lc/lp/pb options + made the function return LZMA_STREAM_END without encoding + anything instead of returning LZMA_OPTIONS_ERROR. + * Tests: + - Fixed test script compatibility with ancient /bin/sh + versions. Now the five test_compress_* tests should + no longer fail on Solaris 10. + - Added and refactored a few tests. + * Translations: + - Updated the Catalan and Esperanto translations. + - Added Korean and Ukrainian man page translations. + ------------------------------------------------------------------- Fri Dec 30 16:04:16 UTC 2022 - Dirk Müller diff --git a/xz.spec b/xz.spec index 878c32b..aadd47b 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio Name: xz -Version: 5.4.0 +Version: 5.4.1 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain @@ -110,6 +110,11 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %files lang -f %{name}.lang %dir %{_mandir}/fr %dir %{_mandir}/de +%dir %{_mandir}/ko +%if 0%{?suse_version} == 1500 +%dir %{_mandir}/ro +%dir %{_mandir}/uk +%endif %files %license COPYING COPYING.GPLv2 @@ -138,30 +143,30 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %{_bindir}/xzless %{_bindir}/xzmore %{_bindir}/xznew -%{_mandir}/man1/lzcat.1%{ext_man} -%{_mandir}/man1/lzcmp.1%{ext_man} -%{_mandir}/man1/lzdiff.1%{ext_man} -%{_mandir}/man1/lzegrep.1%{ext_man} -%{_mandir}/man1/lzfgrep.1%{ext_man} -%{_mandir}/man1/lzgrep.1%{ext_man} -%{_mandir}/man1/lzless.1%{ext_man} -%{_mandir}/man1/lzma.1%{ext_man} -%{_mandir}/man1/lzmadec.1%{ext_man} -%{_mandir}/man1/lzmainfo.1%{ext_man} -%{_mandir}/man1/lzmore.1%{ext_man} -%{_mandir}/man1/unlzma.1%{ext_man} -%{_mandir}/man1/unxz.1%{ext_man} -%{_mandir}/man1/xz.1%{ext_man} -%{_mandir}/man1/xzcat.1%{ext_man} -%{_mandir}/man1/xzcmp.1%{ext_man} -%{_mandir}/man1/xzdec.1%{ext_man} -%{_mandir}/man1/xzdiff.1%{ext_man} -%{_mandir}/man1/xzegrep.1%{ext_man} -%{_mandir}/man1/xzfgrep.1%{ext_man} -%{_mandir}/man1/xzgrep.1%{ext_man} -%{_mandir}/man1/xzless.1%{ext_man} -%{_mandir}/man1/xzmore.1%{ext_man} -%{_mandir}/man1/xznew.1%{ext_man} +%{_mandir}/man1/lzcat.1%{?ext_man} +%{_mandir}/man1/lzcmp.1%{?ext_man} +%{_mandir}/man1/lzdiff.1%{?ext_man} +%{_mandir}/man1/lzegrep.1%{?ext_man} +%{_mandir}/man1/lzfgrep.1%{?ext_man} +%{_mandir}/man1/lzgrep.1%{?ext_man} +%{_mandir}/man1/lzless.1%{?ext_man} +%{_mandir}/man1/lzma.1%{?ext_man} +%{_mandir}/man1/lzmadec.1%{?ext_man} +%{_mandir}/man1/lzmainfo.1%{?ext_man} +%{_mandir}/man1/lzmore.1%{?ext_man} +%{_mandir}/man1/unlzma.1%{?ext_man} +%{_mandir}/man1/unxz.1%{?ext_man} +%{_mandir}/man1/xz.1%{?ext_man} +%{_mandir}/man1/xzcat.1%{?ext_man} +%{_mandir}/man1/xzcmp.1%{?ext_man} +%{_mandir}/man1/xzdec.1%{?ext_man} +%{_mandir}/man1/xzdiff.1%{?ext_man} +%{_mandir}/man1/xzegrep.1%{?ext_man} +%{_mandir}/man1/xzfgrep.1%{?ext_man} +%{_mandir}/man1/xzgrep.1%{?ext_man} +%{_mandir}/man1/xzless.1%{?ext_man} +%{_mandir}/man1/xzmore.1%{?ext_man} +%{_mandir}/man1/xznew.1%{?ext_man} %files -n liblzma5 %{_libdir}/liblzma.so.5* -- 2.51.1 From 0859239c855c70c3cd29547f86e8d651fdf372c2b66c58c36eac754c1078e820 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 13 Mar 2023 13:55:20 +0000 Subject: [PATCH 096/126] Accepting request 1070157 from home:pluskalm:branches:Base:System - Build AVX2 enabled hwcaps library for x86_64-v3 OBS-URL: https://build.opensuse.org/request/show/1070157 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=127 --- xz.changes | 5 +++++ xz.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/xz.changes b/xz.changes index 01bc826..9bda063 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 8 11:19:12 UTC 2023 - Martin Pluskal + +- Build AVX2 enabled hwcaps library for x86_64-v3 + ------------------------------------------------------------------- Sat Jan 21 09:56:39 UTC 2023 - Dirk Müller diff --git a/xz.spec b/xz.spec index aadd47b..295a37a 100644 --- a/xz.spec +++ b/xz.spec @@ -35,6 +35,7 @@ Source5: xznew.1 BuildRequires: pkgconfig Provides: lzma = %{version} Obsoletes: lzma < %{version} +%{?suse_build_hwcaps_libs} %description The xz command is a program for compressing files. -- 2.51.1 From eff5f6114ad16a5847a1a6292acd70160ae5ff89bfe5de3e32277f7d7ab64e82 Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Mon, 20 Mar 2023 15:53:14 +0000 Subject: [PATCH 097/126] Accepting request 1073266 from home:pluskalm:branches:Base:System - Update to version 5.4.2: * All fixes from 5.2.11 that were not included in 5.4.1. * If xz is built with support for the Capsicum sandbox but running in an environment that doesn't support Capsicum, xz now runs normally without sandboxing instead of exiting with an error. * liblzma: - Documentation was updated to improve the style, consistency, and completeness of the liblzma API headers. - The Doxygen-generated HTML documentation for the liblzma API header files is now included in the source release and is installed as part of "make install". All JavaScript is removed to simplify license compliance and to reduce the install size. - Fixed a minor bug in lzma_str_from_filters() that produced too many filters in the output string instead of reporting an error if the input array had more than four filters. This bug did not affect xz. * Build systems: - autogen.sh now invokes the doxygen tool via the new wrapper script doxygen/update-doxygen, unless the command line option --no-doxygen is used. - Added microlzma_encoder.c and microlzma_decoder.c to the VS project files for Windows and to the CMake build. These should have been included in 5.3.2alpha. * Tests: - Added a test to the CMake build that was forgotten in the previous release. - Added and refactored a few tests. * Translations: - Updated the Brazilian Portuguese translation. OBS-URL: https://build.opensuse.org/request/show/1073266 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=129 --- xz-5.4.1.tar.gz | 3 --- xz-5.4.1.tar.gz.sig | Bin 566 -> 0 bytes xz-5.4.2.tar.gz | 3 +++ xz-5.4.2.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 35 +++++++++++++++++++++++++++++++++++ xz.spec | 2 +- 6 files changed, 39 insertions(+), 4 deletions(-) delete mode 100644 xz-5.4.1.tar.gz delete mode 100644 xz-5.4.1.tar.gz.sig create mode 100644 xz-5.4.2.tar.gz create mode 100644 xz-5.4.2.tar.gz.sig diff --git a/xz-5.4.1.tar.gz b/xz-5.4.1.tar.gz deleted file mode 100644 index e224fe6..0000000 --- a/xz-5.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e4b0f81582efa155ccf27bb88275254a429d44968e488fc94b806f2a61cd3e22 -size 2528617 diff --git a/xz-5.4.1.tar.gz.sig b/xz-5.4.1.tar.gz.sig deleted file mode 100644 index cc5408bf74d3984a35109155215437f351b8d9195018e84c6b6e564c44e764e6..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%N}I{QwFH5IF92 zeQ6j*AO(F7|5rWDvtWIR!ZjcV&<~oxdJSp_UNj-uMmb$I8!<-Xzw5Z@jjtek67%9t z*fgK0M_U=j{9~D_iD`*S)~BnSFzI{k``X^S>u~GTA2}~QQ2Jx=LW%M^zSYJ6mX>N= zl)5P|vmB}0aaOL*b`A|1n+q9UOBWV1?(f~P(s|3i4xIIjsNGRVA^qQMmPJ39L0)%Z zK{>e+!RoOgdIQJ)f-YySSwUzaE-=1WlQ>kY%cz_QEpZ@CM?1ujgifBQ2LIsccijz6 zVjNod+zRzRn2(^lh+oSVqBYHgGf+vFr9S{6KT8-LK!H2A z-*#!EeC^JAx-k=mChg{MIFx|7(9Q1+&TzgJ;arLKXj9l~_N-?a{ z%zaZfu#S5qS#DmLzHRli8#BXnGlIK}8j|KkpPX#u>vw4+zmi@AGJ6otE|OdjtP8J- zG4~atE8$dsEITCj;PwHf6WXaw=(Cr852^P0y%V;^iN_{rBre0H>Hyud6B1q~18CL2 EsV>tIVgLXD diff --git a/xz-5.4.2.tar.gz b/xz-5.4.2.tar.gz new file mode 100644 index 0000000..c3b69b7 --- /dev/null +++ b/xz-5.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87947679abcf77cc509d8d1b474218fd16b72281e2797360e909deaee1ac9d05 +size 2799022 diff --git a/xz-5.4.2.tar.gz.sig b/xz-5.4.2.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..7876e927bd8c0a347b916bf841e7e4acb5a202e66a1552bd31b193d37bc858f4 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%R5CP5=rC5IF92 zeQ6j*AbZ{q|4z8BPxQ9l=?ie84$gtwNjGHtc7#xq9?tQL6SyPkL(11cxRYXb#Rj>% zf@0%E66FIUH4kZW_j>weKPH-cZFum{#-Q^EmB=TPA87sKKVkifaW z1}(CfGE@O0HjVTor%jA5_|nzi{pd7y%DvWViwd;LjJF{iIds}V4jd2Jg5swssAWl zW7N2*B+eOu1;oC|iL#eKD1EOQuOPuKhdi9Qh@NwZatn&f`tI>h+kNp!Snzg1VV`hn z(|_4l7dR+tn*?iHawG0=U1XApI%9X%j8LuTHvOlGE+^Y$=uE0usy&e!2X4Ya_mi)) z=}Ry|fk`fm6clQn$*`_?!23%(Y?8>p! EpEw^4;{X5v literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index 9bda063..3b401b9 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Mon Mar 20 13:44:24 UTC 2023 - Martin Pluskal + +- Update to version 5.4.2: + * All fixes from 5.2.11 that were not included in 5.4.1. + * If xz is built with support for the Capsicum sandbox but running + in an environment that doesn't support Capsicum, xz now runs + normally without sandboxing instead of exiting with an error. + * liblzma: + - Documentation was updated to improve the style, consistency, + and completeness of the liblzma API headers. + - The Doxygen-generated HTML documentation for the liblzma API + header files is now included in the source release and is + installed as part of "make install". All JavaScript is + removed to simplify license compliance and to reduce the + install size. + - Fixed a minor bug in lzma_str_from_filters() that produced + too many filters in the output string instead of reporting + an error if the input array had more than four filters. This + bug did not affect xz. + * Build systems: + - autogen.sh now invokes the doxygen tool via the new wrapper + script doxygen/update-doxygen, unless the command line option + --no-doxygen is used. + - Added microlzma_encoder.c and microlzma_decoder.c to the + VS project files for Windows and to the CMake build. These + should have been included in 5.3.2alpha. + * Tests: + - Added a test to the CMake build that was forgotten in the + previous release. + - Added and refactored a few tests. + * Translations: + - Updated the Brazilian Portuguese translation. + - Added Brazilian Portuguese man page translation. + ------------------------------------------------------------------- Wed Mar 8 11:19:12 UTC 2023 - Martin Pluskal diff --git a/xz.spec b/xz.spec index 295a37a..254c2d3 100644 --- a/xz.spec +++ b/xz.spec @@ -19,7 +19,7 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio Name: xz -Version: 5.4.1 +Version: 5.4.2 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain -- 2.51.1 From 8210f5e28926af088300a364bda9cc2a1e3edd8e54a848ef5f7941e713f8420c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 7 Apr 2023 07:48:56 +0000 Subject: [PATCH 098/126] Accepting request 1077714 from home:fcrozat:branches:Base:System - Update license tag, there is GPL-3.0-or-later code too. OBS-URL: https://build.opensuse.org/request/show/1077714 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=131 --- xz.changes | 5 +++++ xz.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/xz.changes b/xz.changes index 3b401b9..63408aa 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 6 11:01:33 UTC 2023 - Frederic Crozat + +- Update license tag, there is GPL-3.0-or-later code too. + ------------------------------------------------------------------- Mon Mar 20 13:44:24 UTC 2023 - Martin Pluskal diff --git a/xz.spec b/xz.spec index 254c2d3..572f1cd 100644 --- a/xz.spec +++ b/xz.spec @@ -22,7 +22,7 @@ Name: xz Version: 5.4.2 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm -License: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain +License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain Group: Productivity/Archiving/Compression URL: https://tukaani.org/xz/ Source0: https://tukaani.org/xz/%{name}-%{version}.tar.gz -- 2.51.1 From 1dcd3cdbd95167c2f0cc896b0eda63448a74504792495daeb74ce626a7d3f9aa Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 5 May 2023 07:36:51 +0000 Subject: [PATCH 099/126] Accepting request 1084930 from home:AndreasStieger:branches:Base:System xz 5.4.3 OBS-URL: https://build.opensuse.org/request/show/1084930 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=133 --- xz-5.4.2.tar.gz | 3 --- xz-5.4.2.tar.gz.sig | Bin 566 -> 0 bytes xz-5.4.3.tar.gz | 3 +++ xz-5.4.3.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 7 +++++++ xz.spec | 2 +- 6 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 xz-5.4.2.tar.gz delete mode 100644 xz-5.4.2.tar.gz.sig create mode 100644 xz-5.4.3.tar.gz create mode 100644 xz-5.4.3.tar.gz.sig diff --git a/xz-5.4.2.tar.gz b/xz-5.4.2.tar.gz deleted file mode 100644 index c3b69b7..0000000 --- a/xz-5.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:87947679abcf77cc509d8d1b474218fd16b72281e2797360e909deaee1ac9d05 -size 2799022 diff --git a/xz-5.4.2.tar.gz.sig b/xz-5.4.2.tar.gz.sig deleted file mode 100644 index 7876e927bd8c0a347b916bf841e7e4acb5a202e66a1552bd31b193d37bc858f4..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%R5CP5=rC5IF92 zeQ6j*AbZ{q|4z8BPxQ9l=?ie84$gtwNjGHtc7#xq9?tQL6SyPkL(11cxRYXb#Rj>% zf@0%E66FIUH4kZW_j>weKPH-cZFum{#-Q^EmB=TPA87sKKVkifaW z1}(CfGE@O0HjVTor%jA5_|nzi{pd7y%DvWViwd;LjJF{iIds}V4jd2Jg5swssAWl zW7N2*B+eOu1;oC|iL#eKD1EOQuOPuKhdi9Qh@NwZatn&f`tI>h+kNp!Snzg1VV`hn z(|_4l7dR+tn*?iHawG0=U1XApI%9X%j8LuTHvOlGE+^Y$=uE0usy&e!2X4Ya_mi)) z=}Ry|fk`fm6clQn$*`_?!23%(Y?8>p! EpEw^4;{X5v diff --git a/xz-5.4.3.tar.gz b/xz-5.4.3.tar.gz new file mode 100644 index 0000000..4fe9c8d --- /dev/null +++ b/xz-5.4.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c382e0bc2e4e0af58398a903dd62fff7e510171d2de47a1ebe06d1528e9b7e9 +size 2869347 diff --git a/xz-5.4.3.tar.gz.sig b/xz-5.4.3.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..f0c43a99d10a393404beada19d126940072013693a2745d3447d1f871150e035 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j*8)MfIt!E=B+AjaNV{PG9>r}RYy0%TLgo&X975Lx{4 z2mYt@MV%)Q0Lu@KC8Z=lU{C3q?X^tH_~!!<#;qA+ODFfHtqP{mr~q`pVY)5M{lydu z-s$Hs0<3(RZ!ftq#An`+De&@8|A}IhJka~jvmn7JJCnWF8;UY|-RRc7qVk*KEZANf z5D%HH__P`}SnHhwTmsqEkkDSau5`Wt`tWYnl3wf&2O`+}nEMJvLB zyVs@I E-j^g7BLDyZ literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index 63408aa..8c4acca 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri May 5 05:47:01 UTC 2023 - Andreas Stieger + +- Update to version 5.4.3: + * Build system fixes + * Translation updates: Croatian + ------------------------------------------------------------------- Thu Apr 6 11:01:33 UTC 2023 - Frederic Crozat diff --git a/xz.spec b/xz.spec index 572f1cd..60414d9 100644 --- a/xz.spec +++ b/xz.spec @@ -19,7 +19,7 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio Name: xz -Version: 5.4.2 +Version: 5.4.3 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain -- 2.51.1 From 9df235bb9b7ebfac7dd7a300e8aa9f04f933e629a3832e1e78578470ffcaf9f9 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 5 May 2023 12:22:27 +0000 Subject: [PATCH 100/126] Accepting request 1085009 from home:AndreasStieger:branches:Base:System fix submission OBS-URL: https://build.opensuse.org/request/show/1085009 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=134 --- xz.changes | 1 + xz.keyring | 102 +++++++++++++++++++++++++---------------------------- xz.spec | 3 +- 3 files changed, 51 insertions(+), 55 deletions(-) diff --git a/xz.changes b/xz.changes index 8c4acca..d2ddbf5 100644 --- a/xz.changes +++ b/xz.changes @@ -4,6 +4,7 @@ Fri May 5 05:47:01 UTC 2023 - Andreas Stieger - Update to version 5.4.3: * Build system fixes * Translation updates: Croatian +- update signing key ------------------------------------------------------------------- Thu Apr 6 11:01:33 UTC 2023 - Frederic Crozat diff --git a/xz.keyring b/xz.keyring index 7e82196..597d039 100644 --- a/xz.keyring +++ b/xz.keyring @@ -1,56 +1,52 @@ -pub 4096R/69184620 2010-10-24 -uid Lasse Collin -sub 4096R/58ADF744 2010-10-24 - -----BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v2.0.22 (GNU/Linux) -mQINBEzEOZIBEACxg/IuXERlDB48JBWmF4NxNUuuup1IhJAJyFGFSKh3OGAO2Ard -sNuRLjANsFXA7m7P5eTFcG+BoHHuAVYmKnI3PPZtHVLnUt4pGItPczQZ2BE1WpcI -ayjGTBJeKItX3Npqg9D/odO9WWS1i3FQPVdrLn0YH37/BA66jeMQCRo7g7GLpaNf -IrvYGsqTbxCwsmA37rpE7oyU4Yrf74HT091WBsRIoq/MelhbxTDMR8eu/dUGZQVc -Kj3lN55RepwWwUUKyqarY0zMt4HkFJ7v7yRL+Cvzy92Ouv4Wf2FlhNtEs5LE4Tax -W0PO5AEmUoKjX87SezQK0f652018b4u6Ex52cY7p+n5TII/UyoowH6+tY8UHo9yb -fStrqgNE/mY2bhA6+AwCaOUGsFzVVPTbjtxL3HacUP/jlA1h78V8VTvTs5d55iG7 -jSqR9o05wje8rwNiXXK0xtiJahyNzL97Kn/DgPSqPIi45G+8nxWSPFM5eunBKRl9 -vAnsvwrdPRsR6YR3uMHTuVhQX9/CY891MHkaZJ6wydWtKt3yQwJLYqwo5d4DwnUX -CduUwSKv+6RmtWI5ZmTQYOcBRcZyGKml9X9Q8iSbm6cnpFXmLrNQwCJN+D3SiYGc -MtbltZo0ysPMa6Xj5xFaYqWk/BI4iLb2Gs+ByGo/+a0Eq4XYBMOpitNniQARAQAB -tCdMYXNzZSBDb2xsaW4gPGxhc3NlLmNvbGxpbkB0dWthYW5pLm9yZz6JAjgEEwEC -ACIFAkzEOZICGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEDjudX1pGEYg -IOAP+wVysKEWl6zGzDzlu77lRe3NiCgdmKs59bywQsLhB5KmNt+5Q3F2OP+S0ftY -HGdw7sNZ/wUUptBQXb8l/yU1oljUg1JCgDv9JU9k4OOGC6w09288LvHW1PcULepB -/kgjh77+TnuJO/ZeZq6Onxdx9TNGzet8f2KBWKI8tPQ+/yabWPNqEeH/1XSp32Sy -XAlYgm9MKfEg9jZAwLnSoPivuzw/B5U1pJUEIE2XUV8VWSiCXlONmiQ6p0WwISXe -uGB8gpYarrfReS1Joj+any3zYZCg4TTsJNgZawRgSZEne8D8s3F+DLp/y+mLKR42 -3lTLfUw+x0JaPjjndjowBwseqasJF583izxGhHD3UNUh4KwVYgMV9wzT7myz9Cp8 -PF8BbvehLoR2YHsRNVu2weCxbCclwHOZNT6jwwi7AGrsZryNjnyO6KRv/MMsQ7zY -KD4xvH2TQIGNERKjwtCZ01woR99SMVJoTaLR/LQ9ww02Th8NOZ+TMMFKxBPcYhE1 -Q3xUHDC38WfSi8/gQtoNbeS2Lm5UYJwjDScxYLDVDDNNgqYQAc5fywi57pq9HskE -P8HleLcBIS8Eg5qi2By9BHWFtGNwp51Pb5mMUHFym7LUu9bBCSWAQZkgW3/RsZDm -PAUTbcFcGNJD4Mb9VqnVQYgBb3wfqcgLK2sfQd1Hge2UsEQ+uQINBEzEOZIBEAC/ -xcCnY8YD8bUqYKtUjM4GbU08i6oYBg9zWX2nR1h2ESC9/DQ1dyXkwO/WNs49nY+y -kDw0/tGqnos01dhN4z94gkOd1Tk+HKJ7AWkAICnsaabZ0vk9Q6G7SAhSdBhs39B0 -Y+ijts0jrjorVj1pVMG71+zNCyyNvoapcdI0z6myRWf2Wuik7W0usXQj1VKVKmGU -KaJBGXMEJlKfEPpRqCQ9rDWAmcmqet1/2gDoAhq9kV2HXTh+XvLxsxlvpsLQr/lk -PQMt+ZhqiOTKpG2XdUG7r9m9euOxP0BBLnH0R1WyVShhj6RTFCbXCLcsiLeY6Pq/ -Qgi+ArOO3Rf/f0TcLjb6bx11MqjAUHVjWUTMeJPzRg/1r4j4vZupiDLouqzkLEjm -qmHXFF+Datjq69zms9iT0HVH3iNt4qLdbyvIcb1AkE1dx3yYIYszerKVZdMkDigY -hPJoiUYK4x4pR94U28aKONsQ5DQKvgkKN0AJtYmw8Sgg6tEXFj43AkQDf0OTJqXK -HaXSpM1dMhiEuIO7OX61a4Ff5KMdq+P2MbK/CvdPfuB/NgI0yhl/wZrEBQkwKgZO -qeyNM8YyKif8N902QUND5+K91iJVD2n82OmvfywLzdXx0cX/UqQgcibLMw9N0LuX -+UwfILYbHZ1Zk6O444qK3RCjLcNmhDC83Vlk0P0zVQARAQABiQIfBBgBAgAJBQJM -xDmSAhsMAAoJEDjudX1pGEYgJosP/A6V89zcX1AHqp5dtKXRa9mCTvtvA+wU6M4b -y/gS7EUos6GH22qe6Y1iEjqTeBgHkmD22TFPjHyfU9nDQOs3s3U+KZE1srjIzvHV -or1anIhl82IQPRxz775If1TT68rdmUadjc9Y6Xe2h8fvIhrkkXpQz/PTLW+gqJjf -xstOT4WUgGpNrYRf2T3A3RhRWLBVakXfzlQg1ZnXp/bQfaMQbrgeuZD5bXF88joo -UY3u1VLaaWwr8TzANBDZGbH3+uzjsuSY/IDspzdo+K0uNAoXSHowAYnlBg8aGubT -PBvJdZ5YE6gdo1++Sk5kJz1S0JNYnzV/Cwh+ne9vba/RHcXPSqEggm9Bv1k43eDD -aSO44Yy7nUhd+X77LOZmsWwRCwUxq05gHCxaUTqPBp8pKysn2/JVI5ik2aDpoLLB -U5gyB5wwreuCXm7qoHGaC2hgBipLgHuBDLHZSOn95TUyi1ZA6/+p1VWHStJXkLHx -ZqIbz46DKa8Uvy81Hn13cqdbTWTSYjjEq4Jd0AMSnewX2nMZ/4dN3xgb3ds361cQ -yVaF7JzyAzUOiyRknw5rGhv5kYGSRLp1SxkBXtp7FajZkMabS2k87ctWb9nQjhJu -Vv6UnpCwiz3gyuipl/GVUWiz4+HXUQgBmTGovm5tJ/9LIwPdw2wbUtF9MJPpCLqT -wOSlnSuT -=u8YC +mQINBGOsX3EBEADZxyfiZVg7aub+JoBG+sPChHUwbJc+SH7BWOPbu4HLNfk6ZUzi +/JSBYIGIIrqGkA60Pu1CbplkVF4UG0YBAAE/j11puWMHrydxTY9Hoc/rYOBq+0AE +mWnG0VINjpF3dNGlrmlikORzpW/FAHy8B1nD8P7vulPooc9FgkOmFM8nAP24TURU +h8G8cGY0jqpVxTiQqAi9KPxTlnY5s7hhgW0Nd3mIF4QSoPofMPnV5DTYS1LJw6XB +9K3DR4bsD7YYF2TdYGvlk/bJNu9DB1NuiWjpnzLIkPdtxpcPORXgiWE6wvzFncJn +G5tqbdQ//ylZAjOFbCntMMO7ve3JXWjEM6mDEuqlmlaHrF21Y+mQN5i2BdRKfMiQ +HB9KsveTz2Ev4cO9Tblzsm/oDvYR29LORjJl3PE3jqNSVbABih2OGnMAS9345a5u +n1vyP3x6/oAyZ7Q0iKzZml47nsl40dQk4z3aJp9ya3lph5ANQP3uzwQtDSZgkDy/ +JDyIL/z19FtAgA7QugWkx4HsSzmZnE5GQJImA0/XxXYNck2NqQ9YJ/RY8W3aD4dp +mnFAYE1Yi5kutrVlfqzKujBpi3/JfSM1hkJdcRJ7rrOw69JXVvbqVW1EiX8gp8Ka +GV6g0MN/G15dJT/AMY9/XwEFIYP7vZl32Qx7A67jokNB7bKCZxWexppRrQARAQAB +tBxKaWEgVGFuIDxqaWF0MDIxOEBnbWFpbC5jb20+iQJUBBMBCgA+FiEEItRl8rTB +c4A7IMbeWfzyB/6n9EUFAmOsX3ECGwMFCQlmAYAFCwkIBwIGFQoJCAsCBBYCAwEC +HgECF4AACgkQWfzyB/6n9EXJkhAAvvfTCu2w8FReaAv954ublcN6SFBuyXcXPeNZ +46ZBm6LfMErbj6wGyLzXiU3WMuPvwDliX5/Etkhj+juj/XlAK7DtRUa8Jf6R2u1o +FaGodx63gjzEoOXrSYoWt1ANwADLnMp5MT1P14PHJcCKSyj2qcVOaKVvWYRw2Yeo +Kd8tc0Wcm2NPxCk+nzUVPT8bO62kJN4pnalWA3ultozZiSoqcMelwI8czYUY3TiB +L+FqOUR2438TFnWDGnaI37ZXkjTYSEIRuneo3vjLcJDmSwrdyL3NsIbXySnN8ga3 +kZi6hgjIS/Th3KhKzyWpuj9ydBMAMniYUBRFbKl/pH8PtzQ258ToxVjiG/hBrEbq +X0P8RyAd6YiiHDOPjPqj1lnNeeliIytBtHzH1HB3a2Eg5ZY7iG4DMg82IU/qcL9l +aPHslYi93LhvaUR+APAjhd71PAexXxQkEtsUOPPybFTCVrG679RCLeV4M32PZ99c +BGY0ekPo653ITaAwBQyZJvAVsP5A0gbRPYok/c/qE+lfF8UuPPyUOBk0IYyiA4MR +W7qSu2gFkOHT5yJgyd7MtvzJvzVnt3kTQCsQdNGAIZ8NTx6PbWj9qtSmpXz3H+XR +JH/9xvXhL3v22q82uBfAEMk3h31KFESGo5pwarthwfQvQL/6MumdLJELXzijAY0v +w9nxEOW5Ag0EY6xfcQEQANCo3Vf8eHyTlhvusQ4inItxocgY06JhgBCkw9m/YiVI +0Pekf0WatCy1fNIJJlyNgjQGQ+37pLP6d2xwzdJc8Gm15bGlfrth5aYfNdcBLR1S +MJ7JnX0zcjRiPwI+Z8XAVoGu7vzGIScEopDMiI4xTdc7GlgPyE27Gd2A0MwzR2lQ +i03aSLloXh6h+j7GL4C3fYg+/Xct/w5d1stNWDpqOl3BQqrcT9PcvhZTSC93g4YW +hBFNZiYFL0pMg+Wg62/yJ49mjWOkcPKdhKmWDOx6vV88Pabwxh+sSKaWh3DZ23pW +iMohEN0tynwMIK1DT4D7BxuP4gCKhPkfxcL8dMkFHbqdgfUEgdDr1Ritxt4El3AZ +oCk3GSc0uESAWp1NQcM7ZiuWlmT90I0cHPmfxJLV6tRIM0iCxmowuVGQP82/qbT1 +C6G66HgRMmA5CnaUsDa1vVxMF8trdU8Pkr6OpPn12gmwz31j1JxvSq4RwSxLl77w +H3kTJY3qO/lMYhqx0+mK57CPaYsjoqA5xnqzVdtwfJI3tPwttlrjfoDQSn2baZu5 +9pvYC/IVxOgjTiyIguS8LSBj08iOqZLoLBuqPDzkQwvcCL8TcxEde2yoDi6wI+Ws +XevpBcY2fkItqcRDiPQJ7FuEAnRAa8SfcFLUG9cwHg7RmeSp5WrfOw+7xdqj1ImF +ABEBAAGJAjwEGAEKACYWIQQi1GXytMFzgDsgxt5Z/PIH/qf0RQUCY6xfcQIbDAUJ +CWYBgAAKCRBZ/PIH/qf0RW8dD/9tQqJ4bcRXLPXrQzbBiMpRBiLqRxlpeS2nwFUr +ryv7JCbAbgZ4GqKa3tR/5oUfICZwgSJhVUMeFfUtDAOuLVRBEHAksVxztUxpAVzF +2tH6ZrvTI26tzFQw5U+xrTEl3eazNgZF6Qsqv5313RI8SrUAhv95s0A8CdVIi3RZ +5LPPsoT/XggtaSz28iSaZxDChjY5jNNvC8sjp445+egpglXxjR24otShUDaZLd6Y +LfMHTR1raOoIZd8lbRoUAJ32vkXu2UUPgI6GC0HaEyHQQ3faG5SGUrcWuA6XOD9p +7Xtu3SDgAUE6gbxUeCQWiFm2c+dEoldtr4n3BXIOOKfPHi/hiNVDmGWzPsB2XzCb +oUPHfWj4p54I+IFf+wt3IuR0H9OqXipL/9yE2cHkp7zaIVuc43xPa2FVOkJL0XnF +M67tSMKVaKFA6myewHDrteBDyZVt4IH8clejhs6cwWOf9DOcbPQO1C94vMc+Glah +oCL0FGS1mU/CumiNB1zCP0o29IUXQvLk/mM8w/zL65sfilbfm7kLk1l8UOy/pUxk +4U9Kpv79Z7aIUwSZVXkkfQuHlmGCm0y6QKLTaZQL68uDXrMpWO2O2B+tOCJibGFz +ecPedd7w77GKqjMHXcVX3Hd2wnZAMTwIJsjHG4qO/LfA8jze5+Ohd3qzilP7ziwm +aK5MKg== +=d3XT -----END PGP PUBLIC KEY BLOCK----- diff --git a/xz.spec b/xz.spec index 60414d9..e83ceac 100644 --- a/xz.spec +++ b/xz.spec @@ -28,8 +28,7 @@ URL: https://tukaani.org/xz/ Source0: https://tukaani.org/xz/%{name}-%{version}.tar.gz Source1: https://tukaani.org/xz/%{name}-%{version}.tar.gz.sig Source2: baselibs.conf -# from http://tukaani.org/misc/lasse_collin_pubkey.txt#/xz.keyring -Source3: xz.keyring +Source3: https://tukaani.org/misc/jia_tan_pubkey.txt#/%{name}.keyring Source4: xznew Source5: xznew.1 BuildRequires: pkgconfig -- 2.51.1 From a4eff96130bce9bf2833557c07eb4185d7f4ae3124fc1f99b2f88eeb3c549d51 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 8 Aug 2023 07:01:09 +0000 Subject: [PATCH 101/126] Accepting request 1102117 from home:polslinux:branches:Base:System - Update to version 5.4.4: * liblzma and xzdec can now build against WASI SDK when threading support is disabled. xz and tests don't build yet. * documentation update * translations update OBS-URL: https://build.opensuse.org/request/show/1102117 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=136 --- xz-5.4.3.tar.gz | 3 --- xz-5.4.3.tar.gz.sig | Bin 566 -> 0 bytes xz-5.4.4.tar.gz | 3 +++ xz-5.4.4.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 9 +++++++++ xz.spec | 2 +- 6 files changed, 13 insertions(+), 4 deletions(-) delete mode 100644 xz-5.4.3.tar.gz delete mode 100644 xz-5.4.3.tar.gz.sig create mode 100644 xz-5.4.4.tar.gz create mode 100644 xz-5.4.4.tar.gz.sig diff --git a/xz-5.4.3.tar.gz b/xz-5.4.3.tar.gz deleted file mode 100644 index 4fe9c8d..0000000 --- a/xz-5.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c382e0bc2e4e0af58398a903dd62fff7e510171d2de47a1ebe06d1528e9b7e9 -size 2869347 diff --git a/xz-5.4.3.tar.gz.sig b/xz-5.4.3.tar.gz.sig deleted file mode 100644 index f0c43a99d10a393404beada19d126940072013693a2745d3447d1f871150e035..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*8)MfIt!E=B+AjaNV{PG9>r}RYy0%TLgo&X975Lx{4 z2mYt@MV%)Q0Lu@KC8Z=lU{C3q?X^tH_~!!<#;qA+ODFfHtqP{mr~q`pVY)5M{lydu z-s$Hs0<3(RZ!ftq#An`+De&@8|A}IhJka~jvmn7JJCnWF8;UY|-RRc7qVk*KEZANf z5D%HH__P`}SnHhwTmsqEkkDSau5`Wt`tWYnl3wf&2O`+}nEMJvLB zyVs@I E-j^g7BLDyZ diff --git a/xz-5.4.4.tar.gz b/xz-5.4.4.tar.gz new file mode 100644 index 0000000..ca75d77 --- /dev/null +++ b/xz-5.4.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aae39544e254cfd27e942d35a048d592959bd7a79f9a624afb0498bb5613bdf8 +size 2874706 diff --git a/xz-5.4.4.tar.gz.sig b/xz-5.4.4.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..6af9c127a78d1261b0a6b98c0c0869a227d6075ddfe4c1fc8458e9b365324889 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j*8)MfIt!E=B+AjaNV{PG9>r}RYy0%XcjKmZB}5Lx{4 z2mYt@MUcV|{SsRtQf%o*=SYzH*3#CD?Fd6{WHV=G;m`$q5JEzYj9K*KclhnXq`lgZ zR443q7XgJF^hl?rSHh6N+@z8iDz^kPKL>pdm9wa=naQbe`6h>@G#M!z~`8PVcX8tBQJs4bYXF!??f7gUAoSr6SWDF@to%Xe@)j!Yr!c zbM8pnZ5XrbeqUp`k@Pb$8P1{Ely*sf|1kul?^L1@!`-tiz`(vS);GaMbaWS< zl~9$L9snn|Rp=Uik8zOM+7oryHv1vP`U<{n#l)O7I&NhiTg7ETK)jmFsk~wKA>AtV z{KpQo#$?pWL7`oC_d7)7;tqe>jo&@AQL4m2 + +- Update to version 5.4.4: + * liblzma and xzdec can now build against WASI SDK when threading + support is disabled. xz and tests don't build yet. + * documentation update + * translations update + ------------------------------------------------------------------- Fri May 5 05:47:01 UTC 2023 - Andreas Stieger diff --git a/xz.spec b/xz.spec index e83ceac..180a0a8 100644 --- a/xz.spec +++ b/xz.spec @@ -19,7 +19,7 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio Name: xz -Version: 5.4.3 +Version: 5.4.4 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain -- 2.51.1 From 17763965204cb6c9f5bd881bdfffddfac3bd1ce88b8965a09dc0c06b66ab40f8 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 21 Aug 2023 05:30:48 +0000 Subject: [PATCH 102/126] Accepting request 1104190 from home:dimstar:Factory - xznew: Remove bashsism. - build: pass CONFIG_SHELL=/bin/sh to configure: the posix tools are setting the current SHELL as the shebang, which is overkill: any posix compliant shell, aka /bin/sh, is sufficient. OBS-URL: https://build.opensuse.org/request/show/1104190 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=138 --- xz.changes | 8 ++++++++ xz.spec | 2 +- xznew | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/xz.changes b/xz.changes index 73c61fb..c039c9c 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Aug 16 13:58:09 UTC 2023 - Dominique Leuenberger + +- xznew: Remove bashsism. +- build: pass CONFIG_SHELL=/bin/sh to configure: the posix tools + are setting the current SHELL as the shebang, which is overkill: + any posix compliant shell, aka /bin/sh, is sufficient. + ------------------------------------------------------------------- Thu Aug 3 07:01:39 UTC 2023 - Paolo Stivanin diff --git a/xz.spec b/xz.spec index 180a0a8..5fed776 100644 --- a/xz.spec +++ b/xz.spec @@ -83,7 +83,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie" %configure \ --with-pic \ --docdir=%{_docdir}/%{name} \ - --disable-static + --disable-static CONFIG_SHELL=/bin/sh %if 0%{?do_profiling} %make_build CFLAGS="${CFLAGS} %{cflags_profile_generate}" %make_build diff --git a/xznew b/xznew index 744913d..e48c258 100644 --- a/xznew +++ b/xznew @@ -52,7 +52,7 @@ if test -z "$cpmod" && ${TOUCH-touch} -r $tmp/1 $tmp/2 2>/dev/null; then fi # check about xz extension -xz $tmp/1 &> /dev/null +xz $tmp/1 > /dev/null 2>&1 ext=`echo $tmp/1* | sed "s|$tmp/1||"` rm -rf $tmp/ trap - 0 1 2 3 6 13 15 -- 2.51.1 From d651e0a5b5348ffe109c58d5e6d55987119f01060eec47f8bb650745b3737410 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 9 Nov 2023 13:41:57 +0000 Subject: [PATCH 103/126] Accepting request 1124051 from home:amanzini:branches:Base:System - Update to version 5.4.5: * liblzma: - Fixed an assertion failure that could be triggered by a large unpadded_size argument. It was verified that there was no other bug than the assertion failure. - Fixed a bug that prevented building with Windows Vista threading when __attribute__((__constructor__)) is not supported. * xz now properly handles special files such as "con" or "nul" on Windows. Before this fix, the following wrote "foo" to the console and deleted the input file "con_xz": echo foo | xz > con_xz xz --suffix=_xz --decompress con_xz * Small fixes and improvements to the tests. * Updated translations: Chinese (simplified) and Esperanto. OBS-URL: https://build.opensuse.org/request/show/1124051 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=140 --- xz-5.4.4.tar.gz | 3 --- xz-5.4.4.tar.gz.sig | Bin 566 -> 0 bytes xz-5.4.5.tar.gz | 3 +++ xz-5.4.5.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 23 +++++++++++++++++++++++ xz.spec | 2 +- 6 files changed, 27 insertions(+), 4 deletions(-) delete mode 100644 xz-5.4.4.tar.gz delete mode 100644 xz-5.4.4.tar.gz.sig create mode 100644 xz-5.4.5.tar.gz create mode 100644 xz-5.4.5.tar.gz.sig diff --git a/xz-5.4.4.tar.gz b/xz-5.4.4.tar.gz deleted file mode 100644 index ca75d77..0000000 --- a/xz-5.4.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aae39544e254cfd27e942d35a048d592959bd7a79f9a624afb0498bb5613bdf8 -size 2874706 diff --git a/xz-5.4.4.tar.gz.sig b/xz-5.4.4.tar.gz.sig deleted file mode 100644 index 6af9c127a78d1261b0a6b98c0c0869a227d6075ddfe4c1fc8458e9b365324889..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*8)MfIt!E=B+AjaNV{PG9>r}RYy0%XcjKmZB}5Lx{4 z2mYt@MUcV|{SsRtQf%o*=SYzH*3#CD?Fd6{WHV=G;m`$q5JEzYj9K*KclhnXq`lgZ zR443q7XgJF^hl?rSHh6N+@z8iDz^kPKL>pdm9wa=naQbe`6h>@G#M!z~`8PVcX8tBQJs4bYXF!??f7gUAoSr6SWDF@to%Xe@)j!Yr!c zbM8pnZ5XrbeqUp`k@Pb$8P1{Ely*sf|1kul?^L1@!`-tiz`(vS);GaMbaWS< zl~9$L9snn|Rp=Uik8zOM+7oryHv1vP`U<{n#l)O7I&NhiTg7ETK)jmFsk~wKA>AtV z{KpQo#$?pWL7`oC_d7)7;tqe>jo&@AQL4m2r}RYy0%bx*`2Y$D5Lx{4 z2mYt@MF9T~|9+F`f}gO{LD#-KjB5F0luL-HBM8k4(bwM`?jAG`YSG-A=V95UdRlK4VH^j96(P?;S>f;DA@6@{Po*dFtwxp5o^i6-v3@KE7C6v z>dc=W}6g!oI25R9I1yfIp>Ms2?!rakw4gum_}!enb_ + +- Update to version 5.4.5: + * liblzma: + - Fixed an assertion failure that could be triggered by a large + unpadded_size argument. It was verified that there was no + other bug than the assertion failure. + + - Fixed a bug that prevented building with Windows Vista + threading when __attribute__((__constructor__)) is not + supported. + + * xz now properly handles special files such as "con" or "nul" on + Windows. Before this fix, the following wrote "foo" to the + console and deleted the input file "con_xz": + + echo foo | xz > con_xz + xz --suffix=_xz --decompress con_xz + + * Small fixes and improvements to the tests. + * Updated translations: Chinese (simplified) and Esperanto. + ------------------------------------------------------------------- Wed Aug 16 13:58:09 UTC 2023 - Dominique Leuenberger diff --git a/xz.spec b/xz.spec index 5fed776..3a0171a 100644 --- a/xz.spec +++ b/xz.spec @@ -19,7 +19,7 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio Name: xz -Version: 5.4.4 +Version: 5.4.5 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain -- 2.51.1 From 29bd7c48df5c59c26a6d6c7b61326e22c9302cca5a0e2fb9528bcdf5e1681da9 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 28 Jan 2024 10:12:57 +0000 Subject: [PATCH 104/126] - update to 5.4.6: * Fixed a bug involving internal function pointers in liblzma not being initialized to NULL. The bug can only be triggered if lzma_filters_update() is called on a LZMA1 encoder, so it does not affect xz or any application known to us that uses liblzma. * Fixed a regression introduced in 5.4.2 that caused encoding in the raw format to unnecessarily fail if --suffix was not used. For instance, the following command no longer reports that --suffix must be used: echo foo | xz --format=raw --lzma2 | wc -c * Fixed an issue on MinGW-w64 builds that prevented reading from or writing to non-terminal character devices like NUL. * Added a new test. - Build XZ with full RELRO. - Put libraries back in %{_libdir}, /usr merge project. - Fix build in armv5el doesnt like profiling * Polish translation was added. * Support for "xz --list" was added - remove static libraries, see bnc#509945 for details - added baselibs.conf (for rpm-32bit) OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=142 --- xz-5.4.5.tar.gz | 3 --- xz-5.4.5.tar.gz.sig | Bin 566 -> 0 bytes xz-5.4.6.tar.gz | 3 +++ xz-5.4.6.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 37 ++++++++++++++++++++++++++++--------- xz.spec | 8 ++++---- 6 files changed, 35 insertions(+), 16 deletions(-) delete mode 100644 xz-5.4.5.tar.gz delete mode 100644 xz-5.4.5.tar.gz.sig create mode 100644 xz-5.4.6.tar.gz create mode 100644 xz-5.4.6.tar.gz.sig diff --git a/xz-5.4.5.tar.gz b/xz-5.4.5.tar.gz deleted file mode 100644 index 905e207..0000000 --- a/xz-5.4.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:135c90b934aee8fbc0d467de87a05cb70d627da36abe518c357a873709e5b7d6 -size 2884510 diff --git a/xz-5.4.5.tar.gz.sig b/xz-5.4.5.tar.gz.sig deleted file mode 100644 index 8a1770abcf1c75dc490135a19e3f80ef62e0f56e4fd3973f56ca0292feef2bb3..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*8)MfIt!E=B+AjaNV{PG9>r}RYy0%bx*`2Y$D5Lx{4 z2mYt@MF9T~|9+F`f}gO{LD#-KjB5F0luL-HBM8k4(bwM`?jAG`YSG-A=V95UdRlK4VH^j96(P?;S>f;DA@6@{Po*dFtwxp5o^i6-v3@KE7C6v z>dc=W}6g!oI25R9I1yfIp>Ms2?!rakw4gum_}!enb_r}RYy0%fzDGyn<-5Lx{4 z2mYt@MNNed`vv`Sl=TfB;V8bEvLC|HwbHpkIH{SsE~2Ofkny^m0H)&1q!gN`^%|Tl zc_rVkl;iWG9EGDYwKdr+V%&+;(}Hhc4o^SSi?Xr3J#ar0kczRc-zd~beD01i=5q;T zb8b71>6qmOZC0^sK>MBAkdmdL3E<53gDw>*c(zS1lG0Y?XMc%i3V4&d>MzDAPJ{AK zVJr`AsErK_%&X6BS);SM=Sm!^b@+JwVeK1rg*2Ruk=m6)9A3HY>*#-b5twfLxkTAW??{M&%&W@|qM}O{_jN>TAz9VOPCPBc7$9Q5qs?sTjJ{(YN!w&<%lo`&*8cq1g@cFFtbU>4Fm8g3+J;6PVWg5mxGOt}5e0V3Xg93KpF9Kj%p)|NUcy}jEWzdCa~ntpMrnXgr*jEYPMI@mY+ zeSu@M$iW^h)~ne^;hOKX7&9pW$hA4<3DfhLkfFwf?%dB{k-2Fxmy9Uf+yomrBZW#0 Eoa+r8hX4Qo literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index 1f390b3..fea96e3 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Sun Jan 28 10:10:07 UTC 2024 - Dirk Müller + +- update to 5.4.6: + * Fixed a bug involving internal function pointers in liblzma + not being initialized to NULL. The bug can only be + triggered if lzma_filters_update() is called on a LZMA1 + encoder, so it does not affect xz or any application known + to us that uses liblzma. + * Fixed a regression introduced in 5.4.2 that caused + encoding in the raw format to unnecessarily fail if --suffix + was not used. For instance, the following command no longer + reports that --suffix must be used: + echo foo | xz --format=raw --lzma2 | wc -c + * Fixed an issue on MinGW-w64 builds that prevented + reading from or writing to non-terminal character devices + like NUL. + * Added a new test. + ------------------------------------------------------------------- Tue Nov 7 16:10:26 UTC 2023 - Andrea Manzini @@ -451,7 +470,7 @@ Fri Sep 30 21:20:14 UTC 2022 - C J The uncompressed check is done first since that is more likely to occur than the unpadded or index field size overflows. - Vaccinate against an ill patch from RHEL/CentOS 7. - + * xzgrep: - Fix compatibility with old shells. Turns out that some old shells don't like apostrophes (') inside @@ -461,7 +480,7 @@ Fri Sep 30 21:20:14 UTC 2022 - C J a648978b20495b7aa4a8b029c5a810b5ad9d08ff (2022-07-19). 5.2.6 is the only stable release that included this problem. - + * Translations: Add Turkish translation. ------------------------------------------------------------------- @@ -750,7 +769,7 @@ Fri Dec 19 09:43:36 UTC 2014 - meissner@suse.com ------------------------------------------------------------------- Thu Dec 18 19:37:09 UTC 2014 - crrodriguez@opensuse.org -- Build XZ with full RELRO. +- Build XZ with full RELRO. ------------------------------------------------------------------- Tue Sep 23 00:11:27 UTC 2014 - andreas.stieger@gmx.de @@ -838,7 +857,7 @@ Fri Jul 6 10:18:06 UTC 2012 - sweet_f_a@gmx.de ------------------------------------------------------------------- Sun Feb 12 23:37:44 UTC 2012 - crrodriguez@opensuse.org -- Put libraries back in %{_libdir}, /usr merge project. +- Put libraries back in %{_libdir}, /usr merge project. ------------------------------------------------------------------- Sun Oct 9 15:25:02 UTC 2011 - sweet_f_a@gmx.de @@ -848,7 +867,7 @@ Sun Oct 9 15:25:02 UTC 2011 - sweet_f_a@gmx.de ------------------------------------------------------------------- Fri Sep 30 20:31:59 UTC 2011 - crrodriguez@opensuse.org -- Fix build in armv5el doesnt like profiling +- Fix build in armv5el doesnt like profiling ------------------------------------------------------------------- Tue Sep 27 13:05:34 UTC 2011 - sweet_f_a@gmx.de @@ -930,7 +949,7 @@ Thu Apr 7 20:43:05 UTC 2011 - crrodriguez@opensuse.org * "xzgrep -l foo bar.xz" works now. - * Polish translation was added. + * Polish translation was added. ------------------------------------------------------------------- Fri Mar 4 17:54:21 UTC 2011 - crrodriguez@opensuse.org @@ -966,7 +985,7 @@ Wed Oct 27 00:28:26 UTC 2010 - cristian.rodriguez@opensuse.org * Added support for XZ_DEFAULTS environment variable * The compression settings associated with the preset levels have been changed,they are now less likely to make compression worse. - * Support for "xz --list" was added + * Support for "xz --list" was added ------------------------------------------------------------------- Sat Apr 24 11:38:25 UTC 2010 - coolo@novell.com @@ -1005,12 +1024,12 @@ Thu Aug 20 15:51:47 CEST 2009 - coolo@novell.com ------------------------------------------------------------------- Sun Jun 7 19:39:45 CEST 2009 - crrodriguez@suse.de -- remove static libraries, see bnc#509945 for details +- remove static libraries, see bnc#509945 for details ------------------------------------------------------------------- Sun Feb 22 18:37:26 CET 2009 - ro@suse.de -- added baselibs.conf (for rpm-32bit) +- added baselibs.conf (for rpm-32bit) ------------------------------------------------------------------- Mon Feb 16 10:59:51 CET 2009 - coolo@suse.de diff --git a/xz.spec b/xz.spec index 3a0171a..ac859c0 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,14 +19,14 @@ # avoid bootstrapping problem %define _binary_payload w9.bzdio Name: xz -Version: 5.4.5 +Version: 5.4.6 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain Group: Productivity/Archiving/Compression URL: https://tukaani.org/xz/ -Source0: https://tukaani.org/xz/%{name}-%{version}.tar.gz -Source1: https://tukaani.org/xz/%{name}-%{version}.tar.gz.sig +Source0: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.gz +Source1: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.gz.sig Source2: baselibs.conf Source3: https://tukaani.org/misc/jia_tan_pubkey.txt#/%{name}.keyring Source4: xznew -- 2.51.1 From ad25c315d0e300a60d0e0938d1e409f168c34b806334f1717daf78fdcdcfa691 Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Mon, 29 Jan 2024 22:20:44 +0000 Subject: [PATCH 105/126] Accepting request 1142678 from home:dspinella:branches:Base:System - Build static library on SLE OBS-URL: https://build.opensuse.org/request/show/1142678 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=143 --- xz.changes | 5 +++++ xz.spec | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/xz.changes b/xz.changes index fea96e3..b02f56a 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 29 21:36:02 UTC 2024 - Danilo Spinella + +- Build static library on SLE + ------------------------------------------------------------------- Sun Jan 28 10:10:07 UTC 2024 - Dirk Müller diff --git a/xz.spec b/xz.spec index ac859c0..d190312 100644 --- a/xz.spec +++ b/xz.spec @@ -17,6 +17,11 @@ # avoid bootstrapping problem +%if 0%{?suse_version} == 1500 +%bcond_without static +%else +%bcond_with static +%endif %define _binary_payload w9.bzdio Name: xz Version: 5.4.6 @@ -73,6 +78,17 @@ Obsoletes: lzma-alpha-devel < %{version} This package contains the header files and libraries needed for compiling programs using the LZMA library. +%if %{with static} +%package static-devel +Summary: Static version of LZMA library +License: SUSE-Public-Domain +Group: Development/Libraries/C and C++ +Requires: lzma-devel = %{version} + +%description static-devel +Static library for the LZMA library +%endif + %prep %autosetup @@ -80,6 +96,15 @@ compiling programs using the LZMA library. %global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CFLAGS="%{optflags} -D_REENTRANT -pipe -fPIE" export LDFLAGS="-Wl,-z,relro,-z,now -pie" +# Either we build it without pic enabled, or we build one at a time +%if %{with static} +%configure \ + --with-pic \ + --docdir=%{_docdir}/%{name} \ + --disable-shared CONFIG_SHELL=/bin/sh +%make_build +cp ./src/liblzma/.libs/liblzma.a liblzma.a +%endif %configure \ --with-pic \ --docdir=%{_docdir}/%{name} \ @@ -102,6 +127,9 @@ find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} --all-name --with-man install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 +%if %{with static} +install -Dpm 0644 liblzma.a %{buildroot}%{_libdir}/ +%endif rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %post -n liblzma5 -p /sbin/ldconfig @@ -178,4 +206,10 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %{_libdir}/liblzma.so %{_libdir}/pkgconfig/liblzma.pc +%if %{with static} +%files static-devel +%defattr(-, root, root) +%{_libdir}/liblzma.a +%endif + %changelog -- 2.51.1 From a5480205f878bff697d3a286fe3efea57fe33d8b145759fdb73e8aad822f8e45 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 5 Mar 2024 11:47:58 +0000 Subject: [PATCH 106/126] - update to 5.6.0: * This bumps the minor version of liblzma because new features were added. The API and ABI are still backward compatible with liblzma 5.4.x and 5.2.x and 5.0.x. * liblzma: - Disabled the branchless C variant in the LZMA decoder based on the benchmark results from the community. - Disabled x86-64 inline assembly on x32 to fix the build. * Sandboxing support in xz: - Landlock is now used even when xz needs to create files. - Landlock and pledge(2) are now stricter when reading from more than one input file and only writing to standard output. - Added support for Landlock ABI version 4. - Now builds lzmainfo and lzmadec. - xzdiff, xzgrep, xzless, xzmore, and their symlinks are now installed. The scripts are also tested during "make test". - Added translation support for xz, lzmainfo, and the man pages. - Minimum required CMake version is now 3.14. * liblzma: - LZMA decoder: Speed optimizations to the C code and added GCC & Clang compatible inline assembly for x86-64. - Added lzma_mt_block_size() to recommend a Block size for multithreaded encoding. - Added CLMUL-based CRC32 on x86-64 and E2K with OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=145 --- xz-5.4.6.tar.gz | 3 -- xz-5.4.6.tar.gz.sig | Bin 566 -> 0 bytes xz-5.6.0.tar.gz | 3 ++ xz-5.6.0.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 88 ++++++++++++++++++++++++++++++++++++++++++++ xz.spec | 13 ++++--- 6 files changed, 99 insertions(+), 8 deletions(-) delete mode 100644 xz-5.4.6.tar.gz delete mode 100644 xz-5.4.6.tar.gz.sig create mode 100644 xz-5.6.0.tar.gz create mode 100644 xz-5.6.0.tar.gz.sig diff --git a/xz-5.4.6.tar.gz b/xz-5.4.6.tar.gz deleted file mode 100644 index d2111e9..0000000 --- a/xz-5.4.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aeba3e03bf8140ddedf62a0a367158340520f6b384f75ca6045ccc6c0d43fd5c -size 2889306 diff --git a/xz-5.4.6.tar.gz.sig b/xz-5.4.6.tar.gz.sig deleted file mode 100644 index 2ff5950e9d042ea0eb06d89aee73d61c817964c8f864cfe5af81e537fd3f0a43..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*8)MfIt!E=B+AjaNV{PG9>r}RYy0%fzDGyn<-5Lx{4 z2mYt@MNNed`vv`Sl=TfB;V8bEvLC|HwbHpkIH{SsE~2Ofkny^m0H)&1q!gN`^%|Tl zc_rVkl;iWG9EGDYwKdr+V%&+;(}Hhc4o^SSi?Xr3J#ar0kczRc-zd~beD01i=5q;T zb8b71>6qmOZC0^sK>MBAkdmdL3E<53gDw>*c(zS1lG0Y?XMc%i3V4&d>MzDAPJ{AK zVJr`AsErK_%&X6BS);SM=Sm!^b@+JwVeK1rg*2Ruk=m6)9A3HY>*#-b5twfLxkTAW??{M&%&W@|qM}O{_jN>TAz9VOPCPBc7$9Q5qs?sTjJ{(YN!w&<%lo`&*8cq1g@cFFtbU>4Fm8g3+J;6PVWg5mxGOt}5e0V3Xg93KpF9Kj%p)|NUcy}jEWzdCa~ntpMrnXgr*jEYPMI@mY+ zeSu@M$iW^h)~ne^;hOKX7&9pW$hA4<3DfhLkfFwf?%dB{k-2Fxmy9Uf+yomrBZW#0 Eoa+r8hX4Qo diff --git a/xz-5.6.0.tar.gz b/xz-5.6.0.tar.gz new file mode 100644 index 0000000..ca379c5 --- /dev/null +++ b/xz-5.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f5c81f14171b74fcc9777d302304d964e63ffc2d7b634ef023a7249d9b5d875 +size 3036813 diff --git a/xz-5.6.0.tar.gz.sig b/xz-5.6.0.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..a35bec503eb3b6c0594e97ce3b5116db120fd784311013bfee75c8d8ba056100 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j*8)MfIt!E=B+AjaNV{PG9>r}RYy0%h5&fdC2#5Lx{4 z2mYt@MKp^L0FsE0nxaZsQw+a`0;g|bQcXlj0GwKYqi-6N7wh7V<&5Acr@IzfNSoGZ zGh`xG8b%?naxr+P3pAa&cgAQ2&tvvqz^1Q~Mhr%sba+s6 zH9d945PO6XYyyMgnh!}kKx7W{cLX8B{_3r&u&Nj#cMo17{v0fhES7>j_>{FOcWjAP3gWGcvl-aqnqgY=*{HfOW*lMw-=Dkg*eS3Q0|6_f$U)u2R8 z?>1R*gh#%F>DcMvQlwv0^mD@LvnGhZW34t`6N96fUg{=#?YdRE5NS56u7Sdi7hP+t6|~rDYAQ7 z8=~?o7U{IcpzeMgCefiLM~jEbArS2;G>v#j$7wNlHztbCYIngg8<}af0?z{)LZ{Y~ E+!wSJ82|tP literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index b02f56a..6f3671f 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,91 @@ +------------------------------------------------------------------- +Tue Mar 5 11:25:55 UTC 2024 - Dirk Müller + +- update to 5.6.0: + * This bumps the minor version of liblzma because new + features were added. The API and ABI are still backward + compatible with liblzma 5.4.x and 5.2.x and 5.0.x. + * liblzma: + - Disabled the branchless C variant in the LZMA + decoder based on the benchmark results from the community. + - Disabled x86-64 inline assembly on x32 to fix the + build. + * Sandboxing support in xz: + - Landlock is now used even when xz needs to create + files. + - Landlock and pledge(2) are now stricter when + reading from more than one input file and only writing to + standard output. + - Added support for Landlock ABI version 4. + - Now builds lzmainfo and lzmadec. + - xzdiff, xzgrep, xzless, xzmore, and their symlinks + are now installed. The scripts are also tested during "make + test". + - Added translation support for xz, lzmainfo, and the + man pages. + - Minimum required CMake version is now 3.14. + * liblzma: + - LZMA decoder: Speed optimizations to the C code and + added GCC & Clang compatible inline assembly for + x86-64. + - Added lzma_mt_block_size() to recommend a Block + size for multithreaded encoding. + - Added CLMUL-based CRC32 on x86-64 and E2K with + runtime processor detection. Similar to CRC64, on 32-bit + x86 it isn't available unless --disable-assembler is used. + - Optimized the CRC32 calculation on ARM64 platforms + using the CRC32 instructions. Runtime detection for the + instruction is used on GNU/Linux, FreeBSD, Windows, and macOS. + - Added definitions of mask values like + LZMA_INDEX_CHECK_MASK_CRC32 to . + * Licensing change: The core components are now under the + * BSD Zero Clause License (0BSD). In XZ Utils 5.4.6 and + older and 5.5.1alpha these components are in the public + domain and obviously remain so; the change affects the new + releases only. + * 0BSD is an extremely permissive license which doesn't + require retaining or reproducing copyright or license notices + when distributing the code, thus in practice there is + extremely little difference to public domain. + * liblzma + - Significant speed optimizations to the LZMA decoder + were made. There are now three variants that can be + chosen at build time: + * Basic C version: This is a few percent faster than + 5.4.x due to some new optimizations. + * Branchless C: This is currently the default on platforms + for which there is no assembly code. This should be a few + percent faster than the basic C version. + * x86-64 inline assembly. This works with GCC and Clang. + The default choice can currently be overridden by + setting LZMA_RANGE_DECODER_CONFIG in CPPFLAGS: 0 means the + basic version and 3 means that branchless C version. + * Added a new filter for RISC-V binaries. The filter can be + used for 32-bit and 64-bit binaries with either little or + big endianness. In liblzma, the Filter ID is + LZMA_FILTER_RISCV (0x0B) + - Implemented GNU indirect function (IFUNC) as a + runtime function dispatching method for CRC32 and CRC64 + fast implementations on x86. Only GNU/Linux (glibc) and + * xz: + - Multithreaded mode is now the default. This + improves compression speed and creates .xz files that can be + decompressed multithreaded at the cost of increased + memory usage and slightly worse compression ratio. + - Added new command line option --filters to set the + filter chain using liblzma filter string syntax. + - Added new command line options --filters1 ... + --filters9 to set additional filter chains using liblzma filter + string syntax. The --block-list option now allows + specifying filter chains that were set using these new options. + - Added support for Linux Landlock as a sandboxing + method. + - xzdec now supports pledge(2), Capsicum, and Linux + Landlock as sandboxing methods. +- enable y2038 mode +- enable zstd compression, we no longer have bootstrap + issues as xz is no longer used + ------------------------------------------------------------------- Mon Jan 29 21:36:02 UTC 2024 - Danilo Spinella diff --git a/xz.spec b/xz.spec index d190312..c53fcff 100644 --- a/xz.spec +++ b/xz.spec @@ -22,12 +22,11 @@ %else %bcond_with static %endif -%define _binary_payload w9.bzdio Name: xz -Version: 5.4.6 +Version: 5.6.0 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm -License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain +License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later Group: Productivity/Archiving/Compression URL: https://tukaani.org/xz/ Source0: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.gz @@ -58,7 +57,7 @@ The xz command is a program for compressing files. %package -n liblzma5 Summary: Lempel–Ziv–Markov chain algorithm compression library -License: SUSE-Public-Domain +License: 0BSD Group: System/Libraries %description -n liblzma5 @@ -66,7 +65,7 @@ Library for encoding/decoding LZMA files. %package devel Summary: Development package for the LZMA library -License: SUSE-Public-Domain +License: 0BSD Group: Development/Libraries/C and C++ Requires: liblzma5 = %{version} Provides: lzma-devel = %{version} @@ -100,6 +99,10 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie" %if %{with static} %configure \ --with-pic \ + --enable-year2038 \ + --enable-symbol-versions \ + --enable-sandbox=landlock \ + --enable-ifunc \ --docdir=%{_docdir}/%{name} \ --disable-shared CONFIG_SHELL=/bin/sh %make_build -- 2.51.1 From 6414d69834a474d51ee64e62f7daef986c7559b0bb1e99705e80355a0393e8d6 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 5 Mar 2024 12:12:51 +0000 Subject: [PATCH 107/126] OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=146 --- xz.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/xz.spec b/xz.spec index c53fcff..8d79d9c 100644 --- a/xz.spec +++ b/xz.spec @@ -103,6 +103,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie" --enable-symbol-versions \ --enable-sandbox=landlock \ --enable-ifunc \ + --enable-external-sha256 \ --docdir=%{_docdir}/%{name} \ --disable-shared CONFIG_SHELL=/bin/sh %make_build -- 2.51.1 From 3b0ae7137400413b301dfa6c214c6b164c6c6088f5dc3011fef7273a025cb798 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 17 Mar 2024 11:50:41 +0000 Subject: [PATCH 108/126] Accepting request 1156708 from home:AndreasStieger:branches:Base:System xz 5.6.1 OBS-URL: https://build.opensuse.org/request/show/1156708 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=148 --- xz-5.6.0.tar.gz | 3 --- xz-5.6.0.tar.gz.sig | Bin 566 -> 0 bytes xz-5.6.1.tar.gz | 3 +++ xz-5.6.1.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 9 +++++++++ xz.spec | 3 +-- 6 files changed, 13 insertions(+), 5 deletions(-) delete mode 100644 xz-5.6.0.tar.gz delete mode 100644 xz-5.6.0.tar.gz.sig create mode 100644 xz-5.6.1.tar.gz create mode 100644 xz-5.6.1.tar.gz.sig diff --git a/xz-5.6.0.tar.gz b/xz-5.6.0.tar.gz deleted file mode 100644 index ca379c5..0000000 --- a/xz-5.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0f5c81f14171b74fcc9777d302304d964e63ffc2d7b634ef023a7249d9b5d875 -size 3036813 diff --git a/xz-5.6.0.tar.gz.sig b/xz-5.6.0.tar.gz.sig deleted file mode 100644 index a35bec503eb3b6c0594e97ce3b5116db120fd784311013bfee75c8d8ba056100..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*8)MfIt!E=B+AjaNV{PG9>r}RYy0%h5&fdC2#5Lx{4 z2mYt@MKp^L0FsE0nxaZsQw+a`0;g|bQcXlj0GwKYqi-6N7wh7V<&5Acr@IzfNSoGZ zGh`xG8b%?naxr+P3pAa&cgAQ2&tvvqz^1Q~Mhr%sba+s6 zH9d945PO6XYyyMgnh!}kKx7W{cLX8B{_3r&u&Nj#cMo17{v0fhES7>j_>{FOcWjAP3gWGcvl-aqnqgY=*{HfOW*lMw-=Dkg*eS3Q0|6_f$U)u2R8 z?>1R*gh#%F>DcMvQlwv0^mD@LvnGhZW34t`6N96fUg{=#?YdRE5NS56u7Sdi7hP+t6|~rDYAQ7 z8=~?o7U{IcpzeMgCefiLM~jEbArS2;G>v#j$7wNlHztbCYIngg8<}af0?z{)LZ{Y~ E+!wSJ82|tP diff --git a/xz-5.6.1.tar.gz b/xz-5.6.1.tar.gz new file mode 100644 index 0000000..670590c --- /dev/null +++ b/xz-5.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2398f4a8e53345325f44bdd9f0cc7401bd9025d736c6d43b372f4dea77bf75b8 +size 3045434 diff --git a/xz-5.6.1.tar.gz.sig b/xz-5.6.1.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..157af7d1c6fa96fda7e4122af368cebdf4fc906b2509db7dcf097d5fff2924d5 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j*8)MfIt!E=B+AjaNV{PG9>r}RYy0%hzRPyh-E5Lx{4 z2mYt@Md1Jt0J}z;nNGtfS^9(nR=KQ&_U}r)h0m!PU_(g``^I5Ld3A3S_x572Pt|aFRJ3=k=Vgy{R$+F(1Dxzvwi#Zh=gJx(?cEIH{1Kg Eh{stISO5S3 literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index 6f3671f..4b1ba82 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Mar 10 11:43:13 UTC 2024 - Andreas Stieger + +- update to 5.6.1: + * liblzma: Fix start-up crashes with -fprofile-generate + * liblzma: Fix false positive invalid write Valgrind report + * xz: Change the messages for thread reduction due to memory + constraints to only appear under the highest verbosity level + ------------------------------------------------------------------- Tue Mar 5 11:25:55 UTC 2024 - Dirk Müller diff --git a/xz.spec b/xz.spec index 8d79d9c..515548b 100644 --- a/xz.spec +++ b/xz.spec @@ -23,7 +23,7 @@ %bcond_with static %endif Name: xz -Version: 5.6.0 +Version: 5.6.1 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later @@ -212,7 +212,6 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %if %{with static} %files static-devel -%defattr(-, root, root) %{_libdir}/liblzma.a %endif -- 2.51.1 From c75a7917fefa528544db85dac14c5fe7dbf461d1b590ad259062571496b534f7 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 28 Mar 2024 12:14:32 +0000 Subject: [PATCH 109/126] OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=151 --- xz-5.4.6.tar.gz | 3 ++ xz-5.4.6.tar.gz.sig | Bin 0 -> 566 bytes xz.changes | 97 -------------------------------------------- xz.spec | 9 ++-- 4 files changed, 6 insertions(+), 103 deletions(-) create mode 100644 xz-5.4.6.tar.gz create mode 100644 xz-5.4.6.tar.gz.sig diff --git a/xz-5.4.6.tar.gz b/xz-5.4.6.tar.gz new file mode 100644 index 0000000..d2111e9 --- /dev/null +++ b/xz-5.4.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aeba3e03bf8140ddedf62a0a367158340520f6b384f75ca6045ccc6c0d43fd5c +size 2889306 diff --git a/xz-5.4.6.tar.gz.sig b/xz-5.4.6.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..2ff5950e9d042ea0eb06d89aee73d61c817964c8f864cfe5af81e537fd3f0a43 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j*8)MfIt!E=B+AjaNV{PG9>r}RYy0%fzDGyn<-5Lx{4 z2mYt@MNNed`vv`Sl=TfB;V8bEvLC|HwbHpkIH{SsE~2Ofkny^m0H)&1q!gN`^%|Tl zc_rVkl;iWG9EGDYwKdr+V%&+;(}Hhc4o^SSi?Xr3J#ar0kczRc-zd~beD01i=5q;T zb8b71>6qmOZC0^sK>MBAkdmdL3E<53gDw>*c(zS1lG0Y?XMc%i3V4&d>MzDAPJ{AK zVJr`AsErK_%&X6BS);SM=Sm!^b@+JwVeK1rg*2Ruk=m6)9A3HY>*#-b5twfLxkTAW??{M&%&W@|qM}O{_jN>TAz9VOPCPBc7$9Q5qs?sTjJ{(YN!w&<%lo`&*8cq1g@cFFtbU>4Fm8g3+J;6PVWg5mxGOt}5e0V3Xg93KpF9Kj%p)|NUcy}jEWzdCa~ntpMrnXgr*jEYPMI@mY+ zeSu@M$iW^h)~ne^;hOKX7&9pW$hA4<3DfhLkfFwf?%dB{k-2Fxmy9Uf+yomrBZW#0 Eoa+r8hX4Qo literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index 4b1ba82..b02f56a 100644 --- a/xz.changes +++ b/xz.changes @@ -1,100 +1,3 @@ -------------------------------------------------------------------- -Sun Mar 10 11:43:13 UTC 2024 - Andreas Stieger - -- update to 5.6.1: - * liblzma: Fix start-up crashes with -fprofile-generate - * liblzma: Fix false positive invalid write Valgrind report - * xz: Change the messages for thread reduction due to memory - constraints to only appear under the highest verbosity level - -------------------------------------------------------------------- -Tue Mar 5 11:25:55 UTC 2024 - Dirk Müller - -- update to 5.6.0: - * This bumps the minor version of liblzma because new - features were added. The API and ABI are still backward - compatible with liblzma 5.4.x and 5.2.x and 5.0.x. - * liblzma: - - Disabled the branchless C variant in the LZMA - decoder based on the benchmark results from the community. - - Disabled x86-64 inline assembly on x32 to fix the - build. - * Sandboxing support in xz: - - Landlock is now used even when xz needs to create - files. - - Landlock and pledge(2) are now stricter when - reading from more than one input file and only writing to - standard output. - - Added support for Landlock ABI version 4. - - Now builds lzmainfo and lzmadec. - - xzdiff, xzgrep, xzless, xzmore, and their symlinks - are now installed. The scripts are also tested during "make - test". - - Added translation support for xz, lzmainfo, and the - man pages. - - Minimum required CMake version is now 3.14. - * liblzma: - - LZMA decoder: Speed optimizations to the C code and - added GCC & Clang compatible inline assembly for - x86-64. - - Added lzma_mt_block_size() to recommend a Block - size for multithreaded encoding. - - Added CLMUL-based CRC32 on x86-64 and E2K with - runtime processor detection. Similar to CRC64, on 32-bit - x86 it isn't available unless --disable-assembler is used. - - Optimized the CRC32 calculation on ARM64 platforms - using the CRC32 instructions. Runtime detection for the - instruction is used on GNU/Linux, FreeBSD, Windows, and macOS. - - Added definitions of mask values like - LZMA_INDEX_CHECK_MASK_CRC32 to . - * Licensing change: The core components are now under the - * BSD Zero Clause License (0BSD). In XZ Utils 5.4.6 and - older and 5.5.1alpha these components are in the public - domain and obviously remain so; the change affects the new - releases only. - * 0BSD is an extremely permissive license which doesn't - require retaining or reproducing copyright or license notices - when distributing the code, thus in practice there is - extremely little difference to public domain. - * liblzma - - Significant speed optimizations to the LZMA decoder - were made. There are now three variants that can be - chosen at build time: - * Basic C version: This is a few percent faster than - 5.4.x due to some new optimizations. - * Branchless C: This is currently the default on platforms - for which there is no assembly code. This should be a few - percent faster than the basic C version. - * x86-64 inline assembly. This works with GCC and Clang. - The default choice can currently be overridden by - setting LZMA_RANGE_DECODER_CONFIG in CPPFLAGS: 0 means the - basic version and 3 means that branchless C version. - * Added a new filter for RISC-V binaries. The filter can be - used for 32-bit and 64-bit binaries with either little or - big endianness. In liblzma, the Filter ID is - LZMA_FILTER_RISCV (0x0B) - - Implemented GNU indirect function (IFUNC) as a - runtime function dispatching method for CRC32 and CRC64 - fast implementations on x86. Only GNU/Linux (glibc) and - * xz: - - Multithreaded mode is now the default. This - improves compression speed and creates .xz files that can be - decompressed multithreaded at the cost of increased - memory usage and slightly worse compression ratio. - - Added new command line option --filters to set the - filter chain using liblzma filter string syntax. - - Added new command line options --filters1 ... - --filters9 to set additional filter chains using liblzma filter - string syntax. The --block-list option now allows - specifying filter chains that were set using these new options. - - Added support for Linux Landlock as a sandboxing - method. - - xzdec now supports pledge(2), Capsicum, and Linux - Landlock as sandboxing methods. -- enable y2038 mode -- enable zstd compression, we no longer have bootstrap - issues as xz is no longer used - ------------------------------------------------------------------- Mon Jan 29 21:36:02 UTC 2024 - Danilo Spinella diff --git a/xz.spec b/xz.spec index 515548b..07b0a75 100644 --- a/xz.spec +++ b/xz.spec @@ -22,8 +22,9 @@ %else %bcond_with static %endif +%define _binary_payload w9.bzdio Name: xz -Version: 5.6.1 +Version: 5.4.6 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later @@ -99,11 +100,6 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie" %if %{with static} %configure \ --with-pic \ - --enable-year2038 \ - --enable-symbol-versions \ - --enable-sandbox=landlock \ - --enable-ifunc \ - --enable-external-sha256 \ --docdir=%{_docdir}/%{name} \ --disable-shared CONFIG_SHELL=/bin/sh %make_build @@ -212,6 +208,7 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %if %{with static} %files static-devel +%defattr(-, root, root) %{_libdir}/liblzma.a %endif -- 2.51.1 From b3c81559bfe410c2c981c78af2adf3f3df6175da97ada18f6e08b6e3da3eea5c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 28 Mar 2024 12:14:43 +0000 Subject: [PATCH 110/126] OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=152 --- xz-5.6.1.tar.gz | 3 --- xz-5.6.1.tar.gz.sig | Bin 566 -> 0 bytes 2 files changed, 3 deletions(-) delete mode 100644 xz-5.6.1.tar.gz delete mode 100644 xz-5.6.1.tar.gz.sig diff --git a/xz-5.6.1.tar.gz b/xz-5.6.1.tar.gz deleted file mode 100644 index 670590c..0000000 --- a/xz-5.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2398f4a8e53345325f44bdd9f0cc7401bd9025d736c6d43b372f4dea77bf75b8 -size 3045434 diff --git a/xz-5.6.1.tar.gz.sig b/xz-5.6.1.tar.gz.sig deleted file mode 100644 index 157af7d1c6fa96fda7e4122af368cebdf4fc906b2509db7dcf097d5fff2924d5..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*8)MfIt!E=B+AjaNV{PG9>r}RYy0%hzRPyh-E5Lx{4 z2mYt@Md1Jt0J}z;nNGtfS^9(nR=KQ&_U}r)h0m!PU_(g``^I5Ld3A3S_x572Pt|aFRJ3=k=Vgy{R$+F(1Dxzvwi#Zh=gJx(?cEIH{1Kg Eh{stISO5S3 -- 2.51.1 From 9f44ada4320244a23eb659a349ab5ef895930bc7e0bbaf015b130daa9f7d062b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 28 Mar 2024 13:51:25 +0000 Subject: [PATCH 111/126] - restore a bigger version number so that update works OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=154 --- xz.changes | 5 +++++ xz.spec | 24 ++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/xz.changes b/xz.changes index b02f56a..41cc3d6 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 28 13:51:05 UTC 2024 - Dirk Müller + +- restore a bigger version number so that update works + ------------------------------------------------------------------- Mon Jan 29 21:36:02 UTC 2024 - Danilo Spinella diff --git a/xz.spec b/xz.spec index 07b0a75..ac1735d 100644 --- a/xz.spec +++ b/xz.spec @@ -24,21 +24,21 @@ %endif %define _binary_payload w9.bzdio Name: xz -Version: 5.4.6 +Version: 5.6.1.revertto5.4 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later Group: Productivity/Archiving/Compression URL: https://tukaani.org/xz/ -Source0: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.gz -Source1: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.gz.sig +Source0: https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.gz +Source1: https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.gz.sig Source2: baselibs.conf Source3: https://tukaani.org/misc/jia_tan_pubkey.txt#/%{name}.keyring Source4: xznew Source5: xznew.1 BuildRequires: pkgconfig -Provides: lzma = %{version} -Obsoletes: lzma < %{version} +Provides: lzma = 5.4.6 +Obsoletes: lzma < 5.4.6 %{?suse_build_hwcaps_libs} %description @@ -68,11 +68,11 @@ Library for encoding/decoding LZMA files. Summary: Development package for the LZMA library License: 0BSD Group: Development/Libraries/C and C++ -Requires: liblzma5 = %{version} -Provides: lzma-devel = %{version} -Obsoletes: lzma-devel < %{version} -Provides: lzma-alpha-devel = %{version} -Obsoletes: lzma-alpha-devel < %{version} +Requires: liblzma5 = 5.4.6 +Provides: lzma-devel = 5.4.6 +Obsoletes: lzma-devel < 5.4.6 +Provides: lzma-alpha-devel = 5.4.6 +Obsoletes: lzma-alpha-devel < 5.4.6 %description devel This package contains the header files and libraries needed for @@ -83,14 +83,14 @@ compiling programs using the LZMA library. Summary: Static version of LZMA library License: SUSE-Public-Domain Group: Development/Libraries/C and C++ -Requires: lzma-devel = %{version} +Requires: lzma-devel = 5.4.6 %description static-devel Static library for the LZMA library %endif %prep -%autosetup +%autosetup -n xz-5.4.6 %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects -- 2.51.1 From 692e90257b5a91258433d4dab4f5d94df81c71e5c8a62f4bff2413292e6b252b Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 28 Mar 2024 14:17:23 +0000 Subject: [PATCH 112/126] Updating link to change in openSUSE:Factory/xz revision 89 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=f0e651633b665b1bd51c792b12798a48 --- xz.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/xz.spec b/xz.spec index ac1735d..6330c41 100644 --- a/xz.spec +++ b/xz.spec @@ -60,6 +60,7 @@ The xz command is a program for compressing files. Summary: Lempel–Ziv–Markov chain algorithm compression library License: 0BSD Group: System/Libraries +Provides: liblzma5 = 5.4.6 %description -n liblzma5 Library for encoding/decoding LZMA files. -- 2.51.1 From c5626b74bb626dbfd158cb19e69e73301035c0878ac94f2d66fc0199f28ed3f0 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 28 Mar 2024 14:17:23 +0000 Subject: [PATCH 113/126] Fix versioned provides of liblzma OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=89 --- xz.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/xz.spec b/xz.spec index ac1735d..6330c41 100644 --- a/xz.spec +++ b/xz.spec @@ -60,6 +60,7 @@ The xz command is a program for compressing files. Summary: Lempel–Ziv–Markov chain algorithm compression library License: 0BSD Group: System/Libraries +Provides: liblzma5 = 5.4.6 %description -n liblzma5 Library for encoding/decoding LZMA files. -- 2.51.1 From ca447e9ac232f93bd695065c906b24a03dd5d4bdff94d7b84a73fc9b129d8034 Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Thu, 4 Apr 2024 07:56:08 +0000 Subject: [PATCH 114/126] Accepting request 1164499 from home:dancermak:branches:Base:System Bump epoch to 1 and restore a sane version number OBS-URL: https://build.opensuse.org/request/show/1164499 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=156 --- xz.changes | 5 +++++ xz.spec | 27 ++++++++++++++------------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/xz.changes b/xz.changes index 41cc3d6..23bd3e8 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 4 07:16:46 UTC 2024 - Dan Čermák + +- Bump epoch to 1 and restore a sane version number + ------------------------------------------------------------------- Thu Mar 28 13:51:05 UTC 2024 - Dirk Müller diff --git a/xz.spec b/xz.spec index 6330c41..0f43e7b 100644 --- a/xz.spec +++ b/xz.spec @@ -24,21 +24,22 @@ %endif %define _binary_payload w9.bzdio Name: xz -Version: 5.6.1.revertto5.4 +Version: 5.4.6 +Epoch: 1 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later Group: Productivity/Archiving/Compression URL: https://tukaani.org/xz/ -Source0: https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.gz -Source1: https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.gz.sig +Source0: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.gz +Source1: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.gz.sig Source2: baselibs.conf Source3: https://tukaani.org/misc/jia_tan_pubkey.txt#/%{name}.keyring Source4: xznew Source5: xznew.1 BuildRequires: pkgconfig -Provides: lzma = 5.4.6 -Obsoletes: lzma < 5.4.6 +Provides: lzma = %{version} +Obsoletes: lzma < %{version} %{?suse_build_hwcaps_libs} %description @@ -60,7 +61,7 @@ The xz command is a program for compressing files. Summary: Lempel–Ziv–Markov chain algorithm compression library License: 0BSD Group: System/Libraries -Provides: liblzma5 = 5.4.6 +Provides: liblzma5 = %{version} %description -n liblzma5 Library for encoding/decoding LZMA files. @@ -69,11 +70,11 @@ Library for encoding/decoding LZMA files. Summary: Development package for the LZMA library License: 0BSD Group: Development/Libraries/C and C++ -Requires: liblzma5 = 5.4.6 -Provides: lzma-devel = 5.4.6 -Obsoletes: lzma-devel < 5.4.6 -Provides: lzma-alpha-devel = 5.4.6 -Obsoletes: lzma-alpha-devel < 5.4.6 +Requires: liblzma5 = %{version} +Provides: lzma-devel = %{version} +Obsoletes: lzma-devel < %{version} +Provides: lzma-alpha-devel = %{version} +Obsoletes: lzma-alpha-devel < %{version} %description devel This package contains the header files and libraries needed for @@ -84,14 +85,14 @@ compiling programs using the LZMA library. Summary: Static version of LZMA library License: SUSE-Public-Domain Group: Development/Libraries/C and C++ -Requires: lzma-devel = 5.4.6 +Requires: lzma-devel = %{version} %description static-devel Static library for the LZMA library %endif %prep -%autosetup -n xz-5.4.6 +%autosetup %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects -- 2.51.1 From f9cf377b86113b199bef377ebe6d9a360dc38361e8c967964548eeda62862fff Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Thu, 4 Apr 2024 12:23:38 +0000 Subject: [PATCH 115/126] Accepting request 1164582 from home:dancermak:branches:Base:System Revert Epoch, introduce multibuild and switch to using tar_scm for fetching the sources OBS-URL: https://build.opensuse.org/request/show/1164582 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=157 --- _multibuild | 3 ++ _service | 16 ++++++++ _servicedata | 4 ++ xz-5.4.6.tar.gz | 3 -- xz-5.4.6.tar.gz.sig | Bin 566 -> 0 bytes xz-5.4.6.tar.zst | 3 ++ xz.changes | 5 ++- xz.keyring | 52 ------------------------- xz.spec | 92 ++++++++++++++++++++++++++++++++++++-------- 9 files changed, 107 insertions(+), 71 deletions(-) create mode 100644 _multibuild create mode 100644 _service create mode 100644 _servicedata delete mode 100644 xz-5.4.6.tar.gz delete mode 100644 xz-5.4.6.tar.gz.sig create mode 100644 xz-5.4.6.tar.zst delete mode 100644 xz.keyring diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..339c630 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + lang + diff --git a/_service b/_service new file mode 100644 index 0000000..0e08d7f --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + https://git.tukaani.org/xz.git + git + v5.4.6 + @PARENT_TAG@ + enable + v(.*) + + + + + *.tar + zstd + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..8f785ff --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://git.tukaani.org/xz.git + 6e8732c5a317a349986a4078718f1d95b67072c5 \ No newline at end of file diff --git a/xz-5.4.6.tar.gz b/xz-5.4.6.tar.gz deleted file mode 100644 index d2111e9..0000000 --- a/xz-5.4.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aeba3e03bf8140ddedf62a0a367158340520f6b384f75ca6045ccc6c0d43fd5c -size 2889306 diff --git a/xz-5.4.6.tar.gz.sig b/xz-5.4.6.tar.gz.sig deleted file mode 100644 index 2ff5950e9d042ea0eb06d89aee73d61c817964c8f864cfe5af81e537fd3f0a43..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*8)MfIt!E=B+AjaNV{PG9>r}RYy0%fzDGyn<-5Lx{4 z2mYt@MNNed`vv`Sl=TfB;V8bEvLC|HwbHpkIH{SsE~2Ofkny^m0H)&1q!gN`^%|Tl zc_rVkl;iWG9EGDYwKdr+V%&+;(}Hhc4o^SSi?Xr3J#ar0kczRc-zd~beD01i=5q;T zb8b71>6qmOZC0^sK>MBAkdmdL3E<53gDw>*c(zS1lG0Y?XMc%i3V4&d>MzDAPJ{AK zVJr`AsErK_%&X6BS);SM=Sm!^b@+JwVeK1rg*2Ruk=m6)9A3HY>*#-b5twfLxkTAW??{M&%&W@|qM}O{_jN>TAz9VOPCPBc7$9Q5qs?sTjJ{(YN!w&<%lo`&*8cq1g@cFFtbU>4Fm8g3+J;6PVWg5mxGOt}5e0V3Xg93KpF9Kj%p)|NUcy}jEWzdCa~ntpMrnXgr*jEYPMI@mY+ zeSu@M$iW^h)~ne^;hOKX7&9pW$hA4<3DfhLkfFwf?%dB{k-2Fxmy9Uf+yomrBZW#0 Eoa+r8hX4Qo diff --git a/xz-5.4.6.tar.zst b/xz-5.4.6.tar.zst new file mode 100644 index 0000000..cb42470 --- /dev/null +++ b/xz-5.4.6.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efbbd1d2917dd3b1b8e7c691ad287f96792b87c6888efc28482c06dc6e5044e5 +size 907627 diff --git a/xz.changes b/xz.changes index 23bd3e8..54e4f9e 100644 --- a/xz.changes +++ b/xz.changes @@ -1,7 +1,10 @@ ------------------------------------------------------------------- Thu Apr 4 07:16:46 UTC 2024 - Dan Čermák -- Bump epoch to 1 and restore a sane version number +- Switch to using tar_scm for fetching the sources as the upstream + tarballs on github are gone +- introduce _multibuild to allow building the translations outside + of Ring0 and everything else in Ring0 ------------------------------------------------------------------- Thu Mar 28 13:51:05 UTC 2024 - Dirk Müller diff --git a/xz.keyring b/xz.keyring deleted file mode 100644 index 597d039..0000000 --- a/xz.keyring +++ /dev/null @@ -1,52 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- - -mQINBGOsX3EBEADZxyfiZVg7aub+JoBG+sPChHUwbJc+SH7BWOPbu4HLNfk6ZUzi -/JSBYIGIIrqGkA60Pu1CbplkVF4UG0YBAAE/j11puWMHrydxTY9Hoc/rYOBq+0AE -mWnG0VINjpF3dNGlrmlikORzpW/FAHy8B1nD8P7vulPooc9FgkOmFM8nAP24TURU -h8G8cGY0jqpVxTiQqAi9KPxTlnY5s7hhgW0Nd3mIF4QSoPofMPnV5DTYS1LJw6XB -9K3DR4bsD7YYF2TdYGvlk/bJNu9DB1NuiWjpnzLIkPdtxpcPORXgiWE6wvzFncJn -G5tqbdQ//ylZAjOFbCntMMO7ve3JXWjEM6mDEuqlmlaHrF21Y+mQN5i2BdRKfMiQ -HB9KsveTz2Ev4cO9Tblzsm/oDvYR29LORjJl3PE3jqNSVbABih2OGnMAS9345a5u -n1vyP3x6/oAyZ7Q0iKzZml47nsl40dQk4z3aJp9ya3lph5ANQP3uzwQtDSZgkDy/ -JDyIL/z19FtAgA7QugWkx4HsSzmZnE5GQJImA0/XxXYNck2NqQ9YJ/RY8W3aD4dp -mnFAYE1Yi5kutrVlfqzKujBpi3/JfSM1hkJdcRJ7rrOw69JXVvbqVW1EiX8gp8Ka -GV6g0MN/G15dJT/AMY9/XwEFIYP7vZl32Qx7A67jokNB7bKCZxWexppRrQARAQAB -tBxKaWEgVGFuIDxqaWF0MDIxOEBnbWFpbC5jb20+iQJUBBMBCgA+FiEEItRl8rTB -c4A7IMbeWfzyB/6n9EUFAmOsX3ECGwMFCQlmAYAFCwkIBwIGFQoJCAsCBBYCAwEC -HgECF4AACgkQWfzyB/6n9EXJkhAAvvfTCu2w8FReaAv954ublcN6SFBuyXcXPeNZ -46ZBm6LfMErbj6wGyLzXiU3WMuPvwDliX5/Etkhj+juj/XlAK7DtRUa8Jf6R2u1o -FaGodx63gjzEoOXrSYoWt1ANwADLnMp5MT1P14PHJcCKSyj2qcVOaKVvWYRw2Yeo -Kd8tc0Wcm2NPxCk+nzUVPT8bO62kJN4pnalWA3ultozZiSoqcMelwI8czYUY3TiB -L+FqOUR2438TFnWDGnaI37ZXkjTYSEIRuneo3vjLcJDmSwrdyL3NsIbXySnN8ga3 -kZi6hgjIS/Th3KhKzyWpuj9ydBMAMniYUBRFbKl/pH8PtzQ258ToxVjiG/hBrEbq -X0P8RyAd6YiiHDOPjPqj1lnNeeliIytBtHzH1HB3a2Eg5ZY7iG4DMg82IU/qcL9l -aPHslYi93LhvaUR+APAjhd71PAexXxQkEtsUOPPybFTCVrG679RCLeV4M32PZ99c -BGY0ekPo653ITaAwBQyZJvAVsP5A0gbRPYok/c/qE+lfF8UuPPyUOBk0IYyiA4MR -W7qSu2gFkOHT5yJgyd7MtvzJvzVnt3kTQCsQdNGAIZ8NTx6PbWj9qtSmpXz3H+XR -JH/9xvXhL3v22q82uBfAEMk3h31KFESGo5pwarthwfQvQL/6MumdLJELXzijAY0v -w9nxEOW5Ag0EY6xfcQEQANCo3Vf8eHyTlhvusQ4inItxocgY06JhgBCkw9m/YiVI -0Pekf0WatCy1fNIJJlyNgjQGQ+37pLP6d2xwzdJc8Gm15bGlfrth5aYfNdcBLR1S -MJ7JnX0zcjRiPwI+Z8XAVoGu7vzGIScEopDMiI4xTdc7GlgPyE27Gd2A0MwzR2lQ -i03aSLloXh6h+j7GL4C3fYg+/Xct/w5d1stNWDpqOl3BQqrcT9PcvhZTSC93g4YW -hBFNZiYFL0pMg+Wg62/yJ49mjWOkcPKdhKmWDOx6vV88Pabwxh+sSKaWh3DZ23pW -iMohEN0tynwMIK1DT4D7BxuP4gCKhPkfxcL8dMkFHbqdgfUEgdDr1Ritxt4El3AZ -oCk3GSc0uESAWp1NQcM7ZiuWlmT90I0cHPmfxJLV6tRIM0iCxmowuVGQP82/qbT1 -C6G66HgRMmA5CnaUsDa1vVxMF8trdU8Pkr6OpPn12gmwz31j1JxvSq4RwSxLl77w -H3kTJY3qO/lMYhqx0+mK57CPaYsjoqA5xnqzVdtwfJI3tPwttlrjfoDQSn2baZu5 -9pvYC/IVxOgjTiyIguS8LSBj08iOqZLoLBuqPDzkQwvcCL8TcxEde2yoDi6wI+Ws -XevpBcY2fkItqcRDiPQJ7FuEAnRAa8SfcFLUG9cwHg7RmeSp5WrfOw+7xdqj1ImF -ABEBAAGJAjwEGAEKACYWIQQi1GXytMFzgDsgxt5Z/PIH/qf0RQUCY6xfcQIbDAUJ -CWYBgAAKCRBZ/PIH/qf0RW8dD/9tQqJ4bcRXLPXrQzbBiMpRBiLqRxlpeS2nwFUr -ryv7JCbAbgZ4GqKa3tR/5oUfICZwgSJhVUMeFfUtDAOuLVRBEHAksVxztUxpAVzF -2tH6ZrvTI26tzFQw5U+xrTEl3eazNgZF6Qsqv5313RI8SrUAhv95s0A8CdVIi3RZ -5LPPsoT/XggtaSz28iSaZxDChjY5jNNvC8sjp445+egpglXxjR24otShUDaZLd6Y -LfMHTR1raOoIZd8lbRoUAJ32vkXu2UUPgI6GC0HaEyHQQ3faG5SGUrcWuA6XOD9p -7Xtu3SDgAUE6gbxUeCQWiFm2c+dEoldtr4n3BXIOOKfPHi/hiNVDmGWzPsB2XzCb -oUPHfWj4p54I+IFf+wt3IuR0H9OqXipL/9yE2cHkp7zaIVuc43xPa2FVOkJL0XnF -M67tSMKVaKFA6myewHDrteBDyZVt4IH8clejhs6cwWOf9DOcbPQO1C94vMc+Glah -oCL0FGS1mU/CumiNB1zCP0o29IUXQvLk/mM8w/zL65sfilbfm7kLk1l8UOy/pUxk -4U9Kpv79Z7aIUwSZVXkkfQuHlmGCm0y6QKLTaZQL68uDXrMpWO2O2B+tOCJibGFz -ecPedd7w77GKqjMHXcVX3Hd2wnZAMTwIJsjHG4qO/LfA8jze5+Ohd3qzilP7ziwm -aK5MKg== -=d3XT ------END PGP PUBLIC KEY BLOCK----- diff --git a/xz.spec b/xz.spec index 0f43e7b..a69b653 100644 --- a/xz.spec +++ b/xz.spec @@ -15,6 +15,13 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "lang" +%bcond_without lang +%else +%bcond_with lang +%endif + # avoid bootstrapping problem %if 0%{?suse_version} == 1500 @@ -23,23 +30,38 @@ %bcond_with static %endif %define _binary_payload w9.bzdio + +%global real_ver 5.4.6 + Name: xz -Version: 5.4.6 -Epoch: 1 +Version: 5.6.1.revertto5.4 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later Group: Productivity/Archiving/Compression URL: https://tukaani.org/xz/ -Source0: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.gz -Source1: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.gz.sig +Source0: %{name}-%{real_ver}.tar.zst Source2: baselibs.conf -Source3: https://tukaani.org/misc/jia_tan_pubkey.txt#/%{name}.keyring Source4: xznew Source5: xznew.1 BuildRequires: pkgconfig -Provides: lzma = %{version} -Obsoletes: lzma < %{version} +BuildRequires: zstd +# for autoreconf +BuildRequires: autoconf +BuildRequires: automake +# required by autoconf for autopoint +BuildRequires: gettext-tools +# needed by autopoint +BuildRequires: findutils +BuildRequires: libtool +%if %{with lang} +# required to update manpage translations +BuildRequires: po4a +BuildArch: noarch +%endif + +Provides: lzma = %{real_ver} +Obsoletes: lzma < %{real_ver} %{?suse_build_hwcaps_libs} %description @@ -55,13 +77,16 @@ The xz command is a program for compressing files. decompressing speed. * Very similar command line interface to what gzip and bzip2 have. +%if %{with lang} %lang_package +%else + %package -n liblzma5 Summary: Lempel–Ziv–Markov chain algorithm compression library License: 0BSD Group: System/Libraries -Provides: liblzma5 = %{version} +Provides: liblzma5 = %{real_ver} %description -n liblzma5 Library for encoding/decoding LZMA files. @@ -70,11 +95,11 @@ Library for encoding/decoding LZMA files. Summary: Development package for the LZMA library License: 0BSD Group: Development/Libraries/C and C++ -Requires: liblzma5 = %{version} -Provides: lzma-devel = %{version} -Obsoletes: lzma-devel < %{version} -Provides: lzma-alpha-devel = %{version} -Obsoletes: lzma-alpha-devel < %{version} +Requires: liblzma5 = %{real_ver} +Provides: lzma-devel = %{real_ver} +Obsoletes: lzma-devel < %{real_ver} +Provides: lzma-alpha-devel = %{real_ver} +Obsoletes: lzma-alpha-devel < %{real_ver} %description devel This package contains the header files and libraries needed for @@ -85,25 +110,32 @@ compiling programs using the LZMA library. Summary: Static version of LZMA library License: SUSE-Public-Domain Group: Development/Libraries/C and C++ -Requires: lzma-devel = %{version} +Requires: lzma-devel = %{real_ver} %description static-devel Static library for the LZMA library %endif +# without lang +%endif + %prep -%autosetup +%autosetup -n %{name}-%{real_ver} %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CFLAGS="%{optflags} -D_REENTRANT -pipe -fPIE" export LDFLAGS="-Wl,-z,relro,-z,now -pie" + +autoreconf -fi + # Either we build it without pic enabled, or we build one at a time %if %{with static} %configure \ --with-pic \ --docdir=%{_docdir}/%{name} \ --disable-shared CONFIG_SHELL=/bin/sh + %make_build cp ./src/liblzma/.libs/liblzma.a liblzma.a %endif @@ -120,6 +152,11 @@ cp ./src/liblzma/.libs/liblzma.a liblzma.a %make_build %endif +%if %{with lang} +# update manpage translations +./po4a/update-po +%endif + %check %make_build check @@ -134,10 +171,22 @@ install -Dpm 0644 liblzma.a %{buildroot}%{_libdir}/ %endif rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} +%if %{without lang} %post -n liblzma5 -p /sbin/ldconfig %postun -n liblzma5 -p /sbin/ldconfig +%endif +%if %{with lang} %files lang -f %{name}.lang +# exclude everything of the other packages +%exclude %_docdir +%exclude %_bindir +%exclude %_mandir/man1 +%exclude %{_includedir} +%exclude %_libdir +%exclude /usr/src/debug/ +%exclude /usr/lib/debug/ + %dir %{_mandir}/fr %dir %{_mandir}/de %dir %{_mandir}/ko @@ -145,7 +194,9 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %dir %{_mandir}/ro %dir %{_mandir}/uk %endif +%endif +%if %{without lang} %files %license COPYING COPYING.GPLv2 %{_docdir}/%{name} @@ -198,6 +249,14 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %{_mandir}/man1/xzmore.1%{?ext_man} %{_mandir}/man1/xznew.1%{?ext_man} +# covered by -lang subpackage +%exclude %{_mandir}/fr +%exclude %{_mandir}/de +%exclude %{_mandir}/ko +%exclude %{_mandir}/ro +%exclude %{_mandir}/uk +%exclude /usr/share/locale + %files -n liblzma5 %{_libdir}/liblzma.so.5* @@ -214,4 +273,7 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %{_libdir}/liblzma.a %endif +# without lang end +%endif + %changelog -- 2.51.1 From 145b203220d714864a0a130e715b473a721fb0f47f662aab7885a3a35e005b44 Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Thu, 4 Apr 2024 14:51:12 +0000 Subject: [PATCH 116/126] Accepting request 1164597 from home:dancermak:branches:Base:System - switch to obs_scm - don't abuse %bcond for multibuild - add rpmlintrc for dubious rpmlint warning - add a package suffix for the multibuild lang flavor OBS-URL: https://build.opensuse.org/request/show/1164597 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=158 --- _service | 9 ++++----- xz-5.4.6.obscpio | 3 +++ xz-5.4.6.tar.zst | 3 --- xz-rpmlintrc | 4 ++++ xz.changes | 1 + xz.obsinfo | 4 ++++ xz.spec | 47 +++++++++++++++++++++++++---------------------- 7 files changed, 41 insertions(+), 30 deletions(-) create mode 100644 xz-5.4.6.obscpio delete mode 100644 xz-5.4.6.tar.zst create mode 100644 xz-rpmlintrc create mode 100644 xz.obsinfo diff --git a/_service b/_service index 0e08d7f..212c6b6 100644 --- a/_service +++ b/_service @@ -1,5 +1,5 @@ - + https://git.tukaani.org/xz.git git v5.4.6 @@ -7,10 +7,9 @@ enable v(.*) - - - + + *.tar - zstd + zst diff --git a/xz-5.4.6.obscpio b/xz-5.4.6.obscpio new file mode 100644 index 0000000..583d622 --- /dev/null +++ b/xz-5.4.6.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31f8f522274b3c530492c0309d1b51b8a9a999efc72201282601b82ec799635b +size 5001740 diff --git a/xz-5.4.6.tar.zst b/xz-5.4.6.tar.zst deleted file mode 100644 index cb42470..0000000 --- a/xz-5.4.6.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:efbbd1d2917dd3b1b8e7c691ad287f96792b87c6888efc28482c06dc6e5044e5 -size 907627 diff --git a/xz-rpmlintrc b/xz-rpmlintrc new file mode 100644 index 0000000..e792495 --- /dev/null +++ b/xz-rpmlintrc @@ -0,0 +1,4 @@ +# rpmlint freaks out because we declare the lang multibuild as noarch and +# %_libdir is archspecific, but we either exclude %_libdir or it's in the part +# belonging to the archfull build +addFilter("libdir-macro-in-noarch-package.*%{_libdir}") diff --git a/xz.changes b/xz.changes index 54e4f9e..39d612d 100644 --- a/xz.changes +++ b/xz.changes @@ -5,6 +5,7 @@ Thu Apr 4 07:16:46 UTC 2024 - Dan Čermák tarballs on github are gone - introduce _multibuild to allow building the translations outside of Ring0 and everything else in Ring0 +- add rpmlintrc to silence harmless warnings ------------------------------------------------------------------- Thu Mar 28 13:51:05 UTC 2024 - Dirk Müller diff --git a/xz.obsinfo b/xz.obsinfo new file mode 100644 index 0000000..e793666 --- /dev/null +++ b/xz.obsinfo @@ -0,0 +1,4 @@ +name: xz +version: 5.4.6 +mtime: 1706269280 +commit: 6e8732c5a317a349986a4078718f1d95b67072c5 diff --git a/xz.spec b/xz.spec index a69b653..7296b72 100644 --- a/xz.spec +++ b/xz.spec @@ -17,9 +17,11 @@ %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "lang" -%bcond_without lang +%global with_lang 1 +%global psuffix -lang %else -%bcond_with lang +%global with_lang 0 +%global psuffix %{nil} %endif @@ -33,17 +35,18 @@ %global real_ver 5.4.6 -Name: xz +Name: xz%{psuffix} Version: 5.6.1.revertto5.4 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later Group: Productivity/Archiving/Compression URL: https://tukaani.org/xz/ -Source0: %{name}-%{real_ver}.tar.zst -Source2: baselibs.conf -Source4: xznew -Source5: xznew.1 +Source0: xz-%{real_ver}.tar.zst +Source1: xznew +Source2: xznew.1 +Source3: xz-rpmlintrc +Source4: baselibs.conf BuildRequires: pkgconfig BuildRequires: zstd # for autoreconf @@ -54,7 +57,7 @@ BuildRequires: gettext-tools # needed by autopoint BuildRequires: findutils BuildRequires: libtool -%if %{with lang} +%if %{with_lang} # required to update manpage translations BuildRequires: po4a BuildArch: noarch @@ -77,9 +80,8 @@ The xz command is a program for compressing files. decompressing speed. * Very similar command line interface to what gzip and bzip2 have. -%if %{with lang} -%lang_package - +%if %{with_lang} +%{lang_package -n xz} %else %package -n liblzma5 @@ -120,7 +122,7 @@ Static library for the LZMA library %endif %prep -%autosetup -n %{name}-%{real_ver} +%autosetup -n xz-%{real_ver} %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects @@ -152,7 +154,7 @@ cp ./src/liblzma/.libs/liblzma.a liblzma.a %make_build %endif -%if %{with lang} +%if %{with_lang} # update manpage translations ./po4a/update-po %endif @@ -164,26 +166,26 @@ cp ./src/liblzma/.libs/liblzma.a liblzma.a %make_install find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} --all-name --with-man -install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew -install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 +install -Dpm 0755 %{SOURCE1} %{buildroot}%{_bindir}/xznew +install -Dpm 0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/xznew.1 %if %{with static} install -Dpm 0644 liblzma.a %{buildroot}%{_libdir}/ %endif rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} -%if %{without lang} +%if ! %{with_lang} %post -n liblzma5 -p /sbin/ldconfig %postun -n liblzma5 -p /sbin/ldconfig %endif -%if %{with lang} -%files lang -f %{name}.lang +%if %{with_lang} +%files -n xz-lang -f %{name}.lang # exclude everything of the other packages %exclude %_docdir %exclude %_bindir %exclude %_mandir/man1 %exclude %{_includedir} -%exclude %_libdir +%exclude %{_libdir} %exclude /usr/src/debug/ %exclude /usr/lib/debug/ @@ -194,9 +196,10 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %dir %{_mandir}/ro %dir %{_mandir}/uk %endif -%endif -%if %{without lang} +# with_lang +%else + %files %license COPYING COPYING.GPLv2 %{_docdir}/%{name} @@ -273,7 +276,7 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %{_libdir}/liblzma.a %endif -# without lang end +# with_lang end %endif %changelog -- 2.51.1 From 17272168974a93485c68d63608d592a47d09974fe384a5942e46bf289b1b0e49 Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Wed, 10 Apr 2024 13:05:09 +0000 Subject: [PATCH 117/126] Accepting request 1164991 from home:dancermak:branches:Base:System switch back to tar_scm to not add deps into Ring0 OBS-URL: https://build.opensuse.org/request/show/1164991 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=159 --- _service | 6 +++--- xz-5.4.6.obscpio | 3 --- xz-5.4.6.tar.zst | 3 +++ xz.obsinfo | 4 ---- xz.spec | 3 ++- 5 files changed, 8 insertions(+), 11 deletions(-) delete mode 100644 xz-5.4.6.obscpio create mode 100644 xz-5.4.6.tar.zst delete mode 100644 xz.obsinfo diff --git a/_service b/_service index 212c6b6..c7c03ce 100644 --- a/_service +++ b/_service @@ -1,5 +1,6 @@ - + + https://git.tukaani.org/xz.git git v5.4.6 @@ -7,8 +8,7 @@ enable v(.*) - - + *.tar zst diff --git a/xz-5.4.6.obscpio b/xz-5.4.6.obscpio deleted file mode 100644 index 583d622..0000000 --- a/xz-5.4.6.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:31f8f522274b3c530492c0309d1b51b8a9a999efc72201282601b82ec799635b -size 5001740 diff --git a/xz-5.4.6.tar.zst b/xz-5.4.6.tar.zst new file mode 100644 index 0000000..cb42470 --- /dev/null +++ b/xz-5.4.6.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efbbd1d2917dd3b1b8e7c691ad287f96792b87c6888efc28482c06dc6e5044e5 +size 907627 diff --git a/xz.obsinfo b/xz.obsinfo deleted file mode 100644 index e793666..0000000 --- a/xz.obsinfo +++ /dev/null @@ -1,4 +0,0 @@ -name: xz -version: 5.4.6 -mtime: 1706269280 -commit: 6e8732c5a317a349986a4078718f1d95b67072c5 diff --git a/xz.spec b/xz.spec index 7296b72..0a876a7 100644 --- a/xz.spec +++ b/xz.spec @@ -18,7 +18,8 @@ %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "lang" %global with_lang 1 -%global psuffix -lang +# no dash is intentional to prevent name clashes with -lang subpackage +%global psuffix lang %else %global with_lang 0 %global psuffix %{nil} -- 2.51.1 From 30c75e07aac3b0f726cb98c9e6325998b930cc7cfd852c7806f871a77542f9da Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 12 Apr 2024 16:23:56 +0000 Subject: [PATCH 118/126] - revert the switch to tar_scm which dropped the signature validation - reinstanciate keyring from Lasse - go back to the last release signed by Lasse (5.4.2) - revert multibuild, drop service and rpmlintrc - revert version number messup OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=160 --- _multibuild | 3 -- _service | 15 ------ _servicedata | 4 -- xz-5.4.2.tar.gz | 3 ++ xz-5.4.2.tar.gz.sig | Bin 0 -> 566 bytes xz-5.4.6.tar.zst | 3 -- xz.changes | 10 ++++ xz.keyring | 52 +++++++++++++++++++ xz.spec | 121 +++++++++++--------------------------------- 9 files changed, 95 insertions(+), 116 deletions(-) delete mode 100644 _multibuild delete mode 100644 _service delete mode 100644 _servicedata create mode 100644 xz-5.4.2.tar.gz create mode 100644 xz-5.4.2.tar.gz.sig delete mode 100644 xz-5.4.6.tar.zst create mode 100644 xz.keyring diff --git a/_multibuild b/_multibuild deleted file mode 100644 index 339c630..0000000 --- a/_multibuild +++ /dev/null @@ -1,3 +0,0 @@ - - lang - diff --git a/_service b/_service deleted file mode 100644 index c7c03ce..0000000 --- a/_service +++ /dev/null @@ -1,15 +0,0 @@ - - - - https://git.tukaani.org/xz.git - git - v5.4.6 - @PARENT_TAG@ - enable - v(.*) - - - *.tar - zst - - diff --git a/_servicedata b/_servicedata deleted file mode 100644 index 8f785ff..0000000 --- a/_servicedata +++ /dev/null @@ -1,4 +0,0 @@ - - - https://git.tukaani.org/xz.git - 6e8732c5a317a349986a4078718f1d95b67072c5 \ No newline at end of file diff --git a/xz-5.4.2.tar.gz b/xz-5.4.2.tar.gz new file mode 100644 index 0000000..c3b69b7 --- /dev/null +++ b/xz-5.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87947679abcf77cc509d8d1b474218fd16b72281e2797360e909deaee1ac9d05 +size 2799022 diff --git a/xz-5.4.2.tar.gz.sig b/xz-5.4.2.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..7876e927bd8c0a347b916bf841e7e4acb5a202e66a1552bd31b193d37bc858f4 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%R5CP5=rC5IF92 zeQ6j*AbZ{q|4z8BPxQ9l=?ie84$gtwNjGHtc7#xq9?tQL6SyPkL(11cxRYXb#Rj>% zf@0%E66FIUH4kZW_j>weKPH-cZFum{#-Q^EmB=TPA87sKKVkifaW z1}(CfGE@O0HjVTor%jA5_|nzi{pd7y%DvWViwd;LjJF{iIds}V4jd2Jg5swssAWl zW7N2*B+eOu1;oC|iL#eKD1EOQuOPuKhdi9Qh@NwZatn&f`tI>h+kNp!Snzg1VV`hn z(|_4l7dR+tn*?iHawG0=U1XApI%9X%j8LuTHvOlGE+^Y$=uE0usy&e!2X4Ya_mi)) z=}Ry|fk`fm6clQn$*`_?!23%(Y?8>p! EpEw^4;{X5v literal 0 HcmV?d00001 diff --git a/xz-5.4.6.tar.zst b/xz-5.4.6.tar.zst deleted file mode 100644 index cb42470..0000000 --- a/xz-5.4.6.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:efbbd1d2917dd3b1b8e7c691ad287f96792b87c6888efc28482c06dc6e5044e5 -size 907627 diff --git a/xz.changes b/xz.changes index 39d612d..997f041 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Apr 12 16:22:12 UTC 2024 - Dirk Müller + +- revert the switch to tar_scm which dropped the signature + validation +- reinstanciate keyring from Lasse +- go back to the last release signed by Lasse (5.4.2) +- revert multibuild, drop service and rpmlintrc +- revert version number messup + ------------------------------------------------------------------- Thu Apr 4 07:16:46 UTC 2024 - Dan Čermák diff --git a/xz.keyring b/xz.keyring new file mode 100644 index 0000000..c62c840 --- /dev/null +++ b/xz.keyring @@ -0,0 +1,52 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBEzEOZIBEACxg/IuXERlDB48JBWmF4NxNUuuup1IhJAJyFGFSKh3OGAO2Ard +sNuRLjANsFXA7m7P5eTFcG+BoHHuAVYmKnI3PPZtHVLnUt4pGItPczQZ2BE1WpcI +ayjGTBJeKItX3Npqg9D/odO9WWS1i3FQPVdrLn0YH37/BA66jeMQCRo7g7GLpaNf +IrvYGsqTbxCwsmA37rpE7oyU4Yrf74HT091WBsRIoq/MelhbxTDMR8eu/dUGZQVc +Kj3lN55RepwWwUUKyqarY0zMt4HkFJ7v7yRL+Cvzy92Ouv4Wf2FlhNtEs5LE4Tax +W0PO5AEmUoKjX87SezQK0f652018b4u6Ex52cY7p+n5TII/UyoowH6+tY8UHo9yb +fStrqgNE/mY2bhA6+AwCaOUGsFzVVPTbjtxL3HacUP/jlA1h78V8VTvTs5d55iG7 +jSqR9o05wje8rwNiXXK0xtiJahyNzL97Kn/DgPSqPIi45G+8nxWSPFM5eunBKRl9 +vAnsvwrdPRsR6YR3uMHTuVhQX9/CY891MHkaZJ6wydWtKt3yQwJLYqwo5d4DwnUX +CduUwSKv+6RmtWI5ZmTQYOcBRcZyGKml9X9Q8iSbm6cnpFXmLrNQwCJN+D3SiYGc +MtbltZo0ysPMa6Xj5xFaYqWk/BI4iLb2Gs+ByGo/+a0Eq4XYBMOpitNniQARAQAB +tCdMYXNzZSBDb2xsaW4gPGxhc3NlLmNvbGxpbkB0dWthYW5pLm9yZz6JAlEEEwEK +ADsCGwMCHgECF4AECwkIBwMVCggFFgIDAQAWIQQ2kMJAzlG0Zw0wrRw47nV9aRhG +IAUCZZwJyQUJGuHiNwAKCRA47nV9aRhGIE4qD/4jdFTe3WPpLgvz/jdlbnSZxr7q +OS6H/ZJFENHO4SbavXdoXLtj+t6/lqWq890Js8IpWaaiJLowzW1xJMEg99W6k0KD +3pHUbwPxf0GCSAt/W4JYxdTj+1ggdHjx5yBAmOakjnOH+ZDKQNBnDOI6ghf3ew+H +9z/b0mQX3rlQbtoqSPZtuDOdFcjCOSwEyqdV+9eNqnv2CoKZkiGoUB1WGCbqKUkY +KiUJ3WldmPQ5RQYjEi7zZWVac1VuwBA0XOku+W4cCJ5DnPyK7CtMwC84VvaodlOX +UAK3Y5BIZpZM2Rk6yMX5lFDA5nA8UuHJQRDjTVmh3BIdgRvp0ZV6ogtqNE7RifpW +aBWDIsCkimcbCJJM+edOLiVZog+ia1Ts8zu33wj7Tnvp5znLc8NLZIqwu1HKLS97 +m+Yf5oC3ObTZtXbVF+OglWe/3ljLHdL2bJxNdtcVlChSNPUW3fgLHk9Fzrlnqdab +tSGwI/0Ryt00cKjRiMOagTn5Nly6boCtgGYdQafQoSrs3eQjnWVgbNYDMgPyl4k+ +Q5RJLEY7AvtXo7FUEgOTfr9PWmjmc2JzGpxbtwl6sQi6yLrBZTRf1Xao2OjOje6G +XdUbXNmgOv16sWxcI0s4lX1z28BgHQfwXhBFBRjw2Sy+6TfFXjX24thcpMwvyJ3c +xhMtdY4N4jyfRjYe8LkCDQRMxDmSARAAv8XAp2PGA/G1KmCrVIzOBm1NPIuqGAYP +c1l9p0dYdhEgvfw0NXcl5MDv1jbOPZ2PspA8NP7Rqp6LNNXYTeM/eIJDndU5Phyi +ewFpACAp7Gmm2dL5PUOhu0gIUnQYbN/QdGPoo7bNI646K1Y9aVTBu9fszQssjb6G +qXHSNM+pskVn9lropO1tLrF0I9VSlSphlCmiQRlzBCZSnxD6UagkPaw1gJnJqnrd +f9oA6AIavZFdh104fl7y8bMZb6bC0K/5ZD0DLfmYaojkyqRtl3VBu6/ZvXrjsT9A +QS5x9EdVslUoYY+kUxQm1wi3LIi3mOj6v0IIvgKzjt0X/39E3C42+m8ddTKowFB1 +Y1lEzHiT80YP9a+I+L2bqYgy6Lqs5CxI5qph1xRfg2rY6uvc5rPYk9B1R94jbeKi +3W8ryHG9QJBNXcd8mCGLM3qylWXTJA4oGITyaIlGCuMeKUfeFNvGijjbEOQ0Cr4J +CjdACbWJsPEoIOrRFxY+NwJEA39Dkyalyh2l0qTNXTIYhLiDuzl+tWuBX+SjHavj +9jGyvwr3T37gfzYCNMoZf8GaxAUJMCoGTqnsjTPGMion/DfdNkFDQ+fivdYiVQ9p +/Njpr38sC83V8dHF/1KkIHImyzMPTdC7l/lMHyC2Gx2dWZOjuOOKit0Qoy3DZoQw +vN1ZZND9M1UAEQEAAYkCPAQYAQoAJgIbDBYhBDaQwkDOUbRnDTCtHDjudX1pGEYg +BQJlnAmyBQka4eIgAAoJEDjudX1pGEYguyYQAJo+5SnMMdu+d70mWfUb9PZg7P5C +GRepHnckx9Sis5oR5s7NNl5j5Yy4J1UwsmrP+mn52ujqewkkVsCq65NGQQx7+tkw +uKGvnGBkHdrI+aJk86qLMf4DlnNJEmN8t5jTGQfRLbFVf2I8EY6qXAzCSmL9Zs++ +rDUz65GOTB1EP0XmBRsuVYRfDbFezrPQH0JDucbXFi/2BDnl2/Mk9NBoQ0CvB4oG +tLDiQZ+jV7n1VXXJ1faD9s7i0hOTdcG6rlyIqi/LyAzdCnOYTkmv3U1kdmzkvrh1 +KEiejnM5fj27RE2v191vh3hgZ+X5+uwjNTP0QC4qP8XykQOAA8usOMVZ72lyXCAk +wiUcRdrAXLN/XbIFNcQ3m4d3W6t60Gk09wFlUKaEltDMlPUsxiSG3qFwFGPBP6UV +h3mjJMAl1jltLrR7ybez0SczfrcAtdCsKTvgzV9W2TzUfK2R9PBanmXTXK2M7yU3 +IquHt3Je4aSP7XYb5D+ajlbFNvnXOYcai8WryfC5nLAfV4MbPX+UlRaYCqqHVhut +gK93re1L5mMI3zjG5Ri5jLpUA9toSJCIJIY5zwr/8LL/ZL4TixXlouA17yjkpY/e +Bjs8cNj1O3aM4jY2FKCS8UbfxOiARk/5kBMRPEZ/mqpMQttzE8KVjOv6fRxy/eVE +888/gToe5kb8qYwy +=6rZC +-----END PGP PUBLIC KEY BLOCK----- diff --git a/xz.spec b/xz.spec index 0a876a7..d7c1b52 100644 --- a/xz.spec +++ b/xz.spec @@ -15,18 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%global flavor @BUILD_FLAVOR@%{nil} -%if "%{flavor}" == "lang" -%global with_lang 1 -# no dash is intentional to prevent name clashes with -lang subpackage -%global psuffix lang -%else -%global with_lang 0 -%global psuffix %{nil} -%endif - -# avoid bootstrapping problem %if 0%{?suse_version} == 1500 %bcond_without static %else @@ -34,38 +23,26 @@ %endif %define _binary_payload w9.bzdio -%global real_ver 5.4.6 +%global real_ver 5.4.2 -Name: xz%{psuffix} +Name: xz Version: 5.6.1.revertto5.4 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later Group: Productivity/Archiving/Compression URL: https://tukaani.org/xz/ -Source0: xz-%{real_ver}.tar.zst -Source1: xznew -Source2: xznew.1 -Source3: xz-rpmlintrc -Source4: baselibs.conf +Source0: https://github.com/tukaani-project/xz/releases/download/v%{real_ver}/xz-%{real_ver}.tar.gz +Source1: https://github.com/tukaani-project/xz/releases/download/v%{real_ver}/xz-%{real_ver}.tar.gz.sig +Source2: baselibs.conf +Source3: https://tukaani.org/misc/lasse_collin_pubkey.txt#/xz.keyring +Source4: xznew +Source5: xznew.1 +Source8: xz-rpmlintrc +Source9: baselibs.conf BuildRequires: pkgconfig -BuildRequires: zstd -# for autoreconf -BuildRequires: autoconf -BuildRequires: automake -# required by autoconf for autopoint -BuildRequires: gettext-tools -# needed by autopoint -BuildRequires: findutils -BuildRequires: libtool -%if %{with_lang} -# required to update manpage translations -BuildRequires: po4a -BuildArch: noarch -%endif - -Provides: lzma = %{real_ver} -Obsoletes: lzma < %{real_ver} +Provides: lzma = %{version} +Obsoletes: lzma < %{version} %{?suse_build_hwcaps_libs} %description @@ -81,15 +58,13 @@ The xz command is a program for compressing files. decompressing speed. * Very similar command line interface to what gzip and bzip2 have. -%if %{with_lang} -%{lang_package -n xz} -%else + +%lang_package %package -n liblzma5 Summary: Lempel–Ziv–Markov chain algorithm compression library License: 0BSD Group: System/Libraries -Provides: liblzma5 = %{real_ver} %description -n liblzma5 Library for encoding/decoding LZMA files. @@ -98,11 +73,11 @@ Library for encoding/decoding LZMA files. Summary: Development package for the LZMA library License: 0BSD Group: Development/Libraries/C and C++ -Requires: liblzma5 = %{real_ver} -Provides: lzma-devel = %{real_ver} -Obsoletes: lzma-devel < %{real_ver} -Provides: lzma-alpha-devel = %{real_ver} -Obsoletes: lzma-alpha-devel < %{real_ver} +Requires: liblzma5 = %{version} +Provides: lzma-devel = %{version} +Obsoletes: lzma-devel < %{version} +Provides: lzma-alpha-devel = %{version} +Obsoletes: lzma-alpha-devel < %{version} %description devel This package contains the header files and libraries needed for @@ -113,15 +88,12 @@ compiling programs using the LZMA library. Summary: Static version of LZMA library License: SUSE-Public-Domain Group: Development/Libraries/C and C++ -Requires: lzma-devel = %{real_ver} +Requires: xz-devel = %{version} %description static-devel Static library for the LZMA library %endif -# without lang -%endif - %prep %autosetup -n xz-%{real_ver} @@ -130,8 +102,6 @@ Static library for the LZMA library export CFLAGS="%{optflags} -D_REENTRANT -pipe -fPIE" export LDFLAGS="-Wl,-z,relro,-z,now -pie" -autoreconf -fi - # Either we build it without pic enabled, or we build one at a time %if %{with static} %configure \ @@ -155,11 +125,6 @@ cp ./src/liblzma/.libs/liblzma.a liblzma.a %make_build %endif -%if %{with_lang} -# update manpage translations -./po4a/update-po -%endif - %check %make_build check @@ -167,39 +132,15 @@ cp ./src/liblzma/.libs/liblzma.a liblzma.a %make_install find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} --all-name --with-man -install -Dpm 0755 %{SOURCE1} %{buildroot}%{_bindir}/xznew -install -Dpm 0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/xznew.1 +install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew +install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 %if %{with static} install -Dpm 0644 liblzma.a %{buildroot}%{_libdir}/ %endif rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} -%if ! %{with_lang} %post -n liblzma5 -p /sbin/ldconfig %postun -n liblzma5 -p /sbin/ldconfig -%endif - -%if %{with_lang} -%files -n xz-lang -f %{name}.lang -# exclude everything of the other packages -%exclude %_docdir -%exclude %_bindir -%exclude %_mandir/man1 -%exclude %{_includedir} -%exclude %{_libdir} -%exclude /usr/src/debug/ -%exclude /usr/lib/debug/ - -%dir %{_mandir}/fr -%dir %{_mandir}/de -%dir %{_mandir}/ko -%if 0%{?suse_version} == 1500 -%dir %{_mandir}/ro -%dir %{_mandir}/uk -%endif - -# with_lang -%else %files %license COPYING COPYING.GPLv2 @@ -253,13 +194,14 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %{_mandir}/man1/xzmore.1%{?ext_man} %{_mandir}/man1/xznew.1%{?ext_man} -# covered by -lang subpackage -%exclude %{_mandir}/fr -%exclude %{_mandir}/de -%exclude %{_mandir}/ko -%exclude %{_mandir}/ro -%exclude %{_mandir}/uk -%exclude /usr/share/locale +%files lang -f %{name}.lang +%dir %{_mandir}/fr +%dir %{_mandir}/de +%dir %{_mandir}/ko +%if 0%{?suse_version} == 1500 +%dir %{_mandir}/ro +%dir %{_mandir}/uk +%endif %files -n liblzma5 %{_libdir}/liblzma.so.5* @@ -277,7 +219,4 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %{_libdir}/liblzma.a %endif -# with_lang end -%endif - %changelog -- 2.51.1 From a31ee60c60404630946b75589617905c99170ebb577c405d4940d84c7d7eff40 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 12 Apr 2024 16:24:48 +0000 Subject: [PATCH 119/126] - remove payload setting, we are using zstd now OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=161 --- xz.changes | 1 + xz.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xz.changes b/xz.changes index 997f041..fdfa272 100644 --- a/xz.changes +++ b/xz.changes @@ -7,6 +7,7 @@ Fri Apr 12 16:22:12 UTC 2024 - Dirk Müller - go back to the last release signed by Lasse (5.4.2) - revert multibuild, drop service and rpmlintrc - revert version number messup +- remove payload setting, we are using zstd now ------------------------------------------------------------------- Thu Apr 4 07:16:46 UTC 2024 - Dan Čermák diff --git a/xz.spec b/xz.spec index d7c1b52..8468537 100644 --- a/xz.spec +++ b/xz.spec @@ -16,12 +16,12 @@ # +# avoid bootstrapping problem %if 0%{?suse_version} == 1500 %bcond_without static %else %bcond_with static %endif -%define _binary_payload w9.bzdio %global real_ver 5.4.2 -- 2.51.1 From e5c8864937f6bf0639c817dad65b280836ce30198d2d7ced8507c1b603d4e505 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 12 Apr 2024 16:26:08 +0000 Subject: [PATCH 120/126] - switch back to tarballs because the upstream tarballs are not gone OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=162 --- xz.changes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xz.changes b/xz.changes index fdfa272..4d21baa 100644 --- a/xz.changes +++ b/xz.changes @@ -3,6 +3,8 @@ Fri Apr 12 16:22:12 UTC 2024 - Dirk Müller - revert the switch to tar_scm which dropped the signature validation +- switch back to tarballs because the upstream tarballs are not + gone - reinstanciate keyring from Lasse - go back to the last release signed by Lasse (5.4.2) - revert multibuild, drop service and rpmlintrc -- 2.51.1 From 6cf7fbb3c7ab30cfbec2bf6e81f3228baf37b0987f446769dab72ecf8b5d2822 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 13 Apr 2024 07:27:08 +0000 Subject: [PATCH 121/126] - use real_ver for the Source, move everything else back to %version like before the hectic XZ downgrade OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=163 --- xz-rpmlintrc | 4 ---- xz.changes | 3 ++- xz.spec | 2 -- 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 xz-rpmlintrc diff --git a/xz-rpmlintrc b/xz-rpmlintrc deleted file mode 100644 index e792495..0000000 --- a/xz-rpmlintrc +++ /dev/null @@ -1,4 +0,0 @@ -# rpmlint freaks out because we declare the lang multibuild as noarch and -# %_libdir is archspecific, but we either exclude %_libdir or it's in the part -# belonging to the archfull build -addFilter("libdir-macro-in-noarch-package.*%{_libdir}") diff --git a/xz.changes b/xz.changes index 4d21baa..8a06f28 100644 --- a/xz.changes +++ b/xz.changes @@ -8,7 +8,8 @@ Fri Apr 12 16:22:12 UTC 2024 - Dirk Müller - reinstanciate keyring from Lasse - go back to the last release signed by Lasse (5.4.2) - revert multibuild, drop service and rpmlintrc -- revert version number messup +- use real_ver for the Source, move everything else back to + %version like before the hectic XZ downgrade - remove payload setting, we are using zstd now ------------------------------------------------------------------- diff --git a/xz.spec b/xz.spec index 8468537..3c30e74 100644 --- a/xz.spec +++ b/xz.spec @@ -38,8 +38,6 @@ Source2: baselibs.conf Source3: https://tukaani.org/misc/lasse_collin_pubkey.txt#/xz.keyring Source4: xznew Source5: xznew.1 -Source8: xz-rpmlintrc -Source9: baselibs.conf BuildRequires: pkgconfig Provides: lzma = %{version} Obsoletes: lzma < %{version} -- 2.51.1 From 5e8363e3f98f045819c21e236059af70376a3e3e74ccf8e104b499dbc2448545 Mon Sep 17 00:00:00 2001 From: Antonio Teixeira Date: Fri, 31 May 2024 12:27:32 +0000 Subject: [PATCH 122/126] Accepting request 1177678 from home:polslinux:branches:Base:System - Update to 5.6.2: * Remove the backdoor (CVE-2024-3094). * Not changed: Memory sanitizer (MSAN) has a false positive in the CRC CLMUL code which also makes OSS Fuzz unhappy. Valgrind is smarter and doesn't complain. A revision to the CLMUL code is coming anyway and this issue will be cleaned up as part of it. It won't be backported to 5.6.x or 5.4.x because the old code isn't wrong. There is no reason to risk introducing regressions in old branches just to silence a false positive. * liblzma: - lzma_index_decoder() and lzma_index_buffer_decode(): Fix a missing output pointer initialization (*i = NULL) if the functions are called with invalid arguments. The API docs say that such an initialization is always done. In practice this matters very little because the problem can only occur if the calling application has a bug and these functions return LZMA_PROG_ERROR. - lzma_str_to_filters(): Fix a missing output pointer initialization (*error_pos = 0). This is very similar to the fix above. - Fix C standard conformance with function pointer types. - Remove GNU indirect function (IFUNC) support. This is *NOT* done for security reasons even though the backdoor relied on this code. The performance benefits of IFUNC are too tiny in this project to make the extra complexity worth it. - FreeBSD on ARM64: Add error checking to CRC32 instruction support detection. - Fix building with NVIDIA HPC SDK. * xz: OBS-URL: https://build.opensuse.org/request/show/1177678 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=165 --- xz-5.4.2.tar.gz | 3 --- xz-5.4.2.tar.gz.sig | Bin 566 -> 0 bytes xz-5.6.2.tar.xz | 3 +++ xz-5.6.2.tar.xz.sig | Bin 0 -> 566 bytes xz.changes | 40 ++++++++++++++++++++++++++++++++++++++++ xz.spec | 10 ++++------ 6 files changed, 47 insertions(+), 9 deletions(-) delete mode 100644 xz-5.4.2.tar.gz delete mode 100644 xz-5.4.2.tar.gz.sig create mode 100644 xz-5.6.2.tar.xz create mode 100644 xz-5.6.2.tar.xz.sig diff --git a/xz-5.4.2.tar.gz b/xz-5.4.2.tar.gz deleted file mode 100644 index c3b69b7..0000000 --- a/xz-5.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:87947679abcf77cc509d8d1b474218fd16b72281e2797360e909deaee1ac9d05 -size 2799022 diff --git a/xz-5.4.2.tar.gz.sig b/xz-5.4.2.tar.gz.sig deleted file mode 100644 index 7876e927bd8c0a347b916bf841e7e4acb5a202e66a1552bd31b193d37bc858f4..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%R5CP5=rC5IF92 zeQ6j*AbZ{q|4z8BPxQ9l=?ie84$gtwNjGHtc7#xq9?tQL6SyPkL(11cxRYXb#Rj>% zf@0%E66FIUH4kZW_j>weKPH-cZFum{#-Q^EmB=TPA87sKKVkifaW z1}(CfGE@O0HjVTor%jA5_|nzi{pd7y%DvWViwd;LjJF{iIds}V4jd2Jg5swssAWl zW7N2*B+eOu1;oC|iL#eKD1EOQuOPuKhdi9Qh@NwZatn&f`tI>h+kNp!Snzg1VV`hn z(|_4l7dR+tn*?iHawG0=U1XApI%9X%j8LuTHvOlGE+^Y$=uE0usy&e!2X4Ya_mi)) z=}Ry|fk`fm6clQn$*`_?!23%(Y?8>p! EpEw^4;{X5v diff --git a/xz-5.6.2.tar.xz b/xz-5.6.2.tar.xz new file mode 100644 index 0000000..3d06995 --- /dev/null +++ b/xz-5.6.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9db3bb3d64e248a0fae963f8fb6ba851a26ba1822e504dc0efd18a80c626caf +size 1307448 diff --git a/xz-5.6.2.tar.xz.sig b/xz-5.6.2.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..93d8424bce1de8fae7deb3ad9b76f5f1ccce03455d500f53df238c9c72a63ac6 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%liRt^f)N5IF92 zeQ6j*AZ}$3{vn&m9l>+8M$1jMtwPjs_11aJU4=vLq9S5S?Lk#`Uhl9&h_-WrI});! zjMZ&!_iU^&A!u9fQZoSM?<@4py4cHBm@soULY(^=c5JDCGatCp`$cNmdCy2#16>;XMWA2 z%)*|eV0g?agqo)bKN=K&zZ0IOJ0iM1NC5KUDAqSt9qi`jjWPV2gW~`F7ApPVds6HA zJ0}!i3AHbwSP%`}XN>kLEbjL=ZUKEvak$x}-Icru({9$@PAWDs?V)XUV*gx0x2Dx8 z5v&b^ay5d|X?>$|rSLtdzCWoTj=EjiOV7B6lhq0Ae?2f2MI(mDM5q>J+?DW)XjHpW zK9H%6pp!yzCvn&H@p!Ek-T^sDcO4D@*AwB) + +- Update to 5.6.2: + * Remove the backdoor (CVE-2024-3094). + * Not changed: Memory sanitizer (MSAN) has a false positive + in the CRC CLMUL code which also makes OSS Fuzz unhappy. + Valgrind is smarter and doesn't complain. + A revision to the CLMUL code is coming anyway and this issue + will be cleaned up as part of it. It won't be backported to + 5.6.x or 5.4.x because the old code isn't wrong. There is + no reason to risk introducing regressions in old branches + just to silence a false positive. + * liblzma: + - lzma_index_decoder() and lzma_index_buffer_decode(): Fix + a missing output pointer initialization (*i = NULL) if the + functions are called with invalid arguments. The API docs + say that such an initialization is always done. In practice + this matters very little because the problem can only occur + if the calling application has a bug and these functions + return LZMA_PROG_ERROR. + - lzma_str_to_filters(): Fix a missing output pointer + initialization (*error_pos = 0). This is very similar + to the fix above. + - Fix C standard conformance with function pointer types. + - Remove GNU indirect function (IFUNC) support. This is *NOT* + done for security reasons even though the backdoor relied on + this code. The performance benefits of IFUNC are too tiny in + this project to make the extra complexity worth it. + - FreeBSD on ARM64: Add error checking to CRC32 instruction + support detection. + - Fix building with NVIDIA HPC SDK. + * xz: + - Fix a C standard conformance issue in --block-list parsing + (arithmetic on a null pointer). + - Fix a warning from GNU groff when processing the man page: + "warning: cannot select font 'CW'" + * xzdec: Add support for Linux Landlock ABI version 4. xz already + had the v3-to-v4 change but it had been forgotten from xzdec. + ------------------------------------------------------------------- Fri Apr 12 16:22:12 UTC 2024 - Dirk Müller diff --git a/xz.spec b/xz.spec index 3c30e74..46d87ef 100644 --- a/xz.spec +++ b/xz.spec @@ -23,17 +23,15 @@ %bcond_with static %endif -%global real_ver 5.4.2 - Name: xz -Version: 5.6.1.revertto5.4 +Version: 5.6.2 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later Group: Productivity/Archiving/Compression URL: https://tukaani.org/xz/ -Source0: https://github.com/tukaani-project/xz/releases/download/v%{real_ver}/xz-%{real_ver}.tar.gz -Source1: https://github.com/tukaani-project/xz/releases/download/v%{real_ver}/xz-%{real_ver}.tar.gz.sig +Source0: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.xz +Source1: https://github.com/tukaani-project/xz/releases/download/v%{version}/xz-%{version}.tar.xz.sig Source2: baselibs.conf Source3: https://tukaani.org/misc/lasse_collin_pubkey.txt#/xz.keyring Source4: xznew @@ -93,7 +91,7 @@ Static library for the LZMA library %endif %prep -%autosetup -n xz-%{real_ver} +%autosetup -p1 %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects -- 2.51.1 From 5eeda0e1054648e67f36b10f9e84963db404271a7b354bed566c4a9f6916f32f Mon Sep 17 00:00:00 2001 From: Antonio Teixeira Date: Mon, 21 Oct 2024 11:57:32 +0000 Subject: [PATCH 123/126] Accepting request 1206089 from home:ateixeira:branches:Base:System - Update to 5.6.3: * liblzma: - Fix x86-64 inline assembly compatibility with GNU Binutils older than 2.27. - Fix the build with GCC 4.2 on OpenBSD/sparc64. * xzdec: Display an error instead of failing silently if the unsupported option -M is specified. * lzmainfo: Fix integer overflows when rounding the dictionary and uncompressed sizes to the nearest mebibyte. * Autotools-based build: - Fix feature checks with link-time optimization (-flto). - Solaris: Fix a compatibility issue in version.sh. It matters if one wants to regenerate configure by running autoconf. * CMake: - Use paths relative to ${prefix} in liblzma.pc when possible. This is done only with CMake >= 3.20. - Prefer a C11 compiler over a C99 compiler but accept both. - Link Threads::Threads against liblzma using PRIVATE so that -pthread and such flags won't unnecessarily get included in the usage requirements of shared liblzma. That is, target_link_libraries(foo PRIVATE liblzma::liblzma) no longer adds -pthread if using POSIX threads and linking against shared liblzma. The threading flags are still added if linking against static liblzma. * Updated translations: Catalan, Chinese (simplified), and Brazilian Portuguese. OBS-URL: https://build.opensuse.org/request/show/1206089 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=167 --- xz-5.6.2.tar.xz | 3 --- xz-5.6.2.tar.xz.sig | Bin 566 -> 0 bytes xz-5.6.3.tar.xz | 3 +++ xz-5.6.3.tar.xz.sig | Bin 0 -> 566 bytes xz.changes | 30 ++++++++++++++++++++++++++++++ xz.spec | 2 +- 6 files changed, 34 insertions(+), 4 deletions(-) delete mode 100644 xz-5.6.2.tar.xz delete mode 100644 xz-5.6.2.tar.xz.sig create mode 100644 xz-5.6.3.tar.xz create mode 100644 xz-5.6.3.tar.xz.sig diff --git a/xz-5.6.2.tar.xz b/xz-5.6.2.tar.xz deleted file mode 100644 index 3d06995..0000000 --- a/xz-5.6.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a9db3bb3d64e248a0fae963f8fb6ba851a26ba1822e504dc0efd18a80c626caf -size 1307448 diff --git a/xz-5.6.2.tar.xz.sig b/xz-5.6.2.tar.xz.sig deleted file mode 100644 index 93d8424bce1de8fae7deb3ad9b76f5f1ccce03455d500f53df238c9c72a63ac6..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%liRt^f)N5IF92 zeQ6j*AZ}$3{vn&m9l>+8M$1jMtwPjs_11aJU4=vLq9S5S?Lk#`Uhl9&h_-WrI});! zjMZ&!_iU^&A!u9fQZoSM?<@4py4cHBm@soULY(^=c5JDCGatCp`$cNmdCy2#16>;XMWA2 z%)*|eV0g?agqo)bKN=K&zZ0IOJ0iM1NC5KUDAqSt9qi`jjWPV2gW~`F7ApPVds6HA zJ0}!i3AHbwSP%`}XN>kLEbjL=ZUKEvak$x}-Icru({9$@PAWDs?V)XUV*gx0x2Dx8 z5v&b^ay5d|X?>$|rSLtdzCWoTj=EjiOV7B6lhq0Ae?2f2MI(mDM5q>J+?DW)XjHpW zK9H%6pp!yzCvn&H@p!Ek-T^sDcO4D@*AwB)7)Brk0%rUthX4u*5IF92 zeQ6j*AU$Rf0F5wmWtm^(&U8p&nPxi!1I;i}3B!Zqq5@lQQzgEr-5;6*Ko2LqSSwJr zEdbe#9~xoC^xfX$xG+5B=GJFmCOUdOXbkBA(F0kLRWBkTorIFveVML;^uu5|umQ5X z+gkHc=~7Mgz>A95Ia{nyx+DkXb?yNx3OBTN4c1~p^l!;R z1p3z~3ov<85jpvflA+CB{*={^n8Yu=(M@XuYQ6%TrquPbA{B?e7Li@F8Us~H$`YY? zS_A>uVvyx^Hdq&ZE7~o6jV)_RGd%f_7}Ve|O_Ww>9Ca9f%ae-DcxYNQrT`bDRMl10 z_bjf*I|j{I09ad?(p*HDzx)B^OT>w7`vBoYET5@=ngEgDQ%Rqa?nMOAt?wWQKCArI zp{E+w|NrT#^<6Ww!4lY`!a^;X)PT@Y5gaG_O{>F4x7t?)pBxD;4o>d+pF_!z*!)zZ zycHN~S!L5!hci{YbOudy(K!=cMApFYcn + +- Update to 5.6.3: + * liblzma: + - Fix x86-64 inline assembly compatibility with GNU Binutils + older than 2.27. + - Fix the build with GCC 4.2 on OpenBSD/sparc64. + * xzdec: Display an error instead of failing silently if the + unsupported option -M is specified. + * lzmainfo: Fix integer overflows when rounding the dictionary and + uncompressed sizes to the nearest mebibyte. + * Autotools-based build: + - Fix feature checks with link-time optimization (-flto). + - Solaris: Fix a compatibility issue in version.sh. It matters + if one wants to regenerate configure by running autoconf. + * CMake: + - Use paths relative to ${prefix} in liblzma.pc when possible. + This is done only with CMake >= 3.20. + - Prefer a C11 compiler over a C99 compiler but accept both. + - Link Threads::Threads against liblzma using PRIVATE so that + -pthread and such flags won't unnecessarily get included in + the usage requirements of shared liblzma. That is, + target_link_libraries(foo PRIVATE liblzma::liblzma) no + longer adds -pthread if using POSIX threads and linking + against shared liblzma. The threading flags are still added + if linking against static liblzma. + * Updated translations: Catalan, Chinese (simplified), and + Brazilian Portuguese. + ------------------------------------------------------------------- Thu May 30 06:08:18 UTC 2024 - Paolo Stivanin diff --git a/xz.spec b/xz.spec index 46d87ef..12fa426 100644 --- a/xz.spec +++ b/xz.spec @@ -24,7 +24,7 @@ %endif Name: xz -Version: 5.6.2 +Version: 5.6.3 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later -- 2.51.1 From c1e1cdf33db9bea5411a1287c81521dcc0b999e62942d9c6e0704c5a9f39da7e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 5 Feb 2025 16:04:58 +0000 Subject: [PATCH 124/126] Accepting request 1242199 from home:AndreasStieger:branches:Base:System xz 5.6.4, now with 75% fewer backdoors OBS-URL: https://build.opensuse.org/request/show/1242199 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=169 --- xz-5.6.3.tar.xz | 3 --- xz-5.6.3.tar.xz.sig | Bin 566 -> 0 bytes xz-5.6.4.tar.xz | 3 +++ xz-5.6.4.tar.xz.sig | Bin 0 -> 566 bytes xz.changes | 11 ++++++++++ xz.keyring | 50 ++++++++++++++++++++++---------------------- xz.spec | 13 ++++++------ 7 files changed, 46 insertions(+), 34 deletions(-) delete mode 100644 xz-5.6.3.tar.xz delete mode 100644 xz-5.6.3.tar.xz.sig create mode 100644 xz-5.6.4.tar.xz create mode 100644 xz-5.6.4.tar.xz.sig diff --git a/xz-5.6.3.tar.xz b/xz-5.6.3.tar.xz deleted file mode 100644 index abf234a..0000000 --- a/xz-5.6.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:db0590629b6f0fa36e74aea5f9731dc6f8df068ce7b7bafa45301832a5eebc3a -size 1328224 diff --git a/xz-5.6.3.tar.xz.sig b/xz-5.6.3.tar.xz.sig deleted file mode 100644 index 96e603a51ed247c6fb0779644840095583f51383e02412bd5f84bd9fed077cde..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%rUthX4u*5IF92 zeQ6j*AU$Rf0F5wmWtm^(&U8p&nPxi!1I;i}3B!Zqq5@lQQzgEr-5;6*Ko2LqSSwJr zEdbe#9~xoC^xfX$xG+5B=GJFmCOUdOXbkBA(F0kLRWBkTorIFveVML;^uu5|umQ5X z+gkHc=~7Mgz>A95Ia{nyx+DkXb?yNx3OBTN4c1~p^l!;R z1p3z~3ov<85jpvflA+CB{*={^n8Yu=(M@XuYQ6%TrquPbA{B?e7Li@F8Us~H$`YY? zS_A>uVvyx^Hdq&ZE7~o6jV)_RGd%f_7}Ve|O_Ww>9Ca9f%ae-DcxYNQrT`bDRMl10 z_bjf*I|j{I09ad?(p*HDzx)B^OT>w7`vBoYET5@=ngEgDQ%Rqa?nMOAt?wWQKCArI zp{E+w|NrT#^<6Ww!4lY`!a^;X)PT@Y5gaG_O{>F4x7t?)pBxD;4o>d+pF_!z*!)zZ zycHN~S!L5!hci{YbOudy(K!=cMApFYcn7)Brk0%wwfS^x?O5IF92 zeQ6j*AmfG*0G2^&@&=Q*T-e67+BQGvKqmx}pD!L2T}sl2K2rrLA@ z+Q(ndWfUevIJ-wDf?O1ipwt!J7J_8_NL9TRO@rf%7@VMb%zU7ICHuk{2X8|En#BqLkM%yM<%n}r@vjI#PgqrP%7USFhH04k zUvk30)+W;_)?gZZza%#F>%Q(yt`I-#{3QWqAbEKaDBLWzB%zI+(sAu8Rhoi#NIk}QUj3y^n(y3BxvWy2#PHO%Ua6yfMBA&?i{5|EYMN(Y|rk3vvd8# E61HO#d;kCd literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index b2212a6..ccefac3 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun Feb 2 08:59:56 UTC 2025 - Andreas Stieger + +- update to 5.6.4: + * liblzma: Fix LZMA/LZMA2 encoder on big endian ARM64. + * xz: Fix --filters= and --filters1= ... --filters9= options + parsing. They require an argument, thus "xz --filters lzma2" + should work in addition to "xz --filters=lzma2". + * Updates to documentation, translations, build system files +- package license files in all packages + ------------------------------------------------------------------- Mon Oct 7 11:48:07 UTC 2024 - Antonio Teixeira diff --git a/xz.keyring b/xz.keyring index c62c840..803aa33 100644 --- a/xz.keyring +++ b/xz.keyring @@ -13,18 +13,18 @@ CduUwSKv+6RmtWI5ZmTQYOcBRcZyGKml9X9Q8iSbm6cnpFXmLrNQwCJN+D3SiYGc MtbltZo0ysPMa6Xj5xFaYqWk/BI4iLb2Gs+ByGo/+a0Eq4XYBMOpitNniQARAQAB tCdMYXNzZSBDb2xsaW4gPGxhc3NlLmNvbGxpbkB0dWthYW5pLm9yZz6JAlEEEwEK ADsCGwMCHgECF4AECwkIBwMVCggFFgIDAQAWIQQ2kMJAzlG0Zw0wrRw47nV9aRhG -IAUCZZwJyQUJGuHiNwAKCRA47nV9aRhGIE4qD/4jdFTe3WPpLgvz/jdlbnSZxr7q -OS6H/ZJFENHO4SbavXdoXLtj+t6/lqWq890Js8IpWaaiJLowzW1xJMEg99W6k0KD -3pHUbwPxf0GCSAt/W4JYxdTj+1ggdHjx5yBAmOakjnOH+ZDKQNBnDOI6ghf3ew+H -9z/b0mQX3rlQbtoqSPZtuDOdFcjCOSwEyqdV+9eNqnv2CoKZkiGoUB1WGCbqKUkY -KiUJ3WldmPQ5RQYjEi7zZWVac1VuwBA0XOku+W4cCJ5DnPyK7CtMwC84VvaodlOX -UAK3Y5BIZpZM2Rk6yMX5lFDA5nA8UuHJQRDjTVmh3BIdgRvp0ZV6ogtqNE7RifpW -aBWDIsCkimcbCJJM+edOLiVZog+ia1Ts8zu33wj7Tnvp5znLc8NLZIqwu1HKLS97 -m+Yf5oC3ObTZtXbVF+OglWe/3ljLHdL2bJxNdtcVlChSNPUW3fgLHk9Fzrlnqdab -tSGwI/0Ryt00cKjRiMOagTn5Nly6boCtgGYdQafQoSrs3eQjnWVgbNYDMgPyl4k+ -Q5RJLEY7AvtXo7FUEgOTfr9PWmjmc2JzGpxbtwl6sQi6yLrBZTRf1Xao2OjOje6G -XdUbXNmgOv16sWxcI0s4lX1z28BgHQfwXhBFBRjw2Sy+6TfFXjX24thcpMwvyJ3c -xhMtdY4N4jyfRjYe8LkCDQRMxDmSARAAv8XAp2PGA/G1KmCrVIzOBm1NPIuqGAYP +IAUCZ364UgUJHMSQwAAKCRA47nV9aRhGIH6dD/46yxNWPrEQlVFd2XbOfBdYjVSh +SOtnF/7nfdpxObjsy5eqsuNGGknkfJkqDvYXcvtVLwn+U3WEscCX3eZ/syM+bpMj ++rMUfczDR21z6UEG9nfR5Yx+7TOpPfXylr2W1OfAtjdMv5UxYKpmmaQogVH+EeA0 +zAE0gZ+n1h0CzAXjmSeNOmAhaMcR1kkA7jM4ZW3r7ovcUuHSR6XwYl2gCDRkHaFR +WePNaOUXRHn/WQFQusUZ8FgZdidw3j4U13ajpoQdZonXk9lBrxu3nS2EzaTuPsEf +R9f1xRlWn733sTAJ5jCOpDFWvmLMNowodC5FYd3SKIn6K80uPamcVnPrtcfGZXAI +OgELAmbrDRz3uDfK1sty4pqI7We/0l0poqf0i863piA0a+awOMURTo9B/vjJvdh1 +Rf672fVWfnWRfAnjgIifCN4nBPVKRcY9XgmOG8ZqQgpOug7EERz4W8IZccjxx4gu +jTMXoPUY1s+6c/CJlQ3gESlfPkz1UYKCFjEvApMOD99SG8AUJvQbGvPFkIK5euWS +hOVLAmLKI3YNGCXUiPA4i9AEYnkDtAydohUKU/WclBWHWaeAZDccDivs8dPiF3Dd +YrR0eb81lB36Jm13cJodBS4aArHvgDeDvz7aLr7An0qXmNTnpc3cdU1ovskNXmA2 +Yj+I0ojpJsh6ici6dLkCDQRMxDmSARAAv8XAp2PGA/G1KmCrVIzOBm1NPIuqGAYP c1l9p0dYdhEgvfw0NXcl5MDv1jbOPZ2PspA8NP7Rqp6LNNXYTeM/eIJDndU5Phyi ewFpACAp7Gmm2dL5PUOhu0gIUnQYbN/QdGPoo7bNI646K1Y9aVTBu9fszQssjb6G qXHSNM+pskVn9lropO1tLrF0I9VSlSphlCmiQRlzBCZSnxD6UagkPaw1gJnJqnrd @@ -36,17 +36,17 @@ CjdACbWJsPEoIOrRFxY+NwJEA39Dkyalyh2l0qTNXTIYhLiDuzl+tWuBX+SjHavj 9jGyvwr3T37gfzYCNMoZf8GaxAUJMCoGTqnsjTPGMion/DfdNkFDQ+fivdYiVQ9p /Njpr38sC83V8dHF/1KkIHImyzMPTdC7l/lMHyC2Gx2dWZOjuOOKit0Qoy3DZoQw vN1ZZND9M1UAEQEAAYkCPAQYAQoAJgIbDBYhBDaQwkDOUbRnDTCtHDjudX1pGEYg -BQJlnAmyBQka4eIgAAoJEDjudX1pGEYguyYQAJo+5SnMMdu+d70mWfUb9PZg7P5C -GRepHnckx9Sis5oR5s7NNl5j5Yy4J1UwsmrP+mn52ujqewkkVsCq65NGQQx7+tkw -uKGvnGBkHdrI+aJk86qLMf4DlnNJEmN8t5jTGQfRLbFVf2I8EY6qXAzCSmL9Zs++ -rDUz65GOTB1EP0XmBRsuVYRfDbFezrPQH0JDucbXFi/2BDnl2/Mk9NBoQ0CvB4oG -tLDiQZ+jV7n1VXXJ1faD9s7i0hOTdcG6rlyIqi/LyAzdCnOYTkmv3U1kdmzkvrh1 -KEiejnM5fj27RE2v191vh3hgZ+X5+uwjNTP0QC4qP8XykQOAA8usOMVZ72lyXCAk -wiUcRdrAXLN/XbIFNcQ3m4d3W6t60Gk09wFlUKaEltDMlPUsxiSG3qFwFGPBP6UV -h3mjJMAl1jltLrR7ybez0SczfrcAtdCsKTvgzV9W2TzUfK2R9PBanmXTXK2M7yU3 -IquHt3Je4aSP7XYb5D+ajlbFNvnXOYcai8WryfC5nLAfV4MbPX+UlRaYCqqHVhut -gK93re1L5mMI3zjG5Ri5jLpUA9toSJCIJIY5zwr/8LL/ZL4TixXlouA17yjkpY/e -Bjs8cNj1O3aM4jY2FKCS8UbfxOiARk/5kBMRPEZ/mqpMQttzE8KVjOv6fRxy/eVE -888/gToe5kb8qYwy -=6rZC +BQJnfrhHBQkcxJC1AAoJEDjudX1pGEYgjaIQAIxs2u0oNqKiFK58d/lpSg+sWgwO +3WG9cChhQvPnJdyAdXKlnw8/SSykqtuMv1/N29mYSO7K3sCISvoCTR2KqT546o+C +2/CqSs3WEuX1SpPQGVPULiTxLLsZh0WhJrKchmV3NRACPxoueiqtFosJPA6u1sf2 +ilN89ArGxzteIuTpyUy5r98GHUK5svjVh4sz+KvTNlGFHN3nAoR7BhiDf6RgQ0Q3 +ukkGJqvtYSUV3RuVkgR+7FHDFsb6RRmykcm+YStz3P0YTMJjbLYewaQLzKZnLWnS +N18NRrITwEUicBXkcOFjF18d7jXYsAzzX7l28LFi5ygWuOOvT5s7EzTmWty5+qre +HHnjL4SCQY2rkb9AipUTqpoDhBz91QivTdQ/EsJlP6e08hwaa7heZqZWWy1eRr8R +EzD2r3GfQ2EegPkwsidivDBlK4PgWnlEl06RbE1dXoamXfPJ1q0SFlkw3zMW+bqY +P1jTxrJVAlXFf8qT3d5pXz871R1NPP/dyPJni844Bi42q8JHIZaKWZ6QQsP20TGM +BrvbI8qMCM1gH58vcBWBHtpm2kGEjVdJyl75RgjCf1VHqPab6A0/+tABGlLf5rm9 +kxOmb2wDCW8xPno/A8psVWcYE7gERT6Bdqbkr3SZw92izGCA4m17O1MPf6vj/ngb +RROvuEI11HLOmBJv +=m5Nx -----END PGP PUBLIC KEY BLOCK----- diff --git a/xz.spec b/xz.spec index 12fa426..4cdac6d 100644 --- a/xz.spec +++ b/xz.spec @@ -2,6 +2,7 @@ # spec file for package xz # # Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 Andreas Stieger # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,9 +23,8 @@ %else %bcond_with static %endif - Name: xz -Version: 5.6.3 +Version: 5.6.4 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later @@ -54,7 +54,6 @@ The xz command is a program for compressing files. decompressing speed. * Very similar command line interface to what gzip and bzip2 have. - %lang_package %package -n liblzma5 @@ -135,8 +134,7 @@ install -Dpm 0644 liblzma.a %{buildroot}%{_libdir}/ %endif rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} -%post -n liblzma5 -p /sbin/ldconfig -%postun -n liblzma5 -p /sbin/ldconfig +%ldconfig_scriptlets -n liblzma5 %files %license COPYING COPYING.GPLv2 @@ -191,6 +189,7 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %{_mandir}/man1/xznew.1%{?ext_man} %files lang -f %{name}.lang +%license COPYING COPYING.GPLv2 %dir %{_mandir}/fr %dir %{_mandir}/de %dir %{_mandir}/ko @@ -200,9 +199,11 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %endif %files -n liblzma5 +%license COPYING COPYING.GPLv2 %{_libdir}/liblzma.so.5* %files devel +%license COPYING COPYING.GPLv2 %{_includedir}/lzma.h %dir %{_includedir}/lzma/ %{_includedir}/lzma/* @@ -211,7 +212,7 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %if %{with static} %files static-devel -%defattr(-, root, root) +%license COPYING COPYING.GPLv2 %{_libdir}/liblzma.a %endif -- 2.51.1 From 30e96944523c563fb4a5b3fb9162592dba3dfe0b167e7434dd5dfaa0de99f2a7 Mon Sep 17 00:00:00 2001 From: Antonio Teixeira Date: Tue, 8 Apr 2025 20:13:26 +0000 Subject: [PATCH 125/126] Accepting request 1266930 from home:ateixeira:branches:Base:System - Update to 5.8.1: * Multithreaded .xz decoder (lzma_stream_decoder_mt()): - Fix a bug that could at least result in a crash with invalid input. (bsc#1240414, CVE-2025-31115) - Fix a performance bug: Only one thread was used if the whole input file was provided at once to lzma_code(), the output buffer was big enough, timeout was disabled, and LZMA_FINISH was used. There are no bug reports about this, thus it's possible that no real-world application was affected. * Avoid even with C11/C17 compilers. This fixes the build with Oracle Developer Studio 12.6 on Solaris 10 when the compiler is in C11 mode (the header doesn't exist). * Autotools: Restore compatibility with GNU make versions older than 4.0 by creating the package using GNU gettext 0.23.1 infrastructure instead of 0.24. * Update Croatian translation. - 5.8.0 changelog: * liblzma on 32/64-bit x86: When possible, use SSE2 intrinsics instead of memcpy() in the LZMA/LZMA2 decoder. In typical cases, this may reduce decompression time by 0-5 %. However, when built against musl libc, over 15 % time reduction was observed with highly compressed files. * CMake: Make the feature test macros match the Autotools-based build on NetBSD, Darwin, and mingw-w64. * Update the Croatian, Italian, Portuguese, and Romanian translations. * Update the German, Italian, Korean, Romanian, Serbian, and Ukrainian man page translations. - Summary of changes in the 5.7.x development releases: * Mark the following LZMA Utils script aliases as deprecated: OBS-URL: https://build.opensuse.org/request/show/1266930 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=171 --- xz-5.6.4.tar.xz | 3 --- xz-5.6.4.tar.xz.sig | Bin 566 -> 0 bytes xz-5.8.1.tar.xz | 3 +++ xz-5.8.1.tar.xz.sig | Bin 0 -> 566 bytes xz.changes | 57 ++++++++++++++++++++++++++++++++++++++++++++ xz.spec | 4 ++-- 6 files changed, 62 insertions(+), 5 deletions(-) delete mode 100644 xz-5.6.4.tar.xz delete mode 100644 xz-5.6.4.tar.xz.sig create mode 100644 xz-5.8.1.tar.xz create mode 100644 xz-5.8.1.tar.xz.sig diff --git a/xz-5.6.4.tar.xz b/xz-5.6.4.tar.xz deleted file mode 100644 index 0e1dd8b..0000000 --- a/xz-5.6.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:829ccfe79d769748f7557e7a4429a64d06858e27e1e362e25d01ab7b931d9c95 -size 1340516 diff --git a/xz-5.6.4.tar.xz.sig b/xz-5.6.4.tar.xz.sig deleted file mode 100644 index f378d30971bd429ad2d2350df40557910cf56356ee43c7ceb31d628870a6f7dc..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%wwfS^x?O5IF92 zeQ6j*AmfG*0G2^&@&=Q*T-e67+BQGvKqmx}pD!L2T}sl2K2rrLA@ z+Q(ndWfUevIJ-wDf?O1ipwt!J7J_8_NL9TRO@rf%7@VMb%zU7ICHuk{2X8|En#BqLkM%yM<%n}r@vjI#PgqrP%7USFhH04k zUvk30)+W;_)?gZZza%#F>%Q(yt`I-#{3QWqAbEKaDBLWzB%zI+(sAu8Rhoi#NIk}QUj3y^n(y3BxvWy2#PHO%Ua6yfMBA&?i{5|EYMN(Y|rk3vvd8# E61HO#d;kCd diff --git a/xz-5.8.1.tar.xz b/xz-5.8.1.tar.xz new file mode 100644 index 0000000..cc375f4 --- /dev/null +++ b/xz-5.8.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b54f79df85912504de0b14aec7971e3f964491af1812d83447005807513cd9e +size 1461872 diff --git a/xz-5.8.1.tar.xz.sig b/xz-5.8.1.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..73feda59ac396ba468daec7689a2e4ef6e6f2d4693f4429005abfe7733c2d8fd GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%z`XF8~S&5IF92 zeQ6j*Abk-J|3PiTNHu4o8Jp;ll4P|@MIUM6iGXmR&Qb1EM! zDJ55QSJ{$`>awQr;gC0$Os@OhFy;;1Sq3LrOJOn8IaD2-{Og@TW3OY& z-}y}+z+^PcR~iHAj?vmRc^B!*!r|XdcM)AJ=nQTC5_zI=XKi}}qdIPpX|gbd-55dz z7R65A0W2au_7zt)KrDH@QD5vl4<)RzYC8l zf;QCx&3M0}%u;@zA9!L;$mU!j(sLHtZsp(?C(AsA@Jb->EF2S|)`vllSbjUAZ&$7! E3=cgGUH||9 literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index ccefac3..f9f4ae3 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,60 @@ +------------------------------------------------------------------- +Thu Apr 3 15:43:23 UTC 2025 - Antonio Teixeira + +- Update to 5.8.1: + * Multithreaded .xz decoder (lzma_stream_decoder_mt()): + - Fix a bug that could at least result in a crash with + invalid input. (bsc#1240414, CVE-2025-31115) + - Fix a performance bug: Only one thread was used if the whole + input file was provided at once to lzma_code(), the output + buffer was big enough, timeout was disabled, and LZMA_FINISH + was used. There are no bug reports about this, thus it's + possible that no real-world application was affected. + * Avoid even with C11/C17 compilers. This fixes the + build with Oracle Developer Studio 12.6 on Solaris 10 when the + compiler is in C11 mode (the header doesn't exist). + * Autotools: Restore compatibility with GNU make versions older + than 4.0 by creating the package using GNU gettext 0.23.1 + infrastructure instead of 0.24. + * Update Croatian translation. +- 5.8.0 changelog: + * liblzma on 32/64-bit x86: When possible, use SSE2 intrinsics + instead of memcpy() in the LZMA/LZMA2 decoder. In typical cases, + this may reduce decompression time by 0-5 %. However, when built + against musl libc, over 15 % time reduction was observed with + highly compressed files. + * CMake: Make the feature test macros match the Autotools-based + build on NetBSD, Darwin, and mingw-w64. + * Update the Croatian, Italian, Portuguese, and Romanian + translations. + * Update the German, Italian, Korean, Romanian, Serbian, and + Ukrainian man page translations. +- Summary of changes in the 5.7.x development releases: + * Mark the following LZMA Utils script aliases as deprecated: + lzcmp, lzdiff, lzless, lzmore, lzgrep, lzegrep, and lzfgrep. + * liblzma: + - Improve LZMA/LZMA2 encoder speed on 64-bit PowerPC (both + endiannesses) and those 64-bit RISC-V processors that + support fast unaligned access. + - Add low-level APIs for RISC-V, ARM64, and x86 BCJ filters + to lzma/bcj.h. These are primarily for erofs-utils. + - x86/x86-64/E2K CLMUL CRC code was rewritten. + - Use the CRC32 instructions on LoongArch. + * xz: + - Synchronize the output file and its directory using fsync() + before deleting the input file. No syncing is done when xz + isn't going to delete the input file. + - Add --no-sync to disable the sync-before-delete behavior. + - Make --single-stream imply --keep. + * xz, xzdec, lzmainfo: When printing messages, replace + non-printable characters with question marks. + * xz and xzdec on Linux: Support Landlock ABI versions 5 and 6. + * CMake: Revise the configuration variables and some of their + options, and document them in the file INSTALL. CMake support + is no longer experimental. (It was already not experimental + when building for native Windows.) + * Add build-aux/license-check.sh. + ------------------------------------------------------------------- Sun Feb 2 08:59:56 UTC 2025 - Andreas Stieger diff --git a/xz.spec b/xz.spec index 4cdac6d..29d0640 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2025 Andreas Stieger # # All modifications and additions to the file contributed by third parties @@ -24,7 +24,7 @@ %bcond_with static %endif Name: xz -Version: 5.6.4 +Version: 5.8.1 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later -- 2.51.1 From 999ad8c2ac883fa71dd4cdb135a7a6cd0ecc23c9cdfe76dbc86b6e5726f0eca5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 2 Jan 2026 09:23:21 +0000 Subject: [PATCH 126/126] - update to 5.8.2: * liblzma: - Fix the build on ARM64 on glibc versions older than 2.24 (2016). They don't have HWCAP_CRC32 in . - Disable CLMUL CRC code when building for 32-bit x86 with old MSVC versions. This avoids a compiler bug. * xz: - Add a workaround for Red Hat Enterprise Linux 9 kernel bug which made xz fail with "xz: Failed to enable the sandbox". - On AIX, don't use fsync() on directories because it fails. - Fix the build on Emscripten. - Fix the build on clang-cl on Windows. - Take resource limits (RLIMIT_DATA, RLIMIT_AS, and RLIMIT_VMEM) OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=173 --- xz-5.8.1.tar.xz | 3 --- xz-5.8.1.tar.xz.sig | Bin 566 -> 0 bytes xz-5.8.2.tar.xz | 3 +++ xz-5.8.2.tar.xz.sig | Bin 0 -> 566 bytes xz.changes | 20 ++++++++++++++++++++ xz.spec | 4 ++-- 6 files changed, 25 insertions(+), 5 deletions(-) delete mode 100644 xz-5.8.1.tar.xz delete mode 100644 xz-5.8.1.tar.xz.sig create mode 100644 xz-5.8.2.tar.xz create mode 100644 xz-5.8.2.tar.xz.sig diff --git a/xz-5.8.1.tar.xz b/xz-5.8.1.tar.xz deleted file mode 100644 index cc375f4..0000000 --- a/xz-5.8.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0b54f79df85912504de0b14aec7971e3f964491af1812d83447005807513cd9e -size 1461872 diff --git a/xz-5.8.1.tar.xz.sig b/xz-5.8.1.tar.xz.sig deleted file mode 100644 index 73feda59ac396ba468daec7689a2e4ef6e6f2d4693f4429005abfe7733c2d8fd..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%z`XF8~S&5IF92 zeQ6j*Abk-J|3PiTNHu4o8Jp;ll4P|@MIUM6iGXmR&Qb1EM! zDJ55QSJ{$`>awQr;gC0$Os@OhFy;;1Sq3LrOJOn8IaD2-{Og@TW3OY& z-}y}+z+^PcR~iHAj?vmRc^B!*!r|XdcM)AJ=nQTC5_zI=XKi}}qdIPpX|gbd-55dz z7R65A0W2au_7zt)KrDH@QD5vl4<)RzYC8l zf;QCx&3M0}%u;@zA9!L;$mU!j(sLHtZsp(?C(AsA@Jb->EF2S|)`vllSbjUAZ&$7! E3=cgGUH||9 diff --git a/xz-5.8.2.tar.xz b/xz-5.8.2.tar.xz new file mode 100644 index 0000000..01fa540 --- /dev/null +++ b/xz-5.8.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:890966ec3f5d5cc151077879e157c0593500a522f413ac50ba26d22a9a145214 +size 1511132 diff --git a/xz-5.8.2.tar.xz.sig b/xz-5.8.2.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..6192d26a40d143f97112c666706e61c1c9f699f185867e68d298d75e7740b68b GIT binary patch literal 566 zcmV-60?GY}0y6{v0SW*e79j*SkitODQM6|bFs&Ro?sa`>7)Brk0%<~_=l}`{5IF92 zeQ6j*ASYQ5{yH@>i^c4L6~LO%mdmR3|DqHy(Lq(wB{|Z&I-DguM@agao7WeBa1!b+ zu6y+2fjkdAtJ?`?6pF{U?gFj-FFTjU(z;b7T&)|%TZx>lD7Z+^3HxJ3h z;<+3*^NAzrTEAIs=sC?AsVIqnqhwa-VvJz(1mtd$#{IZFGlcuMO`q1$m8oE^5rkAM|M%<(Ju_8&ypTTSnQuih>bEYME+S|Jx3nBWO zOqtpYk%8zsAxUj}c-iY9LO=zYOv%-O(il;=1F~*hoT1v|+Uo$9n|`$GsO|wjQY~Ni zDVk>*qDVap3c-{WAuREc6Nd_L`9&sYdT*fuXo+r(YoOW04bYO#F=+ELPMTTvz2)P! EfUK|@d;kCd literal 0 HcmV?d00001 diff --git a/xz.changes b/xz.changes index f9f4ae3..d1ad5f5 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Fri Jan 2 09:21:43 UTC 2026 - Dirk Müller + +- update to 5.8.2: + * liblzma: + - Fix the build on ARM64 on glibc versions older than + 2.24 (2016). They don't have HWCAP_CRC32 in . + - Disable CLMUL CRC code when building for 32-bit x86 + with old MSVC versions. This avoids a compiler bug. + * xz: + - Add a workaround for Red Hat Enterprise Linux 9 + kernel bug which made xz fail with "xz: Failed to enable the + sandbox". + - On AIX, don't use fsync() on directories because it + fails. + - Fix the build on Emscripten. + - Fix the build on clang-cl on Windows. + - Take resource limits (RLIMIT_DATA, RLIMIT_AS, and + RLIMIT_VMEM) + ------------------------------------------------------------------- Thu Apr 3 15:43:23 UTC 2025 - Antonio Teixeira diff --git a/xz.spec b/xz.spec index 29d0640..f6f6215 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2025 Andreas Stieger # # All modifications and additions to the file contributed by third parties @@ -24,7 +24,7 @@ %bcond_with static %endif Name: xz -Version: 5.8.1 +Version: 5.8.2 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm License: 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later -- 2.51.1