git: e9f00fb66247 - main - sysutils/buildah: new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Nov 2022 12:46:38 UTC
The branch main has been updated by dch: URL: https://cgit.FreeBSD.org/ports/commit/?id=e9f00fb662475f6090eb10e2ab7e52a0c3f3df09 commit e9f00fb662475f6090eb10e2ab7e52a0c3f3df09 Author: Doug Rabson <dfr@FreeBSD.org> AuthorDate: 2022-11-16 12:46:30 +0000 Commit: Dave Cottlehuber <dch@FreeBSD.org> CommitDate: 2022-11-16 12:46:30 +0000 sysutils/buildah: new port The buildah package provides a command line tool which can be used to * create a working container from scratch or * create a working container from an image as a starting point * mount/umount a working container's root file system for manipulation * save container's root file system layer to create a new image * delete a working container or an image. PR: 267184 Reviewed by: arrowd Reviewed by: dch Sponsored by: SkunkWerks, GmbH Differential Revision: https://reviews.freebsd.org/D37324 --- sysutils/Makefile | 1 + sysutils/buildah/Makefile | 27 +++++++++++++++++++++++++++ sysutils/buildah/distinfo | 3 +++ sysutils/buildah/pkg-descr | 7 +++++++ sysutils/buildah/pkg-message | 8 ++++++++ sysutils/buildah/pkg-plist | 41 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 87 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 5e634b0de997..45f8226b9b1b 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -147,6 +147,7 @@ SUBDIR += bstack SUBDIR += btop SUBDIR += btsixad + SUBDIR += buildah SUBDIR += bulk_extractor SUBDIR += bupstash SUBDIR += burp diff --git a/sysutils/buildah/Makefile b/sysutils/buildah/Makefile new file mode 100644 index 000000000000..a66f7106da8d --- /dev/null +++ b/sysutils/buildah/Makefile @@ -0,0 +1,27 @@ +PORTNAME= buildah +DISTVERSION= 1.28.1.dev +CATEGORIES= sysutils + +MAINTAINER= dfr@FreeBSD.org +COMMENT= Manage Pods, Containers and Container Images +WWW= https://buildah.io/ + +LICENSE= GPLv2 + +BUILD_DEPENDS= bash:shells/bash \ + go-md2man:textproc/go-md2man \ + gsed:textproc/gsed +LIB_DEPENDS= libgpgme.so:security/gpgme +RUN_DEPENDS= containernetworking-plugins>=0:net/containernetworking-plugins \ + containers-common>=0:sysutils/containers-common \ + ocijail:sysutils/ocijail + +USES= gmake go:no_targets pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= containers +GH_PROJECT= buildah +GH_TAGNAME= c2cf9fa +INSTALL_TARGET= install install.completions + +.include <bsd.port.mk> diff --git a/sysutils/buildah/distinfo b/sysutils/buildah/distinfo new file mode 100644 index 000000000000..281edbb05918 --- /dev/null +++ b/sysutils/buildah/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1667387850 +SHA256 (containers-buildah-1.28.1.dev-c2cf9fa_GH0.tar.gz) = 0466d8a7aeb83f70d1223c63119a8f59b4010e6450c4ea9a6b52f6e9ee422a2c +SIZE (containers-buildah-1.28.1.dev-c2cf9fa_GH0.tar.gz) = 14799241 diff --git a/sysutils/buildah/pkg-descr b/sysutils/buildah/pkg-descr new file mode 100644 index 000000000000..6136b01ae33c --- /dev/null +++ b/sysutils/buildah/pkg-descr @@ -0,0 +1,7 @@ +The buildah package provides a command line tool which can be used to +* create a working container from scratch +or +* create a working container from an image as a starting point +* mount/umount a working container's root file system for manipulation +* save container's root file system layer to create a new image +* delete a working container or an image. diff --git a/sysutils/buildah/pkg-message b/sysutils/buildah/pkg-message new file mode 100644 index 000000000000..19daa99bd111 --- /dev/null +++ b/sysutils/buildah/pkg-message @@ -0,0 +1,8 @@ +This port of the buildah image building tool is based on unreleased +sources and should be used for evaluation and testing purposes only. + +Basic usage follows: + +$ export c=$(sudo buildah from quay.io/dougrabson/freebsd-minimal:13.1) +$ sudo buildah run $c freebsd-version -run +$ sudo buildah run $c ping -c 3 9.9.9.9 diff --git a/sysutils/buildah/pkg-plist b/sysutils/buildah/pkg-plist new file mode 100644 index 000000000000..3a40a02d89f0 --- /dev/null +++ b/sysutils/buildah/pkg-plist @@ -0,0 +1,41 @@ +bin/buildah +share/bash-completion/completions/buildah +share/man/man1/buildah-add.1.gz +share/man/man1/buildah-bud.1.gz +share/man/man1/buildah-build.1.gz +share/man/man1/buildah-commit.1.gz +share/man/man1/buildah-config.1.gz +share/man/man1/buildah-containers.1.gz +share/man/man1/buildah-copy.1.gz +share/man/man1/buildah-from.1.gz +share/man/man1/buildah-images.1.gz +share/man/man1/buildah-info.1.gz +share/man/man1/buildah-inspect.1.gz +share/man/man1/buildah-login.1.gz +share/man/man1/buildah-logout.1.gz +share/man/man1/buildah-manifest-add.1.gz +share/man/man1/buildah-manifest-annotate.1.gz +share/man/man1/buildah-manifest-create.1.gz +share/man/man1/buildah-manifest-exists.1.gz +share/man/man1/buildah-manifest-inspect.1.gz +share/man/man1/buildah-manifest-push.1.gz +share/man/man1/buildah-manifest-remove.1.gz +share/man/man1/buildah-manifest-rm.1.gz +share/man/man1/buildah-manifest.1.gz +share/man/man1/buildah-mount.1.gz +share/man/man1/buildah-pull.1.gz +share/man/man1/buildah-push.1.gz +share/man/man1/buildah-rename.1.gz +share/man/man1/buildah-rm.1.gz +share/man/man1/buildah-rmi.1.gz +share/man/man1/buildah-run.1.gz +share/man/man1/buildah-source-add.1.gz +share/man/man1/buildah-source-create.1.gz +share/man/man1/buildah-source-pull.1.gz +share/man/man1/buildah-source-push.1.gz +share/man/man1/buildah-source.1.gz +share/man/man1/buildah-tag.1.gz +share/man/man1/buildah-umount.1.gz +share/man/man1/buildah-unshare.1.gz +share/man/man1/buildah-version.1.gz +share/man/man1/buildah.1.gz