diff --git a/sysutils/ezjail/Makefile b/sysutils/ezjail/Makefile index 2aa1cc1f8418..ca9f3c8f1416 100644 --- a/sysutils/ezjail/Makefile +++ b/sysutils/ezjail/Makefile @@ -1,17 +1,17 @@ PORTNAME= ezjail -PORTVERSION= 3.4.2 -PORTREVISION= 3 +DISTVERSION= 3.4.3 CATEGORIES= sysutils MASTER_SITES= http://erdgeist.org/arts/software/ezjail/ 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 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,17 +1,17 @@ +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 %%EXAMPLESDIR%%/example/etc/rc.d/ezjail.flavour.example %%EXAMPLESDIR%%/example/usr/local/etc/sudoers %%EXAMPLESDIR%%/nullmailer-example/ezjail.flavour %%EXAMPLESDIR%%/nullmailer-example/etc/rc.conf %%EXAMPLESDIR%%/nullmailer-example/etc/mail/mailer.conf %%EXAMPLESDIR%%/nullmailer-example/usr/local/etc/nullmailer/remotes 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%%