Port details |
- upx Ultimate Packer for eXecutables
- 5.0.0 archivers
=12 4.2.4Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2004-02-17 03:24:26
- Last Update: 2025-03-14 09:54:00
- Commit Hash: 0e6ed56
- People watching this port, also watch:: unrar, curl, libxml2, wget, unzip
- License: GPLv2+
- WWW:
- https://upx.github.io/
- https://github.com/upx/upx
- Description:
- UPX is a free, portable, extendable, high-performance executable packer for
several different executable formats. It achieves an excellent compression ratio
and offers very fast decompression. Your executables suffer no memory overhead
or other drawbacks because of in-place decompression.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/archivers/upx/ && make install clean
- To add the package, run one of these commands:
- pkg install archivers/upx
- pkg install upx
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: upx
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1740836008
SHA256 (upx-5.0.0-src.tar.xz) = e0eb96f9c50aefdb02eca445f8ed76aca5cd70b6b132bf61bea3ba4b8ebb64cc
SIZE (upx-5.0.0-src.tar.xz) = 1364328
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- Library dependencies:
-
- libucl.so : archivers/ucl
- This port is required by:
- for Extract
- for Run
-
- security/caldera
- security/caldera4
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for upx-5.0.0:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- archivers_upx
- USES:
- cmake compiler:c++17-lang cpe tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
5.0.0 14 Mar 2025 09:54:00
    |
Po-Chuan Hsieh (sunpoet)  |
archivers/upx: Update to 5.0.0
Changes: https://github.com/upx/upx/releases
https://github.com/upx/upx/blob/master/NEWS |
4.2.4 19 May 2024 17:15:03
    |
Po-Chuan Hsieh (sunpoet)  |
archivers/upx: Update to 4.2.4
Changes: https://github.com/upx/upx/releases
https://github.com/upx/upx/blob/master/NEWS |
4.2.3 31 Mar 2024 18:50:47
    |
Po-Chuan Hsieh (sunpoet)  |
archivers/upx: Update to 4.2.3
Changes: https://github.com/upx/upx/releases
https://github.com/upx/upx/blob/master/NEWS |
4.2.2 21 Feb 2024 15:06:15
    |
Po-Chuan Hsieh (sunpoet)  |
archivers/upx: Update to 4.2.2
Changes: https://github.com/upx/upx/releases
https://github.com/upx/upx/blob/master/NEWS |
4.2.1 14 Nov 2023 17:15:31
    |
Po-Chuan Hsieh (sunpoet)  |
archivers/upx: Update to 4.2.1
Changes: https://github.com/upx/upx/releases
https://github.com/upx/upx/blob/master/NEWS |
4.2.0 02 Nov 2023 07:37:17
    |
Po-Chuan Hsieh (sunpoet)  |
archivers/upx: Update to 4.2.0
Changes: https://github.com/upx/upx/releases
https://github.com/upx/upx/blob/master/NEWS |
4.1.0 30 Sep 2023 00:44:19
    |
Po-Chuan Hsieh (sunpoet)  |
archivers/upx: Update to 4.1.0
Changes: https://github.com/upx/upx/releases |
4.0.2 27 May 2023 04:07:10
    |
Po-Chuan Hsieh (sunpoet)  |
archivers/upx: Update to 4.0.2
- Update WWW
- Update LICENSE_FILE
- Add DOCS option
Changes: https://github.com/upx/upx/releases |
3.96 17 May 2023 16:30:15
    |
Muhammad Moinur Rahman (bofh)  |
*/*: llvm15 build fixes
llvm15 was also merged into 13.2-STABLE effective from OSVERSION
1302505. Fix the ports that failed to build with llvm15.
Approved by: portmgr (blanket) |
3.96 02 May 2023 19:58:20
    |
Po-Chuan Hsieh (sunpoet)  |
archivers/upx: Fix build on 14-CURRENT
In file included from filteri.cpp:71:
./filter/cto.h:47:39: error: variable 'noncalls2' set but not used
[-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp:73:
./filter/cto.h:47:39: error: variable 'noncalls2' set but not used
[-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp:79:
./filter/cto.h:47:39: error: variable 'noncalls2' set but not used
[-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
In file included from filteri.cpp:81: (Only the first 15 lines of the commit message are shown above ) |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
3.96 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
3.96 20 Jul 2022 14:20:49
    |
Tobias C. Berner (tcberner)  |
archivers: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Albert Vernon <f3cun3c02@sneakemail.com>
* Alex Dupre <ale@FreeBSD.org>
* Alex Samorukov <samm@freebsd.org>
* Alexander Kuehn <freebsd@nagilum.org>
* Alexander Logvinov <ports@logvinov.com>
* Alexander Zhuravlev <zaa@zaa.pp.ru>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey Dokuchaev <danfe@regency.nsu.ru>
* Anders Nordby <anders@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
3.96 28 Jan 2022 23:26:35
    |
Po-Chuan Hsieh (sunpoet)  |
archivers/upx: Use upstream release tarball |
3.96 21 Dec 2021 18:46:12
    |
Po-Chuan Hsieh (sunpoet)  |
archivers/upx: Update to 3.96
- Remove DOCS option
- Update pkg-descr
- Take maintainership
Changes: https://github.com/upx/upx/releases |
3.95 06 Dec 2021 12:36:27
    |
Rene Ladan (rene)  |
all: return fjoe's ports to the pool
fjoe's ports bit got safekept. |
3.95 05 Oct 2021 19:11:39
    |
Bernhard Froehlich (decke)  |
archivers/upx: Add CPE information
Approved by: portmgr (blanket) |
3.95 02 Oct 2021 10:48:13
    |
Dimitry Andric (dim)  |
archivers/upx: fix build with clang 13
During an exp-run for llvm 13 (see bug 258209), it turned out that
archivers/upx fails to build with clang 13:
p_wcle.cpp:739:27: error: variable 'n' set but not used
[-Werror,-Wunused-but-set-variable]
unsigned count,object,n,r;
^
1 error generated.
This is because clang 13 now has a -Wunused-but-set-variable warning
similar to gcc's, and it is enabled under -Wall.
The p_wcle.cpp file has two instances where the 'n' variable is used for
debugging purposes, but the first instance is marked with UNUSED(n). The
second is not, triggering this warning. Fix it by also marking the
second instance with UNUSED(n).
PR: 258394
Approved by: maintainer timeout (3 weeks) |
3.95 19 Sep 2021 06:01:04
    |
Po-Chuan Hsieh (sunpoet)  |
archivers/upx: Update WWW
Approved by: portmgr (blanket) |
3.95 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
3.95 17 Mar 2020 17:45:47
  |
fjoe  |
Fix build with clang 10
PR: 244636
Submitted by: Dimitry Andric |
3.95 14 Dec 2018 08:44:29
  |
koobs  |
archivers/upx: Fix build due to missing perl (pod2*) tools
upx unconditionally runs its docs target, which relies on multiple [1] pod2*
tools provided by perl.
USES=perl and USE_PERL=build were removed in ports r478489, resulting in those
tools not being available at build time, and the following errors:
/bin/sh: pod2man: not found
/bin/sh: pod2html: not found
/bin/sh: pod2text: not found
This change, accordingly, re-adds perl as an unconditional build dependency,
including a comment about what its for.
(Only the first 15 lines of the commit message are shown above ) |
3.95 13 Dec 2018 02:24:38
  |
fjoe  |
Update to 3.95 |
3.94 30 Aug 2018 19:53:22
  |
yuri  |
archivers/upx: Update 3.91 -> 3.94
PR: 230089
Submitted by: Dmitri Goutnik <dg@syrec.org>
Approved by: fjoe (maintainer's timeout; 33 days) |
3.91 22 Jan 2018 09:45:32
  |
danfe  |
Unbreak the build on sparc64: unlike e.g. on powerpc, gcc on sparc64 does
not provide __BIG_ENDIAN__ macro by default. As `archivers/upx' is aware
of sparc64 existence, simply tell it that it is big-endian architecture.
While here, vocalize installation commands. |
3.91 26 Jul 2016 16:51:16
  |
mat  |
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.
With hat: portmgr
Sponsored by: Absolight |
3.91 01 Apr 2016 13:29:17
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat: portmgr
Sponsored by: Absolight |
3.91 13 Nov 2015 09:33:41
  |
marino  |
archivers/upx: Expand patch to support malloc.h-less DF |
3.91 11 May 2015 18:34:58
  |
mat  |
Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup
With hat: portmgr
Sponsored by: Absolight |
3.91 16 Jul 2014 03:47:06
  |
adamw  |
Add DOCS to OPTIONS_DEFINE where PORTDOCS= is set. |
3.91 01 Jun 2014 07:59:15
  |
ohauer  |
- fix sanity in CAT archivers
- USE_BZIP2 -> USES=tar:bzip2
- LICENSE=BSD -> BSD[n]CLAUSE |
3.91 01 Feb 2014 09:42:03
  |
fjoe  |
Update to 3.91
PR: 185276
Submitted by: Wesley Shields |
3.09 26 Dec 2013 16:53:14
  |
bapt  |
Support stage |
3.09 11 Dec 2013 10:04:56
  |
bapt  |
In preparation for making libtool generate libraries with a sane name, fix all
LIB_DEPENDS in accessibility
With hat: portmgr |
20 Sep 2013 13:11:21

|
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
archivers) |
3.09 30 Aug 2013 01:02:57
  |
bapt  |
Convert archivers from USE_GMAKE to USES=gmake
While here:
- Trim headers
- Convert some port to the new perl world
- Convert some port from USE_GNOME=pkgconfig to USES=pkgconfig |
3.09 28 Jul 2013 07:44:18
  |
fjoe  |
Update to 3.09.
PR: 180223
Submitted by: Devil <devzone.my@gmail.com> |
3.08 08 Oct 2012 16:50:01
  |
fjoe  |
Fix build on ia64. |
3.08 16 Jan 2012 12:47:49
 |
fjoe  |
Update to 3.08
PR: 163856
Submitted by: sunpoet@ |
3.07 18 Mar 2011 17:59:51
 |
miwi  |
- Get Rid MD5 support
With hat: portmgr (myself) |
3.07 09 Sep 2010 07:39:49
 |
fjoe  |
Update to 3.0.7. |
3.05 04 May 2010 14:45:26
 |
fjoe  |
Update to upx 3.05 and lzma from 7zip 4.65
PR: 146216 |
3.04 02 Nov 2009 09:09:46
 |
fjoe  |
Update to 3.04.
PR: 140182
Submitted by: Emanuel Haupt |
3.03 02 Sep 2009 15:01:56
 |
amdmi3  |
- Retire MASTER_SITE_SOURCEFORGE_EXTENDED, it's no longer needed - all mirrors
actually have all distfiles
- Merge all SF mirrors to MASTER_SITE_SOURCEFORGE, resort according to quick
download speed survey
- Fix MASTER_SITES for all port that have used SOURCEFORGE_EXTENTED
Approved by: portmgr (pav) |
3.03 27 Oct 2008 15:46:43
 |
fjoe  |
Update to 3.03
PR: 128386
Submitted by: Joseph S. Atkinson |
3.02 10 Mar 2008 08:01:43
 |
fjoe  |
- Update to 3.02 [1]
- Update PORTDOCS [1]
- Add LZMA support [2]
PR: 120354
Submitted by: Felippe de Meirelles Motta [1], Joseph S. Atkinson [2] |
3.01 22 Sep 2007 09:16:33
 |
fjoe  |
Not for sparc64. I do not have sparc64 hw to fix the build. |
3.01 24 Aug 2007 05:01:09
 |
fjoe  |
Fix build on IA64. |
3.01 21 Aug 2007 15:55:38
 |
fjoe  |
Update to 3.01
PR: 115570
Submitted by: mm@ |
3.00 04 Jul 2007 17:51:10
 |
fjoe  |
Fix build on -CURRENT.
Pointed out by: pav via pointyhat |
3.00 26 May 2007 08:45:15
 |
fjoe  |
Update to 3.00.
PR: 112560
Submitted by: Peter Johnson |
1.25 23 Feb 2007 07:52:53
 |
fjoe  |
Mark the port as i386-only.
Noticed by: rafan |
1.25 17 Nov 2005 19:10:31
 |
fjoe  |
Add SHA256 checksum. |
1.25 08 Jan 2005 11:16:50
 |
fjoe  |
Update to 1.25.
PR: 72472 |
1.24 17 Feb 2004 03:05:13
 |
fjoe  |
New port: upx 1.24
UPX is a free, portable, extendable, high-performance executable
packer for several different executable formats. It achieves an
excellent compression ratio and offers very fast decompression. |