From nobody Sat Mar 11 10:56:25 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PYfx54cg5z3xVl3; Sat, 11 Mar 2023 10:56:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PYfx5478Vz4Cxm; Sat, 11 Mar 2023 10:56:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678532185; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UuWd4Iak+vTedwhILJcuq005MuXgbTMRMiNzHiOWPSE=; b=H2ZkF7t/qhP3Tu4OhUl3hAR2RitSyqxxlF9+8MKjRXx6bRrsx2axRtDBmy0p85Ji1JrqcG G3vF+TMlgncRPzKkVlEwi2YxcafVnIMEUsmjRxxjBkquP2l9hYGJbsK6enaweuDnySsDhA 6UjeLe/2VozV9SmvvZpews6T70v4DIedon24QawUe0qqoFjXZ+TuMC9feX5eOjMiAwvpL0 q8y8U9GltuGxXtHn8dupIfMvZfnpVW21h6lVvJWQMy+5lHmxrCytNq+k/WhhhKVaVQ2FVn 9RJf+AVAxK3w5dyMO+yK9j6/Q1hD4PT4eDRERXKgl53llleZVIDtn3slWGEO7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678532185; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UuWd4Iak+vTedwhILJcuq005MuXgbTMRMiNzHiOWPSE=; b=NfJLk3oTe2wdFZfUH0898Njj9DsYnNsV7p5cFi3PqsDUxX02J6CenKJ8HrquRkPUg8Z3gy Ojxz/2G7U3O9q5CJrHAO6q5fFznGrkR7YXRmy/tYAEYE1btrBDmqAn+Dt4BzfnGiKba5OA ZDX7lO/MuWTpGnpAH/olMfe6L/Ya4grY+uCum5IrsarYjzhiWUwzgk+Paa7jUCKBDzAhws ti792xIZgEcMRe4fc0yTFFui7ukGbd2gma8zj2XM6zpmhyO6IejvO4K110clY9XPDw2SH2 DaYxuDVDoECdMvSLWZBsmh0h3uQZzpeCfSfnQmdfmxwBMGpUgeR8dUPJD91kXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678532185; a=rsa-sha256; cv=none; b=SCsFlv0BuLZsUjEsQ453mN208Ie9v+j4uS+1rKwCA+su3l65k2l3XP1WSfvMGUHXiKfkTA FdJSDtpuFZ+SUTP7Zs6B7mlyzcm7gDjiyGj0tkBePRbpDOh36igXXzexQLepx/AJAlWebZ VaG2lfs8V5MGIhqkFfLhe/iM6L5mTqhvov3oFIwdCYQgOQIE6Oq8ssoiO5fKYvs+hwsPoU XUWYkdxXrylExBZl6OeF9FLTZQPRkhEuCEFah7i0q7bmf2JuKUjFJSaoqlJJmE/Y7zcZxp Nid9EjjW1otxSIf9/zEGDio9M/oOJPoxxY7QXuSCJqKks3lj7isgum7g8YaBAg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PYfx53Bd8zRmC; Sat, 11 Mar 2023 10:56:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32BAuPP1011379; Sat, 11 Mar 2023 10:56:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32BAuPcl011378; Sat, 11 Mar 2023 10:56:25 GMT (envelope-from git) Date: Sat, 11 Mar 2023 10:56:25 GMT Message-Id: <202303111056.32BAuPcl011378@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Felix Palmen Subject: git: 36dcf70ddc9d - main - sysutils/appjail: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zirias X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 36dcf70ddc9dced5f83c4b5b31ab80a81d52f164 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N 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 AuthorDate: 2023-03-09 19:46:28 +0000 Commit: Felix Palmen 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 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