From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QNHOM4L19GNtfgEAbAwnHQ (envelope-from ) for ; Tue, 21 Feb 2023 17:46:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KNDAMoL19GOevAAAG6o9tA (envelope-from ) for ; Tue, 21 Feb 2023 17:46:58 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 85ADF136B3 for ; Tue, 21 Feb 2023 17:46:58 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=c0x0o.me header.s=protonmail header.b=epYti0sW; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676998018; a=rsa-sha256; cv=none; b=JwymrNkSpUhRKBNBxSfZ0Sq0cE6kzoz9EEaDy4MlFUCzAK1QsB2SIXrfcQPeHmh4LJfBK5 4cBdafIrHMhWu5gc5TZKlNkZzEKgYIvs98oprRawZ3WCMiOUio5haq4iLKsXw7IA/pa+4T Ycoa5kPX7LxeQ3ZGgjkYzJh7ckwVbu8chNs5k6/VwZjusp3ZuyZ1C+hRlGRz/AXRsMx6nU BM2PzRPMrBEkJlyMBfnOs7bnCMlf2FRYUsP6FiPzRNL3McIHcnS6DiT8wK5huhtW/sGs+O u+DODVQJUZTmDcMb93y5OhHdj5Q0ZNwWbBtJqiwRM3Dnold/izyhRQAcPcSRwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=c0x0o.me header.s=protonmail header.b=epYti0sW; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676998018; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=KPVUM9grGHwheCXIpxCx+A1GCvIuJa6QdBveAwoFC14=; b=gejH6QpA/NdcJRQ9LxKIw/Z7YnJoLYXWAvFVYfaAp3kyg8OgeqWyZSeyGsg2QR6/wHZhKs HX376Cebj2iwdCbre85O949Z2TfuPBR5p24K7NVNmaSIecThl5qDA0Q0bFiBjfvOBojsW7 3CWbRH/6mHRLfGvVbUhK9Ryy4ZrMIqNJILG7qWEPr4aMXPWFVDLlIXfsuAanDZYMF+IZYa kOyHULV/ZRsDAPxi2emPXf3ZbR2xUQirItt6f62mkuRP5A5pPvWFzMciohmj7U5btfnRg+ HPLowLEMaN/mIFGWYeh/u6J3QtMIyxLZPMWhWvEyYALNrWV61hHgeoWeDr6zIw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUVm1-00082C-0y; Tue, 21 Feb 2023 11:45:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUU5j-0000SP-LQ for guix-patches@gnu.org; Tue, 21 Feb 2023 09:58:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUU5j-0001as-Cq for guix-patches@gnu.org; Tue, 21 Feb 2023 09:58:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUU5j-0002JT-8F for guix-patches@gnu.org; Tue, 21 Feb 2023 09:58:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61682] [PATCH] gnu: buildah: Add 'buildah' package Resent-From: Zongyuan Li Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Feb 2023 14:58:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61682 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61682@debbugs.gnu.org Cc: Zongyuan Li X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16769914558823 (code B ref -1); Tue, 21 Feb 2023 14:58:03 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2023 14:57:35 +0000 Received: from localhost ([127.0.0.1]:56982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUU5G-0002IF-IS for submit@debbugs.gnu.org; Tue, 21 Feb 2023 09:57:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:39348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUTk2-0001FG-Hm for submit@debbugs.gnu.org; Tue, 21 Feb 2023 09:35:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUTk1-0006JB-Ig for guix-patches@gnu.org; Tue, 21 Feb 2023 09:35:38 -0500 Received: from mail-4018.proton.ch ([185.70.40.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUTjz-00046J-3A for guix-patches@gnu.org; Tue, 21 Feb 2023 09:35:37 -0500 Date: Tue, 21 Feb 2023 14:35:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c0x0o.me; s=protonmail; t=1676990132; x=1677249332; bh=KPVUM9grGHwheCXIpxCx+A1GCvIuJa6QdBveAwoFC14=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=epYti0sWT/9c1LxoBIuC5x+6VY0alRy4UbbbBSguFv9dKKvjHisQC3TlsipJuD6nT m0dncl28hNHDKM/3PYoa+J74SjWPiUfbrgPN2PD3z+4Q9ow5JKl8vMNE7jQMtcoV3j TSNQ3K9ti2NIIzsvwRX70R4WWZ2LtVDsC7W9c0/2WlwcyelYy+JOuZ6m8tt3KZzDpL KfpIUR5kTt0UhzBmYRpJzSemajIKag6t6PTMTDYMRGbEaXZBKebZAb+Ie5mri07+Ld Q661lzdFL7FQ+LN/RsJ1OfBkG46kEztcfAgFV0imxl6NXUOmvoXtseTjszTJSvquhK m2ms3Fijfd+PA== Message-ID: <20230221143500.42127-1-zongyuan.li@c0x0o.me> Feedback-ID: 67462066:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.18; envelope-from=zongyuan.li@c0x0o.me; helo=mail-4018.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 21 Feb 2023 09:57:33 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 21 Feb 2023 11:45:46 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Zongyuan Li X-Migadu-Queue-Id: 85ADF136B3 X-Spam-Score: -4.35 X-Migadu-Spam-Score: -4.35 X-Migadu-Scanner: scn0.migadu.com X-ACL-Warn: , Zongyuan Li via Guix-patches From: Zongyuan Li via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: DAGs7PxFjsFP * gnu/packages/containers.scm: New 'buildah' package Signed-off-by: Zongyuan Li --- gnu/packages/containers.scm | 68 +++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm index 80c4aaa400..731a56075c 100644 --- a/gnu/packages/containers.scm +++ b/gnu/packages/containers.scm @@ -41,6 +41,7 @@ (define-module (gnu packages containers) #:use-module (gnu packages gnupg) #:use-module (gnu packages golang) #:use-module (gnu packages linux) + #:use-module (gnu packages perl) #:use-module (gnu packages python) #:use-module (gnu packages networking) #:use-module (gnu packages pkg-config) @@ -405,3 +406,70 @@ (define-public podman volumes mounted into those containers, and pods made from groups of containers.") (license license:asl2.0))) + +(define-public buildah + (package + (name "buildah") + (version "1.29.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/containers/buildah") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "16kc19m5in819624c3np4aqb9hkjc93d34y4958jqy1k3p2p5rir")))) + (build-system gnu-build-system) + (arguments + (list #:make-flags #~(list #$(string-append "CC=3D" + (cc-for-target)) + (string-append "PREFIX=3D" + #$output)) + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'set-env + (lambda* (#:key inputs #:allow-other-keys) + (setenv "HOME" "/tmp"))) + (add-after 'unpack 'avoid-building-tools + (lambda _ + (substitute* "Makefile" + (("^docs: install\\.tools") + "docs:")))) + (add-after 'unpack 'avoid-building-tools + (lambda _ + (substitute* "Makefile" + (("^all: .*") + "all: bin/buildah docs")))) + (add-after 'unpack 'use-doc-tools + (lambda _ + (substitute* "docs/Makefile" + (("../tests/tools/build/go-md2man") + (which "go-md2man"))))) + (add-after 'install 'install-completions + (lambda _ + (invoke "make" "install.completions" + (string-append "PREFIX=3D" + #$output))))))) + (inputs (list btrfs-progs + cni-plugins + conmon + eudev + glib + go-github-com-go-md2man + gpgme + libassuan + libseccomp + lvm2 + runc)) + (native-inputs (list bats git go-1.18 perl pkg-config)) + (synopsis + "Facilitates building Open Container Initiative (OCI) container image= s") + (description + "Buildah is an open source, Linux-based tool used to build Open Conta= iner +Initiative (OCI)-compatible containers. With Buildah, you can use your +favorite tools to create efficient container images from an existing base = image +or from scratch using an empty image.") + (home-page "https://buildah.io") + (license license:asl2.0))) -- 2.37.1 (Apple Git-137.1)