[arch-commits] Commit in podman/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Aug 17 20:24:48 UTC 2019


    Date: Saturday, August 17, 2019 @ 20:24:48
  Author: bpiotrowski
Revision: 500035

1.5.1-1

Modified:
  podman/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-17 20:22:52 UTC (rev 500034)
+++ PKGBUILD	2019-08-17 20:24:48 UTC (rev 500035)
@@ -2,19 +2,23 @@
 
 pkgbase=podman
 pkgname=(podman podman-docker)
-pkgver=1.4.4
-pkgrel=2
+pkgver=1.5.1
+pkgrel=1
 pkgdesc='Tool and library for running OCI-based containers in pods'
 arch=(x86_64)
 url='https://github.com/containers/libpod'
 license=(Apache)
 depends=(cni-plugins conmon device-mapper iptables libseccomp ostree runc skopeo
-         btrfs-progs slirp4netns)
+         btrfs-progs slirp4netns libsystemd)
 makedepends=(go-pie go-md2man git)
 source=(libpod-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz)
-sha256sums=('2e027c1b935f3a03f27ef7f17823ccf334607a17d033d4ce53a90b98294e7f68')
+sha256sums=('5651102e8d8f15b3dfddc80702dc93149b94de330502d6de6fafa7afddbbf709')
 
 prepare() {
+  pushd libpod-$pkgver
+  sed -i '/^LDFLAGS_PODMAN ?=/s/$(LDFLAGS)//' Makefile
+  popd
+
   mkdir -p src/github.com/containers src/github.com/varlink
   cp -r libpod-$pkgver src/github.com/containers/libpod
 }
@@ -21,11 +25,8 @@
 
 build() {
   export GOPATH="$srcdir"
-  export BUILDTAGS='seccomp ostree varlink containers_image_ostree_stub'
+  export BUILDTAGS='seccomp ostree varlink containers_image_ostree_stub systemd'
 
-  # buildsystem passes LDFLAGS to GO's -ldflags, which isn't really compatible
-  unset LDFLAGS
-
   cd src/github.com/containers/libpod
   make install.tools
   make


More information about the arch-commits mailing list