From nobody Wed Nov 16 12:46:38 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 4NC2qL49j4z4hq6H; Wed, 16 Nov 2022 12:46:38 +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 4NC2qL3K5Yz4L7Y; Wed, 16 Nov 2022 12:46:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668602798; 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=IvdYIqE1COspg3eQjgDAr6t0PkDDMBqJDJd8ZXUvY0w=; b=nu47W3rIHDhLiD2MZeKFU/8JGVO7hnZLvKoyfGXsECGWrmjJZ2DQ6IrXxg2QuFMtfOaA8G SlxhOwg6YLdWrQbe6HDg4BY7B6oU9Fn6JdGY3bhkCJ4izfrJ6vqXwwgFw0fgWC71WgPrQN 69NiPQXLH4SvSsZjKpBZ1zGgzM/CjGNalFrL+cN8KID3TVARUyJwoaYj5hc+ByK1oFJoFZ GRcHc52lx69VKvK5nbKg7tUDwh6Kahtk1i86mZD8+9xnMcf8dbQ88W5DCYsqVfmMYcns8T fUOEwFYFnKKBtzTJwhA/Bsun/xkEPStjA/3VE8+g7oxKcXLWOVagbKAnNqGBhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668602798; 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=IvdYIqE1COspg3eQjgDAr6t0PkDDMBqJDJd8ZXUvY0w=; b=Ox0wfxWlODNJb4Veg3ZiFhmOzRBI/KfO+tUGD6fxyTB4Ug2mFRHHhWspiwjitGymgZl7kF 17qM/ALa7Ubw+VIv7U1AWSZwTBnBJE64ccEJZ/zEgGI/eRdxzZTmTjPIiZVzyI5984qq2X GQDJljT0toY56RFZExCefpg22MHG87gU6tgsjZ1RPGZkEDKv/IWjxJGCZ9KzI/O/TWhEdX CByeP0ggD+7fDtuskVfthamrzsHhECy/+nY8SmtcKuCirsrx3YXHiBssrNxQIpHzrVxMac fhuVFhI6ejYm+eVVh9ay9yusSjP41iqgXlem1QeNJHm11IiM0GNbHX39gshbog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668602798; a=rsa-sha256; cv=none; b=l52RazSHhKpGVkftyxWUoOycaYdjwTssvzvGpl/9qjlJkpo1KaGj5UPH/x2+ee06hSCJfh f54xCn9KGa598vLyUGGaObLr/DRnZl6kGYknAJ/meOX5Au4KTDVOKX0sSYvIY0nqT90hE7 Sxcb7J1kLkjHFCOq6M9/hn+cRtPcQPbC/SaXarLTFqrtJEbqNa/DcjnKiOiHzmbwtu+sag OQtrUwTkwqHqty5x//OFRG/IpZVSdzDc/w2uPhQ2xVT303iO3m5y+vZRbzRbDYJcyiA0gh GYZMT8UePV7XkbzPK0rf0xNLP/JURrKkIhkGYI4h5y+BugUFQc6bnAb54KqWTA== 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 4NC2qL26nTz12kl; Wed, 16 Nov 2022 12:46:38 +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 2AGCkcQl051783; Wed, 16 Nov 2022 12:46:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AGCkcPQ051782; Wed, 16 Nov 2022 12:46:38 GMT (envelope-from git) Date: Wed, 16 Nov 2022 12:46:38 GMT Message-Id: <202211161246.2AGCkcPQ051782@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: e9f00fb66247 - main - sysutils/buildah: 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: e9f00fb662475f6090eb10e2ab7e52a0c3f3df09 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dch: URL: https://cgit.FreeBSD.org/ports/commit/?id=e9f00fb662475f6090eb10e2ab7e52a0c3f3df09 commit e9f00fb662475f6090eb10e2ab7e52a0c3f3df09 Author: Doug Rabson AuthorDate: 2022-11-16 12:46:30 +0000 Commit: Dave Cottlehuber 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 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