git: d8a1de3bd82e - main - sysutils/jailmanager: add port: Simple shell script for managing FreeBSD jails

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Fri, 06 Jun 2025 05:47:43 UTC
The branch main has been updated by tagattie:

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

commit d8a1de3bd82ebc8689d05ae3354777bf31d199f8
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-06-06 05:41:51 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-06-06 05:41:51 +0000

    sysutils/jailmanager: add port: Simple shell script for managing FreeBSD jails
    
    JailManager is a shell script for creating, managing,
    updating, and removing jails. It handles initializing the
    underlying FreeBSD system, creating jails, handling initial
    configuration, updates, and starting/stopping jails.
    
    JailManager runs on FreeBSD 13.x and newer. It does
    not require ZFS and works on any BSD filesystem.
    
    WWW: https://github.com/slicer69/jailmanager
    
    PR:             287221
    Reported by:    Jesse Smith <jsmith@resonatingmedia.com> (new maintainer)
    Reviewed by:    Herbert J. Skuhra <herbert@gojira.at>
---
 sysutils/Makefile              |  1 +
 sysutils/jailmanager/Makefile  | 24 ++++++++++++++++++++++++
 sysutils/jailmanager/distinfo  |  3 +++
 sysutils/jailmanager/pkg-descr |  7 +++++++
 4 files changed, 35 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 6c018013c840..4846ce07ab25 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -552,6 +552,7 @@
     SUBDIR += jail_exporter
     SUBDIR += jailadmin
     SUBDIR += jaildaemon
+    SUBDIR += jailmanager
     SUBDIR += jailme
     SUBDIR += jailrc
     SUBDIR += jailutils
diff --git a/sysutils/jailmanager/Makefile b/sysutils/jailmanager/Makefile
new file mode 100644
index 000000000000..879fe7232aca
--- /dev/null
+++ b/sysutils/jailmanager/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	jailmanager
+PORTVERSION=	0.3
+CATEGORIES=	sysutils
+
+MAINTAINER=	jsmith@resonatingmedia.com
+COMMENT=	Simple shell script for managing FreeBSD jails
+WWW=		https://github.com/slicer69/jailmanager
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKDIR}/JailManager-${PORTVERSION}/LICENSE
+
+RUN_DEPENDS=	${LOCALBASE}/bin/bash:shells/bash
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	slicer69
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+PLIST_FILES=	bin/jm
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKDIR}/JailManager-${PORTVERSION}/jm ${STAGEDIR}${PREFIX}/bin/jm
+
+.include <bsd.port.mk>
diff --git a/sysutils/jailmanager/distinfo b/sysutils/jailmanager/distinfo
new file mode 100644
index 000000000000..4053685f6878
--- /dev/null
+++ b/sysutils/jailmanager/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1749129121
+SHA256 (slicer69-jailmanager-0.3_GH0.tar.gz) = e6ac5ecaa2c7f6ae1d2cc941b8d6ab2d6fed787f27c925aaad6cc6cd2da38193
+SIZE (slicer69-jailmanager-0.3_GH0.tar.gz) = 4067
diff --git a/sysutils/jailmanager/pkg-descr b/sysutils/jailmanager/pkg-descr
new file mode 100644
index 000000000000..9b6f6ad8e074
--- /dev/null
+++ b/sysutils/jailmanager/pkg-descr
@@ -0,0 +1,7 @@
+JailManager is a shell script for creating, managing,
+updating, and removing jails. It handles initializing the
+underlying FreeBSD system, creating jails, handling initial
+configuration, updates, and starting/stopping jails.
+
+JailManager runs on FreeBSD 13.x and newer. It does
+not require ZFS and works on any BSD filesystem.