archivers/upx: Update to 5.2.1 Changes: https://github.com/upx/upx/releases https://github.com/upx/upx/blob/master/NEWS74db5e3bb0
Port details
archivers/upx 5.2.1
Ultimate Packer for eXecutables
Port info
- Maintainer
- sunpoet@FreeBSD.org
- Packages
- latest: 5.2.1
- Upstream
- up to date
- Last update
- to 5.2.1 · 74db5e3bb0
- Quarterly
- 2026Q4: 5.2.1
- WWW
- https://upx.github.io/
- Links
- cgit · VuXML
Install
- Package
# pkg install upxinstalls 5.2.1 fromlatest; fromquarterly(2026Q4) 5.2.1- Port
# cd /usr/ports/archivers/upx && make install clean# make -C /usr/ports/archivers/upx config # change options first
- Size
- 780 KiB download · 3.1 MiB installed
- Depends on
- archivers/ucl 1.03_5
- License
- GPLv2+
- Options
- 1 of 1 on in the package: DOCS
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 5.2.1 | 5.2.1 | – |
| FreeBSD 15 | 5.2.1 | 5.2.1 | – |
| FreeBSD 14 | 5.2.1 | 5.2.1 | 5.2.1 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 5.2.1 | 5.2.1 | – |
| FreeBSD 14 | 5.2.1 | 5.2.1 | 5.2.1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 5.2.1.Not counted (2)
CVEs that match this port only loosely: inherited from the whole project, or with versions that cannot be compared. What does this mean?
2 with versions that cannot be compared
The CVE record gives dates or the port uses snapshot versions (or the other way round), so the version of this port cannot be placed in the affected range.
| CVE | CVSS | Published | Description |
|---|---|---|---|
| CVE-2023-23456 | 5.3 | 2023-01-12 | A heap-based buffer overflow issue was discovered in UPX in PackTmt::pack() in p_tmt.cpp file. The flow allows an attacker to cause a denial of service (abort) via a cra… |
| CVE-2023-23457 | 5.3 | 2023-01-12 | A Segmentation fault was found in UPX in PackLinuxElf64::invert_pt_dynamic() in p_lx_elf.cpp. An attacker with a crafted input file allows invalid memory address access … |
Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (62)
archivers/upx: Update to 5.2.0 Changes: https://github.com/upx/upx/releases https://github.com/upx/upx/blob/master/NEWSba23d43c80
archivers/upx: Fix CPE data According to NVD CPE Dictionary upx_project:upx is deprecated in favour of upx:upx511af954a8
archivers/upx: Update to 5.1.1 Changes: https://github.com/upx/upx/releases https://github.com/upx/upx/blob/master/NEWS4f0f7d4d0c
archivers/upx: Update to 5.1.0 Changes: https://github.com/upx/upx/releases https://github.com/upx/upx/blob/master/NEWS05a1e6be0f
archivers/upx: Update to 5.0.2 Changes: https://github.com/upx/upx/releases https://github.com/upx/upx/blob/master/NEWS0b252cfd48
archivers/upx: Update to 5.0.1 Changes: https://github.com/upx/upx/releases https://github.com/upx/upx/blob/master/NEWS4ec0fdaa2a
archivers/upx: Update to 5.0.0 Changes: https://github.com/upx/upx/releases https://github.com/upx/upx/blob/master/NEWS0e6ed560a4
archivers/upx: Update to 4.2.4 Changes: https://github.com/upx/upx/releases https://github.com/upx/upx/blob/master/NEWS8c924a213a
archivers/upx: Update to 4.2.3 Changes: https://github.com/upx/upx/releases https://github.com/upx/upx/blob/master/NEWS64dbe4b427
archivers/upx: Update to 4.2.2 Changes: https://github.com/upx/upx/releases https://github.com/upx/upx/blob/master/NEWSf4245cc6ab
archivers/upx: Update to 4.2.1 Changes: https://github.com/upx/upx/releases https://github.com/upx/upx/blob/master/NEWSb7b13d67bd
archivers/upx: Update to 4.2.0 Changes: https://github.com/upx/upx/releases https://github.com/upx/upx/blob/master/NEWS6cb4ff5d55
archivers/upx: Update to 4.1.0 Changes: https://github.com/upx/upx/releases42929fa09f
archivers/upx: Update to 4.0.2 - Update WWW - Update LICENSE_FILE - Add DOCS option Changes: https://github.com/upx/upx/releases27eea36612
*/*: 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)9b178ffd7e
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:
./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:87:
./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:89:
./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:100:
./filter/ctoj.h:51: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:102:
./filter/ctoj.h:51: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:115:
./filter/ctok.h:52: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:117:
./filter/ctok.h:52: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:141:
./filter/ctojr.h:109: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:143:
./filter/ctojr.h:109:39: error: variable 'noncalls2' set but not used [-Werror,-Wunused-but-set-variable]
unsigned calls = 0, noncalls = 0, noncalls2 = 0;
^
12 errors generated.
Reference: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pdf5b273c8e36_s83d5725005/logs/upx-3.96.log95c89d246aRemove 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)fb16dfecae
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. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
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> * Andreas Klemm <andreas@klemm.gtn.com> * Andreev Maxim * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Andrey Chernov <ache@FreeBSD.org> * Andrey Kostenko <andrey@kostenko.name> * Anes Mukhametov <anes@anes.su> * Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>) * Ayumi M <ayu@commun.jp> * Carsten Larsen <cs@innolan.dk> * Chin-San Huang <chinsan.tw@gmail.com> * Chris D. Faulhaber <jedgar@FreeBSD.org> * Chris Larsen <darth@vader.dk> * Christopher Key <cjk32@cam.ac.uk> * Cyrille Lefevre <cyrille.lefevre@laposte.net> * Dmitry Sivachenko <demon@FreeBSD.org> * Emanuel Haupt <ehaupt@FreeBSD.org> * Emanuel Haupt <ehaupt@critical.ch> * Felix Palmen <felix@palmen-it.de> * Gabor Kovesdan <gabor@FreeBSD.org> * Gea-Suan Lin (gslin@ccca.nctu.edu.tw) * Gea-Suan Lin <gslin@gslin.org> * George Reid <greid@ukug.uk.freebsd.org> * Greg Lewis <glewis@FreeBSD.org> * Hsin-Han You <hhyou@cs.nctu.edu.tw> * Hye-Shik Chang * Hye-Shik Chang <perky@FreeBSD.org> * Igor Pokrovsky <tiamat@telegraph.spb.ru> * Jaap Boender <jaapb@kerguelen.org> * Jean-Yves Lefort <jylefort@brutele.be> * Jeff Burchell <toxic@doobie.com> * Jeffrey H. Johnson <CPE1704TKS@bellsouth.net> * Jerry Hicks * Joao Carlos Mendes Luis <jonny@jonny.eng.br> * John Marino <marino@FreeBSD.org> * José García Juanino <jjuanino@gmail.com> * Juergen Lock <nox@jelal.kn-bremen.de> * Kevin Golding <ports@caomhin.org> * Konstantin Reznichenko <kot@premierbank.dp.ua> * Koop Mast <kwm@FreeBSD.org> * Kubilay Kocak <koobs@FreeBSD.org> * Lars Thegler <lth@FreeBSD.org> * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Mark Felder <feld@FreeBSD.org> * Mark Kane <mark@mkproductions.org> * Mark Pulford <mark@kyne.com.au> * Martin Matuska <mm@FreeBSD.org> * Martin Wilke <miwi@FreeBSD.org> * Matteo Cypriani <mcy@lm7.fr> * Max Khon <fjoe@FreeBSD.org> * Maxim Sobolev <sobomax@FreeBSD.org> * Melvyn Sopacua <melvyn@magemana.nl> * Miguel Mendez <flynn@energyhq.homeip.net> * Nathan Ahlstrom <nra@FreeBSD.org> * Nicola Vitale <nivit@FreeBSD.org> * Patrick Seal <patseal@hyperhost.net> * Pav Lucistnik <pav@FreeBSD.org> * Per Wigren * Philippe Casidy <pcasidy@casidy.com> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Poul-Henning Kamp <phk@FreeBSD.org> * Radim Kolar * Radim Kolar <hsn@filez.com> * Radim Kolar <hsn@netmag.cz> * Rainer Hurling <rhurlin@gwdg.de> * Richard Gallamore <ultima@FreeBSD.org> * Roman Shterenzon <roman@xpert.com> * Ryan Steinmetz <zi@FreeBSD.org> * Sam Lawrance <boris@brooknet.com.au> * Sergey A. Osokin <osa@FreeBSD.org> * Sergey Skvortsov <skv@protey.ru> * Sir l33tname <sirl33tname@gmail.com> * Stanislav Sedov <ssedov@mbsd.msk.ru> * Stefan Esser <se@FreeBSD.org> * Steve Wills <swills@FreeBSD.org> * Steven Kreuzer <skreuzer@FreeBSD.org> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> * Sylvio Cesar <sylvio@FreeBSD.org> * TAKATSU Tomonari <tota@FreeBSD.org> * Thierry Thomas <thierry@pompo.net> * Thomas Abthorpe <thomas@goodking.ca> * Thomas Gellekum <tg@FreeBSD.org> * Vanilla I. Shu <vanilla@FreeBSD.org> * Wen Heping <wenheping@gmail.com> * Will Andrews <andrews@technologist.com> * Yarodin <yarodin@gmail.com> * Ying-Chieh Liao <ijliao@FreeBSD.org> * Yuri Victorovich <yuri@rawbw.com> * ache * adamw * antoine@FreeBSD.org * bf <bf2006a@yahoo.com> * chinsan <chinsan.tw@gmail.com> * giffunip@asme.org * gurkan@phys.ethz.ch * iblis <iblis.dif01@nctu.edu.tw> * ijliao * jmz * kwm@FreeBSD.org * lbartoletti <lbartoletti@FreeBSD.org> * mm * ports@c0decafe.net <ports@c0decafe.net> * samm@freebsd.org * swhetzel@gmail.com * will With hat: portmgr1ced9d288a
archivers/upx: Use upstream release tarball98deea4a7f
archivers/upx: Update to 3.96 - Remove DOCS option - Update pkg-descr - Take maintainership Changes: https://github.com/upx/upx/releases1db1502ff3
all: return fjoe's ports to the pool fjoe's ports bit got safekept.a67b5dd8d0
archivers/upx: Add CPE information Approved by: portmgr (blanket)ab761c5104
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)89909595adarchivers/upx: Update WWW Approved by: portmgr (blanket)e7680ba883
Remove # $FreeBSD$ from Makefiles.305f148f48
Fix build with clang 10 PR: 244636 Submitted by: Dimitry Andricebaffa0a43
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. While I'm here: * Update COMMENT for (portlint) compliance [2] [1] pod2man, pod2html, pod2text [2] Wikipedia, MajorGeeks and others also describe UPX without a "The" prefix PR: 234002 Reported by: <mail ozzmosis com> Approved by: portmgr (blanket: build fix, JFI) MFH: 2018Q4 Differential Revision: D185496f31554eb6
Update to 3.956244bde1ca
archivers/upx: Update 3.91 -> 3.94 PR: 230089 Submitted by: Dmitri Goutnik <dg@syrec.org> Approved by: fjoe (maintainer's timeout; 33 days)88fe79d6da
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.7f47139301
Cleanup patches, a* categories. Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight9fa9eb9ac7
Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat: portmgr
Sponsored by: Absolight7f4572eae4archivers/upx: Expand patch to support malloc.h-less DF38eb8b7cf2
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: Absolight88bfe4bd43Add DOCS to OPTIONS_DEFINE where PORTDOCS= is set.cff70035fd
- fix sanity in CAT archivers - USE_BZIP2 -> USES=tar:bzip2 - LICENSE=BSD -> BSD[n]CLAUSE73969bbf79
Update to 3.91 PR: 185276 Submitted by: Wesley Shields6be8465325
Support stagef6dbeb2e35
In preparation for making libtool generate libraries with a sane name, fix all LIB_DEPENDS in accessibility With hat: portmgrb3a96ed6ee
Add NO_STAGE all over the place in preparation for the staging support (cat: archivers)b80ec3e204
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=pkgconfigecfa41e79d
Update to 3.09. PR: 180223 Submitted by: Devil <devzone.my@gmail.com>7a6e4cb54a
Fix build on ia64.7a71d56e23
Update to 3.08 PR: 163856 Submitted by: sunpoet@2c9a5b4b8b
- Get Rid MD5 support With hat: portmgr (myself)65e190c0f0
Update to 3.0.7.94d247fd2d
Update to upx 3.05 and lzma from 7zip 4.65 PR: 14621644663dfe28
Update to 3.04. PR: 140182 Submitted by: Emanuel Haupt860556ae06