[arch-commits] Commit in podman/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon May 2 16:16:57 UTC 2022
Date: Monday, May 2, 2022 @ 16:16:56
Author: dvzrv
Revision: 1192257
archrelease: copy trunk to community-x86_64
Added:
podman/repos/community-x86_64/PKGBUILD
(from rev 1192256, podman/trunk/PKGBUILD)
Deleted:
podman/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-02 16:16:45 UTC (rev 1192256)
+++ PKGBUILD 2022-05-02 16:16:56 UTC (rev 1192257)
@@ -1,64 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-
-pkgbase=podman
-pkgname=(podman podman-docker)
-pkgver=4.0.3
-pkgrel=1
-pkgdesc='Tool and library for running OCI-based containers in pods'
-arch=(x86_64)
-url='https://github.com/containers/podman'
-license=(Apache)
-makedepends=(apparmor btrfs-progs device-mapper go go-md2man git gpgme libseccomp systemd)
-# https://github.com/containers/podman/issues/13297
-options=(!lto)
-source=(git+$url#tag=v$pkgver?signed)
-validpgpkeys=(
- 'B7DBDCA456F7335E91F1C25CD3624C551D0515C4' # Matthew Heon <mheon at redhat.com>
-)
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-build() {
- # NOTE: the BUILDTAGS may change over time
- export BUILDTAGS='apparmor seccomp systemd'
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath"
-
- make EXTRA_LDFLAGS='-s -w -linkmode=external' -C $pkgbase
- make docker-docs -C $pkgbase
-}
-
-package_podman() {
- depends=(conmon containers-common crun iptables libdevmapper.so libgpgme.so
- libseccomp.so slirp4netns)
- optdepends=(
- 'apparmor: for AppArmor support'
- 'btrfs-progs: support btrfs backend devices'
- 'catatonit: --init flag support'
- 'netavark: for a new container-network-stack implementation'
- 'podman-compose: for docker-compose compatibility'
- 'podman-docker: for Docker-compatible CLI'
- )
-
- make install install.completions DESTDIR="$pkgdir" PREFIX=/usr LIBEXECDIR=/usr/lib -C $pkgbase
- # remove man pages provided by containers-common
- rm -rvf "$pkgdir/usr/share/man/man5"
-}
-
-package_podman-docker() {
- pkgdesc='Emulate Docker CLI using podman'
- depends=(podman)
- conflicts=(docker)
- provides=(docker)
-
- make -j1 install.docker-full DESTDIR="$pkgdir" PREFIX=/usr -C $pkgbase
-}
Copied: podman/repos/community-x86_64/PKGBUILD (from rev 1192256, podman/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-02 16:16:56 UTC (rev 1192257)
@@ -0,0 +1,64 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgbase=podman
+pkgname=(podman podman-docker)
+pkgver=4.0.3
+pkgrel=2
+pkgdesc='Tool and library for running OCI-based containers in pods'
+arch=(x86_64)
+url='https://github.com/containers/podman'
+license=(Apache)
+makedepends=(apparmor btrfs-progs device-mapper go go-md2man git gpgme libseccomp systemd)
+# https://github.com/containers/podman/issues/13297
+options=(!lto)
+source=(git+$url#tag=v$pkgver?signed)
+validpgpkeys=(
+ 'B7DBDCA456F7335E91F1C25CD3624C551D0515C4' # Matthew Heon <mheon at redhat.com>
+)
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+ # NOTE: the BUILDTAGS may change over time
+ export BUILDTAGS='apparmor seccomp systemd'
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath"
+
+ make EXTRA_LDFLAGS='-s -w -linkmode=external' -C $pkgbase
+ make docker-docs -C $pkgbase
+}
+
+package_podman() {
+ depends=(conmon containers-common crun iptables libdevmapper.so libgpgme.so
+ libseccomp.so slirp4netns)
+ optdepends=(
+ 'apparmor: for AppArmor support'
+ 'btrfs-progs: support btrfs backend devices'
+ 'catatonit: --init flag support'
+ 'netavark: for a new container-network-stack implementation'
+ 'podman-compose: for docker-compose compatibility'
+ 'podman-docker: for Docker-compatible CLI'
+ )
+
+ make install install.completions DESTDIR="$pkgdir" PREFIX=/usr LIBEXECDIR=/usr/lib -C $pkgbase
+ # remove man pages provided by containers-common
+ rm -rvf "$pkgdir/usr/share/man/man5"
+}
+
+package_podman-docker() {
+ pkgdesc='Emulate Docker CLI using podman'
+ depends=(podman)
+ conflicts=(docker)
+ provides=(docker)
+
+ make -j1 install.docker-full DESTDIR="$pkgdir" PREFIX=/usr -C $pkgbase
+}
More information about the arch-commits
mailing list