From nobody Tue May 16 15:27:01 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 4QLKps6QrXz4B8cq; Tue, 16 May 2023 15:27:01 +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 4QLKps5yhdz3qWC; Tue, 16 May 2023 15:27:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684250821; 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=/RlvbEahulQjw29I4V2us1AYewFbmk+vE5uB2MEoVzM=; b=URcg3+ZS8GQwS2jefmoA2JmDL263B9rnNOQUvtPnw4Wu3d6t9fWi302kCCZ5HZD1vz6wrP OWJwCJknD1mHzuadKB2y0cKrzdBNxeXba13NHBOsGr8zQG71h4vWgY4O42nJyGC7Ko50No WttWBtOWzgjW1HDc7cMNmsR55mcJ+h7zDx/gEGQ4hDb5r98dMZwh2ipfv7RCvXZYQNm1GQ aZ23bmS52+iufDAczendwKIstzGAoowELExEzpnQSiWCDwrWT4hME7/JT9VQGHwYf3CzQZ qC7vpz0wTn6wDluZH5DRzHPvuYCUIfRXXAsjIpn/jgwdu/YbIa9wrlar7wmeHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684250821; 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=/RlvbEahulQjw29I4V2us1AYewFbmk+vE5uB2MEoVzM=; b=WsAlK83F2t2WCVfT1Bn7AYElX18x38gMz3uue1TPXojsXN40gssTnx+q8ieg16Dfqa5OCD iYISYhJXCfhH77pDGlSb9TrciAvUogwvmLp13RIHHclWvSlSLlsngibl2DdhA6sp70IWrR OUTVXLoyzLlKd5J1U9VoyffTICBcsOPc9923PgjYxnpi/AcAWOhdCOAwuo/bcAlJG8rX5U SuPulRbZLg5u3UMIIBDlzE0Lncfn3kvhDbzy48H9p0QheD5Qv9KFIXDh6gKhXsQm5fqGaT ia+xttYjxcMvtGOuVBzWi4yH2ku4vYfQkimywkELNnFrCh09Lo23C6SZCym5+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684250821; a=rsa-sha256; cv=none; b=LvTMb8AIwr5okIapSnQJtP40Mh25qPPuiGKq4AjwuIQY+vxNZgXptDfi4BZ+mRVYpj0zhz t3fYUOP62pHEcEK5Z+XX/LchCwZa1gcQuEvMToeffhlRaDL7Tc/6mwqDBJwEwfzh/1Cq+9 w0pjbklBoIcYWIf4K4EbKsAOB3LQ25OWw8E31jOTrf4ootlAoQ7XPpaLe/TCUaqiKNzr18 FUnHuNxWSRb6D/peNsKOPrTNqEB8V/8kGj5IICqggMKHld6A+07kurD6nq+0ZM2Jmks7sf BOW08uKEh8QODCVlwO5MT8fUB3rfC7i0a68oZL2vacXkgNIQCWpqg07vJ89ofQ== 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 4QLKps4xQ6zRr3; Tue, 16 May 2023 15:27:01 +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 34GFR1iK010694; Tue, 16 May 2023 15:27:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34GFR1PF010693; Tue, 16 May 2023 15:27:01 GMT (envelope-from git) Date: Tue, 16 May 2023 15:27:01 GMT Message-Id: <202305161527.34GFR1PF010693@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: c8db4f9cf119 - main - sysutils/appjail-devel: New port: Simple and easy-to-use tool for creating portable jails (devel) 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: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c8db4f9cf11961f5ba1c72dca316b0aec00b2235 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=c8db4f9cf11961f5ba1c72dca316b0aec00b2235 commit c8db4f9cf11961f5ba1c72dca316b0aec00b2235 Author: Jose Alonso Cardenas Marquez AuthorDate: 2023-05-16 15:25:27 +0000 Commit: Jose Alonso Cardenas Marquez CommitDate: 2023-05-16 15:25:27 +0000 sysutils/appjail-devel: New port: Simple and easy-to-use tool for creating portable jails (devel) 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. --- sysutils/Makefile | 1 + sysutils/appjail-devel/Makefile | 34 +++++++++++ sysutils/appjail-devel/distinfo | 3 + sysutils/appjail-devel/pkg-descr | 3 + sysutils/appjail-devel/pkg-plist | 126 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 167 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 44f93307eeef..784e45b6f02e 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -53,6 +53,7 @@ SUBDIR += apcpwr SUBDIR += apcupsd SUBDIR += appjail + SUBDIR += appjail-devel SUBDIR += apt-mirror-devel SUBDIR += aptly SUBDIR += arc_summary diff --git a/sysutils/appjail-devel/Makefile b/sysutils/appjail-devel/Makefile new file mode 100644 index 000000000000..acf9165b0da7 --- /dev/null +++ b/sysutils/appjail-devel/Makefile @@ -0,0 +1,34 @@ +PORTNAME= appjail +DISTVERSIONPREFIX= v +DISTVERSION= g20230515 +CATEGORIES= sysutils +PKGNAMESUFFIX= -devel + +MAINTAINER= acm@FreeBSD.org +COMMENT= Simple and easy-to-use tool for creating portable jails (devel) +WWW= https://github.com/DtxdF/AppJail + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +CONFLICTS= appjail + +USE_GITHUB= yes +GH_ACCOUNT= DtxdF +GH_PROJECT= AppJail +GH_TAGNAME= f32080a9de86dfe1acd80b8728ad637994227a9a + +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-devel/distinfo b/sysutils/appjail-devel/distinfo new file mode 100644 index 000000000000..3d3f62bcad20 --- /dev/null +++ b/sysutils/appjail-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1684183081 +SHA256 (DtxdF-AppJail-vg20230515-f32080a9de86dfe1acd80b8728ad637994227a9a_GH0.tar.gz) = 02d7bcb524f365ae0877510f5e9976b75cfe0193cfa68f598c6978957cc08b64 +SIZE (DtxdF-AppJail-vg20230515-f32080a9de86dfe1acd80b8728ad637994227a9a_GH0.tar.gz) = 215866 diff --git a/sysutils/appjail-devel/pkg-descr b/sysutils/appjail-devel/pkg-descr new file mode 100644 index 000000000000..7050513e9e74 --- /dev/null +++ b/sysutils/appjail-devel/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-devel/pkg-plist b/sysutils/appjail-devel/pkg-plist new file mode 100644 index 000000000000..1509b85f8231 --- /dev/null +++ b/sysutils/appjail-devel/pkg-plist @@ -0,0 +1,126 @@ +bin/appjail +bin/appjail-config +bin/appjail-dns +etc/rc.d/appjail +etc/rc.d/appjail-natnet +libexec/appjail/appjail-config/appjail-config +libexec/appjail/appjail-config/tok +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/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/ajconf.sh +%%DATADIR%%/scripts/ascii2oct.sh +%%DATADIR%%/scripts/dns.sh +%%DATADIR%%/scripts/get_depends.sh +%%DATADIR%%/scripts/run_init.sh +%%DATADIR%%/scripts/run_jail.sh +%%EXAMPLESDIR%%/templates/bridge.conf +%%EXAMPLESDIR%%/templates/linux.conf +%%EXAMPLESDIR%%/templates/vnet.conf +%%EXAMPLESDIR%%/templates/xorg.conf