This commit is contained in:
commit
61df9cb15e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
25
nostatic.diff
Normal file
25
nostatic.diff
Normal file
@ -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@
|
3
xz-4.999.8beta.tar.bz2
Normal file
3
xz-4.999.8beta.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5a1b5ff2f7ed76fdfd426aad1ad6021a8f5ae97619dd626aebad79c8d2eddf5a
|
||||||
|
size 666585
|
116
xz.changes
Normal file
116
xz.changes
Normal file
@ -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.
|
||||||
|
|
215
xz.spec
Normal file
215
xz.spec
Normal file
@ -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 <lasse.collin@tukaani.org>
|
||||||
|
|
||||||
|
%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 <lasse.collin@tukaani.org>
|
||||||
|
|
||||||
|
%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 <lasse.collin@tukaani.org>
|
||||||
|
|
||||||
|
%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.
|
Loading…
Reference in New Issue
Block a user