git: 6c83b7a3f60b - main - sysutils/littlejet: New port: Create, deploy, manage and scale FreeBSD jails anywhere

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sat, 13 Jul 2024 21:16:55 UTC
The branch main has been updated by acm:

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

commit 6c83b7a3f60b0f81483eb5861ece03a58b91589e
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2024-07-13 21:15:40 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-07-13 21:15:40 +0000

    sysutils/littlejet: New port: Create, deploy, manage and scale FreeBSD jails anywhere
    
    LittleJet is an open source, easy-to-use orchestrator for managing,
    deploying, scaling and interconnecting FreeBSD jails anywhere in
    the world.
    
    WWW: https://github.com/DtxdF/LittleJet/
    
    PR:             280242
---
 sysutils/Makefile            |  1 +
 sysutils/littlejet/Makefile  | 31 +++++++++++++++++++++++++++++++
 sysutils/littlejet/distinfo  |  3 +++
 sysutils/littlejet/pkg-descr |  3 +++
 sysutils/littlejet/pkg-plist | 20 ++++++++++++++++++++
 5 files changed, 58 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 53f456fc2b85..155a9094a2d0 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -697,6 +697,7 @@
     SUBDIR += linux-miniconda-installer
     SUBDIR += linux-rkbin
     SUBDIR += linuxfdisk
+    SUBDIR += littlejet
     SUBDIR += lizardfs
     SUBDIR += lmmon
     SUBDIR += lmon
diff --git a/sysutils/littlejet/Makefile b/sysutils/littlejet/Makefile
new file mode 100644
index 000000000000..7e6d4b5bbe54
--- /dev/null
+++ b/sysutils/littlejet/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	littlejet
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.0.2
+CATEGORIES=	sysutils
+
+MAINTAINER=	DtxdF@disroot.org
+COMMENT=	Create, deploy, manage and scale FreeBSD jails anywhere
+WWW=		https://github.com/DtxdF/LittleJet/
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	jq>=0:textproc/jq \
+		cpdup>=0:sysutils/cpdup \
+		sansi>=0:textproc/sansi
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	DtxdF
+GH_PROJECT=	LittleJet
+
+NO_BUILD=	yes
+
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}/${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/sysutils/littlejet/distinfo b/sysutils/littlejet/distinfo
new file mode 100644
index 000000000000..9d7cc3c710ab
--- /dev/null
+++ b/sysutils/littlejet/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1720748692
+SHA256 (DtxdF-LittleJet-v0.0.2_GH0.tar.gz) = 13fa555bb6ae0f3b49873a61419e9df05d99394b387acc1a55468b254231f168
+SIZE (DtxdF-LittleJet-v0.0.2_GH0.tar.gz) = 14339807
diff --git a/sysutils/littlejet/pkg-descr b/sysutils/littlejet/pkg-descr
new file mode 100644
index 000000000000..64df750eadb3
--- /dev/null
+++ b/sysutils/littlejet/pkg-descr
@@ -0,0 +1,3 @@
+LittleJet is an open source, easy-to-use orchestrator for managing,
+deploying, scaling and interconnecting FreeBSD jails anywhere in
+the world.
diff --git a/sysutils/littlejet/pkg-plist b/sysutils/littlejet/pkg-plist
new file mode 100644
index 000000000000..a1c5da956477
--- /dev/null
+++ b/sysutils/littlejet/pkg-plist
@@ -0,0 +1,20 @@
+bin/jet
+bin/littlejet
+%%DATADIR%%/files/cpignore
+%%DATADIR%%/files/default.conf
+%%DATADIR%%/files/user.conf
+%%DATADIR%%/files/lib.subr
+%%DATADIR%%/runscripts/deploy.all
+%%DATADIR%%/runscripts/deploy.each
+%%DATADIR%%/runscripts/deploy.once
+%%DATADIR%%/runscripts/deploy.random
+%%DATADIR%%/runscripts/deploy.scale
+%%DATADIR%%/runscripts/deploy.single
+%%DATADIR%%/runscripts/vpn.wg.client
+%%DATADIR%%/runscripts/vpn.wg.client.destroy
+%%DATADIR%%/runscripts/vpn.wg.load-balancer.pen
+%%DATADIR%%/runscripts/vpn.wg.load-balancer.pen.destroy
+%%DATADIR%%/runscripts/vpn.wg.server
+%%DATADIR%%/runscripts/vpn.wg.server.destroy
+share/man/man1/littlejet.1.gz
+share/man/man5/littlejet.conf.5.gz