runc: update to 1.0.0-rc6

runc: enable apparmor support

runc: build and install manpages
This commit is contained in:
Cameron Nemo 2018-12-09 23:31:42 -08:00 committed by maxice8
parent 769ff08e45
commit 54991a1482

View file

@ -1,27 +1,26 @@
# Template file for 'runc' # Template file for 'runc'
pkgname=runc pkgname=runc
version=1.0.0 version=1.0.0
revision=6 revision=7
_subver="rc5" _subver="rc6"
_ver="$version-$_subver" _ver="$version-$_subver"
wrksrc="$pkgname-$_ver"
build_style=go build_style=go
go_import_path=github.com/opencontainers/runc go_import_path=github.com/opencontainers/runc
wrksrc="$pkgname-$_ver" go_build_tags="seccomp apparmor"
hostmakedepends="git pkg-config" hostmakedepends="pkg-config go-md2man"
makedepends="libseccomp-devel" makedepends="libseccomp-devel"
short_desc="CLI tool for spawning and running OCI containers" short_desc="CLI tool for spawning and running OCI containers"
maintainer="Paul Knopf <pauldotknopf@gmail.com>" maintainer="Paul Knopf <pauldotknopf@gmail.com>"
license="Apache-2.0" license="Apache-2.0"
homepage="https://github.com/opencontainers/runc" homepage="https://github.com/opencontainers/runc"
distfiles="https://github.com/opencontainers/runc/releases/download/v${_ver}/runc.tar.xz" distfiles="https://github.com/opencontainers/runc/releases/download/v${_ver}/runc.tar.xz"
checksum=0304d249d0d381fbe4812999d30491b7abebf5a730aac59119f362cb7fdb2a20 checksum=8c8ddc5c62b8d6b0dac197a09ea1680dc2cec38e4c5c8ca09c5483839b18e8b0
do_build() { post_build() {
cd ${GOSRCPATH} make man
make
} }
do_install() { post_install() {
cd ${GOSRCPATH} make install-man PREFIX="${DESTDIR}/usr"
make install BINDIR=${DESTDIR}/usr/bin
} }