Date: Wed, 16 Nov 2022 12:46:34 GMT From: Dave Cottlehuber <dch@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0f0152ce11cb - main - sysutils/ocijail: new port Message-ID: <202211161246.2AGCkYSJ051700@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by dch: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f0152ce11cb8f71fbf14fc2fe51e511f7843932 commit 0f0152ce11cb8f71fbf14fc2fe51e511f7843932 Author: Doug Rabson <dfr@FreeBSD.org> AuthorDate: 2022-11-16 12:46:29 +0000 Commit: Dave Cottlehuber <dch@FreeBSD.org> 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211161246.2AGCkYSJ051700>