Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2023 10:56:25 GMT
From:      Felix Palmen <zirias@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 36dcf70ddc9d - main - sysutils/appjail: Add new port
Message-ID:  <202303111056.32BAuPcl011378@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by zirias:

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

commit 36dcf70ddc9dced5f83c4b5b31ab80a81d52f164
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2023-03-09 19:46:28 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2023-03-11 10:54:50 +0000

    sysutils/appjail: Add new port
    
    AppJail is an open source framework entirely written in sh(1) and
    C to create isolated, portable and easy to deploy environments using
    FreeBSD jails that behave like an application.
    
    PR:                     269631
    Approved by:            tcberner (mentor)
    Differential Revision:  https://reviews.freebsd.org/D39008
---
 sysutils/Makefile          |   1 +
 sysutils/appjail/Makefile  |  29 +++++++++++
 sysutils/appjail/distinfo  |   3 ++
 sysutils/appjail/pkg-descr |   3 ++
 sysutils/appjail/pkg-plist | 119 +++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 155 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index f3945a327b49..eac7df55a31d 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -52,6 +52,7 @@
     SUBDIR += apcctrl
     SUBDIR += apcpwr
     SUBDIR += apcupsd
+    SUBDIR += appjail
     SUBDIR += apt-mirror-devel
     SUBDIR += aptly
     SUBDIR += arc_summary
diff --git a/sysutils/appjail/Makefile b/sysutils/appjail/Makefile
new file mode 100644
index 000000000000..4be3dced0369
--- /dev/null
+++ b/sysutils/appjail/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	appjail
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.4.0
+CATEGORIES=	sysutils
+
+MAINTAINER=	DtxdF@disroot.org
+COMMENT=	Simple and easy-to-use tool for creating portable jails
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	DtxdF
+GH_PROJECT=	AppJail
+
+ALL_TARGET=	utils-strip
+
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=			DEBOOTSTRAP DOCS GIT
+DEBOOTSTRAP_DESC=		Support for Debian and Ubuntu jails
+DEBOOTSTRAP_RUN_DEPENDS=	debootstrap>0:sysutils/debootstrap
+GIT_RUN_DEPENDS=		git>0:devel/git
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}/${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/sysutils/appjail/distinfo b/sysutils/appjail/distinfo
new file mode 100644
index 000000000000..1555a52ccdef
--- /dev/null
+++ b/sysutils/appjail/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1678382078
+SHA256 (DtxdF-AppJail-v2.4.0_GH0.tar.gz) = e3e09f735607715066e88005a3eec5dd360cb290b7f147661e3ee9ff2bf33633
+SIZE (DtxdF-AppJail-v2.4.0_GH0.tar.gz) = 164278
diff --git a/sysutils/appjail/pkg-descr b/sysutils/appjail/pkg-descr
new file mode 100644
index 000000000000..7050513e9e74
--- /dev/null
+++ b/sysutils/appjail/pkg-descr
@@ -0,0 +1,3 @@
+AppJail is an open source framework entirely written in sh(1) and
+C to create isolated, portable and easy to deploy environments using
+FreeBSD jails that behaves like an application.
diff --git a/sysutils/appjail/pkg-plist b/sysutils/appjail/pkg-plist
new file mode 100644
index 000000000000..cf5ebf02c8f3
--- /dev/null
+++ b/sysutils/appjail/pkg-plist
@@ -0,0 +1,119 @@
+bin/appjail
+bin/appjail-dns
+etc/rc.d/appjail
+etc/rc.d/appjail-natnet
+libexec/appjail/getservbyname/getservbyname
+libexec/appjail/ipcheck/ipcheck
+libexec/appjail/network/network
+%%DATADIR%%/cmd/cmd
+%%DATADIR%%/cmd/config
+%%DATADIR%%/cmd/cpuset
+%%DATADIR%%/cmd/disable
+%%DATADIR%%/cmd/enable
+%%DATADIR%%/cmd/enabled
+%%DATADIR%%/cmd/expose
+%%DATADIR%%/cmd/fetch
+%%DATADIR%%/cmd/fstab
+%%DATADIR%%/cmd/help
+%%DATADIR%%/cmd/jail
+%%DATADIR%%/cmd/limits
+%%DATADIR%%/cmd/login
+%%DATADIR%%/cmd/logs
+%%DATADIR%%/cmd/makejail
+%%DATADIR%%/cmd/nat
+%%DATADIR%%/cmd/network
+%%DATADIR%%/cmd/pkg
+%%DATADIR%%/cmd/quick
+%%DATADIR%%/cmd/restart
+%%DATADIR%%/cmd/rstop
+%%DATADIR%%/cmd/run
+%%DATADIR%%/cmd/service
+%%DATADIR%%/cmd/start
+%%DATADIR%%/cmd/startup
+%%DATADIR%%/cmd/stop
+%%DATADIR%%/cmd/sysrc
+%%DATADIR%%/cmd/update
+%%DATADIR%%/cmd/upgrade
+%%DATADIR%%/cmd/usage
+%%DATADIR%%/cmd/version
+%%DATADIR%%/cmd/zfs
+%%DATADIR%%/files/config.conf
+%%DATADIR%%/files/default.conf
+%%DATADIR%%/files/default_template.conf
+%%DATADIR%%/files/exclude-thinjail.files
+%%DATADIR%%/files/include-thinjail.files
+%%DATADIR%%/files/rctl-actions
+%%DATADIR%%/files/rctl-resources
+%%DATADIR%%/files/rctl-subjects
+%%DATADIR%%/lib/atexit
+%%DATADIR%%/lib/cache
+%%DATADIR%%/lib/check_func
+%%DATADIR%%/lib/colors
+%%DATADIR%%/lib/copy
+%%DATADIR%%/lib/files
+%%DATADIR%%/lib/jail
+%%DATADIR%%/lib/jail_types
+%%DATADIR%%/lib/kern_modules
+%%DATADIR%%/lib/keys
+%%DATADIR%%/lib/load
+%%DATADIR%%/lib/log
+%%DATADIR%%/lib/mksum
+%%DATADIR%%/lib/mount
+%%DATADIR%%/lib/network
+%%DATADIR%%/lib/random
+%%DATADIR%%/lib/replace
+%%DATADIR%%/lib/strlen
+%%DATADIR%%/lib/sysexits
+%%DATADIR%%/lib/tempfile
+%%DATADIR%%/lib/version
+%%DATADIR%%/lib/whitespaces
+%%DATADIR%%/lib/zfs
+%%DATADIR%%/makejail/cmd/all/ADD
+%%DATADIR%%/makejail/cmd/all/ARG
+%%DATADIR%%/makejail/cmd/all/CLEAR
+%%DATADIR%%/makejail/cmd/all/CMD
+%%DATADIR%%/makejail/cmd/all/COPY
+%%DATADIR%%/makejail/cmd/all/ENTRYPOINT
+%%DATADIR%%/makejail/cmd/all/ENV
+%%DATADIR%%/makejail/cmd/all/MOUNT
+%%DATADIR%%/makejail/cmd/all/PKG
+%%DATADIR%%/makejail/cmd/all/RAW
+%%DATADIR%%/makejail/cmd/all/REPLACE
+%%DATADIR%%/makejail/cmd/all/RUN
+%%DATADIR%%/makejail/cmd/all/SERVICE
+%%DATADIR%%/makejail/cmd/all/SET
+%%DATADIR%%/makejail/cmd/all/SYSRC
+%%DATADIR%%/makejail/cmd/all/UMOUNT
+%%DATADIR%%/makejail/cmd/all/USER
+%%DATADIR%%/makejail/cmd/all/VAR
+%%DATADIR%%/makejail/cmd/all/WORKDIR
+%%DATADIR%%/makejail/cmd/build/LOGIN
+%%DATADIR%%/makejail/cmd/build/OPTION
+%%DATADIR%%/makejail/cmd/build/RESTART
+%%DATADIR%%/makejail/cmd/build/START
+%%DATADIR%%/makejail/cmd/build/STOP
+%%DATADIR%%/makejail/write/all/ADD
+%%DATADIR%%/makejail/write/all/ARG
+%%DATADIR%%/makejail/write/all/CMD
+%%DATADIR%%/makejail/write/all/COPY
+%%DATADIR%%/makejail/write/all/MOUNT
+%%DATADIR%%/makejail/write/all/PKG
+%%DATADIR%%/makejail/write/all/RAW
+%%DATADIR%%/makejail/write/all/REPLACE
+%%DATADIR%%/makejail/write/all/RUN
+%%DATADIR%%/makejail/write/all/SERVICE
+%%DATADIR%%/makejail/write/all/SET
+%%DATADIR%%/makejail/write/all/SYSRC
+%%DATADIR%%/makejail/write/all/UMOUNT
+%%DATADIR%%/makejail/write/all/VAR
+%%DATADIR%%/makejail/write/all/WORKDIR
+%%DATADIR%%/makejail/write/build/LOGIN
+%%DATADIR%%/makejail/write/build/OPTION
+%%DATADIR%%/makejail/write/build/RESTART
+%%DATADIR%%/makejail/write/build/START
+%%DATADIR%%/makejail/write/build/STOP
+%%DATADIR%%/scripts/ascii2oct.sh
+%%DATADIR%%/scripts/dns.sh
+%%DATADIR%%/scripts/get_depends.sh
+%%DATADIR%%/scripts/run_init.sh
+%%DATADIR%%/scripts/run_jail.sh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303111056.32BAuPcl011378>