update to 26.0.1 [release 26.0.1-1mamba;Sun Apr 14 2024]
This commit is contained in:
parent
100834c9fa
commit
b478ad914f
@ -1,11 +0,0 @@
|
||||
--- docker-1.9.1/hack/make/binary.orig 2016-01-02 01:29:55.105681566 +0100
|
||||
+++ docker-1.9.1/hack/make/binary 2016-01-02 01:30:05.731594220 +0100
|
||||
@@ -23,7 +23,7 @@
|
||||
go build \
|
||||
-o "$DEST/$BINARY_FULLNAME" \
|
||||
"${BUILDFLAGS[@]}" \
|
||||
- -ldflags "
|
||||
+ -gccgoflags "-pthread -lsystemd
|
||||
$LDFLAGS
|
||||
$LDFLAGS_STATIC_DOCKER
|
||||
" \
|
72
docker.spec
72
docker.spec
@ -1,13 +1,10 @@
|
||||
%define groupid 65440
|
||||
%define userid 65440
|
||||
# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
|
||||
%define libnetwork_tag master@64b7a4574d1426139437d20e81c0b6d391130ec8
|
||||
%define tini_tag master@de40ad007797e0dcd8b7126f27bb87401d224240
|
||||
%define buildx_tag master@11057da37336192bfc57d81e02359ba7ba848e4a
|
||||
%define app_tag master@9d2c67f87b7338eb1a0fa2f18eb81af3d2aac0e1
|
||||
|
||||
Name: docker
|
||||
Version: 24.0.5
|
||||
Version: 26.0.1
|
||||
Release: 1mamba
|
||||
Summary: An open-source application container engine
|
||||
Group: System/Servers
|
||||
@ -15,18 +12,12 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://www.docker.com/
|
||||
#Source: https://github.com/docker/docker-ce.git/v%{version}/docker-ce-%{version}.tar.bz2
|
||||
Source: https://github.com/docker/cli.git/v%{version}/cli-%{version}.tar.bz2
|
||||
Source1: https://github.com/moby/moby.git/v%{version}/moby-%{version}.tar.bz2
|
||||
Source2: https://github.com/docker/libnetwork.git/%{libnetwork_tag}/libnetwork-%{version}.tar.bz2
|
||||
Source3: https://github.com/krallin/tini.git/%{tini_tag}/tini-%{version}.tar.bz2
|
||||
Source4: https://github.com/docker/buildx.git/%{buildx_tag}/buildx-%{version}.tar.bz2
|
||||
Source5: https://github.com/docker/app.git/%{buildx_tag}/app-%{version}.tar.bz2
|
||||
Patch0: docker-1.9.1-build-missing-flags.patch
|
||||
Source2: https://github.com/krallin/tini.git/%{tini_tag}/tini-%{version}.tar.bz2
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libdevmapper-devel
|
||||
BuildRequires: libsystemd-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libgo-devel >= 7.3.0-1mamba
|
||||
@ -42,19 +33,13 @@ An open-source application container engine.
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -c -a0 -a1 -a2 -a3 -a4 -a5
|
||||
%setup -q -c -a0 -a1 -a2
|
||||
#% setup -q -c -D -T
|
||||
#:<< _EOF
|
||||
#%patch0 -p1
|
||||
mv cli-%{version} cli
|
||||
mv moby-%{version} moby
|
||||
mv libnetwork-%{version} libnetwork
|
||||
mv tini-%{version} tini
|
||||
mv buildx-%{version} buildx
|
||||
mv app-%{version} app
|
||||
|
||||
#sed -i 's,/var/run,/run,' components/engine/contrib/init/systemd/docker.socket
|
||||
|
||||
|
||||
%build
|
||||
#:<< _EOF
|
||||
# create a fake go path directory and pushd into it
|
||||
@ -75,9 +60,6 @@ _fake_gopath_popd() {
|
||||
export GOPATH="$PWD"
|
||||
export PATH="$GOPATH/bin:$PATH"
|
||||
|
||||
# Required since Go 1.16
|
||||
export GO111MODULE=off
|
||||
|
||||
### cli
|
||||
_fake_gopath_pushd cli github.com/docker/cli
|
||||
DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=%{version} dynbinary
|
||||
@ -92,11 +74,6 @@ DOCKER_BUILDTAGS='seccomp journald apparmor' \
|
||||
hack/make.sh dynbinary
|
||||
_fake_gopath_popd
|
||||
|
||||
### docker proxy
|
||||
_fake_gopath_pushd libnetwork github.com/docker/libnetwork
|
||||
go build -ldflags='-linkmode=external' github.com/docker/libnetwork/cmd/proxy
|
||||
_fake_gopath_popd
|
||||
|
||||
### docker-init
|
||||
_fake_gopath_pushd tini github.com/krallin/tini
|
||||
cmake .
|
||||
@ -104,33 +81,15 @@ cmake .
|
||||
make tini-static
|
||||
_fake_gopath_popd
|
||||
|
||||
### app cli plugin
|
||||
echo 'Building app cli plugin'
|
||||
_fake_gopath_pushd app github.com/docker/app
|
||||
make dynamic
|
||||
_fake_gopath_popd
|
||||
|
||||
### buildx cli plugin
|
||||
echo 'Building buildx cli plugin'
|
||||
_fake_gopath_pushd buildx github.com/docker/buildx
|
||||
go build -o docker-buildx -ldflags "\
|
||||
-X github.com/docker/buildx/version.Version=$(git describe --match 'v[0-9]*' --always --tags)-tp-docker \
|
||||
-X github.com/docker/buildx/version.Revision=$(git rev-parse HEAD) \
|
||||
-X github.com/docker/buildx/version.Package=github.com/docker/buildx \
|
||||
-X main.experimental=1 -linkmode=external" ./cmd/buildx
|
||||
_fake_gopath_popd
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
### proxy
|
||||
install -Dm755 libnetwork/proxy %{buildroot}%{_bindir}/docker-proxy
|
||||
|
||||
### init
|
||||
install -Dm755 tini/tini-static %{buildroot}%{_bindir}/docker-init
|
||||
|
||||
### dockerd
|
||||
install -Dm755 moby/bundles/dynbinary-daemon/dockerd %{buildroot}%{_bindir}/dockerd
|
||||
install -Dm755 moby/bundles/dynbinary-daemon/docker-proxy %{buildroot}%{_bindir}/docker-proxy
|
||||
|
||||
# systemd
|
||||
install -Dm644 moby/contrib/init/systemd/docker.service \
|
||||
@ -139,12 +98,11 @@ install -Dm644 moby/contrib/init/systemd/docker.socket \
|
||||
%{buildroot}%{_unitdir}/docker.socket
|
||||
install -Dm644 moby/contrib/udev/80-docker.rules \
|
||||
%{buildroot}%{_udevrulesdir}/80-docker.rules
|
||||
#install -Dm644 "$srcdir/$pkgname.sysusers" \
|
||||
# "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
|
||||
|
||||
### cli
|
||||
# binary
|
||||
install -Dm755 cli/build/docker %{buildroot}%{_bindir}/docker
|
||||
|
||||
# completion
|
||||
install -Dm644 cli/contrib/completion/bash/docker \
|
||||
%{buildroot}%{_datadir}/bash-completion/completions/docker
|
||||
@ -156,16 +114,15 @@ install -Dm644 cli/contrib/completion/fish/docker.fish \
|
||||
install -dm755 %{buildroot}%{_mandir}
|
||||
cp -r cli/man/man* %{buildroot}%{_mandir}/
|
||||
|
||||
# cli-plugins
|
||||
install -Dm755 app/bin/docker-app %{buildroot}%{_prefix}/lib/docker/cli-plugins/docker-app
|
||||
install -Dm755 buildx/docker-buildx %{buildroot}%{_prefix}/lib/docker/cli-plugins/docker-buildx
|
||||
|
||||
# symlink containerd/run
|
||||
ln -s containerd %{buildroot}%{_bindir}/docker-containerd
|
||||
ln -s containerd-shim %{buildroot}%{_bindir}/docker-containerd-shim
|
||||
ln -s ctr %{buildroot}%{_bindir}/docker-containerd-ctr
|
||||
ln -s runc %{buildroot}%{_bindir}/docker-runc
|
||||
|
||||
# Fix error in final rmbuild
|
||||
chmod u+w pkg -R
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -199,25 +156,22 @@ fi
|
||||
%{_bindir}/docker-runc
|
||||
%{_bindir}/docker-containerd
|
||||
%{_bindir}/dockerd
|
||||
%dir %{_prefix}/lib/docker
|
||||
%dir %{_prefix}/lib/docker/cli-plugins
|
||||
%{_prefix}/lib/docker/cli-plugins/docker-app
|
||||
%{_prefix}/lib/docker/cli-plugins/docker-buildx
|
||||
%{_udevrulesdir}/80-docker.rules
|
||||
%{_unitdir}/docker.service
|
||||
%{_unitdir}/docker.socket
|
||||
%{_datadir}/bash-completion/completions/docker
|
||||
%{_datadir}/fish/vendor_completions.d/docker.fish
|
||||
%{_datadir}/zsh/site-functions/_docker
|
||||
%{_mandir}/man1/docker*.1*
|
||||
%{_mandir}/man5/Dockerfile.5*
|
||||
%{_mandir}/man5/docker-config-json.5*
|
||||
%{_mandir}/man8/dockerd.8*
|
||||
#%{_datadir}/vim/vimfiles/ftdetect/dockerfile.vim
|
||||
#%{_datadir}/vim/vimfiles/syntax/dockerfile.vim
|
||||
%{_datadir}/zsh/site-functions/_docker
|
||||
%doc moby/AUTHORS moby/LICENSE
|
||||
|
||||
%changelog
|
||||
* Sun Apr 14 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 26.0.1-1mamba
|
||||
- update to 26.0.1
|
||||
|
||||
* Tue Jul 25 2023 Automatic Build System <autodist@mambasoft.it> 24.0.5-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user