From nobody Wed Nov 16 12:46:34 2022 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 4NC2qH1RVRz4hq9K; Wed, 16 Nov 2022 12:46:35 +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 4NC2qH0kyMz4Kyq; Wed, 16 Nov 2022 12:46:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668602795; 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=O3ou4B9Qy/dVqok1kTj+EtL0sfaJ+OIEtnyXNNeonrg=; b=ObZnOvr6Zu+AXPmqgI4v28H5YjBBj6KZq7ag/TqrWedOiqo5b4NDkoLSgjsn4tYYpNWQJC gy7we645FFbSZIs7DmQXWBlF6H63Pzj8URvhzA5X1wR+fi22wrC8VRB1NC1sMuFck07VNA w+xJC6ntMO0cfSgmLnYVEGdAp7HfGCW3yMPX/5+//OGfUBMHC+HCjNl6w/Pi96dcBgcyta KAI2aNtukXS0NjEH8xDUczDycrKexMAr18Xu5KQpV91vinksqv++5OjgxgEccmleGKtL6t ZfroZuC8pUdT4VzxLxLv2GbHh0DSjbpjz2uFoo5Zg0PGTQQ2eyFF6mg3anU0TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668602795; 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=O3ou4B9Qy/dVqok1kTj+EtL0sfaJ+OIEtnyXNNeonrg=; b=UZlxfCaoqjay1nEp65/90iJypHOW/RPRxcPyZUnh0cZa4tzQmRmqgMpz/f17YIeKoXU1RI xBnjSqRiiY2CqRztDce1tn62ryS44jBKL6hCSfE2qyvrMqIZXCShQR5wyta37sCfUGz+X3 2mOxyXCY4zTV2sG8KlD+VPvujaaMsNfg2bxdm0+Y/ISOWYfn0qRUgka705TcWQXwL/zQ1M k6XsG6XR58uaRn/EQBMjvCeljvWFGI0zy9r5hOxqlZzqwuSY61mj0+BOB8/FaROJoEcDqc 9qEdpCuT6U724q5vzpetnR46y9GEBdQPAT0Tlrr51wzxHg134btZGcmksLA3fQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668602795; a=rsa-sha256; cv=none; b=u/7yMELhtqSXjef9uxLK70Dt49zNjnFIWG95BtuoaqGgES8eAlSzFCLScEpQ/zttsvhLwQ I4ff0ouv5eemIV5669J90SE3gjBnccShn0M3Y3gF95IvMVC5qWt5J5wR//maFTfMXVG5CQ nTm7lVZ+2jMv3qRswDhm9RKvVL7lLh9+gqodszAjRiAJpuUGvnDBzhmilg1rMxF80f77h+ 5AdzpIXWyHkXGyshAYjxvpJnskrEhkVdvsVX2j3cWBZCgZMDdfB8FGGbUSLUV3BQ6mRK7A 1Rq++mZHPrcfXKl0HXoTNY3XPqU0qCg9tYJqvkQ4CiI8XAStL0oH87mM3abFRQ== 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 4NC2qG6v6Pz12sB; Wed, 16 Nov 2022 12:46:34 +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 2AGCkYBR051701; Wed, 16 Nov 2022 12:46:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AGCkYSJ051700; Wed, 16 Nov 2022 12:46:34 GMT (envelope-from git) Date: Wed, 16 Nov 2022 12:46:34 GMT Message-Id: <202211161246.2AGCkYSJ051700@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dave Cottlehuber Subject: git: 0f0152ce11cb - main - sysutils/ocijail: 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: dch X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0f0152ce11cb8f71fbf14fc2fe51e511f7843932 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dch: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f0152ce11cb8f71fbf14fc2fe51e511f7843932 commit 0f0152ce11cb8f71fbf14fc2fe51e511f7843932 Author: Doug Rabson AuthorDate: 2022-11-16 12:46:29 +0000 Commit: Dave Cottlehuber CommitDate: 2022-11-16 12:46:29 +0000 sysutils/ocijail: new port ocijail is an experimental, proof-of-concept OCI-compatible runtime for FreeBSD jails similar to runj but focusing on buildah and podman compatibility, PR: 267184 Reviewed by: arrowd Reviewed by: dch Sponsored by: SkunkWerks, GmbH Differential Revision: https://reviews.freebsd.org/D37324 --- sysutils/Makefile | 1 + sysutils/ocijail/Makefile | 26 ++++++++++++++++++++++++++ sysutils/ocijail/distinfo | 3 +++ sysutils/ocijail/pkg-descr | 3 +++ 4 files changed, 33 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 689b10b06a34..4d9ec20d9b0e 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -831,6 +831,7 @@ SUBDIR += oak SUBDIR += obliterate SUBDIR += oc + SUBDIR += ocijail SUBDIR += odo SUBDIR += ods2 SUBDIR += ohmu diff --git a/sysutils/ocijail/Makefile b/sysutils/ocijail/Makefile new file mode 100644 index 000000000000..bded116ee1e4 --- /dev/null +++ b/sysutils/ocijail/Makefile @@ -0,0 +1,26 @@ +PORTNAME= ocijail +DISTVERSION= 0.1.rc1 +CATEGORIES= sysutils + +MAINTAINER= dfr@FreeBSD.org +COMMENT= Experimental, proof-of-concept OCI-compatible runtime for jails +WWW= https://github.com/dfr/ocijail + +LICENSE= BSD3CLAUSE + +BUILD_DEPENDS= bazel:devel/bazel bash:shells/bash + +USE_GITHUB= yes +GH_ACCOUNT= dfr +GH_TAGNAME= v0.1rc1 + +PLIST_FILES= bin/ocijail + +# Build happens in the //:install rule +NO_BUILD= yes +BAZEL_OPTS= --batch --output_user_root=${WRKDIR}/bazel_out + +do-install: + cd ${WRKSRC} && bazel ${BAZEL_OPTS} run --experimental_repository_disable_download //:install -- ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/sysutils/ocijail/distinfo b/sysutils/ocijail/distinfo new file mode 100644 index 000000000000..8e5d51195b88 --- /dev/null +++ b/sysutils/ocijail/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1666951980 +SHA256 (dfr-ocijail-0.1.rc1-v0.1rc1_GH0.tar.gz) = 476b0feb9cb197df2f41efd10f07bdd9b8c2a463691dfd0ba73091ba72932bb8 +SIZE (dfr-ocijail-0.1.rc1-v0.1rc1_GH0.tar.gz) = 839566 diff --git a/sysutils/ocijail/pkg-descr b/sysutils/ocijail/pkg-descr new file mode 100644 index 000000000000..b8350ccb485d --- /dev/null +++ b/sysutils/ocijail/pkg-descr @@ -0,0 +1,3 @@ +Experimental, proof-of-concept OCI-compatible runtime for jails. This +is used by container engines such as buildah or podman to manage the +container lifecycle