* [Buildroot] [PATCH 1/2] package/upx: use HOST_CONFIGURE_OPTS
@ 2020-06-06 19:20 Fabrice Fontaine
2020-06-06 19:20 ` [Buildroot] [PATCH 2/2] package/upx: security bump to version 3.96 Fabrice Fontaine
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2020-06-06 19:20 UTC (permalink / raw)
To: buildroot
Use HOST_CONFIGURE_OPTS to pass CPPFLAGS and LDFLAGS
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/upx/upx.mk | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/package/upx/upx.mk b/package/upx/upx.mk
index 1fe7162c21..c554553ce9 100644
--- a/package/upx/upx.mk
+++ b/package/upx/upx.mk
@@ -15,10 +15,8 @@ HOST_UPX_DEPENDENCIES = host-ucl host-zlib
# We need to specify all, otherwise the default target only prints a message
# stating to "please choose a target for 'make'"... :-(
define HOST_UPX_BUILD_CMDS
- $(HOST_MAKE_ENV) $(MAKE) CPPFLAGS="$(HOST_CPPFLAGS)" \
- LDFLAGS="$(HOST_LDFLAGS)" UPX_UCLDIR=$(HOST_DIR) \
- CXXFLAGS_WERROR= \
- -C $(@D) all
+ $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \
+ UPX_UCLDIR=$(HOST_DIR) CXXFLAGS_WERROR= -C $(@D) all
endef
# UPX has no install procedure, so install it manually.
--
2.26.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/upx: security bump to version 3.96
2020-06-06 19:20 [Buildroot] [PATCH 1/2] package/upx: use HOST_CONFIGURE_OPTS Fabrice Fontaine
@ 2020-06-06 19:20 ` Fabrice Fontaine
2020-07-05 21:02 ` Peter Korsgaard
2020-06-06 19:25 ` [Buildroot] [PATCH 1/2] package/upx: use HOST_CONFIGURE_OPTS Thomas Petazzoni
2020-07-05 21:02 ` Peter Korsgaard
2 siblings, 1 reply; 5+ messages in thread
From: Fabrice Fontaine @ 2020-06-06 19:20 UTC (permalink / raw)
To: buildroot
- Switch site to github to get latest release
- Fix CVE-2019-20805: p_lx_elf.cpp in UPX before 3.96 has an integer
overflow during unpacking via crafted values in a PT_DYNAMIC segment.
- Fix CERT-FI Case 829767 UPX command line tools segfaults.
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/upx/upx.hash | 2 +-
package/upx/upx.mk | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/upx/upx.hash b/package/upx/upx.hash
index cc7fb66c97..7f3698ca0d 100644
--- a/package/upx/upx.hash
+++ b/package/upx/upx.hash
@@ -1,3 +1,3 @@
# Locally computed:
-sha256 527ce757429841f51675352b1f9f6fc8ad97b18002080d7bf8672c466d8c6a3c upx-3.91-src.tar.bz2
+sha256 47774df5c958f2868ef550fb258b97c73272cb1f44fe776b798e393465993714 upx-3.96-src.tar.xz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
diff --git a/package/upx/upx.mk b/package/upx/upx.mk
index c554553ce9..c577dfc2df 100644
--- a/package/upx/upx.mk
+++ b/package/upx/upx.mk
@@ -4,9 +4,9 @@
#
################################################################################
-UPX_VERSION = 3.91
-UPX_SITE = http://upx.sourceforge.net/download
-UPX_SOURCE = upx-$(UPX_VERSION)-src.tar.bz2
+UPX_VERSION = 3.96
+UPX_SITE = https://github.com/upx/upx/releases/download/v$(UPX_VERSION)
+UPX_SOURCE = upx-$(UPX_VERSION)-src.tar.xz
UPX_LICENSE = GPL-2.0+
UPX_LICENSE_FILES = COPYING
--
2.26.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/2] package/upx: use HOST_CONFIGURE_OPTS
2020-06-06 19:20 [Buildroot] [PATCH 1/2] package/upx: use HOST_CONFIGURE_OPTS Fabrice Fontaine
2020-06-06 19:20 ` [Buildroot] [PATCH 2/2] package/upx: security bump to version 3.96 Fabrice Fontaine
@ 2020-06-06 19:25 ` Thomas Petazzoni
2020-07-05 21:02 ` Peter Korsgaard
2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2020-06-06 19:25 UTC (permalink / raw)
To: buildroot
On Sat, 6 Jun 2020 21:20:32 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Use HOST_CONFIGURE_OPTS to pass CPPFLAGS and LDFLAGS
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/upx/upx.mk | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
Both applied to master. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/2] package/upx: use HOST_CONFIGURE_OPTS
2020-06-06 19:20 [Buildroot] [PATCH 1/2] package/upx: use HOST_CONFIGURE_OPTS Fabrice Fontaine
2020-06-06 19:20 ` [Buildroot] [PATCH 2/2] package/upx: security bump to version 3.96 Fabrice Fontaine
2020-06-06 19:25 ` [Buildroot] [PATCH 1/2] package/upx: use HOST_CONFIGURE_OPTS Thomas Petazzoni
@ 2020-07-05 21:02 ` Peter Korsgaard
2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2020-07-05 21:02 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Use HOST_CONFIGURE_OPTS to pass CPPFLAGS and LDFLAGS
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2020.02.x and 2020.05.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/upx: security bump to version 3.96
2020-06-06 19:20 ` [Buildroot] [PATCH 2/2] package/upx: security bump to version 3.96 Fabrice Fontaine
@ 2020-07-05 21:02 ` Peter Korsgaard
0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2020-07-05 21:02 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> - Switch site to github to get latest release
> - Fix CVE-2019-20805: p_lx_elf.cpp in UPX before 3.96 has an integer
> overflow during unpacking via crafted values in a PT_DYNAMIC segment.
> - Fix CERT-FI Case 829767 UPX command line tools segfaults.
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2020.02.x and 2020.05.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-07-05 21:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-06 19:20 [Buildroot] [PATCH 1/2] package/upx: use HOST_CONFIGURE_OPTS Fabrice Fontaine
2020-06-06 19:20 ` [Buildroot] [PATCH 2/2] package/upx: security bump to version 3.96 Fabrice Fontaine
2020-07-05 21:02 ` Peter Korsgaard
2020-06-06 19:25 ` [Buildroot] [PATCH 1/2] package/upx: use HOST_CONFIGURE_OPTS Thomas Petazzoni
2020-07-05 21:02 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox