git: 71f688a86c40 - main - sysutils/ezjail: Update 3.4.2 => 3.4.3

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Wed, 01 Jul 2026 22:58:12 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71f688a86c4096b8d37bb140f41c74acb09de557

commit 71f688a86c4096b8d37bb140f41c74acb09de557
Author:     Dirk Engling <erdgeist@erdgeist.org>
AuthorDate: 2026-07-01 22:42:55 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-07-01 22:56:26 +0000

    sysutils/ezjail: Update 3.4.2 => 3.4.3
    
    Changelog:
    - Install man pages to $DEST/share/man, not $DEST/man.
    - Make distribution now needs to be called from /usr/src, not
      /usr/src/etc.
    - Fix tyop: snapshot => snapshots.
    - Incorporate fixes from port: provide shutdown script.
    - for freebsdup-update -b, --currently-running now is mandatory.
    - Fix superfluous asteriks in multiplication.
    - Fix man page typos.
    - Typo fixes.
    - Incorporate Makefile patch from port.
    
    Improve port:
    - Replace PORTVERSION with DISTVERSION.
    - Add LICENSE block.
    - Sort plist.
    
    PR:             296424
    Sponsored by:   UNIS Labs
    Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
---
 sysutils/ezjail/Makefile                 | 12 ++++++------
 sysutils/ezjail/distinfo                 |  5 +++--
 sysutils/ezjail/files/patch-Makefile     | 11 +++++++++++
 sysutils/ezjail/files/patch-ezjail-admin | 28 ----------------------------
 sysutils/ezjail/pkg-plist                |  4 ++--
 5 files changed, 22 insertions(+), 38 deletions(-)

diff --git a/sysutils/ezjail/Makefile b/sysutils/ezjail/Makefile
index 2aa1cc1f8418..ca9f3c8f1416 100644
--- a/sysutils/ezjail/Makefile
+++ b/sysutils/ezjail/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	ezjail
-PORTVERSION=	3.4.2
-PORTREVISION=	3
+DISTVERSION=	3.4.3
 CATEGORIES=	sysutils
 MASTER_SITES=	http://erdgeist.org/arts/software/ezjail/
 
@@ -8,10 +7,11 @@ MAINTAINER=	erdgeist@erdgeist.org
 COMMENT=	Framework to easily create, manipulate, and run FreeBSD jails
 WWW=		https://erdgeist.org/arts/software/ezjail/
 
-USES=		tar:bzip2
+LICENSE=	BEERWARE
+LICENSE_NAME=	beerware
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|man/man|share/man/man|g' \
-		${WRKSRC}/Makefile
+USES=		tar:bzip2
 
 .include <bsd.port.mk>
diff --git a/sysutils/ezjail/distinfo b/sysutils/ezjail/distinfo
index 31122e48b80f..1093c9304f48 100644
--- a/sysutils/ezjail/distinfo
+++ b/sysutils/ezjail/distinfo
@@ -1,2 +1,3 @@
-SHA256 (ezjail-3.4.2.tar.bz2) = e7f618e716ed65e969b7d6f2bb8d1a23cf6195082378f2d9746c6d603c061954
-SIZE (ezjail-3.4.2.tar.bz2) = 38079
+TIMESTAMP = 1782903214
+SHA256 (ezjail-3.4.3.tar.bz2) = e63cc34fd3810fb65378486d45b1c9597ff2134cf22b3ce274c4cd804a5b8c88
+SIZE (ezjail-3.4.3.tar.bz2) = 38173
diff --git a/sysutils/ezjail/files/patch-Makefile b/sysutils/ezjail/files/patch-Makefile
new file mode 100644
index 000000000000..1dc7f446b1bf
--- /dev/null
+++ b/sysutils/ezjail/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig	2026-07-01 10:52:14 UTC
++++ Makefile
+@@ -8,7 +8,7 @@ install:
+ all:
+ 
+ install:
+-	mkdir -p ${DST}/etc/ezjail/ ${DST}/man/man5/ ${DST}/man/man7 ${DST}/man/man8 ${DST}/etc/rc.d/ ${DST}/bin/ ${DST}/share/examples/ezjail ${DST}/share/zsh/site-functions
++	mkdir -p ${DST}/etc/ezjail/ ${DST}/share/man/man5/ ${DST}/share/man/man7 ${DST}/share/man/man8 ${DST}/etc/rc.d/ ${DST}/bin/ ${DST}/share/examples/ezjail ${DST}/share/zsh/site-functions
+ 	cp -R examples/example ${DST}/share/examples/ezjail/
+ 	cp -R examples/nullmailer-example ${DST}/share/examples/ezjail/
+ 	cp -R share/zsh/site-functions/ ${DST}/share/zsh/site-functions/
diff --git a/sysutils/ezjail/files/patch-ezjail-admin b/sysutils/ezjail/files/patch-ezjail-admin
deleted file mode 100644
index f00c47668013..000000000000
--- a/sysutils/ezjail/files/patch-ezjail-admin
+++ /dev/null
@@ -1,28 +0,0 @@
---- 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=
--  for ezjail_path in pub/FreeBSD/releases pub/FreeBSD/snapshot pub/FreeBSD releases snapshots pub/FreeBSD-Archive/old-releases NO; do
-+  for ezjail_path in pub/FreeBSD/releases pub/FreeBSD/snapshots pub/FreeBSD releases snapshots pub/FreeBSD-Archive/old-releases NO; do
-     if [ ${ezjail_path} = "NO" ]; then
-       echo "Warning: I am having problems querying the ftp server you specified (${ezjail_disturi})."
-       _ret=1; break
-@@ -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."
--    cd "${ezjail_sourcetree}/etc" && env DESTDIR="${ezjail_jailfull}" make distribution || exerr "Error: The command 'make distribution' failed.\n  Refer to the error report(s) above."
-+    cd "${ezjail_sourcetree}" && env DESTDIR="${ezjail_jailfull}" make distribution || exerr "Error: The command 'make distribution' failed.\n  Refer to the error report(s) above."
-     ezjail_splitworld
- 
-   fi # installaction="none"
diff --git a/sysutils/ezjail/pkg-plist b/sysutils/ezjail/pkg-plist
index 72e4c68e8a8d..0954da899af1 100644
--- a/sysutils/ezjail/pkg-plist
+++ b/sysutils/ezjail/pkg-plist
@@ -1,7 +1,6 @@
+bin/ezjail-admin
 @sample etc/ezjail.conf.sample
 etc/rc.d/ezjail
-bin/ezjail-admin
-share/zsh/site-functions/_ezjail-admin
 %%EXAMPLESDIR%%/example/etc/make.conf
 %%EXAMPLESDIR%%/example/etc/periodic.conf
 %%EXAMPLESDIR%%/example/etc/rc.conf
@@ -14,4 +13,5 @@ share/zsh/site-functions/_ezjail-admin
 share/man/man5/ezjail.conf.5.gz
 share/man/man7/ezjail.7.gz
 share/man/man8/ezjail-admin.8.gz
+share/zsh/site-functions/_ezjail-admin
 @dir %%ETCDIR%%