SHA256
3
0
forked from pool/xz
Commit Graph

64 Commits

Author SHA256 Message Date
104f8dece2 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
2022-08-16 06:45:42 +00:00
76d7fa9560 - change URL to https
OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=109
2022-04-12 15:35:29 +00:00
b8e2ca03e0 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
2021-06-07 15:24:28 +00:00
Stephan Kulow
1ecfc74c0f 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
2020-03-25 08:21:28 +00:00
9d50022148 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
2019-09-20 07:54:18 +00:00
98478f4d90 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
2019-08-02 08:28:06 +00:00
aeb4ecc968 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
2019-05-27 05:56:49 +00:00
f6edf4de72 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
2018-06-15 11:20:06 +00:00
Stephan Kulow
18c858c467 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
2018-03-19 14:54:29 +00:00
0e1ebec608 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
2017-07-11 07:24:06 +00:00
3429eee978 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
2017-07-04 05:23:33 +00:00
9894a94cf7 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
2017-06-25 17:03:45 +00:00
8f9b6826d8 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
2017-06-22 18:04:11 +00:00
8bbe0cfdfe 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
2017-03-06 12:43:36 +00:00
be50f5a16b 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
2017-01-02 08:54:34 +00:00
93631f13cc 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
2016-03-18 10:08:27 +00:00
9aeddcac2a 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
2016-02-17 10:01:31 +00:00
3206fdcfc8 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
2015-11-10 14:52:35 +00:00
Stephan Kulow
10a36cef1b 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
2015-09-30 04:37:54 +00:00
Stephan Kulow
037431a7a8 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
2015-02-28 08:37:57 +00:00
Richard Biener
dd816714ab - 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
2015-01-21 11:25:49 +00:00
d657d56649 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
2014-12-25 21:06:48 +00:00
c953072ddd - build with PIE support.
OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=68
2014-12-19 09:44:59 +00:00
b0b99a86f7 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
2014-12-19 09:38:13 +00:00
Stephan Kulow
c834d746ed 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
2014-09-23 08:40:06 +00:00
28c3a1dafb - 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
2013-12-10 17:06:54 +00:00
9c36d60610 - 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
2013-11-25 12:24:18 +00:00
82f1443dfb - 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
2013-11-25 12:18:05 +00:00
9daea59c7a merge from Archiving/xz
OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=57
2013-11-25 12:16:47 +00:00
Stefan Seyfried
9de9351b28 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
2013-10-16 18:42:10 +00:00
Stephan Kulow
cb067b3d5a 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
2013-07-16 15:39:06 +00:00
a68708c927 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
2013-01-31 12:30:31 +00:00
2d53ca48ed 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
2012-11-27 13:46:12 +00:00
6a09ad1882 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
2012-07-29 21:42:17 +00:00
978f0b50f4 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
2012-07-06 10:54:13 +00:00
Cristian Rodríguez
834a01a971 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
2012-02-12 23:56:47 +00:00
Andreas Jaeger
4b86c176db 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
2011-10-10 13:48:55 +00:00
Cristian Rodríguez
f3021b3523 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
2011-09-30 21:25:41 +00:00
Stephan Kulow
1770765900 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
2011-09-27 13:40:01 +00:00
Cristian Rodríguez
a7bc0d922d 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
2011-09-26 17:58:10 +00:00
Stephan Kulow
fb37366cd4 - remove _service, too fragile
OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=33
2011-09-17 15:20:35 +00:00
Stephan Kulow
bd282443b5 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
2011-09-17 08:28:27 +00:00
fbeafe1b18 - add recommends xz-lang
OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=29
2011-06-14 16:06:32 +00:00
Stephan Kulow
232099483e - 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
2011-06-08 19:26:22 +00:00
Cristian Rodríguez
e19a824cdd 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
2011-04-07 21:55:20 +00:00
Cristian Rodríguez
59794e0a1d 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
2011-03-05 13:27:05 +00:00
Cristian Rodríguez
6f48ecceac 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
2010-12-07 18:58:20 +00:00
Cristian Rodríguez
6c84f4572b 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
2010-10-31 16:42:32 +00:00
Stephan Kulow
ef4ccde879 - adapt baselibs.conf
OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=15
2010-10-28 09:19:11 +00:00
Stephan Kulow
0fc5b9f3e4 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
2010-10-28 09:18:03 +00:00