From 5fc227b4c368989d2089e4c7a0cd05fcb1fc00ee Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Fri, 24 Aug 2018 19:49:36 -0700 Subject: [PATCH] containerd: update to 1.1.3 --- srcpkgs/containerd/template | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/srcpkgs/containerd/template b/srcpkgs/containerd/template index 797bcd1ebad..56c6d0e66f8 100644 --- a/srcpkgs/containerd/template +++ b/srcpkgs/containerd/template @@ -1,10 +1,16 @@ # Template file for 'containerd' pkgname=containerd -version=1.1.2 +version=1.1.3 revision=1 build_style=go go_import_path=github.com/containerd/containerd -hostmakedepends="git pkg-config" +go_package="${go_import_path}/cmd/containerd + ${go_import_path}/cmd/containerd-release + ${go_import_path}/cmd/containerd-shim + ${go_import_path}/cmd/ctr" +go_ldflags="-X ${go_import_path}/version.Version=$version -X ${go_import_path}/version.Revision=UNSET" +go_build_tags="seccomp apparmor" +hostmakedepends="pkg-config go-md2man" makedepends="libbtrfs-devel libseccomp-devel" depends="runc" short_desc="An open and reliable container runtime" @@ -12,16 +18,20 @@ maintainer="Paul Knopf " license="Apache-2.0" homepage="https://github.com/containerd/containerd" distfiles="https://github.com/containerd/containerd/archive/v${version}.tar.gz" -checksum=fd2531e1a1ace89b62f193f8c32e04ab847d75ad6316c7aa864e1eb386db3743 +checksum=a946f4614d92d60361213ef18deab04ee73599e4567f1ff26f7a72841afe4fa2 make_dirs="/var/lib/containerd 0755 root root" -do_build() { - cd ${GOSRCPATH} - make +post_build() { + # Build the man pages + for _i in ctr.1 containerd.1 config.toml.5 containerd-config.1 ; do + go-md2man -in "docs/man/$_i.md" -out "docs/man/$_i" + done } -do_install() { +post_install() { vsv containerd - cd ${GOSRCPATH} - make install DESTDIR=${DESTDIR}/usr/ + + for _i in ctr.1 containerd.1 config.toml.5 containerd-config.1 ; do + vman docs/man/$_i + done }