[arch-commits] Commit in podman/trunk (PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Wed Mar 31 14:49:14 UTC 2021
Date: Wednesday, March 31, 2021 @ 14:49:14
Author: foxboron
Revision: 910634
upgpkg: podman 3.1.0-1
Modified:
podman/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-31 13:57:47 UTC (rev 910633)
+++ PKGBUILD 2021-03-31 14:49:14 UTC (rev 910634)
@@ -4,8 +4,8 @@
pkgbase=podman
pkgname=(podman podman-docker)
-pkgver=3.0.1
-pkgrel=2
+pkgver=3.1.0
+pkgrel=1
pkgdesc='Tool and library for running OCI-based containers in pods'
arch=(x86_64)
url='https://github.com/containers/libpod'
@@ -22,8 +22,22 @@
git describe --tags | sed 's/^v//;s/-/+/g'
}
+prepare() {
+ cd libpod
+
+ # From
+ # Makefile: Fix make install.docker regression
+ # https://github.com/containers/podman/pull/9898
+
+ # Makefile: ensure install.docker creates BINDIR
+ git cherry-pick -n ab3b6df130f5ce21b126a666f5df3bd85aaf4c46
+
+ # Makefile: introduce install.docker-full
+ git cherry-pick -n 7801072851315cd1409d5d82a5e649659aa06b79
+}
+
build() {
- export BUILDTAGS='seccomp varlink systemd'
+ export BUILDTAGS='seccomp systemd'
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
@@ -31,7 +45,6 @@
export GOFLAGS="-buildmode=pie -trimpath"
cd libpod
- go generate ./pkg/varlink/...
make EXTRA_LDFLAGS='-s -w -linkmode=external'
}
@@ -55,5 +68,5 @@
provides=(docker)
cd libpod
- make install.docker DESTDIR="$pkgdir" PREFIX=/usr
+ make -j1 install.docker-full DESTDIR="$pkgdir" PREFIX=/usr
}
More information about the arch-commits
mailing list