From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WFYsOYa+HWRRWwAASxT56A (envelope-from ) for ; Fri, 24 Mar 2023 16:15:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SDUxOIa+HWQJigAAG6o9tA (envelope-from ) for ; Fri, 24 Mar 2023 16:15:18 +0100 Received: from lists.gnu.org (unknown [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 94C22252C9 for ; Fri, 24 Mar 2023 16:15:18 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=c0x0o.me header.s=protonmail header.b=qrAog5WD; 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=1679670918; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RlCsUH2BmzDGCWOdYEiQ1vXdYc+excFCD/XoyX5jGxk=; b=bjtScBe8rQA9uIpUwT50rmGhdGU+2ovVLmVq7gBJEytzsW8hF6vEni7eXQ7PzQ83i4WE2O 67AJJkhC6RPjik4HMm1OTOD0Oucb3CAYUTL0Cqvfa5Plwi913X05+oEdLqB/FBY46VdYSI PHznGpoFMih6SFULcWWLxe4qjSM2z4Z0XN5J/VMSqn7eM/Go3XGu0eNkUJpKAcGZRdZ7tj W4RFkEWVhL2M3UMXojLTEegeAugblld79n/q8Di9EcHM/uR4+T3XcW5ZUbFw2jIuHWHkbI b0Nw0qmPSUQedHnLaWGUx1lPowE2S20K/Luqo8Gj1GxBvZ7bjc/hMl7Q52NKmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679670918; a=rsa-sha256; cv=none; b=rijC2SEhRt3kERaa2b6TXa8v5SvDWcyDyu21JoTFS6McAiMA627u5pQFSxGJ9m11vy9dy6 YQ1p7qhfmJ52AbSPEGijMdsOPY5G44sPKTsvkvmvyvg40+KmgO7E01jmaCIghFGAatzcai JJhyq7YrH7q1Vye0T3jD2yjmNpgHlk2Fzf2GEpWXGgq4vKpJU0ZVnsLouPLlJc4Q0jAbJ1 6WBW+xP17DbwELjnWvv1JuuY4naJP4wsTePcz4SDzsHrLGnZZRuTVdrExS/YgTGA8LrE5+ 9hr9HECK1EKyvqHUmGfSrP4bnNAFVNbSMntpnuL07s0zF0qga17xoEGEou80xw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=c0x0o.me header.s=protonmail header.b=qrAog5WD; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pff8Z-0003rr-HZ; Fri, 24 Mar 2023 06:59:11 -0400 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 1pff8T-0003ob-QB for guix-patches@gnu.org; Fri, 24 Mar 2023 06:59:09 -0400 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 1pff8T-00022K-Ic for guix-patches@gnu.org; Fri, 24 Mar 2023 06:59:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pfeRq-0001pF-5p for guix-patches@gnu.org; Fri, 24 Mar 2023 06:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61682] [PATCH v3 1/1] gnu: buildah: Add 'buildah' package Resent-From: Zongyuan Li Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Mar 2023 10:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61682 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61682@debbugs.gnu.org, liliana.prikler@gmail.com Cc: Zongyuan Li Received: via spool by 61682-submit@debbugs.gnu.org id=B61682.16796528956984 (code B ref 61682); Fri, 24 Mar 2023 10:15:02 +0000 Received: (at 61682) by debbugs.gnu.org; 24 Mar 2023 10:14:55 +0000 Received: from localhost ([127.0.0.1]:39876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfeRi-0001oa-O0 for submit@debbugs.gnu.org; Fri, 24 Mar 2023 06:14:55 -0400 Received: from mail-4018.proton.ch ([185.70.40.18]:55953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfeRf-0001oG-0x for 61682@debbugs.gnu.org; Fri, 24 Mar 2023 06:14:53 -0400 Date: Fri, 24 Mar 2023 10:14:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c0x0o.me; s=protonmail; t=1679652880; x=1679912080; bh=RlCsUH2BmzDGCWOdYEiQ1vXdYc+excFCD/XoyX5jGxk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=qrAog5WDImqBc2nvJkBRZHvZ+95Of2+bgUzMBmZaYyk0TDC5n+78Guf7AAGx4bzr1 cZ47hrmpxZ0x+T+XwoCz6JTScxyc66X05TRwfLV8qA2JLiPIYkX1WI55qx9zZgDsgy vUpzq+FJYLHyVMC45GaTYiO17A+w+ksvPhgRmrQUu62PT7dgJzE7zpKlP07QqGfVV9 xcahcOUhuOcYCq80N/RkaAqoPbFReLBpwDcDgLjsLw6QZnO29vykG8zBaIvqC9B4dq VUVElv8kjBloy2xp3at1XwSf0G0W8q3pATlQTc2sonbhGRLz3ir76a+pmSJxAkbHN0 oXT6JG3qy1CgQ== Message-ID: <29eeb5f527c4eb6f966e5d0365b459f980dbb0b9.1679652457.git.zongyuan.li@c0x0o.me> In-Reply-To: References: Feedback-ID: 67462066:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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: 94C22252C9 X-Spam-Score: -2.04 X-Migadu-Spam-Score: -2.04 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-Country: US X-Migadu-Flow: FLOW_IN X-TUID: s9lav7WQTrQx gnu: buildah: Add 'buildah' package Introduce new 'buildah' package * gnu/packages/containers.scm: New 'buildah' package --- gnu/packages/containers.scm | 73 +++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm index b316588ea2..c20bcdaba3 100644 --- a/gnu/packages/containers.scm +++ b/gnu/packages/containers.scm @@ -406,3 +406,76 @@ (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.1") + (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 + "1mcqkz68fjccdla1bgxw57w268a586brm6x28fcm6x425ah0w07h")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/containers/buildah/cmd/buildah" + #:unpack-path "github.com/containers/buildah" + ; Some dependencies require go-1.18 to build + #:go go-1.18 + #:tests? #f + #:build-flags + ; These information is constructed in 'buildah' Makefile. + #~(list (string-append "-ldflags=3D-X main.GitCommit=3D" + "faf0d4fcbaede00f4e615dc5cc2ccc816f240c= fe" + " -X main.cniVersion=3Dv1.1.2")) + #:install-source? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'prepare-install-docs + (lambda* (#:key unpack-path #:allow-other-keys) + (substitute* (string-append "src/" + unpack-path + "/docs/Makefile") + (("../tests/tools/build/go-md2man") + (which "go-md2man"))) + (substitute* (string-append "src/" + unpack-path + "/docs/Makefile") + (("/usr/local") (string-append #$output))))) + (add-after 'build 'build-docs + (lambda* (#:key unpack-path #:allow-other-keys) + (let* + ((doc-path (string-append "src/" unpack-path "/docs"= ))) + (invoke "make" "-C" doc-path)))) + (add-after 'install 'install-docs + (lambda* (#:key unpack-path #:allow-other-keys) + (let* + ((doc-path (string-append "src/" unpack-path "/docs"= ))) + (invoke "make" "-C" doc-path "install"))))))) + (inputs (list btrfs-progs + cni-plugins + conmon + eudev + glib + gpgme + libassuan + libseccomp + lvm2 + runc)) + (native-inputs + (list go-github-com-go-md2man + gnu-make + 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)