From fc5e44f3910a0376bae8b9c7eb48f3a64f3e6892 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Thu, 20 Feb 2025 23:56:24 +0100 Subject: [PATCH] all: post-release version bump --- CMakeLists.txt | 2 +- NEWS | 3 +++ doc/upx.1 | 2 +- misc/cmake/use_strict_defaults.cmake | 11 +++++++++++ misc/podman/rebuild-stubs/Dockerfile | 2 +- src/version.h | 10 +++++----- 6 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 misc/cmake/use_strict_defaults.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b31aac0..1573eef6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,7 +62,7 @@ option(UPX_CONFIG_DISABLE_EXHAUSTIVE_TESTS "Do not run exhaustive tests" # init #*********************************************************************** -set(UPX_VERSION_STRING "5.0.0") # this should match src/version.h +set(UPX_VERSION_STRING "5.0.1") # this should match src/version.h upx_cmake_include_hook(2_init) diff --git a/NEWS b/NEWS index a6b28f1b..044fbf70 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,9 @@ User visible changes for UPX ================================================================== +Changes in 5.0.1 (XX XXX XXXX): + * bug fixes - see https://github.com/upx/upx/milestone/19 + Changes in 5.0.0 (20 Feb 2025): * ELF: use of memfd_create supports Enforcing mode of SELinux * ELF: two-step de-compression enables future per-PT_LOAD work diff --git a/doc/upx.1 b/doc/upx.1 index fc8ab89a..9467be7f 100644 --- a/doc/upx.1 +++ b/doc/upx.1 @@ -55,7 +55,7 @@ .\" ======================================================================== .\" .IX Title "UPX 1" -.TH UPX 1 2025-02-20 "upx 5.0.0" " " +.TH UPX 1 2025-02-21 "upx 5.0.1" " " .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff --git a/misc/cmake/use_strict_defaults.cmake b/misc/cmake/use_strict_defaults.cmake new file mode 100644 index 00000000..6db0189f --- /dev/null +++ b/misc/cmake/use_strict_defaults.cmake @@ -0,0 +1,11 @@ +# +# UPX "CMake" build file; see https://cmake.org/ +# Copyright (C) Markus Franz Xaver Johannes Oberhumer +# + +if(NOT DEFINED USE_STRICT_DEFAULTS) + # use strict config defaults for Git developer builds + set(USE_STRICT_DEFAULTS TRUE CACHE INTERNAL "" FORCE) +endif() + +# vim:set ft=cmake ts=4 sw=4 tw=0 et: diff --git a/misc/podman/rebuild-stubs/Dockerfile b/misc/podman/rebuild-stubs/Dockerfile index 5fbc18b5..a860f311 100644 --- a/misc/podman/rebuild-stubs/Dockerfile +++ b/misc/podman/rebuild-stubs/Dockerfile @@ -62,7 +62,7 @@ RUN cd /root \ # install official UPX release binaries into /usr/local/bin; not required but convenient for testing RUN cd /root \ && curl -sS -L -O https://github.com/upx/upx/releases/download/v3.91/upx-3.91-amd64_linux.tar.bz2 \ - && xzversions="3.92 3.93 3.94 3.95 3.96 4.0.0 4.0.1 4.0.2 4.1.0 4.2.0 4.2.1 4.2.2 4.2.3 4.2.4" \ + && xzversions="3.92 3.93 3.94 3.95 3.96 4.0.0 4.0.1 4.0.2 4.1.0 4.2.0 4.2.1 4.2.2 4.2.3 4.2.4 5.0.0" \ && for v in $xzversions; do curl -sS -L -O https://github.com/upx/upx/releases/download/v${v}/upx-${v}-amd64_linux.tar.xz; done \ && for f in ./upx-*.tar.*; do tar -xoaf $f; done \ && for v in 3.91 $xzversions; do d=upx-${v}-amd64_linux; ./$d/upx -qq -d $d/upx -o /usr/local/bin/upx-${v}; done \ diff --git a/src/version.h b/src/version.h index dabbe463..83f11443 100644 --- a/src/version.h +++ b/src/version.h @@ -1,7 +1,7 @@ #pragma once -#define UPX_VERSION_HEX 0x050000 /* 05.00.00 */ -#define UPX_VERSION_STRING "5.0.0" -#define UPX_VERSION_STRING4 "5.00" -#define UPX_VERSION_DATE "Feb 20th 2025" -#define UPX_VERSION_DATE_ISO "2025-02-20" +#define UPX_VERSION_HEX 0x050001 /* 05.00.00 */ +#define UPX_VERSION_STRING "5.0.1" +#define UPX_VERSION_STRING4 "5.01" +#define UPX_VERSION_DATE "Feb 21st 2025" +#define UPX_VERSION_DATE_ISO "2025-02-21" #define UPX_VERSION_YEAR "2025"