head 1.4; access; symbols pkgsrc-2026Q3:1.3.0.100 pkgsrc-2026Q3-base:1.3 pkgsrc-2026Q2:1.3.0.98 pkgsrc-2026Q2-base:1.3 pkgsrc-2026Q1:1.3.0.96 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.94 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.92 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.90 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.88 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.86 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.84 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.82 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.80 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.78 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.76 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.74 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.72 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.70 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.68 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.66 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.64 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.62 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.60 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.58 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.56 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.54 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.52 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.48 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.28 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.50 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.46 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.44 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.42 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.40 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.38 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.36 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.34 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.32 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.30 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.26 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.24 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.22 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.20 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.18 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.16 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.14 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.12 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.10 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.8 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.6 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.4 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.2 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.2.0.16 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.14 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.12 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.10 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.8 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.4 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.2 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.1.0.2 pkgsrc-2012Q1-base:1.1; locks; strict; comment @ * @; 1.4 date 2026.10.26.22.10.50; author drixter; state dead; branches; next 1.3; commitid 5IAQ94q3Limoh21H; 1.3 date 2014.05.26.01.30.39; author rodent; state Exp; branches; next 1.2; commitid oMokG4AoBxiufZBx; 1.2 date 2012.05.02.06.45.14; author adam; state Exp; branches; next 1.1; 1.1 date 2012.02.15.19.27.10; author hans; state Exp; branches; next ; desc @@ 1.4 log @upx: Update to version 5.2.1 ================================================================== User visible changes for UPX ================================================================== Changes in 5.2.1 (27 Aug 2026): * bug fixes - see https://github.com/upx/upx/milestone/24 Changes in 5.2.0 (08 Jun 2026): * new format cpm86/cmd * bug fixes - see https://github.com/upx/upx/milestone/23 Changes in 5.1.1 (05 Mar 2026): * ELF: MIPS r3000 (32-bit) shared libraries are supported * bug fixes - see https://github.com/upx/upx/milestone/22 Changes in 5.1.0 (07 Jan 2026): * ELF: new format linux/riscv64 * bug fixes - see https://github.com/upx/upx/milestone/21 Changes in 5.0.2 (20 Jul 2025): * bug fixes - see https://github.com/upx/upx/milestone/20 Changes in 5.0.1 (06 May 2025): * 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 * ELF: --unmap-all-pages completely avoids /proc/self/exe * ELF: PT_MIPS_ABIFLAGS is now forwarded into the compressed output; qemu-mips can choose the right floating-point emulation * ELF: many minor internal changes fix nits revealed by fuzzing * bug fixes - see https://github.com/upx/upx/milestone/18 Changes in 4.2.4 (09 May 2024): * bug fixes - see https://github.com/upx/upx/milestone/17 Changes in 4.2.3 (27 Mar 2024): * bug fixes - see https://github.com/upx/upx/milestone/16 Changes in 4.2.2 (03 Jan 2024): * bug fixes - see https://github.com/upx/upx/milestone/15 Changes in 4.2.1 (01 Nov 2023): * linux: /proc/self/exe now is optional * windows: use SetFileTime to preserve sub-second file timestamps * official Windows builds: revert activeCodePage change introduced in 4.2.0 * bug fixes - see https://github.com/upx/upx/milestone/14 Changes in 4.2.0 (26 Oct 2023): * win32/pe and win64/pe: stricter relocation checks; please report regressions * unix: use utimensat to preserve sub-second file timestamps * new option '--link' to preserve hard-links (Unix only; use with care) * add support for NO_COLOR env var; see https://no-color.org/ * disable macOS support until we fix compatibility with macOS 13+ * official Windows builds: set activeCodePage to UTF-8 * bug fixes - see https://github.com/upx/upx/milestone/13 Changes in 4.1.0 (08 Aug 2023): * ELF: handle shared libraries with more than 2 PT_LOAD segments * bug fixes - see https://github.com/upx/upx/milestone/11 Changes in 4.0.2 (30 Jan 2023): * bug fixes - see https://github.com/upx/upx/milestone/9 Changes in 4.0.1 (16 Nov 2022): * bug fixes - see https://github.com/upx/upx/milestone/8 Changes in 4.0.0 (28 Oct 2022): * Switch to semantic versioning * SECURITY NOTES: emphasize the security context in the docs * Support easy building from source code with CMake * Support easy rebuilding the stubs from source with Podman/Docker * Add integrated doctest C++ testing framework * Add support for EFI files (PE x86; Kornel Pal) * win32/pe and win64/pe: set correct SizeOfHeaders in the PE header * bug fixes - see https://github.com/upx/upx/milestone/6 * bug fixes - see https://github.com/upx/upx/milestone/7 @ text @$NetBSD: patch-src_p__exe.h,v 1.3 2014/05/26 01:30:39 rodent Exp $ --- src/p_exe.h.orig 2013-09-30 15:51:00.000000000 +0000 +++ src/p_exe.h @@@@ -105,7 +105,7 @@@@ protected: enum { NORELOC = 1, USEJUMP = 2, - SS = 4, + upx_SS = 4, SP = 8, MINMEM = 16, MAXMEM = 32 @ 1.3 log @Updated to latest release, 3.91. Minor whitespace fixes in the Makefile. Use BUILD_DIRS and MAKE_ENV instead of writing do-install phase manually. Add sparc{,64} support to package. Fixes build on OpenBSD/sparc64 at least. Defuzz patches. From NEWS: ================================================================== User visible changes for UPX ================================================================== Changes in 3.91 (30 Sep 2013): * Added experimental support for Windows 64-bit PE files, based on work by Stefan Widmann. Please use for testing only! * bug fixes ================================================================== Changes in 3.09 (18 Feb 2013): * New option --preserve-build-id for GNU ELF. * Allow for code signing and LC_UUID on Mac OS X executables. * Allow non-contiguous LC_SEGMENTs and 0==.vmsize for Mach-O. * Allow zero-filled final page in PackUnix::canUnpack(). * bug fixes @ text @d1 1 a1 1 $NetBSD: patch-src_p__exe.h,v 1.2 2012/05/02 06:45:14 adam Exp $ @ 1.2 log @Changes 3.08: * Fix allocation in runtime stub for darwin.macho-entry (i386 and amd64). * Compress shared library on ELF i386 only [ld.so threatens even this case]. * Attempt to suport ELF on QNX 6.3.0 for armel (experimental). * Better diangostic when ELF -fPIC is needed. * PT_NOTE improvements for *BSD. * Preserve more ELF .e_flags on ARM. * Minor code improvements for ELF stubs * Defend against another flavor of corrupt PE header. * bug fixes @ text @d1 1 a1 1 $NetBSD: patch-src_p__exe.h,v 1.1 2012/02/15 19:27:10 hans Exp $ d3 2 a4 2 --- src/p_exe.h.orig 2002-06-01 13:20:17.000000000 +0200 +++ src/p_exe.h 2012-01-11 15:33:21.472848400 +0100 @ 1.1 log @Fix build on SunOS. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -96,7 +96,7 @@@@ protected: @