aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-06-06 05:41:51 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2025-06-06 05:41:51 +0000
commitd8a1de3bd82ebc8689d05ae3354777bf31d199f8 (patch)
tree8f77f11e97243e70c0b60259da536cc96e74f161
parentc40454df954eeac9a141b96ef699e7a78d2ab635 (diff)
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>
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/jailmanager/Makefile24
-rw-r--r--sysutils/jailmanager/distinfo3
-rw-r--r--sysutils/jailmanager/pkg-descr7
4 files changed, 35 insertions, 0 deletions
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.