diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-05-10 21:48:30 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-05-10 21:52:02 +0300 |
commit | 13f254fdf5aa9dd1b0a9a7dfed646721cde948b7 (patch) | |
tree | 315994283ee78b2d9413669d05856744a00e0846 | |
parent | sci-libs/hdf5: add 1.14.1 (diff) | |
download | gentoo-13f254fdf5aa9dd1b0a9a7dfed646721cde948b7.tar.gz gentoo-13f254fdf5aa9dd1b0a9a7dfed646721cde948b7.tar.bz2 gentoo-13f254fdf5aa9dd1b0a9a7dfed646721cde948b7.zip |
app-containers/buildah: add 1.30.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | app-containers/buildah/Manifest | 1 | ||||
-rw-r--r-- | app-containers/buildah/buildah-1.30.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/app-containers/buildah/Manifest b/app-containers/buildah/Manifest index 7af4844dc31c..c7b375d65a90 100644 --- a/app-containers/buildah/Manifest +++ b/app-containers/buildah/Manifest @@ -2,3 +2,4 @@ DIST buildah-1.27.1.tar.gz 14825932 BLAKE2B bf290eeb4d96d255c7cdaa07af49eff44191 DIST buildah-1.28.0.tar.gz 14579386 BLAKE2B effc7d0a154e30790585c19e19655f98026c34687e79b91777700bc2f387b96896d88855cd5ec34573dd2678e4a30a832c39f789d53b61b45cb5f682dacd252e SHA512 f5e82a22648fa0d0ba7f5dcf3b97a2ec1182f31d3e03cd2624e01fe76fcdddf0a5605c59816eeef6401d151864b6b6be493c144b83f5667ab3947eea902f0086 DIST buildah-1.28.1.tar.gz 14576193 BLAKE2B 5317b991780b0c2539802495a2a15e91d4e1623700d0a3fa354e362bd647e59a0e9c34d8f19858e129d0028c71bb04665bde7668e3b5f3f3e5b85c944f7108b5 SHA512 c674a90a0cae2977b76c2b68c06a0006f89d74b5b41362c2512a3f8d7ba515c3bd693648a0ba955dad7bea1a43da6890d80855e1283f0fc0136d16d77a798fba DIST buildah-1.29.1.tar.gz 15594930 BLAKE2B 71b87352062b3a5df67389897fd0d82c2491c48cffbda808b30e2767a1e290eccfd726be26dbd57fd8d08cfacb74f313058179c40600225d863a9340b772df1e SHA512 ea78aacee9b5cc10e299789d739e7086579e67719ab72b84f6ea5acbaf31d443284387ac92e7c5c1c3da9bd6523f43e2d9c7e2ea5698c251cb5458a384f41b04 +DIST buildah-1.30.0.tar.gz 15623786 BLAKE2B e0b2f6d26827cfe40f88a9915f12b6acb385fbd576fa227d4fee02c162077e9c6fe0591c7171405f5645cd06e4068f26e17c2cb963898e38cfbdd61abe68dae2 SHA512 185fd98a59fa8d86fe9f1eadc9b7591e5053674464be10538a7581d8e1f6a25e5032a354c821c32a167e2864acea010243efbbe4f5a4205d8eaa2894f062a25b diff --git a/app-containers/buildah/buildah-1.30.0.ebuild b/app-containers/buildah/buildah-1.30.0.ebuild new file mode 100644 index 000000000000..6b0da9a6f04a --- /dev/null +++ b/app-containers/buildah/buildah-1.30.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 go-module +GIT_COMMIT=04965f11 + +DESCRIPTION="A tool that facilitates building OCI images" +HOMEPAGE="https://github.com/containers/buildah" +SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="selinux" +RESTRICT="test" + +DEPEND=" + app-crypt/gpgme:= + app-containers/skopeo + dev-libs/libgpg-error:= + dev-libs/libassuan:= + sys-apps/shadow:= + sys-fs/lvm2:= + sys-libs/libseccomp:= + selinux? ( sys-libs/libselinux:= ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + [[ -f selinux_tag.sh ]] || die + use selinux || { echo -e "#!/bin/sh\ntrue" > \ + selinux_tag.sh || die; } + sed -i -e 's/make -C/$(MAKE) -C/' Makefile || die 'sed failed' +} + +src_compile() { + emake GIT_COMMIT=${GIT_COMMIT} all +} + +src_install() { + dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md + doman docs/*.1 + dodoc -r docs/tutorials + dobin bin/{${PN},imgtype} + dobashcomp contrib/completions/bash/buildah +} + +src_test() { + emake test-unit +} |