Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/buildah/
Date: Fri, 01 Apr 2022 17:18:11
Message-Id: 1648833479.967135d2b0fe9ae78976e938a96d93dec7d34c5d.zmedico@gentoo
1 commit: 967135d2b0fe9ae78976e938a96d93dec7d34c5d
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 1 17:17:38 2022 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 1 17:17:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=967135d2
7
8 app-containers/buildah: add 1.24.3
9
10 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
11
12 app-containers/buildah/Manifest | 1 +
13 app-containers/buildah/buildah-1.24.3.ebuild | 51 ++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/app-containers/buildah/Manifest b/app-containers/buildah/Manifest
17 index 97f47b7dd0b0..ee24e2bf46cc 100644
18 --- a/app-containers/buildah/Manifest
19 +++ b/app-containers/buildah/Manifest
20 @@ -1,2 +1,3 @@
21 DIST buildah-1.23.1.tar.gz 11872323 BLAKE2B 6e4cffd11177bca6c3e86cd3372fc7bf295b23559b7478a679ea2bea022c149b5ea058224f0a156df1b9511905795c44ed5e988ec68ca834dd80d0c198543d5f SHA512 2ceb6df5adb671483557bb03937df583857d99c116be5d44aae533c155f560d5d454bebf25908ac02bb85e4c2ba31533adb99f0946ecc4f4830977c14f324b6f
22 DIST buildah-1.24.2.tar.gz 14184511 BLAKE2B ad9ee6f332a89038368d9a5d86198f1dfa9cf99a970e85ccf3b272294fc262c68c37004131971b0ec148e999e4d8f192f4955e71673f05188110407949eb3546 SHA512 dada2b65340386355aba3980c38d9be0f43d5c3f9316c6f8e713f299ee2b975e409c1b3a785daa52b59e688c3a9c9016c43d9b0a6443d4a9453aababc0a8afa0
23 +DIST buildah-1.24.3.tar.gz 14189867 BLAKE2B 18b6eaf0ba54c310c8b946e4763f3b930ff4e0bfd85333767b8baa3320df1f43937d4742404d11de51c6386a12521e3045770d1d19406c163accd9cccc500961 SHA512 74fa6073ddf6b641700f758435d4558fc2d61691172107572dfac3d723f986aa0faf7bb5b5d1e2bd6bed5d118cbed3c78b6faf96972770b304fa28fd363b4700
24
25 diff --git a/app-containers/buildah/buildah-1.24.3.ebuild b/app-containers/buildah/buildah-1.24.3.ebuild
26 new file mode 100644
27 index 000000000000..9f76a531fd27
28 --- /dev/null
29 +++ b/app-containers/buildah/buildah-1.24.3.ebuild
30 @@ -0,0 +1,51 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +inherit bash-completion-r1 go-module
36 +GIT_COMMIT=8a645e9a
37 +
38 +DESCRIPTION="A tool that facilitates building OCI images"
39 +HOMEPAGE="https://github.com/containers/buildah"
40 +SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm64"
45 +IUSE="selinux"
46 +
47 +RDEPEND="app-crypt/gpgme:=
48 + app-containers/skopeo
49 + dev-libs/libgpg-error:=
50 + dev-libs/libassuan:=
51 + sys-apps/shadow:=
52 + sys-fs/lvm2:=
53 + sys-libs/libseccomp:=
54 + selinux? ( sys-libs/libselinux:= )"
55 +DEPEND="${RDEPEND}"
56 +
57 +RESTRICT+=" test"
58 +
59 +src_prepare() {
60 + default
61 + [[ -f selinux_tag.sh ]] || die
62 + use selinux || { echo -e "#!/bin/sh\ntrue" > \
63 + selinux_tag.sh || die; }
64 + sed -i -e 's/make -C/$(MAKE) -C/' Makefile || die 'sed failed'
65 +}
66 +
67 +src_compile() {
68 + emake GIT_COMMIT=${GIT_COMMIT} all
69 +}
70 +
71 +src_install() {
72 + dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md
73 + doman docs/*.1
74 + dodoc -r docs/tutorials
75 + dobin bin/{${PN},imgtype}
76 + dobashcomp contrib/completions/bash/buildah
77 +}
78 +
79 +src_test() {
80 + emake test-unit
81 +}