Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : runc | name : runc | ||||
| version : 1.1.2 | version : 1.1.4 | ||||
| release : 21 | release : 22 | ||||
| source : | source : | ||||
| - https://github.com/opencontainers/runc/archive/refs/tags/v1.1.2.tar.gz : 0ccce82b1d9c058d8fd7443d261c96fd7a803f2775bcb1fec2bdb725bc7640f6 | - https://github.com/opencontainers/runc/archive/refs/tags/v1.1.4.tar.gz : 4f02077432642eebd768fc857318ae7929290b3a3511eb1be338005e360cfa34 | ||||
| license : Apache-2.0 | license : Apache-2.0 | ||||
| component : virt | component : virt | ||||
| summary : OCI complaint CLI tool to run containers | summary : OCI complaint CLI tool to run containers | ||||
| description: | | description: | | ||||
| runc is a CLI tool for spawning and running containers according to the OCI specification. | runc is a CLI tool for spawning and running containers according to the OCI specification. | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(libseccomp) | - pkgconfig(libseccomp) | ||||
| - go-md2man | |||||
| - golang | - golang | ||||
| networking : yes | |||||
| setup : | | setup : | | ||||
| mkdir -p src/github.com/opencontainers/runc | mkdir -p src/github.com/opencontainers/runc | ||||
| find ./* -prune ! -name src -exec mv {} src/github.com/opencontainers/runc/ \; | find ./* -prune ! -name src -exec mv {} src/github.com/opencontainers/runc/ \; | ||||
| environment: | | environment: | | ||||
| export GOPATH="`pwd`" | export GOPATH="`pwd`" | ||||
| export BUILDTAGS='seccomp apparmor' | |||||
| export CGO_CPPFLAGS="${CPPFLAGS}" | |||||
| export CGO_CFLAGS="${CFLAGS}" | |||||
| export CGO_CXXFLAGS="${CXXFLAGS}" | |||||
| export CGO_LDFLAGS="${LDFLAGS}" | |||||
| export GOFLAGS="-trimpath -mod=readonly -modcacherw" | |||||
| # Git SHA corresponding to the release tag | |||||
| export COMMIT=5fd4c4d144137e991c4acebb2146ab1483a97925 | |||||
| build : | | build : | | ||||
| %make -C src/github.com/opencontainers/runc | cd src/github.com/opencontainers/runc | ||||
| %make runc man | |||||
| install : | | install : | | ||||
| install -Dm00755 src/github.com/opencontainers/runc/runc $installdir/usr/bin/runc | cd src/github.com/opencontainers/runc/ | ||||
| install -Dm00755 runc $installdir/usr/bin/runc | |||||
| install -Dm00644 contrib/completions/bash/runc $installdir/usr/share/bash-completion/completions/runc | |||||
| install -d $installdir/usr/share/man/man8 | |||||
| install -m644 man/man8/*.8 $installdir/usr/share/man/man8 | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.