git: de56466f0d30 - main - sysutils/ezjail: fix jail shutdown by adding default exec_stop
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Mar 2026 14:43:36 UTC
The branch main has been updated by tz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=de56466f0d30a0bab36f94c5ed0a6857b6e888b0
commit de56466f0d30a0bab36f94c5ed0a6857b6e888b0
Author: Torsten Zuehlsdorff <tz@FreeBSD.org>
AuthorDate: 2026-03-24 16:35:01 +0000
Commit: Torsten Zuehlsdorff <tz@FreeBSD.org>
CommitDate: 2026-03-25 14:43:02 +0000
sysutils/ezjail: fix jail shutdown by adding default exec_stop
New jails were missing the exec.stop setting, causing ezjail to kill
processes instead of running /bin/sh /etc/rc.shutdown. Also fixes
fetch(1) invocations to use -o - for stdout output.
PR: 245167
Approved by: erdgeist (maintainer, upstream)
---
sysutils/ezjail/Makefile | 2 +-
sysutils/ezjail/files/patch-ezjail-admin | 16 ++++++++++++----
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/sysutils/ezjail/Makefile b/sysutils/ezjail/Makefile
index 2defa5de78d1..2aa1cc1f8418 100644
--- a/sysutils/ezjail/Makefile
+++ b/sysutils/ezjail/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ezjail
PORTVERSION= 3.4.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://erdgeist.org/arts/software/ezjail/
diff --git a/sysutils/ezjail/files/patch-ezjail-admin b/sysutils/ezjail/files/patch-ezjail-admin
index a232986f014e..f00c47668013 100644
--- a/sysutils/ezjail/files/patch-ezjail-admin
+++ b/sysutils/ezjail/files/patch-ezjail-admin
@@ -1,6 +1,14 @@
---- ezjail-admin.orig 2018-08-17 10:07:06 UTC
-+++ ezjail-admin
-@@ -335,7 +335,7 @@ ezjail_queryftpserver () {
+--- ezjail-admin.orig 2015-10-02 10:12:13.000000000 +0200
++++ ezjail-admin 2025-02-12 19:02:27.127127000 +0100
+@@ -31,6 +31,7 @@
+ : ${ezjail_procfs_enable="YES"}
+ : ${ezjail_fdescfs_enable="YES"}
+ : ${ezjail_exec_start="/bin/sh /etc/rc"}
++: ${ezjail_exec_stop="/bin/sh /etc/rc.shutdown"}
+
+ : ${ezjail_use_zfs="NO"}
+
+@@ -335,7 +336,7 @@
unset _ret
echo -n "Querying your ftp-server... "
TIFS=${IFS}; IFS=
@@ -9,7 +17,7 @@
if [ ${ezjail_path} = "NO" ]; then
echo "Warning: I am having problems querying the ftp server you specified (${ezjail_disturi})."
_ret=1; break
-@@ -1053,7 +1053,7 @@ setup|update)
+@@ -1053,7 +1054,7 @@
# make and setup our world, then split basejail and newjail
cd "${ezjail_sourcetree}" && env DESTDIR="${ezjail_jailfull}" make ${ezjail_installaction} || exerr "Error: The command 'make ${ezjail_installaction}' failed.\n Refer to the error report(s) above."