On Wed, 16 Sep 2026 01:43:57 -0400
George Koehler <[email protected]> wrote:
> I am looking for ports that run 7z with the -l flag....
archivers/deco, x11/gnome/file-roller, and x11/mate/engrampa run 7z
with -l. p7zip had -l but 7zip does not.
I will commit this diff after I import 7zip. It adds patches for
file-roller and emgrampa from their upstream gits, to drop -l and
fix adding a file to a .tar.7z archive. (I didn't find a problem
with a regular .7z archive.) deco-archive is broken at runtime and
can't reach its -l, so I'm keeping it as is for now.
It also adds a patch for x11/xarchiver to find 7zCon.sfx in the new
spot. It also adds the p7zip => 7zip quirks.
I ignore some problems that happen with both p7zip and 7zip:
- security/rarcrack likes to crash or get stuck unless I pass
'--threads 1 --type 7z'.
- x11/gnustep/zipper has trouble parsing '7z l' output.
- x11/kde-applications/ark sometimes does '7z -m0=""' which fails.
- I didn't check this, but anything that runs 7z without -spd might
go wrong if a filename has a literal '*' or '?'.
--gkoehler
Index: archivers/deco/Makefile
===================================================================
RCS file: /cvs/ports/archivers/deco/Makefile,v
diff -u -p -r1.17 Makefile
--- archivers/deco/Makefile 5 Sep 2023 14:59:17 -0000 1.17
+++ archivers/deco/Makefile 17 Sep 2026 04:07:46 -0000
@@ -3,7 +3,7 @@ COMMENT= extract various archive file fo
V= 1.6.4
ARCHIVE_V= 1.7
PKGNAME= deco-archive-${V}
-REVISION= 0
+REVISION= 1
CATEGORIES= archivers
@@ -20,10 +20,10 @@ DISTFILES= deco-{deco/archive/}${V}${EXT
DECO= ${WRKDIR}/deco-${V}
ARCHIVE= ${WRKDIR}/deco-archive-${ARCHIVE_V}
-RUN_DEPENDS= archivers/arc \
+RUN_DEPENDS= archivers/7zip \
+ archivers/arc \
archivers/bzip2 \
archivers/cabextract \
- archivers/p7zip \
archivers/lzop \
archivers/rzip \
archivers/unzip \
Index: devel/quirks/Makefile
===================================================================
RCS file: /cvs/ports/devel/quirks/Makefile,v
diff -u -p -r1.1813 Makefile
--- devel/quirks/Makefile 11 Sep 2026 17:41:13 -0000 1.1813
+++ devel/quirks/Makefile 17 Sep 2026 04:08:06 -0000
@@ -3,7 +3,7 @@ CATEGORIES = devel databases
DISTFILES =
# API.rev
-PKGNAME = quirks-7.220
+PKGNAME = quirks-7.221
PKG_ARCH = *
MAINTAINER = Marc Espie <[email protected]>
Index: devel/quirks/files/Quirks.pm
===================================================================
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
diff -u -p -r1.1827 Quirks.pm
--- devel/quirks/files/Quirks.pm 11 Sep 2026 17:41:13 -0000 1.1827
+++ devel/quirks/files/Quirks.pm 17 Sep 2026 04:08:06 -0000
@@ -269,6 +269,8 @@ my $stem_extensions = {
'vegastrike-music' => 'vegastrike-utcs',
'vegastrike-speech' => 'vegastrike-utcs',
'erl26-rebar3' => 'erl28-rebar3',
+ 'p7zip' => '7zip',
+ 'p7zip-rar' => '7zip-rar',
};
Index: games/indierunner/Makefile
===================================================================
RCS file: /cvs/ports/games/indierunner/Makefile,v
diff -u -p -r1.7 Makefile
--- games/indierunner/Makefile 8 Jun 2026 23:19:33 -0000 1.7
+++ games/indierunner/Makefile 17 Sep 2026 04:08:13 -0000
@@ -3,6 +3,7 @@ COMMENT = launch independent games
V = 0.3
DISTNAME = IndieRunner-v${V}
PKGNAME = indierunner-${V}
+REVISION = 0
CATEGORIES = games
@@ -17,7 +18,7 @@ SITES = https://github.com/IndieRunner/
MODULES = perl
BUILD_DEPENDS= devel/p5-File-ShareDir-Install
-RUN_DEPENDS = archivers/p7zip \
+RUN_DEPENDS = archivers/7zip \
converters/p5-JSON \
devel/p5-File-Share \
devel/p5-File-Find-Rule \
Index: games/recoil-rts/Makefile
===================================================================
RCS file: /cvs/ports/games/recoil-rts/Makefile,v
diff -u -p -r1.30 Makefile
--- games/recoil-rts/Makefile 5 Sep 2026 20:10:20 -0000 1.30
+++ games/recoil-rts/Makefile 17 Sep 2026 04:08:14 -0000
@@ -9,7 +9,7 @@ COMMENT = real-time strategy game engin
V = 2026.07.04
PKGNAME = recoil-rts-${V}
-REVISION = 0
+REVISION = 1
DIST_TUPLE += github beyond-all-reason RecoilEngine ${V} .
DIST_TUPLE += github mikke89 RmlUi \
@@ -84,7 +84,7 @@ COMPILER = base-clang ports-gcc
MODULES = devel/cmake
-BUILD_DEPENDS = archivers/p7zip \
+BUILD_DEPENDS = archivers/7zip \
converters/libiconv \
devel/boost \
shells/bash \
Index: games/warzone2100/Makefile
===================================================================
RCS file: /cvs/ports/games/warzone2100/Makefile,v
diff -u -p -r1.60 Makefile
--- games/warzone2100/Makefile 16 Feb 2026 12:54:42 -0000 1.60
+++ games/warzone2100/Makefile 17 Sep 2026 04:08:15 -0000
@@ -3,7 +3,7 @@ ONLY_FOR_ARCHS= amd64 i386
COMMENT= 3D realtime strategy on a future earth
V= 4.3.2
-REVISION= 3
+REVISION= 4
# shouldn't be needed after updating
MODCMAKE_POLICY_VERSION_OVERRIDE= Yes
@@ -45,7 +45,7 @@ LIB_DEPENDS= audio/libogg \
net/miniupnp/miniupnpc \
security/libsodium
-BUILD_DEPENDS= archivers/p7zip \
+BUILD_DEPENDS= archivers/7zip \
devel/gettext,-tools \
devel/sdl2 \
graphics/shaderc \
Index: lang/nim/Makefile
===================================================================
RCS file: /cvs/ports/lang/nim/Makefile,v
diff -u -p -r1.27 Makefile
--- lang/nim/Makefile 17 Jul 2026 00:54:38 -0000 1.27
+++ lang/nim/Makefile 17 Sep 2026 04:08:19 -0000
@@ -4,6 +4,7 @@ COMMENT = statically typed systems prog
DISTNAME = nim-2.2.10
EXTRACT_SUFX = .tar.xz
+REVISION = 0
CATEGORIES = lang
@@ -38,7 +39,7 @@ ATLAS_SSL_FLAGS = -d:libressl --dynlibOv
MODULES = lang/python
PORTHOME = ${WRKDIR}
-TEST_DEPENDS = archivers/p7zip,-main \
+TEST_DEPENDS = archivers/7zip,-main \
archivers/unzip \
devel/boehm-gc \
devel/pcre \
Index: mail/amavisd-new/Makefile
===================================================================
RCS file: /cvs/ports/mail/amavisd-new/Makefile,v
diff -u -p -r1.57 Makefile
--- mail/amavisd-new/Makefile 26 Jun 2026 11:13:00 -0000 1.57
+++ mail/amavisd-new/Makefile 17 Sep 2026 04:08:19 -0000
@@ -6,6 +6,7 @@ DISTNAME= amavis-v${V}
PKGNAME-main= amavisd-new-${V}
PKGNAME-utils= amavisd-new-utils-${V}
CATEGORIES= mail security
+REVISION-main= 0
HOMEPAGE= https://www.amavis.org/
@@ -16,12 +17,12 @@ SITES= https://gitlab.com/amavis/amavi
EXTRACT_SUFX= .tar.bz2
-RUN_DEPENDS= archivers/arc \
+RUN_DEPENDS= archivers/7zip,-rar \
+ archivers/arc \
archivers/bzip2 \
archivers/cabextract \
archivers/lzop \
archivers/p5-Archive-Zip>=1.14 \
- archivers/p7zip,-rar \
archivers/ripole \
archivers/unzip \
archivers/zoo \
Index: net/rabbitmq/Makefile
===================================================================
RCS file: /cvs/ports/net/rabbitmq/Makefile,v
diff -u -p -r1.93 Makefile
--- net/rabbitmq/Makefile 14 Sep 2026 17:03:04 -0000 1.93
+++ net/rabbitmq/Makefile 17 Sep 2026 04:08:25 -0000
@@ -3,6 +3,7 @@ COMMENT = highly reliable Enterprise Mes
V = 4.3.6
DISTNAME = rabbitmq-server-${V}
PKGNAME = rabbitmq-${V}
+REVISION = 0
CATEGORIES = net
@@ -22,7 +23,7 @@ MODULES = lang/erlang \
USE_GMAKE = Yes
CONFIGURE_STYLE = none
-BUILD_DEPENDS = archivers/p7zip \
+BUILD_DEPENDS = archivers/7zip \
archivers/unzip \
archivers/zip \
devel/gmake \
Index: news/nzbget/Makefile
===================================================================
RCS file: /cvs/ports/news/nzbget/Makefile,v
diff -u -p -r1.41 Makefile
--- news/nzbget/Makefile 27 Aug 2026 12:38:20 -0000 1.41
+++ news/nzbget/Makefile 17 Sep 2026 04:08:26 -0000
@@ -1,4 +1,5 @@
COMMENT = binary newsreader supporting NZB files
+REVISION = 0
DIST_TUPLE += github nzbgetcom nzbget v26.3 .
DIST_TUPLE += github nzbgetcom par2cmdline-turbo v1.4.0-20260803
par2cmdline-turbo
@@ -24,7 +25,7 @@ MODULES = devel/cmake
MODCMAKE_DEBUG = Yes
.endif
-RUN_DEPENDS = archivers/p7zip \
+RUN_DEPENDS = archivers/7zip \
archivers/unrar
LIB_DEPENDS = devel/boost \
textproc/libxml
Index: security/rarcrack/Makefile
===================================================================
RCS file: /cvs/ports/security/rarcrack/Makefile,v
diff -u -p -r1.18 Makefile
--- security/rarcrack/Makefile 1 Nov 2025 11:16:42 -0000 1.18
+++ security/rarcrack/Makefile 17 Sep 2026 04:08:29 -0000
@@ -1,7 +1,7 @@
COMMENT= rar, 7zip and zip password bruteforcer
DISTNAME= rarcrack-0.2
-REVISION = 9
+REVISION = 10
CATEGORIES= security
HOMEPAGE= https://rarcrack.sourceforge.net/
@@ -16,7 +16,7 @@ WANTLIB+= c iconv m pthread xml2 z
LIB_DEPENDS= converters/libiconv \
textproc/libxml
-RUN_DEPENDS= archivers/p7zip \
+RUN_DEPENDS= archivers/7zip \
archivers/unrar \
archivers/unzip
Index: x11/gnome/file-roller/Makefile
===================================================================
RCS file: /cvs/ports/x11/gnome/file-roller/Makefile,v
diff -u -p -r1.171 Makefile
--- x11/gnome/file-roller/Makefile 23 Jun 2026 11:12:41 -0000 1.171
+++ x11/gnome/file-roller/Makefile 17 Sep 2026 04:08:40 -0000
@@ -3,6 +3,7 @@ COMMENT-nautilus= file-roller extension
GNOME_PROJECT= file-roller
GNOME_VERSION= 44.7
+REVISION-main= 0
PKGNAME-nautilus= ${GNOME_PROJECT}-nautilus-${GNOME_VERSION}
@@ -25,9 +26,9 @@ MODULES= devel/dconf \
BUILD_DEPENDS= archivers/gcpio
RUN_DEPENDS-main= ${RUN_DEPENDS} \
+ archivers/7zip \
archivers/gcpio \
archivers/gtar \
- archivers/p7zip \
archivers/unzip \
archivers/xz \
archivers/zip \
--- /dev/null Thu Sep 17 00:10:40 2026
+++ x11/gnome/file-roller/patches/patch-src_fr-command-tar_c Wed Sep 16
01:10:03 2026
@@ -0,0 +1,14 @@
+No 7z -l after switch from p7zip to 7zip.
+https://gitlab.gnome.org/GNOME/file-roller/-/commit/0fafd8fd7ba1da4f1c4c67c9dacf8af985ad2641
+
+Index: src/fr-command-tar.c
+--- src/fr-command-tar.c.orig
++++ src/fr-command-tar.c
+@@ -755,7 +755,6 @@ fr_command_tar_recompress (FrCommand *comm)
+ fr_process_add_arg (comm->process, "a");
+ fr_process_add_arg (comm->process, "-bd");
+ fr_process_add_arg (comm->process, "-y");
+- fr_process_add_arg (comm->process, "-l");
+
+ new_name = g_strconcat (c_tar->uncomp_filename, ".7z", NULL);
+ fr_process_add_arg_concat (comm->process, new_name, NULL);
Index: x11/gnustep/zipper/Makefile
===================================================================
RCS file: /cvs/ports/x11/gnustep/zipper/Makefile,v
diff -u -p -r1.22 Makefile
--- x11/gnustep/zipper/Makefile 2 Feb 2026 14:27:58 -0000 1.22
+++ x11/gnustep/zipper/Makefile 17 Sep 2026 04:08:40 -0000
@@ -1,6 +1,6 @@
COMMENT = tool for inspecting compressed archvies
-REVISION = 14
+REVISION = 15
DISTNAME = Zipper-1.5
HOMEPAGE = http://gap.nongnu.org/zipper/
@@ -8,8 +8,8 @@ SITES = ${SITE_SAVANNAH:=gap/}
MODULES = x11/gnustep
WANTLIB += ${COMPILER_LIBCXX}
-RUN_DEPENDS += archivers/lha \
- archivers/p7zip \
+RUN_DEPENDS += archivers/7zip \
+ archivers/lha \
archivers/unrar \
archivers/unzip \
archivers/zoo
Index: x11/kde-applications/ark/Makefile
===================================================================
RCS file: /cvs/ports/x11/kde-applications/ark/Makefile,v
diff -u -p -r1.33 Makefile
--- x11/kde-applications/ark/Makefile 21 May 2026 12:27:20 -0000 1.33
+++ x11/kde-applications/ark/Makefile 17 Sep 2026 04:08:41 -0000
@@ -1,6 +1,7 @@
COMMENT = archiving Tool
DISTNAME = ark-${VERSION}
CATEGORIES = archivers
+REVISION = 0
SHARED_LIBS += kerfuffle 9.3 # 17.08
@@ -20,18 +21,18 @@ MODKDE_TRANSLATIONS = yes
MODKF5_L10N_CONFLICT = yes
MODKDE_DOCS = yes
-BUILD_DEPENDS = archivers/bzip2 \
+BUILD_DEPENDS = archivers/7zip \
+ archivers/bzip2 \
archivers/lzo2 \
- archivers/p7zip \
archivers/rzip \
archivers/unrar \
archivers/zstd
-RUN_DEPENDS = archivers/bzip2 \
- archivers/unrar \
- archivers/p7zip \
+RUN_DEPENDS = archivers/7zip \
+ archivers/bzip2 \
archivers/lzo2 \
archivers/rzip \
+ archivers/unrar \
archivers/zstd \
misc/shared-mime-info
Index: x11/mate/engrampa/Makefile
===================================================================
RCS file: /cvs/ports/x11/mate/engrampa/Makefile,v
diff -u -p -r1.33 Makefile
--- x11/mate/engrampa/Makefile 5 Aug 2026 10:06:13 -0000 1.33
+++ x11/mate/engrampa/Makefile 17 Sep 2026 04:08:42 -0000
@@ -1,6 +1,7 @@
USE_WXNEEDED= Yes
COMMENT= file archiver for the MATE desktop
+REVISION= 0
CATEGORIES= archivers
@@ -25,8 +26,8 @@ WANTLIB += wayland-egl xkbcommon
MODULES= devel/dconf \
x11/gnome
-RUN_DEPENDS= archivers/gtar \
- archivers/p7zip \
+RUN_DEPENDS= archivers/7zip \
+ archivers/gtar \
archivers/unrar \
archivers/unzip \
archivers/zip
--- /dev/null Thu Sep 17 00:10:52 2026
+++ x11/mate/engrampa/patches/patch-src_fr-command-tar_c Wed Sep 16
18:31:44 2026
@@ -0,0 +1,15 @@
+No 7z -l after switch from p7zip to 7zip.
+https://github.com/mate-desktop/engrampa/commit/426e765c0fd9e83a53e9cbbe4e7a3f5040af61f9
+
+Index: src/fr-command-tar.c
+--- src/fr-command-tar.c.orig
++++ src/fr-command-tar.c
+@@ -664,8 +664,6 @@ fr_command_tar_recompress (FrCommand *comm)
+ fr_process_add_arg (comm->process, "a");
+ fr_process_add_arg (comm->process, "-bd");
+ fr_process_add_arg (comm->process, "-y");
+- if (g_strcmp0 (comm_tar->compress_command, "7zzs") != 0 &&
g_strcmp0 (comm_tar->compress_command, "7zz") != 0)
+- fr_process_add_arg (comm->process, "-l");
+
+ new_name = g_strconcat (c_tar->uncomp_filename, ".7z", NULL);
+ fr_process_add_arg_concat (comm->process, new_name, NULL);
Index: x11/xarchiver/Makefile
===================================================================
RCS file: /cvs/ports/x11/xarchiver/Makefile,v
diff -u -p -r1.44 Makefile
--- x11/xarchiver/Makefile 10 Oct 2024 13:41:09 -0000 1.44
+++ x11/xarchiver/Makefile 17 Sep 2026 04:08:43 -0000
@@ -1,6 +1,7 @@
COMMENT = simple archive manager
CATEGORIES = x11 archivers
DIST_TUPLE = github ib xarchiver 0.5.4.23 .
+REVISION = 0
HOMEPAGE = https://xarchiver.sourceforge.net
@@ -32,7 +33,7 @@ LIB_DEPENDS = devel/gettext,-runtime \
RUN_DEPENDS = archivers/zip \
archivers/unzip \
archivers/gtar \
- archivers/p7zip \
+ archivers/7zip \
devel/xdg-utils \
devel/desktop-file-utils \
x11/gtk+4,-guic
Index: x11/xarchiver/patches/patch-src_window_c
===================================================================
RCS file: x11/xarchiver/patches/patch-src_window_c
diff -N x11/xarchiver/patches/patch-src_window_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ x11/xarchiver/patches/patch-src_window_c 17 Sep 2026 04:08:43 -0000
@@ -0,0 +1,16 @@
+Find 7zCon.sfx from archivers/7zip
+
+Index: src/window.c
+--- src/window.c.orig
++++ src/window.c
+@@ -1578,7 +1578,9 @@ end_zip:
+ if (archive_name == NULL)
+ return;
+
+- if (g_file_test (
"/usr/lib/p7zip/7zCon.sfx",G_FILE_TEST_EXISTS))
++ if (g_file_test (
"/usr/local/lib/7zip/7zCon.sfx",G_FILE_TEST_EXISTS))
++ sfx_path =
g_strdup("/usr/local/lib/7zip/7zCon.sfx");
++ else if (g_file_test (
"/usr/lib/p7zip/7zCon.sfx",G_FILE_TEST_EXISTS))
+ sfx_path = g_strdup("/usr/lib/p7zip/7zCon.sfx");
+ else if (g_file_test (
"/usr/local/lib/p7zip/7zCon.sfx",G_FILE_TEST_EXISTS))
+ sfx_path = g_strdup
("/usr/local/lib/p7zip/7zCon.sfx");