Commit Graph

23 Commits

Author SHA1 Message Date
Petr Štetiar 9e46b47ca3
Revert "tools/xz: update to 5.6.1" (CVE-2024-3094)
This reverts commit 714c91d1a63f29650abaa9cf69ffa47cf2c70297 as probably
the upstream xz repository and the xz tarballs have been backdoored.

References: https://www.openwall.com/lists/oss-security/2024/03/29/4
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2024-03-29 17:31:17 +00:00
krant 1cef352d28 xz: update to 5.6.1
- Change source URL to the up-to-date one

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-03-21 14:05:16 +08:00
Hannu Nyman a297c70c16 xz: Update to 5.4.6
Update xz to match the version 5.4.6 in tools/

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2024-01-30 20:47:51 +02:00
Hannu Nyman 0985b4004d xz: Update to 5.4.4
Update xz to match the version in tools/

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2023-08-14 19:42:49 +03:00
Andre Heider e7d9c86503 treewide: refactor to use PKG_BUILD_FLAGS:=lto
See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS"
on the main repository.

Note: Some packages only added `-flto` to CFLAGS and not LDFLAGS. This
fixes it and properly enables LTO.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Hannu Nyman 8cd08e15fe xz: update to version 5.4.2
Update to 5.4.2  (keep in sync with xz in tools/)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2023-03-26 15:17:34 +03:00
Hannu Nyman 84856c9042 xz: update to version 5.4.1
Update to 5.4.1  (keep in sync with xz in tools/)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2023-01-14 11:53:04 +02:00
Hannu Nyman c122236552 xz: update to 5.2.9
Update xz to version 5.2.9.

Switch back to .bz2 sources, as we already download .bz2 for tools/
No sense to re-download sources as a .xz file.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2022-12-04 11:43:53 +02:00
Nick Hainke 964e59d385 xz: update to 5.2.7
Update to latest version. No release notes available.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-10 15:57:03 -07:00
Nick Hainke d7d39043c3 xz: update to 5.2.6
Release Notes:
https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-22 01:25:36 -07:00
Huangbin Zhan fc02216ab2 xz: move alternatives to /usr/libexec
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-11-21 16:59:59 +08:00
Daniel Golle bb704ffd4c xz: use ALTERNATIVES instead of copying symlinks
Installing the 'xz' package currently leads to file collisions:
Collected errors:
 * check_data_file_clashes: Package xz wants to install file /usr/bin/unxz
        But that file is already provided by package  * busybox
 * check_data_file_clashes: Package xz wants to install file /usr/bin/xz
        But that file is already provided by package  * busybox
 * opkg_install_cmd: Cannot install package debootstrap.

Fix that by switching to use ALTERNATIVES for all multicall commands
instead of copying the symlinks into the package.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-20 03:33:54 +00:00
Rosen Penev 8c5d0c673d
xz: update to 5.2.5
Switched to smaller xz archive.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-27 19:56:16 -07:00
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Rosen Penev d0e3aa7493
xz: Remove bash dependency
Bash is not needed here. These scripts are POSIX compliant.

This was originally added as the configure script looks for /bin/bash
locally. Passing gl_cv_posix_shell overrides this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-24 18:46:55 -07:00
Jeffery To 2f5a79cdc2 xz: Use relative paths in pkg-config metadata file
By default, the liblzma pkg-config file (liblzma.pc) is generated with
absolute paths, which $(STAGING_DIR_HOST)/bin/pkg-config is unable to
override.

This patches the file to use paths relative to ${prefix} and
${exec_prefix}.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-03 01:17:12 +08:00
Rosen Penev ea5f175f44 xz: Compile with PIC to fix linking errors
While researching CircleCI build failures, I came across a linking error
relating to liblzma, where ld instructs to recompile with fPIC.

Unfortunately, this increases filesize. Added some configure flags to try
to mitigate is somewhat.

Removed maintainer as he is no longer active.

Added PKG_CPE_ID for proper CVE tracking.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-02-09 00:23:36 -08:00
Rosen Penev 54a35e465f xz: Update to 5.2.4 + misc
The second source is just a redirect to SourceForge. Removed.
Also change URL to HTTPS as the website now supports it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-05-08 13:38:51 -07:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Daniel Engberg 8f1de0f400 utils/xz: Update to 5.2.3 and update URLs
Update to 5.2.3 and sync URLs with LEDE

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-10 20:02:26 +01:00
Hannu Nyman 6f4fedd830 utils/xz: update to 5.2.2
Update xz to version 5.2.2.
Add a secondary download location.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-27 14:06:47 +02:00
Alexander Ryzhov 2f75695b39 xz: add xz-utils meta package
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2015-05-20 09:10:01 +00:00
Nicolas Thill b9e87eeb7d xz: import from old packages feed
- update to latest version (v5.2.1)
 - add license info
 - add myself as maintainer
 - put everything in a "Compression" submenu
 - reduce the number of packages (put symlinks with their matching target)

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-04-18 01:14:14 +02:00