mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
moby: update to 28.0.1, fix and re-enable cross builds
This commit is contained in:
parent
1c30652e76
commit
65ccce8005
1 changed files with 14 additions and 23 deletions
|
@ -1,8 +1,10 @@
|
||||||
# Template file for 'moby'
|
# Template file for 'moby'
|
||||||
# should be kept in sync with docker-cli
|
# should be kept in sync with docker-cli
|
||||||
pkgname=moby
|
pkgname=moby
|
||||||
version=28.0.0
|
version=28.0.1
|
||||||
revision=3
|
revision=1
|
||||||
|
build_style=go
|
||||||
|
go_import_path="github.com/docker/docker"
|
||||||
hostmakedepends="go pkg-config"
|
hostmakedepends="go pkg-config"
|
||||||
makedepends="libbtrfs-devel device-mapper-devel libseccomp-devel"
|
makedepends="libbtrfs-devel device-mapper-devel libseccomp-devel"
|
||||||
depends="containerd iptables xz"
|
depends="containerd iptables xz"
|
||||||
|
@ -12,32 +14,21 @@ license="Apache-2.0"
|
||||||
homepage="https://www.docker.com"
|
homepage="https://www.docker.com"
|
||||||
changelog="https://github.com/moby/moby/releases"
|
changelog="https://github.com/moby/moby/releases"
|
||||||
distfiles="https://github.com/moby/moby/archive/v${version}.tar.gz"
|
distfiles="https://github.com/moby/moby/archive/v${version}.tar.gz"
|
||||||
checksum="89e26ecb0c13ef7037305811b0eb6dd4c70741c34ec3428d4396d68b03deb641
|
checksum="ff04cc8eb58aff5494e51186689043c8d25b8aff1553b04b08980f2d70b4b000"
|
||||||
5c5e3aa7599e85036438a65016796aa11df4afb44d13b5927dcfb0ec5947a86b"
|
|
||||||
system_groups="docker"
|
system_groups="docker"
|
||||||
make_check=no
|
make_check=no # no other tests are available
|
||||||
nocross=y
|
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
|
||||||
i686*) broken="libnetwork/drivers/bridge/port_mapping_linux.go:679:45: undefined\: syscall.SYS_SETSOCKOPT";;
|
|
||||||
esac
|
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
|
||||||
i686*) broken="libnetwork/drivers/bridge/port_mapping_linux.go:679:45: undefined: syscall.SYS_SETSOCKOPT";;
|
|
||||||
esac
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
export AUTO_GOPATH=1
|
export AUTO_GOPATH=1
|
||||||
export DOCKER_GITCOMMIT="tag v${version}"
|
export DOCKER_GITCOMMIT="tag v${version}"
|
||||||
export DOCKER_BUILDTAGS="seccomp"
|
export DOCKER_BUILDTAGS="seccomp"
|
||||||
export DISABLE_WARN_OUTSIDE_CONTAINER=1
|
export DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||||
|
|
||||||
GOPATH="$PWD" VERSION="$version" hack/make.sh dynbinary
|
GOPATH="$PWD" VERSION="$version" hack/make.sh dynbinary
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin bundles/dynbinary-daemon/dockerd
|
vbin bundles/dynbinary-daemon/dockerd
|
||||||
vbin bundles/dynbinary-daemon/docker-proxy
|
vbin bundles/dynbinary-daemon/docker-proxy
|
||||||
vsv docker
|
vsv docker
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue