aboutsummaryrefslogtreecommitdiffstats
path: root/community/buildah/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/buildah/APKBUILD')
-rw-r--r--community/buildah/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/buildah/APKBUILD b/community/buildah/APKBUILD
new file mode 100644
index 0000000000..74a93993b4
--- /dev/null
+++ b/community/buildah/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: kohnish <kohnish@gmx.com>
+# Contributor: Michał Polański <michal@polanski.me>
+# Maintainer: Michał Polański <michal@polanski.me>
+pkgname=buildah
+pkgver=1.21.1
+pkgrel=0
+pkgdesc="tool that facilitates building OCI container images"
+url="https://github.com/containers/buildah"
+license="Apache-2.0"
+arch="all"
+depends="shadow-uidmap fuse-overlayfs slirp4netns containers-common"
+makedepends="go go-md2man lvm2-dev gpgme-dev libseccomp-dev btrfs-progs-dev bash"
+subpackages="$pkgname-doc"
+options="!check" # tests require root privileges
+source="https://github.com/containers/buildah/archive/v$pkgver/buildah-$pkgver.tar.gz"
+
+# secfixes:
+# 1.19.4-r0:
+# - CVE-2021-20206
+# 1.14.4-r0:
+# - CVE-2020-10696
+
+build() {
+ GIT_COMMIT="$pkgver" make
+}
+
+package() {
+ GIT_COMMIT="$pkgver" make install PREFIX=/usr DESTDIR="$pkgdir"
+}
+
+sha512sums="
+8fb30ed0948f898aef9a32c34d4b2a2e04a376257a73184ec01b67c770be1c3c87e46987ad001ececf2235cb5e17f9d0ff9e9f34be61ddd0935859c4e5b37d1f buildah-1.21.1.tar.gz
+"