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