Compare commits

...
Sign in to create a new pull request.

106 commits

Author SHA1 Message Date
Bradley G Smith
368edbfc95
Update to release v29.1.4
- Resolves: rhbz#2428234
- Upstream fixes
2026-01-09 09:17:36 -08:00
Bradley G Smith
a41d604f27
Update to release v29.1.3
- Resolves: rhbz#2417969
- Resolves CVE-2024-25621: rhbz#2419019, rhbz#2419046, rhbz#2419442
- Upstream new features and fixes
2025-12-12 13:24:46 -08:00
Bradley G Smith
5e570a66c5
Update to release v29.1.2
- Resolves: rhbz#2417969
- Upstream new features and fixes
2025-12-02 14:59:34 -08:00
Bradley G Smith
ef7a7976f8
Update to release v29.0.4
- Resolves: rhbz#2416746
- Upstream fixes

Signed-off-by: Bradley G Smith <bradley.g.smith@gmail.com>
2025-11-24 14:50:38 -08:00
Bradley G Smith
152cc0d09e
Remove flaky tests from %check
- TestSCTP6Proxy is flaky on x86_64 arch - usually working but sometimes
  not
- TestSCTP6ProxyNoListener often fails on ppc64le (rawhide)
2025-11-22 11:17:36 -08:00
Bradley G Smith
dcebcef461
Update to release v29.0.2
- Resolves: rhbz#2415494
- Upstream fix

Signed-off-by: Bradley G Smith <bradley.g.smith@gmail.com>
2025-11-18 07:26:42 -08:00
Bradley G Smith
65e6413a3c
Update to release v29.0.1
- Upstream fixes
2025-11-15 12:15:58 -08:00
Bradley G Smith
0615f66077
Amend tests in %check
- Expand tests found in submodules using -F parameter to gocheck2
- v29.0.0 changes  Co-authored-by: Maxwell G <maxwell@gtmx.me>

Signed-off-by: Bradley G Smith <bradley.g.smith@gmail.com>
2025-11-14 12:22:55 -08:00
Bradley G Smith
39f884308a
Update to release v29.0.0
- Upstream note: "This release includes several breaking changes and deprecations.
  Review the release notes carefully before upgrading."

- Breaking changes. Upstream new features and fixes
2025-11-10 16:34:07 -08:00
Bradley G Smith
f6c5e70821
Update to release v28.5.2
- Resolves: rhbz#2412743
- Incorporates runc v1.3.3
- Upstream bug fixes
2025-11-05 10:22:57 -08:00
Alejandro Sáez
00b2f9ff94 rebuild 2025-10-10 14:45:00 +02:00
Maxwell G
1ecc8a1dc2
Make specfile compatible with EPEL 9
I build the package in Copr for EPEL 9, which does not have the gsub or
__rpmuncompress macros.
2025-10-08 22:22:16 -05:00
Bradley G Smith
9d2b1e0e54
Update to release v28.5.1
- Resolves: rhbz#2401164, rhbz#2384164, rhbz#2384149
- Upstream new features and fixes
2025-10-08 07:53:29 -07:00
Bradley G Smith
7f6da56f08
Update to release v28.4.0
- Resolves: rhbz#2393003
- Upstream fixes and enhancements

Signed-off-by: Bradley G Smith <bradley.g.smith@gmail.com>
2025-09-03 15:11:41 -07:00
Maxwell G
020234dabd Rebuild for golang-1.25.0 2025-08-15 18:28:22 -05:00
Bradley G Smith
65c31d9d5b
Update to release v28.3.3
- Resolves: rhbz#2384219
- Resolves: CVE-2025-54388 / GHSA-x4rx-4gw3-53p4
- Upstream fixes
2025-07-29 08:19:44 -07:00
Fedora Release Engineering
1277845a98 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 22:12:44 +00:00
Bradley G Smith
5fd3210353
Update to release v28.3.2
- Resolves: rhbz#2379088
- Upstream fixes and improvements
2025-07-09 15:27:40 -07:00
Bradley G Smith
975fd7b43b
Update to v28.3.1
- Resolves: rhbz#2376016
- Upstream fixes
2025-07-04 13:56:12 -07:00
Bradley G Smith
7ce52976de
Update to release v28.3.0
- Resolves: rhbz#2374709
- Upstream fixes and enhancements
2025-06-25 07:33:59 -07:00
Bradley G Smith
d0e27728ef
Update to release v28.2.2
- Resolves: rhbz # 2369024
- Upstream regression fixes
2025-05-30 15:22:59 -07:00
Bradley G Smith
2794c7aafc
Update to release v28.2.1
- Resolves: rhbz#2369024, rhbz#2354429, rhbz#2353100
- V28.2.1 contains regression fix
- V28.2.0 has new features and fixes
- Reconcile all branches for possible packit integration
2025-05-30 08:16:05 -07:00
Bradley G Smith
5e940f9ff9
Reconcile divergent branches 2025-05-30 07:35:00 -07:00
Bradley G Smith
432919d5aa
Update license information
- Resolves invalid license information
2025-04-22 19:30:25 -07:00
Bradley G Smith
7e1008f130
Build with go1.24.2-2 2025-04-22 14:38:10 -07:00
Bradley G Smith
3b50193bfb
Build with go1.24.2-2 2025-04-22 14:36:29 -07:00
Bradley G Smith
e2ee0ce1c1
Update to release v28.1.1
- Resolves rhbz#2360751
- Upstream new features and fixes
2025-04-18 07:38:21 -07:00
Maxwell G
ddb5895da2
Update to 28.0.4. Fixes rhbz#2354877.
* Remove the manpage patch, as upstream changes rendered it unnecessary.
2025-03-27 11:56:59 -05:00
Maxwell G
f6b57cedf4 engine_go-vendor-tools: exclude LICENSE.macros
This file only applies to the macros subpackage.

[skip changelog]
2025-03-23 12:30:58 -05:00
Maxwell G
45d40fa7a6
Add missing licensing files not detected by trivy
The absence of these licenses will become an error in the next version
of go-vendor-tools.
2025-03-23 11:15:39 -05:00
Maxwell G
fe720caaf7
mkvendor: verify and replace license expression 2025-03-23 11:15:39 -05:00
Bradley G Smith
08910c1c8e
Update to release v28.0.2
- Resolves: rhbz#2353390, rhbz#2353100
- Upstream fixes and feature updates

Signed-off-by: Bradley G Smith <bradley.g.smith@gmail.com>
2025-03-19 10:24:45 -07:00
Bradley G Smith
455c8c486d
Update to release v28.0.1
- Resolves rhbz#2348422
- Reverts several networking changes introduced in v28.0.0.
- Additional fixes and new features.
- See release notes at https://github.com/moby/moby/releases/tag/v28.0.1

Signed-off-by: Bradley G Smith <bradley.g.smith@gmail.com>
2025-02-26 11:37:15 -08:00
Bradley G Smith
d00a968edc
Update to v28.0.0
- Resolves: rhbz#2346768
- Upstream new features and fixes
- man8 moved back to moby-engine in upstream
- Two (2) tests added to skiptest but commented out. Needed when
  building in COPR for unknown reason
2025-02-20 08:48:54 -08:00
Zbigniew Jędrzejewski-Szmek
5ff1ceeb3f Drop call to %sysusers_create_compat
After https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers,
rpm will handle account creation automatically.
2025-02-11 17:44:43 +01:00
Bradley G Smith
f47c17fdac
Update to release v27.5.1
- Resolves rhbz#2340056
- Upstream fix and enhancement
2025-01-22 13:16:15 -08:00
Bradley G Smith
117436efa5 Update to release v27.5.0
- Resolves rhbz#2337409
- Upstream enhancements and fixes
2025-01-18 18:12:08 +00:00
Fedora Release Engineering
ef4956e68b Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 18:48:59 +00:00
Bradley G Smith
c1835325f8
Update to release v27.4.1
- Resolves rhbz#2331204
2024-12-18 07:29:37 -08:00
Bradley G Smith
f00f1470fd
Update to release v27.4.0
- Resolves rhbz#2331204
- Significant bug fixes and enhancements. See upstream change log.
2024-12-09 11:38:09 -08:00
Bradley G Smith
7eace5e29a
Improve tag0 syntax
Thanks to @gotmax23 and Kan-Ru Chen for improvements to using gsub macro
to set tag0.
2024-12-06 09:55:46 -08:00
Bradley G Smith
1304eed7bb
Update to release v27.4.0-rc.4
- Resolves rhbz#2330680
- Release candidate 4. Significant changes from v27.3. See upstream
  change log.
2024-12-05 20:29:52 -08:00
Bradley G Smith
495175fe6e
Restore pigz as a runtime requirement
Resolves rhbz#2314398.

Improves layer decompression performance. See
https://bugzilla.redhat.com/show_bug.cgi?id=2314398 for more detail
on rationale and benefit.
2024-09-24 12:37:12 -07:00
Bradley G Smith
3ff91c05da
Update to v27.3.1
- Resolve rhbz#2308340
2024-09-20 16:59:49 -07:00
Bradley G Smith
998b05cd0a
Update to v27.2.1
Resolves rhbz# 2308340.

From upstream:
-  containerd image store: Fix non-container images being hidden in
   the docker image ls output.
-  containerd image store: Improve docker pull error message when the
   image platform doesn't match.
-  CLI: Fix issue causing docker login to not remove repository names
   from passed in registry addresses, resulting in credentials being
   stored under the wrong key.
-  CLI: Fix issue that will sometimes cause the browser-login flow to
   fail if the CLI process is suspended and then resumed while waiting
   for the user to authenticate.
-  CLI: docker login now returns an error instead of hanging if called
   non-interactively with --password or --password-stdin but without
   --user.
2024-09-09 08:30:03 -07:00
Bradley G Smith
e0d25aad0d Update to v27.2.0
Resolves rhbz#2308340

New features, bug fixes and enhancements. See
https://github.com/moby/moby/releases/tag/v27.2.0 for full list.

- CLI: Add support for device-code flow login when authenticating to
  the official registry.
- containerd image store: docker image ls now supports --tree flag
  that shows a multiplatform-aware image list. This is experimental
  and may change at any time without any backwards compatibility.
2024-09-09 10:37:31 +00:00
Maxwell G
4776d5a1b4
Fix spelling error in LICENSE.macros copyright 2024-09-07 13:20:06 -05:00
Maxwell G
4e91fc014a
Update to 27.1.2. Fixes rhbz#2274717. 2024-08-21 10:38:17 -05:00
Maxwell G
ed0ab8b3d5
doc README: don't recommend rpmdev-bumpspec --new
This is not compatible with `%{forgeversion}`. My bad for suggesting
this in the first place.

[skip changelog]
2024-08-21 10:38:17 -05:00
Bradley G Smith
8b1d7bbd79 Remove bash annotation on code blocks
It seems that the pagure markdown renderer does not support using a bash
source annotation. Removing for improved readability.
2024-08-03 10:52:11 -07:00
Maxwell G
7d2d62a395 Apply gotmax23's suggestions
- Fix up grammar and conciseness and markdown syntax
- Use explicit language for code blocks (Pagure's markdown renerder
  doesn't support code block syntax highlighting but maybe our next
  forge will...)

Thanks buckaroogeek for all your work on this. It's great!

[skip changelog]
2024-08-03 17:29:33 +00:00
Bradley G Smith
25fce270a3 Add simple maintainer's notes to README.md
A few simple steps for new maintainers to follow when building this
package.

[skip changelog]
2024-08-03 17:29:33 +00:00
Bradley G Smith
dc0ec01835 Add source 0,1 download to mkvendor.sh
For maintainer convenience. Uses spectool to download Source 0,1 if not
already present. Maintainer can check out a fresh copy of the repository
or update spec file with new release version tag. One command to
download source file and generate vendor archives.
2024-08-03 17:29:33 +00:00
Mikel Olasagasti Uranga
1d6c1789b9 Make moby-filesystem and moby-rpm-macros noarch 2024-08-03 16:56:46 +02:00
Maxwell G
4e92ce38a7
Handle s390x test failures 2024-08-02 11:53:47 -05:00
Maxwell G
26f88e332b
Always set CGO_ENABLED=1. 2024-08-02 11:29:27 -05:00
Maxwell G
5123903a71
Update to 27.1.1.
- Merge docker-cli and moby-packaging into a single source package
2024-08-01 00:29:50 -05:00
Maxwell G
cf111aa868 Update to 26.1.4. 2024-08-01 00:23:27 -05:00
Maxwell G
c64b093abb Update to 26.1.0. 2024-08-01 00:23:27 -05:00
Maxwell G
88df40029b Set CGO_CFLAGS and CGO_LDFLAGS
[skip changelog]
2024-08-01 00:23:27 -05:00
Maxwell G
d78e1865d8 Remove -filesystem and -rpm-macros subpackages
These are moving to a separate component to avoid a circular dependency.

[skip changelog]
2024-08-01 00:23:27 -05:00
Maxwell G
475d7d05cd go-vendor-tools: exclude dev scripts from license detection
[skip changelog]
2024-08-01 00:23:27 -05:00
Maxwell G
dba714b7dd Re-enable i686 builds
We cannot do this without also removing i686 from moby-engine's
dependents.
2024-08-01 00:23:27 -05:00
Maxwell G
b5ad539d48 Update to 26.0.1. 2024-08-01 00:23:27 -05:00
Maxwell G
8c217e23ac Update to 26.0.0. Fixes rhbz#2237925.
This specfile was rewritten from scratch. The code was cleaned up,
go-vendor-tools was adopted to handle licensing and vendoring, we use
the upstream Makefile to build the package, stop bundling tini-static,
and split the cli into a separate package.
2024-08-01 00:23:27 -05:00
Maxwell G
56acff01d2 Convert to %autorelease and %autochangelog
[skip changelog]
2024-08-01 00:23:25 -05:00
Fedora Release Engineering
e467313346 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 18:23:55 +00:00
Maxwell G
ba9da2ef3d
Remove separate specfile license file
I have adopted this header format for the rest of my packages. The extra
file in the SRPM is a bit messy.

Relates: 138c48597c
2024-03-23 23:23:24 +00:00
Maxwell G
82004fd9ef
Rebuild for golang 1.22.0 2024-02-11 23:31:00 +00:00
Fedora Release Engineering
95ef572078 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 07:42:12 +00:00
Fedora Release Engineering
202bc73584 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 08:25:11 +00:00
LuK1337
94a83534c5 Update moby-engine to 24.0.5 2023-08-24 01:42:08 +02:00
Fedora Release Engineering
846dd5e3b3 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 15:31:10 +00:00
Sérgio M. Basto
f3ca1f3ff3 Update moby-engine to 23.0.4 2023-04-18 15:07:53 +01:00
Sérgio M. Basto
861db2af91 Update sources, includes line breaks spectool -g 2023-01-29 17:14:55 +00:00
Sérgio M. Basto
9681603389 Update moby-engine to 20.10.23 2023-01-29 16:31:39 +00:00
Fedora Release Engineering
53ccd23822 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 20:28:36 +00:00
Sérgio M. Basto
0dbef88893 Update sources 2023-01-02 04:46:38 +00:00
Sérgio M. Basto
be74733fbe Update moby-engine to 20.10.22 2023-01-01 23:24:46 +00:00
Sérgio M. Basto
0d34fae57d Fix build for btrfs-progs-6.1 2023-01-01 23:21:43 +00:00
Sérgio M. Basto
e0b83f1256 Fix build, use libnetwork from golang-github-docker-0:22.06.0~beta 2022-12-16 02:40:16 +00:00
Dan Čermák
f5208d1b02
Update to 20.10.21 2022-12-14 15:50:47 +01:00
Maxwell G
156ac09472
Enhance update.sh
- Set %_sourcedir to PWD so `rpmspec` can parse the %include in the
  specfile. Previously, this replied on users modifying ~/.rpmmacros.
- Add explanatory comments and USAGE instructions
- Avoid broad `git add`
2022-10-21 16:04:03 -05:00
Jan Kuparinen
ad80f85b6c
Update to 20.10.20.
Mitigates CVE-2022-39253
2022-10-20 20:00:53 -05:00
Jan Kuparinen
dfbc8b93ae
Update to 20.10.19. 2022-10-20 20:00:53 -05:00
Maxwell G
9db9c9a73a
Remove old Obsoletes
docker was retired in Fedora 31 and these Obsoletes were incorrectly
formatted, so I removed them.
2022-09-10 16:39:47 -05:00
Maxwell G
deedae5429
Fix macro-in-comment 2022-09-10 16:39:35 -05:00
Maxwell G
b4be1c7e9b
Update to 20.10.18. 2022-09-10 14:46:15 -05:00
Maxwell G
9c95be299b
Fix sysusers scriptlet source path 2022-09-02 08:09:52 -05:00
Luca BRUNO
a9f2be129a
moby-engine: move 'docker' group creation logic to a sysusers.d fragment
- Rearrange sources

Resolves: https://bugzilla.redhat.com/1745936
Merges: https://src.fedoraproject.org/rpms/moby-engine/pull-request/11
Co-Authored-By: Maxwell G <gotmax@e.email>
2022-09-01 18:19:48 -05:00
Maxwell G
316c298d1e
Update changelog 2022-08-05 18:33:22 +02:00
Maxwell G
2496dcc6b3
More specfile sorting 2022-08-05 18:33:22 +02:00
Maxwell G
af2a539c71
Fix specfile indentation 2022-08-05 18:33:22 +02:00
Maxwell G
0f0e28fd3e
Remove confusing duplicate macros 2022-08-05 18:33:22 +02:00
Maxwell G
75633634f7
Sort and properly indent Buildrequires 2022-08-05 18:33:22 +02:00
Maxwell G
a86774b3c7
Migrate to SPDX identifiers 2022-08-05 18:33:22 +02:00
Maxwell G
138c48597c
Explicitly license specfile 2022-08-05 18:33:20 +02:00
Maxwell G
95213de4ab
Remove unnecessary debug package logic 2022-08-05 11:01:07 +02:00
Fedora Release Engineering
abbda294bf Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 23:29:41 +00:00
Maxwell G
d885c6971d
Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang 2022-07-19 13:58:45 -05:00
Maxwell G
3d23934ab2
Only build on %golang_arches (i.e. where golang is available). 2022-07-03 23:36:25 -05:00
Maxwell G
00bcc2fe7b Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629. 2022-06-18 22:22:40 -05:00
Maxwell G
5c0302b914 Revert "Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629"
This reverts commit 217fd08ba9.
2022-06-18 22:20:53 -05:00
Robert-André Mauchin
217fd08ba9 Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 2022-06-18 12:14:30 +02:00
Maxwell G
b88bf1e28a
Rebuild for new golang-github-docker-libnetwork 2022-06-10 23:24:29 -05:00
Maxwell G
9248a6df35
Update to 20.10.17. Fixes rhbz#2095714. 2022-06-10 15:35:45 -05:00
16 changed files with 987 additions and 753 deletions

162
.gitignore vendored
View file

@ -1,3 +1,10 @@
# Ignore unpacked source directories
/moby-*/
/cli-*/
# Ignore fedpkg mockbuild artifacts
/results_*
/2d0083d657f82c47044c8d3948ba434b622fe2fd.tar.gz
/425e105d5a03fabd737a126ad93d62a9eeede87f.tar.gz
/894b81a4b802e4eb2a91d1ce216b8817763c29fb.tar.gz
@ -38,3 +45,158 @@ moby-v20.10.10.tar.gz
/moby-20.10.15.tar.gz
/cli-20.10.16.tar.gz
/moby-20.10.16.tar.gz
/cli-20.10.17.tar.gz
/moby-20.10.17.tar.gz
/cli-20.10.18.tar.gz
/moby-20.10.18.tar.gz
/cli-20.10.19.tar.gz
/moby-20.10.19.tar.gz
/cli-20.10.20.tar.gz
/moby-20.10.20.tar.gz
/cli-20.10.21.tar.gz
/moby-20.10.21.tar.gz
/cli-20.10.22.tar.gz
/moby-20.10.22.tar.gz
/moby-20.10.23.tar.gz
/cli-20.10.23.tar.gz
/moby-23.0.4.tar.gz
/cli-23.0.4.tar.gz
/tini-0b44d36.tar.gz
/cli-24.0.5.tar.gz
/moby-24.0.5.tar.gz
/moby-26.0.0.tar.gz
/moby-26.0.0-vendor.tar.bz2
/moby-26.0.1.tar.gz
/moby-26.0.1-vendor.tar.bz2
/moby-26.1.0.tar.gz
/moby-26.1.0-vendor.tar.bz2
/moby-26.1.4.tar.gz
/moby-26.1.4-vendor.tar.bz2
/moby-27.1.1.tar.gz
/cli-27.1.1.tar.gz
/moby-27.1.1-vendor.tar.bz2
/cli-27.1.1-vendor.tar.bz2
/moby-27.1.2.tar.gz
/cli-27.1.2.tar.gz
/moby-27.1.2-vendor.tar.bz2
/cli-27.1.2-vendor.tar.bz2
/cli-27.2.0.tar.gz
/cli-27.2.0-vendor.tar.bz2
/moby-27.2.0.tar.gz
/moby-27.2.0-vendor.tar.bz2
/cli-27.2.1.tar.gz
/cli-27.2.1-vendor.tar.bz2
/moby-27.2.1.tar.gz
/moby-27.2.1-vendor.tar.bz2
/cli-27.3.1.tar.gz
/cli-27.3.1-vendor.tar.bz2
/moby-27.3.1.tar.gz
/moby-27.3.1-vendor.tar.bz2
/moby-27.4.0-rc.4-vendor.tar.bz2
/moby-27.4.0-rc.4.tar.gz
/cli-27.4.0-rc.4.tar.gz
/cli-27.4.0-rc.4-vendor.tar.bz2
/cli-27.4.0.tar.gz
/cli-27.4.0-vendor.tar.bz2
/moby-27.4.0.tar.gz
/moby-27.4.0-vendor.tar.bz2
/cli-27.4.1.tar.gz
/cli-27.4.1-vendor.tar.bz2
/moby-27.4.1.tar.gz
/moby-27.4.1-vendor.tar.bz2
/cli-27.5.0.tar.gz
/cli-27.5.0-vendor.tar.bz2
/moby-27.5.0.tar.gz
/moby-27.5.0-vendor.tar.bz2
/cli-27.5.1.tar.gz
/cli-27.5.1-vendor.tar.bz2
/moby-27.5.1.tar.gz
/moby-27.5.1-vendor.tar.bz2
/cli-28.0.0.tar.gz
/cli-28.0.0-vendor.tar.bz2
/moby-28.0.0.tar.gz
/moby-28.0.0-vendor.tar.bz2
/cli-28.0.1.tar.gz
/cli-28.0.1-vendor.tar.bz2
/moby-28.0.1.tar.gz
/moby-28.0.1-vendor.tar.bz2
/cli-28.0.2-vendor.tar.bz2
/cli-28.0.2.tar.gz
/moby-28.0.2-vendor.tar.bz2
/moby-28.0.2.tar.gz
/moby-28.0.4.tar.gz
/moby-28.0.4-vendor.tar.bz2
/cli-28.0.4.tar.gz
/cli-28.0.4-vendor.tar.bz2
/cli-28.1.1.tar.gz
/cli-28.1.1-vendor.tar.bz2
/moby-28.1.1.tar.gz
/moby-28.1.1-vendor.tar.bz2
/cli-28.2.1.tar.gz
/cli-28.2.1-vendor.tar.bz2
/moby-28.2.1.tar.gz
/moby-28.2.1-vendor.tar.bz2
/cli-28.2.2-vendor.tar.bz2
/cli-28.2.2.tar.gz
/moby-28.2.2-vendor.tar.bz2
/moby-28.2.2.tar.gz
/cli-28.3.0-vendor.tar.bz2
/cli-28.3.0.tar.gz
/moby-28.3.0-vendor.tar.bz2
/moby-28.3.0.tar.gz
/cli-28.3.1.tar.gz
/cli-28.3.1-vendor.tar.bz2
/moby-28.3.1.tar.gz
/moby-28.3.1-vendor.tar.bz2
/cli-28.3.2.tar.gz
/cli-28.3.2-vendor.tar.bz2
/moby-28.3.2.tar.gz
/moby-28.3.2-vendor.tar.bz2
/cli-28.3.3.tar.gz
/cli-28.3.3-vendor.tar.bz2
/moby-28.3.3.tar.gz
/moby-28.3.3-vendor.tar.bz2
/cli-28.4.0.tar.gz
/cli-28.4.0-vendor.tar.bz2
/moby-28.4.0.tar.gz
/moby-28.4.0-vendor.tar.bz2
/cli-28.5.1.tar.gz
/cli-28.5.1-vendor.tar.bz2
/moby-28.5.1.tar.gz
/moby-28.5.1-vendor.tar.bz2
/cli-28.5.2-vendor.tar.bz2
/moby-28.5.2-vendor.tar.bz2
/cli-28.5.2.tar.gz
/moby-28.5.2.tar.gz
/cli-29.0.0-vendor.tar.bz2
/moby-docker-v29.0.0.tar.gz
/moby-docker-v29.0.0-vendor.tar.bz2
/cli-29.0.0.tar.gz
/cli-29.0.1-vendor.tar.bz2
/cli-29.0.1.tar.gz
/moby-docker-v29.0.1.tar.gz
/moby-docker-v29.0.1-vendor.tar.bz2
/cli-29.0.2.tar.gz
/cli-29.0.2-vendor.tar.bz2
/moby-docker-v29.0.2.tar.gz
/moby-docker-v29.0.2-vendor.tar.bz2
/moby-docker-v29.0.3.tar.gz
/moby-docker-v29.0.3-vendor.tar.bz2
/cli-29.0.3.tar.gz
/cli-29.0.3-vendor.tar.bz2
/cli-29.0.4.tar.gz
/cli-29.0.4-vendor.tar.bz2
/moby-docker-v29.0.4.tar.gz
/moby-docker-v29.0.4-vendor.tar.bz2
/cli-29.1.2-vendor.tar.bz2
/cli-29.1.2.tar.gz
/moby-docker-v29.1.2-vendor.tar.bz2
/moby-docker-v29.1.2.tar.gz
/cli-29.1.3-vendor.tar.bz2
/cli-29.1.3.tar.gz
/moby-docker-v29.1.3-vendor.tar.bz2
/moby-docker-v29.1.3.tar.gz
/cli-29.1.4.tar.gz
/cli-29.1.4-vendor.tar.bz2
/moby-docker-v29.1.4.tar.gz
/moby-docker-v29.1.4-vendor.tar.bz2

View file

@ -0,0 +1,34 @@
From 5b6aae1885d02aa0a1ab0846834b86d87c989b79 Mon Sep 17 00:00:00 2001
From: Maxwell G <maxwell@gtmx.me>
Date: Fri, 15 Mar 2024 00:28:34 +0000
Subject: [PATCH] systemd: adjust docker.service for downstream
For now, we just enable selinux support and hardcode the paths for
docker-proxy and docker-init.
For `--init-path`, we use the tini-static binary directly instead of
bundling tini in this package.
---
contrib/init/systemd/docker.service | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/contrib/init/systemd/docker.service b/contrib/init/systemd/docker.service
index d8c7867..e305616 100644
--- a/contrib/init/systemd/docker.service
+++ b/contrib/init/systemd/docker.service
@@ -10,7 +10,12 @@ Type=notify
# the default is not to use systemd for cgroups because the delegate issues still
# exists and systemd currently does not support the cgroup feature set required
# for containers run by docker
-ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
+ExecStart=/usr/bin/dockerd \
+ -H fd:// \
+ --containerd=/run/containerd/containerd.sock \
+ --selinux-enabled \
+ --userland-proxy-path /usr/bin/docker-proxy \
+ --init-path /usr/bin/tini-static
ExecReload=/bin/kill -s HUP $MAINPID
TimeoutStartSec=0
RestartSec=2
--
2.44.0

10
LICENSE.macros Normal file
View file

@ -0,0 +1,10 @@
MIT License
Copyright (C) 2024 Maxwell G <maxwell@gtmx.me>
Copyright (C) Fedora Project Authors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View file

@ -1,3 +1,33 @@
# moby-engine
The moby-engine package
The moby-engine package
## Maintainer notes
Follow these steps to build this package.
1. Use your favorite git client to check out the repository if not already present.
```
fedpkg clone moby-engine
```
1. Update the `%version0` macro in `moby-engine.spec` to the target version
using your preferred text editor.
```
vim moby-engine.spec
```
1. Run `./mkvendor.sh` to download upstream source files and generate vendor archives.
```
./mkvendor.sh
```
1. Build and test the package locally.
```
# fedpkg mockbuild example
fedpkg --release rawhide mockbuild
```

277
changelog Normal file
View file

@ -0,0 +1,277 @@
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sun Feb 11 2024 Maxwell G <maxwell@gtmx.me> - 24.0.5-4
- Rebuild for golang 1.22.0
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Aug 23 2023 LuK1337 <priv.luk@gmail.com> - 24.0.5-1
- Update moby-engine to 24.0.5
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sun Jan 29 2023 John Ghatas <john@johnghatas.com>
- Update moby-engine to 23.0.4
* Sun Jan 29 2023 Sérgio Basto <sergio@serjux.com>
- Update moby-engine to 20.10.23
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Jan 01 2023 Sérgio Basto <sergio@serjux.com>
- Update moby-engine to 20.10.22
* Wed Dec 14 2022 Dan Čermák <dan.cermak@cgc-instruments.com> - 20.10.21-1
- Update to 20.10.21
- Fix build, use libnetwork from golang-github-docker-0:22.06.0~beta
* Thu Oct 20 2022 Jan Kuparinen <copperi@fedoraproject.org> - 20.10.20-1
- Update to 20.10.20.
- Mitigates CVE-2022-39253
* Tue Oct 18 2022 Jan Kuparinen <copperi@fedoraproject.org> - 20.10.19-1
- Update to 20.10.19.
* Sat Sep 10 2022 Maxwell G <gotmax@e.email> - 20.10.18-1
- Update to 20.10.18.
- Mitigates CVE-2022-36109 / GHSA-rc4r-wh2q-q6c4
* Tue Aug 30 2022 Luca BRUNO <lucab@lucabruno.net> - 20.10.17-8
- Move 'docker' group creation logic to a sysusers.d fragment
Resolves: rhbz#1745936
* Fri Aug 05 2022 Maxwell G <gotmax@e.email> - 20.10.17-7
- Migrate to SPDX license identifiers
- Generate debuginfo
- Specfile improvements
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jul 19 2022 Maxwell G <gotmax@e.email> - 20.10.17-5
- Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in
golang
* Mon Jul 04 2022 Maxwell G <gotmax@e.email> - 20.10.17-4
- Only build on %%golang_arches (i.e. where golang is available).
* Sun Jun 19 2022 Maxwell G <gotmax@e.email> - 20.10.17-3
- Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191,
CVE-2022-29526, CVE-2022-30629.
* Sat Jun 11 2022 Maxwell G <gotmax@e.email> - 20.10.17-2
- Rebuild for new golang-github-docker-libnetwork
* Fri Jun 10 2022 Maxwell G <gotmax@e.email> - 20.10.17-1
- Update to 20.10.17. Fixes rhbz#2095714.
* Fri May 13 2022 Maxwell G <gotmax@e.email> - 20.10.16-1
- Update to 20.10.16.
* Sat May 07 2022 Maxwell G <gotmax@e.email> - 20.10.15-1
- Update to 20.10.15 (rhbz#2082501).
- Fix BUILDTAGS (rhbz#2082924).
- Make non-binary subpackages noarch.
* Mon Apr 11 2022 Maxwell G <gotmax@e.email> - 20.10.14-1
- Update to 20.10.14. Fixes rhbz#2063052.
- Mitigate CVE-2022-24769.
* Mon Jan 31 2022 Maxwell G <gotmax@e.email> - 20.10.12-3
- Fixes FTBFS. Closes rhbz#2046748.
- Use %%gobuild instead of Makefile to build binaries
- Add explanatory comments.
- Normalize install commands
- Make compliant with SourceURL Guidelines
- Remove no longer necessary `ExcludeArch: ppc64`.
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20.10.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jan 11 2022 Maxwell G <gotmax@e.email> - 20.10.12-1
- Update to 20.10.12. Fixes rhbz#2032534.
- Install zsh completions to the correct directory. Fixes rhbz#2038888.
* Mon Nov 22 2021 Olivier Lemasle <o.lemasle@gmail.com> - 20.10-11-1
- Update to upstream 20.10.11 (fixes rhbz#2024384)
- Mitigates CVE-2021-41190 (fixes rhbz#2024940)
* Fri Oct 29 2021 Maxwell G <gotmax@e.email> - 20.10.10-1
- Update to 20.10.10 (fixes rhbz#2015385)
- Update virtual provides
* Fri Oct 08 2021 Maxwell G <gotmax@e.email> - 20.10.9-1
- Update to 20.10.9 (fixes rhbz#2010508)
- Patch seccomp policy to fix clone3() issue (fixes rhbz#2011523 and rhbz#1988199)
* Sun Aug 15 2021 Olivier Lemasle <o.lemasle@gmail.com> - 20.10.8-1
- Update to upstream 20.10.8 (fixes rhbz#1990148)
- Fix seccomp support (fixes rhbz#1986092)
* Sun Aug 15 2021 Dusty Mabe <dusty@dustymabe.com> - 20.10.7-3
- Remove `Requires(post)` on firewalld-filesystem.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.10.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jul 16 2021 Olivier Lemasle <o.lemasle@gmail.com> - 20.10.7-1
- Update to upstream 20.10.7 (fixes rhbz#1967390)
* Tue May 04 2021 Olivier Lemasle <o.lemasle@gmail.com> - 20.10.6-2
- Add conflict with podman-docker
* Tue Apr 20 2021 Olivier Lemasle <o.lemasle@gmail.com> - 20.10.6-1
- Update to upstream 20.10.6 (#1948605)
- Re-bundle moby dependencies to fix gRPC issues with Swarm
(https://github.com/coreos/fedora-coreos-tracker/issues/793)
* Sun Mar 14 2021 Olivier Lemasle <o.lemasle@gmail.com> - 20.10.5-1
- Update to latest upstream 20.10.5 - fixes #1903426
- Upstream brings compatibility with cgroups v2 - fixes #1746355
- Remove package moby-engine-vim (dockerfile.vim has been merged in upstream vim)
- Remove firewalld docker zone, since dockerd can now communicate with firewalld - fixes #1852680
- Build dockerd and docker-proxy from unbundled source packages
- Remove fixed storage-driver (cf. https://src.fedoraproject.org/rpms/moby-engine/pull-request/6)
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 19.03.13-3.ce.git4484c46
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 19.03.13-2.ce.git4484c46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Oct 02 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.13-1.ce.git4484c46
- Update to upstream 19.03.13 (#1837641)
* Fri Oct 02 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.11-4.ce.git42e35e6
- Fix FTBFS: adapt to change to CMake builds (#1864160)
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.03.11-3.ce.git42e35e6
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.03.11-2.ce.git42e35e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun Jun 07 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.11-1.ce.git42e35e6
- Update to upstream 19.03.11 to prevent CVE-2020-13401
* Thu May 07 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.8-2.ce.gitafacb8b
- Configure storage-driver explicitely (fixes #1832301)
- Add firewalld zone: trust interface docker0, as firewalld now uses nftables
by default and docker communicates with iptables (fixes #1817022)
* Mon Mar 16 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.8-1.ce.gitafacb8b
- Update to latest upstream release - Docker CE 19.03.8
- Prune unused BuildRequires
* Sun Mar 8 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.7-2.ce.git7141c19
- Add Conflicts with docker-ce-cli and Obsoletes docker-common
* Sat Mar 7 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.7-1.ce.git7141c19
- Update to latest upstream release - Docker CE 19.03.7
- Add Epoch: 2 to Obsoletes for docker and docker-latest
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 18.09.8-3.ce.git0dd43dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 18.09.8-2.ce.git0dd43dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jul 18 2019 Olivier Lemasle <o.lemasle@gmail.com> - 18.09.8-1.ce.git0dd43dd
- Update to latest upstream release - Docker CE 18.09.8
* Sat Jul 13 2019 Olivier Lemasle <o.lemasle@gmail.com> - 18.09.7-5.ce.git2d0083d
- Move docker-init and docker-proxy to /usr/libexec/docker
- Update moby-engine-nano summary to follow guidelines
* Sat Jul 13 2019 Olivier Lemasle <o.lemasle@gmail.com> - 18.09.7-4.ce.git2d0083d
- Add nofile ulimit to default docker daemon options (#1715254, #1708115)
* Fri Jul 12 2019 Olivier Lemasle <o.lemasle@gmail.com> - 18.09.7-3.ce.git2d0083d
- rebuilt
* Fri Jul 12 2019 Olivier Lemasle <o.lemasle@gmail.com> - 18.09.7-2.ce.git2d0083d
- Depend on packaged versions "runc" and "containerd" instead of building them.
* Thu Jun 27 2019 David Michael <dm0@redhat.com> - 18.09.7-1.ce.git2d0083d
- Update docker-ce to commit 2d0083d (version 18.09.7).
- Update runc to commit 425e105.
- Update containerd to commit 894b81a (1.2.6).
- Update docker-proxy to commit e7933d4.
* Tue May 14 2019 David Michael <dm0@redhat.com> - 18.09.6-1.ce.git481bc77
- Update docker-ce to commit 481bc77 (version 18.09.6).
- Update docker-proxy to commit 872f0a8.
- Obsolete and provide the docker and docker-latest packages. (#1700006)
* Thu Apr 11 2019 David Michael <dm0@redhat.com> - 18.09.5-1.ce.gite8ff056
- Update docker-ce to commit e8ff056 (version 18.09.5).
- Update docker-runc to commit 2b18fe1.
- Update docker-containerd to commit bb71b10 (version 1.2.5).
- Update docker-proxy to commit 4725f21.
- Report the correct engine version.
- Install symlinks to unprefixed runc/containerd program names.
* Thu Mar 28 2019 David Michael <dm0@redhat.com> - 18.06.3-2.ce.gitd7080c1
- Conflict with docker-common. (#1693397)
* Thu Feb 21 2019 David Michael <dm0@redhat.com> - 18.06.3-1.ce.gitd7080c1
- Update docker-ce to commit d7080c1 (version 18.06.3).
* Tue Feb 12 2019 David Michael <dm0@redhat.com> - 18.06.2-1.ce.git6d37f41
- Update docker-ce to commit 6d37f41 (version 18.06.2).
- Update docker-runc to commit a592beb.
* Mon Feb 11 2019 David Michael <dm0@redhat.com> - 18.06.1-3.ce.gite68fc7a
- Apply a runc patch for CVE-2019-5736.
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 18.06.1-2.ce.gite68fc7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Nov 29 2018 David Michael <dm0@redhat.com> - 18.06.1-1.ce.gite68fc7a
- Update docker-ce to commit e68fc7a (version 18.06.1).
- Update docker-runc to commit 69663f0.
- Update docker-containerd to commit 468a545 (version 1.1.2).
- Update docker-proxy to commit 3ac297b.
- Backport a fix for mounting named volumes.
- Create a "docker" group for non-root Docker access.
- Support systemd socket-activation.
- Make runc and containerd commit IDs match their expected values.
- Preserve containerd debuginfo.
* Mon Nov 12 2018 Marcin Skarbek <rpm@skarbek.name> - 18.06.0-2.ce.git0ffa825
- add configuration file
- update service file
* Sat Aug 18 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 18.06.0-1.ce.git0ffa825
- Resolves: #1539161 - first upload to Fedora
- built docker-ce commit 0ffa825
- built docker-runc commit ad0f5255
- built docker-containerd commit a88b631
- built docker-proxy commit a79d368
- built docker-init commit fec3683
* Tue Mar 20 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 17.03.2-4.ce.gitf5ec1e2
- correct some rpmlint errors
* Wed Feb 21 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 17.03.2-3.ce
- docker-* symlinks to moby-* (RE: gh PR 34226)
* Wed Feb 21 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 17.03.2-2.ce
- rename binaries as per upstream gh PR 34226
* Fri Jan 26 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 17.03.2-1
- initial build
- built moby commit f5ec1e2
- built cli commit 4b61f56
- built docker-runc commit 2d41c047
- built docker-containerd commit 3addd84
- built docker-proxy commit 7b2b1fe

28
cli_go-vendor-tools.toml Normal file
View file

@ -0,0 +1,28 @@
[licensing]
detector = "trivy"
exclude_files = [
"vendor/go.opentelemetry.io/otel/get_main_pkgs.sh",
"vendor/go.opentelemetry.io/otel/verify_examples.sh",
"vendor/google.golang.org/grpc/regenerate.sh",
]
[[licensing.licenses]]
path = "vendor/github.com/google/shlex/COPYING"
sha256sum = "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
expression = "Apache-2.0"
[[licensing.licenses]]
path = "vendor/github.com/moby/sys/symlink/LICENSE.APACHE"
sha256sum = "e6abacaae15d29c132fc8688f098a3b9c89088bc434ea33992261e19e34e6723"
expression = "Apache-2.0"
[[licensing.licenses]]
path = "vendor/github.com/moby/sys/symlink/LICENSE.BSD"
sha256sum = "81205fa54813e578a0d361c671c21ae35ca5b1b575f39e82f5cdab68b8539a1d"
expression = "BSD-3-Clause"
[archive]
pre_commands = [
# This project has a setup where go.mod and go.sum are not always present.
# We write those files manually.
["cp", "-p", "vendor.mod", "go.mod"],
["cp", "-p", "vendor.sum", "go.sum"],
]

View file

@ -1,38 +0,0 @@
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=docker.socket network-online.target firewalld.service
Requires=docker.socket
Wants=network-online.target
[Service]
Type=notify
EnvironmentFile=-/etc/sysconfig/docker
# the default is not to use systemd for cgroups because the delegate issues still
# exists and systemd currently does not support the cgroup feature set required
# for containers run by docker
ExecStart=/usr/bin/dockerd \
--host=fd:// \
--exec-opt native.cgroupdriver=systemd \
$OPTIONS
ExecReload=/bin/kill -s HUP $MAINPID
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
#TasksMax=infinity
TimeoutStartSec=0
# set delegate yes so that systemd does not reset the cgroups of docker containers
#Delegate=yes
# kill only the docker process, not all processes in the cgroup
KillMode=process
# restart the docker process if it exits prematurely
Restart=on-failure
StartLimitBurst=3
StartLimitInterval=60s
[Install]
WantedBy=multi-user.target

View file

@ -1,10 +0,0 @@
# /etc/sysconfig/docker
# Modify these options if you want to change the way the docker daemon runs
OPTIONS="--selinux-enabled \
--log-driver=journald \
--live-restore \
--default-ulimit nofile=1024:1024 \
--init-path /usr/libexec/docker/docker-init \
--userland-proxy-path /usr/libexec/docker/docker-proxy \
"

View file

@ -0,0 +1,56 @@
[licensing]
detector = "trivy"
exclude_files = [
"vendor/go.opentelemetry.io/otel/get_main_pkgs.sh",
"vendor/go.opentelemetry.io/otel/verify_examples.sh",
"vendor/google.golang.org/grpc/regenerate.sh",
"LICENSE.macros",
]
[[licensing.licenses]]
path = "vendor/github.com/google/shlex/COPYING"
sha256sum = "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
expression = "Apache-2.0"
[[licensing.licenses]]
path = "vendor/github.com/spdx/tools-golang/LICENSE.code"
sha256sum = "e914fb1f3927226e04b0438e0b541b3c6e3c65de4d64aa8f5cdaa803f05448fd"
expression = "Apache-2.0 OR GPL-2.0-or-later"
[[licensing.licenses]]
path = "internal/test/suite/testify.LICENSE"
sha256sum = "dad2b0b2cc2dbdbf95ad5d800ef7588956e74dc2479014829d42be295125c25d"
expression = "MIT"
[[licensing.licenses]]
path = "vendor/github.com/miekg/dns/COPYRIGHT"
sha256sum = "66550c0ad5ca7ec1e08683e5f872cc45c741f311eee3b8ee484206ecbf9c740d"
expression = "BSD-3-Clause"
[[licensing.licenses]]
path = "vendor/github.com/moby/sys/symlink/LICENSE.APACHE"
sha256sum = "e6abacaae15d29c132fc8688f098a3b9c89088bc434ea33992261e19e34e6723"
expression = "Apache-2.0"
[[licensing.licenses]]
path = "vendor/github.com/moby/sys/symlink/LICENSE.BSD"
sha256sum = "81205fa54813e578a0d361c671c21ae35ca5b1b575f39e82f5cdab68b8539a1d"
expression = "BSD-3-Clause"
[[licensing.licenses]]
path = "vendor/github.com/shibumi/go-pathspec/GO-LICENSE"
sha256sum = "dd26a7abddd02e2d0aba97805b31f248ef7835d9e10da289b22e3b8ab78b324d"
expression = "BSD-3-Clause"
[[licensing.licenses]]
path = "vendor/cyphar.com/go-pathrs/COPYING"
sha256sum = "3f3d9e0024b1921b067d6f7f88deb4a60cbe7a78e76c64e3f1d7fc3b779b9d04"
expression = "MPL-2.0"
[[licensing.licenses]]
path = "vendor/github.com/cyphar/filepath-securejoin/LICENSE.BSD"
sha256sum = "26be8a79415737dfe8edf1be62e71afeb8c770ed5a5605a06270d5701830f47c"
expression = "BSD-3-Clause"
[[licensing.licenses]]
path = "vendor/github.com/cyphar/filepath-securejoin/LICENSE.MPL-2.0"
sha256sum = "3f3d9e0024b1921b067d6f7f88deb4a60cbe7a78e76c64e3f1d7fc3b779b9d04"
expression = "BSD-3-Clause"
[[licensing.licenses]]
path = "vendor/go.yaml.in/yaml/v2/LICENSE.libyaml"
sha256sum = "a94710b55e03b5285f77d048c5ba61bb9d6ee04a06c0eb90e68821e11b0c707a"
expression = "MIT"
[archive]
[archive.dependency_overrides]
"github.com/moby/policy-helpers" = "v0.0.0-20251120141729-4dd138b40f3e"

5
macros.moby Normal file
View file

@ -0,0 +1,5 @@
# Copyright (C) 2024 Maxwell G <maxwell@gtmx.me>
# Copyright (C) Fedora Project Authors
# SPDX-License-Identifier: MIT
%moby_cli_plugins_dir %{_libexecdir}/docker/cli-plugins

41
mkvendor.sh Executable file
View file

@ -0,0 +1,41 @@
#!/bin/bash
# Copyright (C) 2024 Maxwell G <maxwell@gtmx.me>
# SPDX-License-Identifier: MIT
set -euo pipefail
# Source0: %{gosource0}
# Source1: %{archivename0}-vendor.tar.bz2
# Source2: %{gosource2}
# Source3: %{archivename2}-vendor.tar.bz2
sources=()
while read -r source; do
filename="$(awk '{print $2}' <<< "${source}" | awk -F '/' '{print $NF}')"
sources+=( "${filename}" )
done < <(spectool --sources ./*.spec)
set -x
temp="$(mktemp -d)"
trap 'rm -rf $temp' EXIT
here="$(pwd)"
# Retrieve remote sources
spectool -g moby-engine.spec
# (re)create vendor archives
config="${here}/engine_go-vendor-tools.toml"
go_vendor_archive create --config "${config}" --idempotent \
--output "${sources[1]}" "${sources[0]}"
go_vendor_license --config "${config}" --path "moby-engine.spec" \
report expression --update-spec
config="${here}/cli_go-vendor-tools.toml"
go_vendor_archive create --config "${config}" --idempotent \
--output "${sources[3]}" "${sources[2]}"
mkdir -p "${temp}/cli"
cd "${temp}/cli"
tar xf "${here}/${sources[2]}"
cd ./*
tar xf "${here}/${sources[3]}"
expr="$(go_vendor_license --config "${config}" --path "." report expression)"
sed -i -E "s|(\%global cli_license).*|\1 ${expr}|" "${here}/moby-engine.spec"

View file

@ -0,0 +1,2 @@
#Type Name ID
g docker -

View file

@ -1,492 +1,391 @@
%global with_debug 0
# This specfile is licensed under:
# SPDX-FileCopyrightText: Fedora Project Authors
# SPDX-FileCopyrightText: 2024 Maxwell G <maxwell@gtmx.me>
# SPDX-License-Identifier: MIT
# License Text: https://spdx.org/licenses/MIT.html
%if 0%{?with_debug}
%global _find_debuginfo_dwz_opts %{nil}
%global _dwz_low_mem_die_limit 0
%else
%global debug_package %{nil}
%endif
# Generated by go2rpm 1.11.0
%bcond_without check
# binaries and unitfiles are currently called 'docker'
# to match with upstream supplied packages
%global origname docker
%global newname moby
%global service_name %{origname}
# https://github.com/moby/moby
%global goipath0 github.com/moby/moby
# For rc, beta, alpha releases substitute tilde (~) for dash (-)
# in version0. tag0 reverses the substitution
# e.g. global version0 27.4.0~rc.4
%global version0 29.1.4
%{lua:
local version0 = rpm.expand("%{version0}"):gsub("~", "-")
rpm.define("tag0 " .. "docker-v" .. version0)
rpm.define("distprefix0 %{nil}")
rpm.define("tag2 " .. "v" .. version0)
}
# moby
%global goipath_moby github.com/%{service_name}/%{service_name}
%global git_moby https://%{goipath_moby}
%global commit_moby f756502055d2e36a84f2068e6620bea5ecf09058
%global shortcommit_moby %(c=%{commit_moby}; echo ${c:0:7})
# https://github.com/docker/cli
%global goipath2 github.com/docker/cli
%global version2 %{version0}
# cli
%global goipath_cli github.com/%{origname}/cli
%global git_cli https://%{goipath_cli}
%global commit_cli aa7e414fdcb23a66e8fabbef0a560ef1769eace5
%global shortcommit_cli %(c=%{commit_cli}; echo ${c:0:7})
%gometa -L -a -f
%global engine_dir ../%{topdir0}
%global cli_dir ../%{topdir2}
# tini
%global git_tini https://github.com/krallin/tini
%global commit_tini de40ad007797e0dcd8b7126f27bb87401d224240
%global shortcommit_tini %(c=%{commit_tini}; echo ${c:0:7})
Name: %{newname}-engine
Version: 20.10.16
Release: 1%{?dist}
Summary: The open-source application container engine
License: ASL 2.0
Source0: %{git_moby}/archive/v%{version}/moby-%{version}.tar.gz
Source1: %{git_cli}/archive/v%{version}/cli-%{version}.tar.gz
Source2: %{git_tini}/archive/%{commit_tini}/tini-%{shortcommit_tini}.tar.gz
Source3: %{service_name}.service
Source4: %{service_name}.sysconfig
# Seperate file containing virtual provides for bundled deps that's %%include'd in the specfile.
Source5: provides.spec.inc
URL: https://www.%{origname}.com
# BuildRequires: golang(github.com/docker/docker)
BuildRequires: golang(github.com/docker/libnetwork)
BuildRequires: pkgconfig(libbtrfsutil)
BuildRequires: pkgconfig(devmapper)
BuildRequires: golang
BuildRequires: go-rpm-macros
BuildRequires: go-md2man
BuildRequires: pkgconfig(libseccomp) >= 2.3.0
BuildRequires: make
BuildRequires: pkgconfig(audit)
BuildRequires: pkgconfig(systemd)
BuildRequires: firewalld-filesystem
# Build dependencies for tini
BuildRequires: cmake
BuildRequires: glibc-static
# required packages on install
Requires: container-selinux
Requires: iptables
Requires: systemd
Requires: tar
Requires: xz
Requires: pigz
Requires: runc
Requires: containerd
# Resolves: rhbz#1165615
Requires: device-mapper-libs >= 1.02.90-1
# Replace the old Docker packages
Obsoletes: %{origname} < 2:%{version}-%{release}
Obsoletes: %{origname}-latest < 2:%{version}-%{release}
Obsoletes: %{origname}-common < 2:%{version}-%{release}
Provides: %{origname} = %{version}-%{release}
Provides: %{origname}-latest = %{version}-%{release}
# conflicting packages
Conflicts: %{origname}
Conflicts: %{origname}-latest
Conflicts: %{origname}-common
Conflicts: %{origname}-io
Conflicts: %{origname}-engine-cs
Conflicts: %{origname}-ce
Conflicts: %{origname}-ce-cli
Conflicts: %{origname}-ee
Conflicts: podman-%{origname}
%include %{SOURCE5}
%description
%global common_description %{expand:
Docker is an open source project to build, ship and run any application as a
lightweight container.
Docker containers are both hardware-agnostic and platform-agnostic. This means
they can run anywhere, from your laptop to the largest EC2 compute instance and
everything in between - and they don't require you to use a particular
everything in between and they do not require you to use a particular
language, framework or packaging system. That makes them great building blocks
for deploying and scaling web apps, databases, and backend services without
depending on a particular stack or provider.
}
%package fish-completion
Summary: Fish completion files for %{name}
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: fish
Conflicts: %{service_name}-fish-completion
Obsoletes: %{service_name}-fish-completion < 2:%{version}-%{release}
Provides: %{service_name}-fish-completion = %{version}-%{release}
Name: moby-engine
Version: %{version0}
Release: %autorelease
Summary: The open-source application container engine
%description fish-completion
This package installs %{summary}.
# Generated with go-vendor-tools
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND (Apache-2.0 OR GPL-2.0-or-later)
URL: %{gourl}
# We create our own vendor tarballs instead of using the built-in directoies.
# This allows us to include the manpage build dependencies for docker-cli
# and make any of our own changes to the deps included as necessary.
Source0: %{gosource0}
Source1: %{archivename0}-vendor.tar.bz2
Source2: %{gosource2}
Source3: %{archivename2}-vendor.tar.bz2
%package zsh-completion
Summary: Zsh completion files for %{name}
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: zsh
Conflicts: %{service_name}-zsh-completion
Obsoletes: %{service_name}-zsh-completion < 2:%{version}-%{release}
Provides: %{service_name}-zsh-completion = %{version}-%{release}
Source100: moby-engine-systemd-sysusers.conf
Source101: macros.moby
Source102: LICENSE.macros
Source200: engine_go-vendor-tools.toml
Source201: cli_go-vendor-tools.toml
# Patches 0-999 are for moby/moby
Patch0: 0001-systemd-adjust-docker.service-for-downstream.patch
# Patches 1000+ are for docker/cli
# Patch1000:
BuildRequires: git-core
BuildRequires: go-vendor-tools
BuildRequires: make
BuildRequires: pkg-config
BuildRequires: systemd-devel
BuildRequires: /usr/bin/go-md2man
BuildRequires: nftables-devel
# docker.service depends on containerd
Requires: containerd
# The docker CLI is provided as a separate package
Requires: docker-cli = %{version}-%{release}
# moby-filesystem owns the libexecdir/docker directory
Requires: moby-filesystem = %{version}-%{release}
# tini-static is used as the docker-init binary
Requires: tini-static
# Other runtime packages (sorted)
Requires: container-selinux
Requires: iptables
Requires: libseccomp
Requires: nftables
Requires: pigz
Requires: systemd
Requires: tar
Requires: xz
# Provide docker name to help users who "dnf install docker"
Provides: docker = %{version}-%{release}
# Conflict with upstream packages
Conflicts: docker-ce
Conflicts: docker-ee
%description %{common_description}
%description zsh-completion
This package installs %{summary}.
%package nano
Summary: GNU nano syntax highlighting files for Moby
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: nano
Summary: GNU nano syntax highlighting files for Moby
BuildArch: noarch
Requires: nano
Supplements: moby-engine
%description nano
%description nano %{common_description}
This package installs %{summary}.
# We name this package docker-cli, as that's the name of the upstream project.
# moby-engine is github.com/moby/moby.
%package -n docker-cli
Version: %{forgeversion -z1}
Summary: The Docker CLI
# Generated with go-vendor-tools
%global cli_license Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
License: %{cli_license}
Requires: moby-filesystem = %{version}-%{release}
# Recommend main moby-engine package with the docker daemon
# We don't use a strict dependency, as it's possible to use the docker CLI with
# a different host.
Recommends: moby-engine
# docker buildx is the new supported way to run builds; docker build is deprecated.
Recommends: docker-buildx
# Conflict with older moby-engine versions
Conflicts: moby-engine < %{version}-%{release}
Conflicts: moby-engine > %{version}-%{release}
# Conflict with upstream packages
Conflicts: docker-ce-cli
Conflicts: docker-ee-cli
# Conflict with podman-docker that also contains /usr/bin/docker
Conflicts: podman-docker
# Obsolete old separate shell completions packages
Obsoletes: moby-engine-fish-completion < 24.0.5-6
Obsoletes: moby-engine-zsh-completion < 24.0.5-6
%description -n docker-cli %{common_description}
This package provides the Docker CLI.
%package -n moby-filesystem
Summary: Filesystem package for the Moby/Docker stack
License: LicenseRef-Not-Copyrightable
BuildArch: noarch
%description -n moby-filesystem %{common_description}
This is the filesystem subpackage for the Moby/Docker stack.
%package -n moby-rpm-macros
Summary: RPM Macros for the Moby/Docker stack
License: MIT
BuildArch: noarch
%description -n moby-rpm-macros %{common_description}
This package provides RPM macros for the Moby/Docker stack.
%prep
%setup -q -a 1 -a 2 -n moby-%{version}
%goprep -a -A
# correct rpmlint errors for bash completion
sed -i '/env bash/d' cli-%{version}/contrib/completion/bash/docker
# moby-engine
cd %{_builddir}/%{extractdir0}
# Unpack vendor archive
tar -xf %{S:1}
# Apply patches 0-1000
# Leave this here despite warnings so we can easily add and remove patches.
%autopatch -M999 -p1
cp -p %{S:100} %{S:101} %{S:102} .
# docker-cli
cd %{cli_dir}
# Unpack vendor archive
tar -xf %{S:3}
# Apply patches 1000+.
# Leave this here despite warnings so we can easily add and remove patches.
%autopatch -m1000 -p1
# See comment in go-vendor-tools.toml
rm -f man/go.mod
%generate_buildrequires
# moby-engine
%go_vendor_license_buildrequires -c %{S:200}
# docker-cli
%go_vendor_license_buildrequires -c %{S:201}
%build
mkdir -p _build/bin
export GO_LDFLAGS="" GO_BUILDTAGS="" CGO_ENABLED=1
%global gomodulesmode GO111MODULE=on
# build docker-proxy / libnetwork
(
# moby-engine
cd %{engine_dir}
# DOCKER_DEBUG: Ensure that all debuginfo is preserved
BUILDFLAGS="%{gocompilerflags} -a -v" \
CGO_CFLAGS="%{build_cflags}" \
CGO_LDFLAGS="%{build_ldflags}" \
DOCKER_BUILDTAGS="rpm_crashback journald" \
DOCKER_GITCOMMIT=%{release} \
DOCKER_DEBUG=1 \
DOCKER_LDFLAGS=%{gobuild_ldflags_shescaped} \
LDFLAGS=%{gobuild_ldflags_shescaped} \
VERSION=%{version} \
GOPATH=%{gobuilddir} \
bash -x ./hack/make.sh dynbinary
# Build binary using `golang-github-docker-libnetwork-devel`
# (github.com/docker/libnetwork) installed in system GOPATH.
export GOPATH="%{_datadir}/gocode"
%gobuild -o _build/bin/%{service_name}-proxy github.com/%{service_name}/libnetwork/cmd/proxy
)
# build man pages using Makefile in man subdirectory
pushd man
GO_MD2MAN=go-md2man %make_build all
popd
# build tini (installed as %%{service_name}-init)
(
cd tini-%{commit_tini}
%cmake
make tini-static -C "%{__cmake_builddir}"
)
%global buildtime %(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +"%Y-%m-%dT%H:%M:%SZ")
# build engine
(
mkdir -p src/github.com/%{service_name}
# Link source and vendored deps into local GOPATH.
ln -fns ../../.. src/%{goipath_moby}
# Build using source and vendored deps in local GOPATH.
export GOPATH="${PWD}"
export GO111MODULE=off
export LDFLAGS="-w"
export LDFLAGS+=" -X github.com/docker/docker/dockerversion.Version=%{version}"
export LDFLAGS+=" -X github.com/docker/docker/dockerversion.GitCommit=%{shortcommit_moby}"
export LDFLAGS+=" -X github.com/docker/docker/dockerversion.IAmStatic=false"
export LDFLAGS+=" -X 'github.com/docker/docker/dockerversion.BuildTime=%{buildtime}'"
export DOCKER_BUILDTAGS="seccomp selinux journald"
export BUILDTAGS="${DOCKER_BUILDTAGS}"
export GOBUILDTAGS="${BUILDTAGS}"
%gobuild -o _build/bin/%{service_name}d %{goipath_moby}/cmd/%{service_name}d
# VERSION=%%{version} DOCKER_GITCOMMIT=%%{shortcommit_moby} bash sh dynbinary
# mv bundles/dynbinary-daemon/dockerd-%{version} _build/bin/dockerd
)
# build cli
(
cd cli-%{version}
mkdir -p src/github.com/%{service_name}
# Link source and vendored deps into local GOPATH.
ln -fns ../../.. src/%{goipath_cli}
# export DISABLE_WARN_OUTSIDE_CONTAINER=1
# Build using source and vendored deps in local GOPATH.
export GOPATH="${PWD}"
export GO111MODULE=off
export LDFLAGS="\
-w \
-X \"github.com/docker/cli/cli/version.GitCommit=%{shortcommit_cli}\" \
-X \"github.com/docker/cli/cli/version.BuildTime=%{buildtime}\" \
-X \"github.com/docker/cli/cli/version.Version=%{version}\" \
"
export BUILDTAGS="pkcs11"
export GOBUILDTAGS="${BUILDTAGS}"
%gobuild -o ../_build/bin/%{service_name} %{goipath_cli}/cmd/%{service_name}
# make VERSION=%%{version} GITCOMMIT=%%{shortcommit_cli} dynbinary
man/md2man-all.sh
)
# docker-cli
cd %{cli_dir}
%make_build dynbinary \
DISABLE_WARN_OUTSIDE_CONTAINER=1 \
GITCOMMIT=%{release} \
GO_BUILDTAGS="rpm_crashback" \
GO_LDFLAGS=%{gobuild_ldflags_shescaped} \
VERSION=%{version} \
dynbinary manpages
%install
# install binary
install -Dpm 755 _build/bin/%{service_name} _build/bin/%{service_name}d -t %{buildroot}%{_bindir}/
# moby-engine
cd %{engine_dir}
# Install licenses
%go_vendor_license_install -c %{S:200}
# Install binaries
install -Dpm 0755 bundles/dynbinary*/* -t %{buildroot}%{_bindir}
# Install systemd configuration
install -Dpm 0644 contrib/init/systemd/* -t %{buildroot}%{_unitdir}
# Install sysusers config
install -Dpm 0644 moby-engine-systemd-sysusers.conf %{buildroot}%{_sysusersdir}/moby-engine.conf
install -Dpm 644 man/man8/*.8 -t %{buildroot}%{_mandir}/man8/
# install proxy
install -Dpm 755 _build/bin/%{service_name}-proxy -t %{buildroot}%{_libexecdir}/%{service_name}/
# docker-cli
cd %{cli_dir}
# Install licenses
%go_vendor_license_install -c %{S:201}
# Install docker-cli
install -Dpm 0755 build/docker -t %{buildroot}%{_bindir}
# Install shell completions
install -Dpm 644 contrib/completion/bash/docker -t %{buildroot}%{bash_completions_dir}
install -Dpm 644 contrib/completion/zsh/_docker -t %{buildroot}%{zsh_completions_dir}
install -Dpm 644 contrib/completion/fish/docker.fish -t %{buildroot}%{fish_completions_dir}
# Install manpages
install -Dpm 644 man/man1/*.1 -t %{buildroot}%{_mandir}/man1/
install -Dpm 644 man/man5/*.5 -t %{buildroot}%{_mandir}/man5/
cd -
# install tini
install -Dpm 755 tini-%{commit_tini}/%{__cmake_builddir}/tini-static %{buildroot}%{_libexecdir}/%{service_name}/%{service_name}-init
# moby-filesystem
mkdir -p %{buildroot}%{_libexecdir}/docker
mkdir %{buildroot}%{_libexecdir}/docker/cli-plugins
# install udev rules
install -Dpm 644 contrib/udev/80-%{service_name}.rules -t %{buildroot}%{_usr}/lib/udev/rules.d/
# moby-rpm-macros
install -Dpm 0644 macros.moby -t %{buildroot}%{_rpmmacrodir}
# add init scripts
install -Dpm 644 %{SOURCE3} contrib/init/systemd/docker.socket -t %{buildroot}%{_unitdir}/
%check
export PATH="%{buildroot}%{_bindir}:${PATH}" TZ=utc
# for additional args
install -Dpm 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/%{service_name}
# moby-engine
cd %{engine_dir}
%go_vendor_license_check -c %{S:200}
# add bash, zsh, and fish completions
install -Dpm 644 cli-%{version}/contrib/completion/bash/%{service_name} -t %{buildroot}%{_datadir}/bash-completion/completions/
install -Dpm 644 cli-%{version}/contrib/completion/zsh/_%{service_name} -t %{buildroot}%{_datadir}/zsh/site-functions/
install -Dpm 644 cli-%{version}/contrib/completion/fish/%{service_name}.fish -t %{buildroot}%{_datadir}/fish/vendor_completions.d/
# docker-cli
cd %{cli_dir}
%go_vendor_license_check -c %{S:201} %{cli_license}
# install manpages
install -Dpm 644 cli-%{version}/man/man1/*.1 -t %{buildroot}%{_mandir}/man1/
install -Dpm 644 cli-%{version}/man/man5/*.5 -t %{buildroot}%{_mandir}/man5/
install -Dpm 644 cli-%{version}/man/man8/*.8 -t %{buildroot}%{_mandir}/man8/
%if %{with check}
# moby-engine
cd %{engine_dir}
# Manually skip specific tests
%global engine_ignores %{shrink:
%dnl assertion failed
-s "TestC8dSnapshotterWithUsernsRemap"
-s "TestSCTP4Proxy"
%dnl flaky test will fail on x86_64 - sometimes
-s "TestSCTP6Proxy"
%dnl Failed to enter netns: operation not permitted
%dnl -s "TestSCTP4ProxyNoListener"
%dnl -s "TestSCTP6ProxyNoListener"
%dnl possibly flaky test failing on ppc64le
%[ "%{_arch}" == "ppc64le" ? "-s TestSCTP6ProxyNoListener" : "" ]
%dnl network_proxy_linux_test.go:73: protocol not supported; fails in COPR rawhide
-s "TestIfaceAddrs"
%dnl failed to mount resolved path: operation not permitted
-s "TestJoinGoodSymlink"
-s "TestJoinWithSymlinkReplace"
-s "TestJoinCloseInvalidates"
%dnl Test timeout
-s "TestImageLoad"
%dnl doesn't provide the requested platform
-s "TestContentStoreForPull"
-s "TestManifestStore"
%dnl all with error is not nil: create tmp file
%[ "%{_arch}" == "s390x" ? "-s TestCloseRunningCommand" : "" ]
%dnl graphdriver tests require extra permissions
-t daemon/graphdriver
%dnl integration tests require a running docker daemon
-t integration
%dnl libnetwork tests cannot create netns in mock
-t daemon/libnetwork
%dnl integration-cli: we don't want to run integration tests or benchmarks
-d integration-cli
}
%gocheck2 -F %{engine_ignores}
# add nano files
install -Dpm 644 contrib/syntax/nano/Dockerfile.nanorc -t %{buildroot}%{_datadir}/nano/
# docker-cli
cd %{cli_dir}
%global cli_ignores %{shrink:
-s "TestInitializeFromClientHangs"
%dnl Needs network
-s "TestRunBuildFromGitHubSpecialCase"
%dnl Test is flaky
-s "TestConnectAndWait"
%dnl Test panics
-s "TestRunAttachTermination"
-s "TestRunPullTermination"
-s "TestUpgradePromptTermination"
}
%gocheck2 -F -t e2e %{cli_ignores}
%endif
for cli_file in LICENSE MAINTAINERS NOTICE README.md; do
cp "cli-%{version}/$cli_file" "cli-$cli_file"
done
%pre
getent group %{service_name} >/dev/null || groupadd -r %{service_name} || :
%post
%systemd_post %{service_name}.service %{service_name}.socket
%firewalld_reload
%systemd_post docker.service docker.socket
%preun
%systemd_preun %{service_name}.service %{service_name}.socket
%systemd_preun docker.service docker.socket
%postun
%systemd_postun_with_restart %{service_name}.service
%systemd_postun_with_restart docker.service
%files
%license LICENSE cli-LICENSE
%doc AUTHORS CHANGELOG.md CONTRIBUTING.md MAINTAINERS NOTICE README.md
%doc cli-MAINTAINERS cli-NOTICE cli-README.md
%config(noreplace) %{_sysconfdir}/sysconfig/%{service_name}
%{_bindir}/%{service_name}
%{_bindir}/%{service_name}d
%dir %{_libexecdir}/%{service_name}/
%{_libexecdir}/%{service_name}/%{service_name}-proxy
%{_libexecdir}/%{service_name}/%{service_name}-init
%{_usr}/lib/udev/rules.d/80-%{service_name}.rules
%{_unitdir}/%{service_name}.service
%{_unitdir}/%{service_name}.socket
%{_datadir}/bash-completion/completions/%{service_name}
%{_mandir}/man1/*
%{_mandir}/man5/*
%{_mandir}/man8/*
%files zsh-completion
%{_datadir}/zsh/site-functions/_%{service_name}
%files -f %{engine_dir}/%{go_vendor_license_filelist}
%license %{engine_dir}/vendor/modules.txt
%doc %{engine_dir}/README.md
%{_bindir}/docker-proxy
%{_bindir}/dockerd
%{_sysusersdir}/moby-engine.conf
%{_unitdir}/docker.service
%{_unitdir}/docker.socket
%{_mandir}/man8/dockerd.8*
%files fish-completion
%{_datadir}/fish/vendor_completions.d/%{service_name}.fish
%files nano
%dir %{_datadir}/nano
%{_datadir}/nano/Dockerfile.nanorc
%license %{engine_dir}/AUTHORS
%license %{engine_dir}/LICENSE
%license %{engine_dir}/NOTICE
%files -n docker-cli -f %{cli_dir}/%{go_vendor_license_filelist}
%license %{cli_dir}/vendor/modules.txt
%doc %{cli_dir}/README.md
%{_bindir}/docker
%{_mandir}/man1/docker*.1*
%{_mandir}/man5/{Dockerfile,docker-config-json}.5*
%{bash_completions_dir}/docker
%{fish_completions_dir}/docker.fish
%{zsh_completions_dir}/_docker
%files -n moby-filesystem
%dir %{_libexecdir}/docker
%dir %{_libexecdir}/docker/cli-plugins
%files -n moby-rpm-macros
%license %{engine_dir}/LICENSE.macros
%{_rpmmacrodir}/macros.moby
%changelog
* Fri May 13 2022 Maxwell G <gotmax@e.email> - 20.10.16-1
- Update to 20.10.16.
* Sat May 07 2022 Maxwell G <gotmax@e.email> - 20.10.15-1
- Update to 20.10.15 (rhbz#2082501).
- Fix BUILDTAGS (rhbz#2082924).
- Make non-binary subpackages noarch.
* Mon Apr 11 2022 Maxwell G <gotmax@e.email> - 20.10.14-1
- Update to 20.10.14. Fixes rhbz#2063052.
- Mitigate CVE-2022-24769.
* Mon Jan 31 2022 Maxwell G <gotmax@e.email> - 20.10.12-3
- Fixes FTBFS. Closes rhbz#2046748.
- Use %%gobuild instead of Makefile to build binaries
- Add explanatory comments.
- Normalize install commands
- Make compliant with SourceURL Guidelines
- Remove no longer necessary `ExcludeArch: ppc64`.
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20.10.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jan 11 2022 Maxwell G <gotmax@e.email> - 20.10.12-1
- Update to 20.10.12. Fixes rhbz#2032534.
- Install zsh completions to the correct directory. Fixes rhbz#2038888.
* Mon Nov 22 2021 Olivier Lemasle <o.lemasle@gmail.com> - 20.10-11-1
- Update to upstream 20.10.11 (fixes rhbz#2024384)
- Mitigates CVE-2021-41190 (fixes rhbz#2024940)
* Fri Oct 29 2021 Maxwell G <gotmax@e.email> - 20.10.10-1
- Update to 20.10.10 (fixes rhbz#2015385)
- Update virtual provides
* Fri Oct 08 2021 Maxwell G <gotmax@e.email> - 20.10.9-1
- Update to 20.10.9 (fixes rhbz#2010508)
- Patch seccomp policy to fix clone3() issue (fixes rhbz#2011523 and rhbz#1988199)
* Sun Aug 15 2021 Olivier Lemasle <o.lemasle@gmail.com> - 20.10.8-1
- Update to upstream 20.10.8 (fixes rhbz#1990148)
- Fix seccomp support (fixes rhbz#1986092)
* Sun Aug 15 2021 Dusty Mabe <dusty@dustymabe.com> - 20.10.7-3
- Remove `Requires(post)` on firewalld-filesystem.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.10.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jul 16 2021 Olivier Lemasle <o.lemasle@gmail.com> - 20.10.7-1
- Update to upstream 20.10.7 (fixes rhbz#1967390)
* Tue May 04 2021 Olivier Lemasle <o.lemasle@gmail.com> - 20.10.6-2
- Add conflict with podman-docker
* Tue Apr 20 2021 Olivier Lemasle <o.lemasle@gmail.com> - 20.10.6-1
- Update to upstream 20.10.6 (#1948605)
- Re-bundle moby dependencies to fix gRPC issues with Swarm
(https://github.com/coreos/fedora-coreos-tracker/issues/793)
* Sun Mar 14 2021 Olivier Lemasle <o.lemasle@gmail.com> - 20.10.5-1
- Update to latest upstream 20.10.5 - fixes #1903426
- Upstream brings compatibility with cgroups v2 - fixes #1746355
- Remove package moby-engine-vim (dockerfile.vim has been merged in upstream vim)
- Remove firewalld docker zone, since dockerd can now communicate with firewalld - fixes #1852680
- Build dockerd and docker-proxy from unbundled source packages
- Remove fixed storage-driver (cf. https://src.fedoraproject.org/rpms/moby-engine/pull-request/6)
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 19.03.13-3.ce.git4484c46
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 19.03.13-2.ce.git4484c46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Oct 02 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.13-1.ce.git4484c46
- Update to upstream 19.03.13 (#1837641)
* Fri Oct 02 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.11-4.ce.git42e35e6
- Fix FTBFS: adapt to change to CMake builds (#1864160)
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.03.11-3.ce.git42e35e6
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.03.11-2.ce.git42e35e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun Jun 07 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.11-1.ce.git42e35e6
- Update to upstream 19.03.11 to prevent CVE-2020-13401
* Thu May 07 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.8-2.ce.gitafacb8b
- Configure storage-driver explicitely (fixes #1832301)
- Add firewalld zone: trust interface docker0, as firewalld now uses nftables
by default and docker communicates with iptables (fixes #1817022)
* Mon Mar 16 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.8-1.ce.gitafacb8b
- Update to latest upstream release - Docker CE 19.03.8
- Prune unused BuildRequires
* Sun Mar 8 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.7-2.ce.git7141c19
- Add Conflicts with docker-ce-cli and Obsoletes docker-common
* Sat Mar 7 2020 Olivier Lemasle <o.lemasle@gmail.com> - 19.03.7-1.ce.git7141c19
- Update to latest upstream release - Docker CE 19.03.7
- Add Epoch: 2 to Obsoletes for docker and docker-latest
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 18.09.8-3.ce.git0dd43dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 18.09.8-2.ce.git0dd43dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jul 18 2019 Olivier Lemasle <o.lemasle@gmail.com> - 18.09.8-1.ce.git0dd43dd
- Update to latest upstream release - Docker CE 18.09.8
* Sat Jul 13 2019 Olivier Lemasle <o.lemasle@gmail.com> - 18.09.7-5.ce.git2d0083d
- Move docker-init and docker-proxy to /usr/libexec/docker
- Update moby-engine-nano summary to follow guidelines
* Sat Jul 13 2019 Olivier Lemasle <o.lemasle@gmail.com> - 18.09.7-4.ce.git2d0083d
- Add nofile ulimit to default docker daemon options (#1715254, #1708115)
* Fri Jul 12 2019 Olivier Lemasle <o.lemasle@gmail.com> - 18.09.7-3.ce.git2d0083d
- rebuilt
* Fri Jul 12 2019 Olivier Lemasle <o.lemasle@gmail.com> - 18.09.7-2.ce.git2d0083d
- Depend on packaged versions "runc" and "containerd" instead of building them.
* Thu Jun 27 2019 David Michael <dm0@redhat.com> - 18.09.7-1.ce.git2d0083d
- Update docker-ce to commit 2d0083d (version 18.09.7).
- Update runc to commit 425e105.
- Update containerd to commit 894b81a (1.2.6).
- Update docker-proxy to commit e7933d4.
* Tue May 14 2019 David Michael <dm0@redhat.com> - 18.09.6-1.ce.git481bc77
- Update docker-ce to commit 481bc77 (version 18.09.6).
- Update docker-proxy to commit 872f0a8.
- Obsolete and provide the docker and docker-latest packages. (#1700006)
* Thu Apr 11 2019 David Michael <dm0@redhat.com> - 18.09.5-1.ce.gite8ff056
- Update docker-ce to commit e8ff056 (version 18.09.5).
- Update docker-runc to commit 2b18fe1.
- Update docker-containerd to commit bb71b10 (version 1.2.5).
- Update docker-proxy to commit 4725f21.
- Report the correct engine version.
- Install symlinks to unprefixed runc/containerd program names.
* Thu Mar 28 2019 David Michael <dm0@redhat.com> - 18.06.3-2.ce.gitd7080c1
- Conflict with docker-common. (#1693397)
* Thu Feb 21 2019 David Michael <dm0@redhat.com> - 18.06.3-1.ce.gitd7080c1
- Update docker-ce to commit d7080c1 (version 18.06.3).
* Tue Feb 12 2019 David Michael <dm0@redhat.com> - 18.06.2-1.ce.git6d37f41
- Update docker-ce to commit 6d37f41 (version 18.06.2).
- Update docker-runc to commit a592beb.
* Mon Feb 11 2019 David Michael <dm0@redhat.com> - 18.06.1-3.ce.gite68fc7a
- Apply a runc patch for CVE-2019-5736.
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 18.06.1-2.ce.gite68fc7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Nov 29 2018 David Michael <dm0@redhat.com> - 18.06.1-1.ce.gite68fc7a
- Update docker-ce to commit e68fc7a (version 18.06.1).
- Update docker-runc to commit 69663f0.
- Update docker-containerd to commit 468a545 (version 1.1.2).
- Update docker-proxy to commit 3ac297b.
- Backport a fix for mounting named volumes.
- Create a "docker" group for non-root Docker access.
- Support systemd socket-activation.
- Make runc and containerd commit IDs match their expected values.
- Preserve containerd debuginfo.
* Mon Nov 12 2018 Marcin Skarbek <rpm@skarbek.name> - 18.06.0-2.ce.git0ffa825
- add configuration file
- update service file
* Sat Aug 18 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 18.06.0-1.ce.git0ffa825
- Resolves: #1539161 - first upload to Fedora
- built docker-ce commit 0ffa825
- built docker-runc commit ad0f5255
- built docker-containerd commit a88b631
- built docker-proxy commit a79d368
- built docker-init commit fec3683
* Tue Mar 20 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 17.03.2-4.ce.gitf5ec1e2
- correct some rpmlint errors
* Wed Feb 21 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 17.03.2-3.ce
- docker-* symlinks to moby-* (RE: gh PR 34226)
* Wed Feb 21 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 17.03.2-2.ce
- rename binaries as per upstream gh PR 34226
* Fri Jan 26 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 17.03.2-1
- initial build
- built moby commit f5ec1e2
- built cli commit 4b61f56
- built docker-runc commit 2d41c047
- built docker-containerd commit 3addd84
- built docker-proxy commit 7b2b1fe
%autochangelog

View file

@ -1,229 +0,0 @@
# Bundled dependencies
Provides: bundled(tini-static)
Provides: bundled(golang(github.com/docker/docker))
Provides: bundled(golang(github.com/docker/cli))
# grep -v -e '^$' -e '^#' cli-20.10.16/vendor.conf | sort | awk '{print "Provides: bundled(golang("$1")) = "$2}'
Provides: bundled(golang(cloud.google.com/go)) = ceeb313ad77b789a7fa5287b36a1d127b69b7093
Provides: bundled(golang(github.com/Azure/go-ansiterm)) = d185dfc1b5a126116ea5a19e148e29d16b4574c9
Provides: bundled(golang(github.com/beorn7/perks)) = 37c8de3658fcb183f997c4e13e8337516ab753e6
Provides: bundled(golang(github.com/cespare/xxhash/v2)) = d7df74196a9e781ede915320c11c378c1b2f3a1f
Provides: bundled(golang(github.com/containerd/cgroups)) = 0b889c03f102012f1d93a97ddd3ef71cd6f4f510
Provides: bundled(golang(github.com/containerd/console)) = 5d7e1412f07b502a01029ea20e20e0d2be31fa7c
Provides: bundled(golang(github.com/containerd/containerd)) = 0edc412565dcc6e3d6125ff9e4b009ad4b89c638
Provides: bundled(golang(github.com/containerd/continuity)) = efbc4488d8fe1bdc16bde3b2d2990d9b3a899165
Provides: bundled(golang(github.com/containerd/typeurl)) = cd3ce7159eae562a4f60ceff37dada11a939d247
Provides: bundled(golang(github.com/coreos/etcd)) = d57e8b8d97adfc4a6c224fe116714bf1a1f3beb9
Provides: bundled(golang(github.com/cpuguy83/go-md2man/v2)) = b1ec32e02fe539480dc03e3bf381c20066e7c6cc
Provides: bundled(golang(github.com/creack/pty)) = 2a38352e8b4d7ab6c336eef107e42a55e72e7fbc
Provides: bundled(golang(github.com/davecgh/go-spew)) = 8991bc29aa16c548c550c7ff78260e27b9ab7c73
Provides: bundled(golang(github.com/docker/compose-on-kubernetes)) = 1f9b5b8cb6aca13deee947511801cf89447c1bfe
Provides: bundled(golang(github.com/docker/distribution)) = b5ca020cfbe998e5af3457fda087444cf5116496
Provides: bundled(golang(github.com/docker/docker)) = 87a90dc786bda134c9eb02adbae2c6a7342fb7f6
Provides: bundled(golang(github.com/docker/docker-credential-helpers)) = fc9290adbcf1594e78910e2f0334090eaee0e1ee
Provides: bundled(golang(github.com/docker/go-connections)) = 7395e3f8aa162843a74ed6d48e79627d9792ac55
Provides: bundled(golang(github.com/docker/go)) = d30aec9fd63c35133f8f79c3412ad91a3b08be06
Provides: bundled(golang(github.com/docker/go-events)) = e31b211e4f1cd09aa76fe4ac244571fab96ae47f
Provides: bundled(golang(github.com/docker/go-metrics)) = b619b3592b65de4f087d9f16863a7e6ff905973c
Provides: bundled(golang(github.com/docker/go-units)) = 519db1ee28dcc9fd2474ae59fca29a810482bfb1
Provides: bundled(golang(github.com/docker/swarmkit)) = 17d8d4e4d8bdec33d386e6362d3537fa9493ba00
Provides: bundled(golang(github.com/evanphx/json-patch)) = 72bf35d0ff611848c1dc9df0f976c81192392fa5
Provides: bundled(golang(github.com/fvbommel/sortorder)) = 26fad50c6b32a3064c09ed089865c16f2f3615f6
Provides: bundled(golang(github.com/gofrs/flock)) = 6caa7350c26b838538005fae7dbee4e69d9398db
Provides: bundled(golang(github.com/gogo/googleapis)) = 01e0f9cca9b92166042241267ee2a5cdf5cff46c
Provides: bundled(golang(github.com/gogo/protobuf)) = 5628607bb4c51c3157aacc3a50f0ab707582b805
Provides: bundled(golang(github.com/golang/groupcache)) = 869f871628b6baa9cfbc11732cdf6546b17c1298
Provides: bundled(golang(github.com/golang/protobuf)) = 84668698ea25b64748563aa20726db66a6b8d299
Provides: bundled(golang(github.com/googleapis/gnostic)) = 7c663266750e7d82587642f65e60bc4083f1f84e
Provides: bundled(golang(github.com/google/go-cmp)) = 3af367b6b30c263d47e8895973edcca9a49cf029
Provides: bundled(golang(github.com/google/gofuzz)) = 24818f796faf91cd76ec7bddd72458fbced7a6c1
Provides: bundled(golang(github.com/google/shlex)) = e7afc7fbc51079733e9468cdfd1efcd7d196cd1d
Provides: bundled(golang(github.com/gorilla/mux)) = 98cb6bf42e086f6af920b965c38cacc07402d51b
Provides: bundled(golang(github.com/grpc-ecosystem/go-grpc-middleware)) = 3c51f7f332123e8be5a157c0802a228ac85bf9db
Provides: bundled(golang(github.com/grpc-ecosystem/grpc-gateway)) = 1a03ca3bad1e1ebadaedd3abb76bc58d4ac8143b
Provides: bundled(golang(github.com/grpc-ecosystem/grpc-opentracing)) = 8e809c8a86450a29b90dcc9efbf062d0fe6d9746
Provides: bundled(golang(github.com/hashicorp/golang-lru)) = 7f827b33c0f158ec5dfbba01bb0b14a4541fd81d
Provides: bundled(golang(github.com/imdario/mergo)) = 1afb36080aec31e0d1528973ebe6721b191b0369
Provides: bundled(golang(github.com/inconshreveable/mousetrap)) = 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75
Provides: bundled(golang(github.com/jaguilar/vt100)) = ad4c4a5743050fb7f88ce968dca9422f72a0e3f2
Provides: bundled(golang(github.com/json-iterator/go)) = 0ff49de124c6f76f8494e194af75bde0f1a49a29
Provides: bundled(golang(github.com/matttproud/golang_protobuf_extensions)) = c12348ce28de40eed0136aa2b644d0ee0650e56c
Provides: bundled(golang(github.com/Microsoft/go-winio)) = 5b44b70ab3ab4d291a7c1d28afe7b4afeced0ed4
Provides: bundled(golang(github.com/Microsoft/hcsshim)) = 5bc557dd210ff2caf615e6e22d398123de77fc11
Provides: bundled(golang(github.com/miekg/pkcs11)) = 210dc1e16747c5ba98a03bcbcf728c38086ea357
Provides: bundled(golang(github.com/mitchellh/mapstructure)) = d16e9488127408e67948eb43b6d3fbb9f222da10
Provides: bundled(golang(github.com/moby/buildkit)) = 8142d66b5ebde79846b869fba30d9d30633e74aa
Provides: bundled(golang(github.com/moby/sys)) = 1bc8673b57550ddf85262eb0fed0aac651a37dab
Provides: bundled(golang(github.com/moby/term)) = 3f7ff695adc6a35abc925370dd0a4dafb48ec64d
Provides: bundled(golang(github.com/modern-go/concurrent)) = bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94
Provides: bundled(golang(github.com/modern-go/reflect2)) = 4b7aa43c6742a2c18fdef89dd197aaae7dac7ccd
Provides: bundled(golang(github.com/morikuni/aec)) = 39771216ff4c63d11f5e604076f9c45e8be1067b
Provides: bundled(golang(github.com/opencontainers/go-digest)) = ea51bea511f75cfa3ef6098cc253c5c3609b037a
Provides: bundled(golang(github.com/opencontainers/image-spec)) = 67d2d5658fe0476ab9bf414cec164077ebff3920
Provides: bundled(golang(github.com/opencontainers/runc)) = ff819c7e9184c13b7c2607fe6c30ae19403a7aff
Provides: bundled(golang(github.com/opentracing/opentracing-go)) = d34af3eaa63c4d08ab54863a4bdd0daa45212e12
Provides: bundled(golang(github.com/pkg/errors)) = 614d223910a179a466c1767a985424175c39b465
Provides: bundled(golang(github.com/prometheus/client_golang)) = 6edbbd9e560190e318cdc5b4d3e630b442858380
Provides: bundled(golang(github.com/prometheus/client_model)) = 7bc5445566f0fe75b15de23e6b93886e982d7bf9
Provides: bundled(golang(github.com/prometheus/common)) = d978bcb1309602d68bb4ba69cf3f8ed900e07308
Provides: bundled(golang(github.com/prometheus/procfs)) = 46159f73e74d1cb8dc223deef9b2d049286f46b1
Provides: bundled(golang(github.com/russross/blackfriday/v2)) = 4c9bf9512682b995722660a4196c0013228e2049
Provides: bundled(golang(github.com/sirupsen/logrus)) = 6699a89a232f3db797f2e280639854bbc4b89725
Provides: bundled(golang(github.com/spf13/cobra)) = 86f8bfd7fef868a174e1b606783bd7f5c82ddf8f
Provides: bundled(golang(github.com/spf13/pflag)) = 2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab
Provides: bundled(golang(github.com/theupdateframework/notary)) = bf96a202a09a312ae005cd312fc06ff4d2c166ce
Provides: bundled(golang(github.com/tonistiigi/fsutil)) = 0834f99b7b85462efb69b4f571a4fa3ca7da5ac9
Provides: bundled(golang(github.com/tonistiigi/go-rosetta)) = f79598599c5d34ea253b56a1d7c89bc6a96de7db
Provides: bundled(golang(github.com/tonistiigi/units)) = 6950e57a87eaf136bbe44ef2ec8e75b9e3569de2
Provides: bundled(golang(github.com/xeipuuv/gojsonpointer)) = 02993c407bfbf5f6dae44c4f4b1cf6a39b5fc5bb
Provides: bundled(golang(github.com/xeipuuv/gojsonreference)) = bd5ef7bd5415a7ac448318e64f11a24cd21e594b
Provides: bundled(golang(github.com/xeipuuv/gojsonschema)) = 82fcdeb203eb6ab2a67d0a623d9c19e5e5a64927
Provides: bundled(golang(golang.org/x/crypto)) = c1f2f97bffc9c53fc40a1a28a5b460094c0050d9
Provides: bundled(golang(golang.org/x/net)) = ab34263943818b32f575efc978a3d24e80b04bd7
Provides: bundled(golang(golang.org/x/oauth2)) = bf48bf16ab8d622ce64ec6ce98d2c98f916b6303
Provides: bundled(golang(golang.org/x/sync)) = cd5d95a43a6e21273425c7ae415d3df9ea832eeb
Provides: bundled(golang(golang.org/x/sys)) = 33da011f77ade50ff5b6a6fb4a9a1e6d6b285809
Provides: bundled(golang(golang.org/x/term)) = f5c789dd3221ff39d752ac54467d762de7cfbec6
Provides: bundled(golang(golang.org/x/text)) = 23ae387dee1f90d29a23c0e87ee0b46038fbed0e
Provides: bundled(golang(golang.org/x/time)) = 555d28b269f0569763d25dbe1a237ae74c6bcc82
Provides: bundled(golang(google.golang.org/genproto)) = 3f1135a288c9a07e340ae8ba4cc6c7065a3160e8
Provides: bundled(golang(google.golang.org/grpc)) = f495f5b15ae7ccda3b38c53a1bfcde4c1a58a2bc
Provides: bundled(golang(go.opencensus.io)) = d835ff86be02193d324330acdb7d65546b05f814
Provides: bundled(golang(gopkg.in/inf.v0)) = d2d2541c53f18d2a059457998ce2876cc8e67cbf
Provides: bundled(golang(gopkg.in/yaml.v2)) = 53403b58ad1b561927d19068c655246f2db79d48
Provides: bundled(golang(gotest.tools/v3)) = bb0d8a963040ea5048dcef1a14d8f8b58a33d4b3
Provides: bundled(golang(k8s.io/api)) = d49a3f108dab8e8d25f22c497fb48678b124efd2
Provides: bundled(golang(k8s.io/apimachinery)) = f336d9be0221d10a93a7d6d2ec25f6fc799f4fc6
Provides: bundled(golang(k8s.io/client-go)) = 002560d5bf54049bf5b5ae99231cb2b591f15954
Provides: bundled(golang(k8s.io/klog)) = 4ad0115ba9e45c096d06a31d8dfb0e5bd945ec5f
Provides: bundled(golang(k8s.io/kube-openapi)) = 0270cf2f1c1d995d34b36019a6f65d58e6e33ad4
Provides: bundled(golang(k8s.io/utils)) = 69764acb6e8e900b7c05296c5d3c9c19545475f9
Provides: bundled(golang(sigs.k8s.io/yaml)) = fd68e9863619f6ec2fdd8625fe1f02e7c877e480
# grep -v -e '^$' -e '^#' moby-20.10.16/vendor.conf | sort | awk '{print "Provides: bundled(golang("$1")) = "$2}'
Provides: bundled(golang(cloud.google.com/go)) = ceeb313ad77b789a7fa5287b36a1d127b69b7093
Provides: bundled(golang(code.cloudfoundry.org/clock)) = 02e53af36e6c978af692887ed449b74026d76fec
Provides: bundled(golang(github.com/armon/go-metrics)) = eb0af217e5e9747e41dd5303755356b62d28e3ec
Provides: bundled(golang(github.com/armon/go-radix)) = e39d623f12e8e41c7b5529e9a9dd67a1e2261f80
Provides: bundled(golang(github.com/aws/aws-sdk-go)) = 2590bc875c54c9fda225d8e4e56a9d28d90c6a47
Provides: bundled(golang(github.com/Azure/go-ansiterm)) = d6e3b3328b783f23731bc4d058875b0371ff8109
Provides: bundled(golang(github.com/beorn7/perks)) = 37c8de3658fcb183f997c4e13e8337516ab753e6
Provides: bundled(golang(github.com/bsphere/le_go)) = 7a984a84b5492ae539b79b62fb4a10afc63c7bcf
Provides: bundled(golang(github.com/BurntSushi/toml)) = 3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005
Provides: bundled(golang(github.com/cespare/xxhash/v2)) = d7df74196a9e781ede915320c11c378c1b2f3a1f
Provides: bundled(golang(github.com/cilium/ebpf)) = 32458a752e0bcbc670691625f84e7ef6aef5655d
Provides: bundled(golang(github.com/cloudflare/cfssl)) = 5d63dbd981b5c408effbb58c442d54761ff94fbd
Provides: bundled(golang(github.com/containerd/cgroups)) = b9de8a2212026c07cec67baf3323f1fc0121e048
Provides: bundled(golang(github.com/containerd/console)) = 5d7e1412f07b502a01029ea20e20e0d2be31fa7c
Provides: bundled(golang(github.com/containerd/containerd)) = 7cfa023d95d37076d5ab035003d4839f4b6ba791
Provides: bundled(golang(github.com/containerd/continuity)) = efbc4488d8fe1bdc16bde3b2d2990d9b3a899165
Provides: bundled(golang(github.com/containerd/fifo)) = 0724c46b320cf96bb172a0550c19a4b1fca4dacb
Provides: bundled(golang(github.com/containerd/go-runc)) = 16b287bc67d069a60fa48db15f330b790b74365b
Provides: bundled(golang(github.com/containerd/ttrpc)) = bfba540dc45464586c106b1f31c8547933c1eb41
Provides: bundled(golang(github.com/containerd/typeurl)) = cd3ce7159eae562a4f60ceff37dada11a939d247
Provides: bundled(golang(github.com/coreos/etcd)) = 973882f697a8db3d59815bf132c6c506434334bd
Provides: bundled(golang(github.com/coreos/go-semver)) = 8ab6407b697782a06568d4b7f1db25550ec2e4c6
Provides: bundled(golang(github.com/coreos/go-systemd)) = 39ca1b05acc7ad1220e09f133283b8859a8b71ab
Provides: bundled(golang(github.com/coreos/go-systemd/v22)) = 2d78030078ef61b3cae27f42ad6d0e46db51b339
Provides: bundled(golang(github.com/coreos/pkg)) = 3ac0863d7acf3bc44daf49afef8919af12f704ef
Provides: bundled(golang(github.com/creack/pty)) = 2a38352e8b4d7ab6c336eef107e42a55e72e7fbc
Provides: bundled(golang(github.com/cyphar/filepath-securejoin)) = a261ee33d7a517f054effbf451841abaafe3e0fd
Provides: bundled(golang(github.com/deckarep/golang-set)) = ef32fa3046d9f249d399f98ebaf9be944430fd1d
Provides: bundled(golang(github.com/docker/distribution)) = b5ca020cfbe998e5af3457fda087444cf5116496
Provides: bundled(golang(github.com/docker/go-connections)) = 7395e3f8aa162843a74ed6d48e79627d9792ac55
Provides: bundled(golang(github.com/docker/go-events)) = e31b211e4f1cd09aa76fe4ac244571fab96ae47f
Provides: bundled(golang(github.com/docker/go-metrics)) = b619b3592b65de4f087d9f16863a7e6ff905973c
Provides: bundled(golang(github.com/docker/go-units)) = 519db1ee28dcc9fd2474ae59fca29a810482bfb1
Provides: bundled(golang(github.com/docker/libkv)) = 458977154600b9f23984d9f4b82e79570b5ae12b
Provides: bundled(golang(github.com/docker/libnetwork)) = 339b972b464ee3d401b5788b2af9e31d09d6b7da
Provides: bundled(golang(github.com/docker/libtrust)) = 9cbd2a1374f46905c68a4eb3694a130610adc62a
Provides: bundled(golang(github.com/docker/swarmkit)) = cf1e0f8d95ee37ea1f9a5f8a54c73c1e0fa58a54
Provides: bundled(golang(github.com/fernet/fernet-go)) = 9eac43b88a5efb8651d24de9b68e87567e029736
Provides: bundled(golang(github.com/fluent/fluent-logger-golang)) = 0b652e850a9140d0b1db6390d8925d0601e952db
Provides: bundled(golang(github.com/fsnotify/fsnotify)) = 45d7d09e39ef4ac08d493309fa031790c15bfe8a
Provides: bundled(golang(github.com/godbus/dbus/v5)) = 37bf87eef99d69c4f1d3528bd66e3a87dc201472
Provides: bundled(golang(github.com/gofrs/flock)) = 6caa7350c26b838538005fae7dbee4e69d9398db
Provides: bundled(golang(github.com/gogo/googleapis)) = 01e0f9cca9b92166042241267ee2a5cdf5cff46c
Provides: bundled(golang(github.com/gogo/protobuf)) = 5628607bb4c51c3157aacc3a50f0ab707582b805
Provides: bundled(golang(github.com/golang/gddo)) = 72a348e765d293ed6d1ded7b699591f14d6cd921
Provides: bundled(golang(github.com/golang/groupcache)) = 869f871628b6baa9cfbc11732cdf6546b17c1298
Provides: bundled(golang(github.com/golang/protobuf)) = 84668698ea25b64748563aa20726db66a6b8d299
Provides: bundled(golang(github.com/googleapis/gax-go)) = bd5b16380fd03dc758d11cef74ba2e3bc8b0e8c2
Provides: bundled(golang(github.com/google/certificate-transparency-go)) = 37a384cd035e722ea46e55029093e26687138edf
Provides: bundled(golang(github.com/google/go-cmp)) = 3af367b6b30c263d47e8895973edcca9a49cf029
Provides: bundled(golang(github.com/google/shlex)) = e7afc7fbc51079733e9468cdfd1efcd7d196cd1d
Provides: bundled(golang(github.com/google/uuid)) = 0cd6bf5da1e1c83f8b45653022c74f71af0538a4
Provides: bundled(golang(github.com/gorilla/mux)) = 98cb6bf42e086f6af920b965c38cacc07402d51b
Provides: bundled(golang(github.com/Graylog2/go-gelf)) = 1550ee647df0510058c9d67a45c56f18911d80b8
Provides: bundled(golang(github.com/grpc-ecosystem/go-grpc-middleware)) = 3c51f7f332123e8be5a157c0802a228ac85bf9db
Provides: bundled(golang(github.com/grpc-ecosystem/go-grpc-prometheus)) = c225b8c3b01faf2899099b768856a9e916e5087b
Provides: bundled(golang(github.com/grpc-ecosystem/grpc-opentracing)) = 8e809c8a86450a29b90dcc9efbf062d0fe6d9746
Provides: bundled(golang(github.com/hashicorp/consul)) = 9a9cc9341bb487651a0399e3fc5e1e8a42e62dd9
Provides: bundled(golang(github.com/hashicorp/errwrap)) = 8a6fb523712970c966eefc6b39ed2c5e74880354
Provides: bundled(golang(github.com/hashicorp/go-immutable-radix)) = 826af9ccf0feeee615d546d69b11f8e98da8c8f1
Provides: bundled(golang(github.com/hashicorp/golang-lru)) = 7f827b33c0f158ec5dfbba01bb0b14a4541fd81d
Provides: bundled(golang(github.com/hashicorp/go-memdb)) = cb9a474f84cc5e41b273b20c6927680b2a8776ad
Provides: bundled(golang(github.com/hashicorp/go-msgpack)) = 71c2886f5a673a35f909803f38ece5810165097b
Provides: bundled(golang(github.com/hashicorp/go-multierror)) = 886a7fbe3eb1c874d46f623bfa70af45f425b3d1
Provides: bundled(golang(github.com/hashicorp/go-sockaddr)) = c7188e74f6acae5a989bdc959aa779f8b9f42faf
Provides: bundled(golang(github.com/hashicorp/memberlist)) = 3d8438da9589e7b608a83ffac1ef8211486bcb7c
Provides: bundled(golang(github.com/hashicorp/serf)) = 598c54895cc5a7b1a24a398d635e8c0ea0959870
Provides: bundled(golang(github.com/imdario/mergo)) = 1afb36080aec31e0d1528973ebe6721b191b0369
Provides: bundled(golang(github.com/inconshreveable/mousetrap)) = 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75
Provides: bundled(golang(github.com/ishidawataru/sctp)) = f2269e66cdee387bd321445d5d300893449805be
Provides: bundled(golang(github.com/jmespath/go-jmespath)) = 2d053f87d1d7f9f48196ae04cf3daea4273d207d
Provides: bundled(golang(github.com/json-iterator/go)) = a1ca0830781e007c66b225121d2cdb3a649421f6
Provides: bundled(golang(github.com/matttproud/golang_protobuf_extensions)) = c12348ce28de40eed0136aa2b644d0ee0650e56c
Provides: bundled(golang(github.com/Microsoft/go-winio)) = 7e149e8c70409f36773c1b2cf3447a7ab7697368
Provides: bundled(golang(github.com/Microsoft/hcsshim)) = 64a2b71405dacf76c95600f4c756a991ad09cf7c
Provides: bundled(golang(github.com/Microsoft/opengcs)) = a10967154e143a36014584a6f664344e3bb0aa64
Provides: bundled(golang(github.com/miekg/dns)) = 6c0c4e6581f8e173cc562c8b3363ab984e4ae071
Provides: bundled(golang(github.com/mistifyio/go-zfs)) = f784269be439d704d3dfa1906f45dd848fed2beb
Provides: bundled(golang(github.com/mitchellh/hashstructure)) = a38c50148365edc8df43c1580c48fb2b3a1e9cd7
Provides: bundled(golang(github.com/moby/buildkit)) = bc07b2b81b1c6a62d29981ac564b16a15ce2bfa7
Provides: bundled(golang(github.com/moby/ipvs)) = 4566ccea0e08d68e9614c3e7a64a23b850c4bb35
Provides: bundled(golang(github.com/moby/locker)) = 281af2d563954745bea9d1487c965f24d30742fe
Provides: bundled(golang(github.com/moby/sys)) = 1bc8673b57550ddf85262eb0fed0aac651a37dab
Provides: bundled(golang(github.com/moby/term)) = bea5bbe245bf407372d477f1361d2ff042d2f556
Provides: bundled(golang(github.com/modern-go/concurrent)) = bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94
Provides: bundled(golang(github.com/modern-go/reflect2)) = 94122c33edd36123c84d5368cfb2b69df93a0ec8
Provides: bundled(golang(github.com/morikuni/aec)) = 39771216ff4c63d11f5e604076f9c45e8be1067b
Provides: bundled(golang(github.com/opencontainers/go-digest)) = ea51bea511f75cfa3ef6098cc253c5c3609b037a
Provides: bundled(golang(github.com/opencontainers/image-spec)) = 67d2d5658fe0476ab9bf414cec164077ebff3920
Provides: bundled(golang(github.com/opencontainers/runc)) = ff819c7e9184c13b7c2607fe6c30ae19403a7aff
Provides: bundled(golang(github.com/opencontainers/runtime-spec)) = 4d89ac9fbff6c455f46a5bb59c6b1bb7184a5e43
Provides: bundled(golang(github.com/opencontainers/selinux)) = 2f45b3796d18f1ab4c9fc0c888a98d0a0fd6e429
Provides: bundled(golang(github.com/opentracing-contrib/go-stdlib)) = 8a6ff1ad1691a29e4f7b5d46604f97634997c8c4
Provides: bundled(golang(github.com/opentracing/opentracing-go)) = d34af3eaa63c4d08ab54863a4bdd0daa45212e12
Provides: bundled(golang(github.com/philhofer/fwd)) = bb6d471dc95d4fe11e432687f8b70ff496cf3136
Provides: bundled(golang(github.com/pkg/errors)) = 614d223910a179a466c1767a985424175c39b465
Provides: bundled(golang(github.com/prometheus/client_golang)) = 6edbbd9e560190e318cdc5b4d3e630b442858380
Provides: bundled(golang(github.com/prometheus/client_model)) = 7bc5445566f0fe75b15de23e6b93886e982d7bf9
Provides: bundled(golang(github.com/prometheus/common)) = d978bcb1309602d68bb4ba69cf3f8ed900e07308
Provides: bundled(golang(github.com/prometheus/procfs)) = 46159f73e74d1cb8dc223deef9b2d049286f46b1
Provides: bundled(golang(github.com/RackSec/srslog)) = a4725f04ec91af1a91b380da679d6e0c2f061e59
Provides: bundled(golang(github.com/samuel/go-zookeeper)) = d0e0d8e11f318e000a8cc434616d69e329edc374
Provides: bundled(golang(github.com/sean-/seed)) = e2103e2c35297fb7e17febb81e49b312087a2372
Provides: bundled(golang(github.com/sirupsen/logrus)) = 6699a89a232f3db797f2e280639854bbc4b89725
Provides: bundled(golang(github.com/spf13/cobra)) = 86f8bfd7fef868a174e1b606783bd7f5c82ddf8f
Provides: bundled(golang(github.com/spf13/pflag)) = 2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab
Provides: bundled(golang(github.com/syndtr/gocapability)) = 42c35b4376354fd554efc7ad35e0b7f94e3a0ffb
Provides: bundled(golang(github.com/tchap/go-patricia)) = a7f0089c6f496e8e70402f61733606daa326cac5
Provides: bundled(golang(github.com/tinylib/msgp)) = af6442a0fcf6e2a1b824f70dd0c734f01e817751
Provides: bundled(golang(github.com/tonistiigi/fsutil)) = 0834f99b7b85462efb69b4f571a4fa3ca7da5ac9
Provides: bundled(golang(github.com/tonistiigi/units)) = 6950e57a87eaf136bbe44ef2ec8e75b9e3569de2
Provides: bundled(golang(github.com/vbatts/tar-split)) = 620714a4c508c880ac1bdda9c8370a2b19af1a55
Provides: bundled(golang(github.com/vishvananda/netlink)) = f049be6f391489d3f374498fe0c8df8449258372
Provides: bundled(golang(github.com/vishvananda/netns)) = db3c7e526aae966c4ccfa6c8189b693d6ac5d202
Provides: bundled(golang(github.com/willf/bitset)) = 559910e8471e48d76d9e5a1ba15842dee77ad45d
Provides: bundled(golang(go.etcd.io/bbolt)) = 232d8fc87f50244f9c808f4745759e08a304c029
Provides: bundled(golang(golang.org/x/crypto)) = c1f2f97bffc9c53fc40a1a28a5b460094c0050d9
Provides: bundled(golang(golang.org/x/net)) = ab34263943818b32f575efc978a3d24e80b04bd7
Provides: bundled(golang(golang.org/x/oauth2)) = bf48bf16ab8d622ce64ec6ce98d2c98f916b6303
Provides: bundled(golang(golang.org/x/sync)) = cd5d95a43a6e21273425c7ae415d3df9ea832eeb
Provides: bundled(golang(golang.org/x/sys)) = 33da011f77ade50ff5b6a6fb4a9a1e6d6b285809
Provides: bundled(golang(golang.org/x/text)) = 23ae387dee1f90d29a23c0e87ee0b46038fbed0e
Provides: bundled(golang(golang.org/x/time)) = 555d28b269f0569763d25dbe1a237ae74c6bcc82
Provides: bundled(golang(google.golang.org/api)) = dec2ee309f5b09fc59bc40676447c15736284d78
Provides: bundled(golang(google.golang.org/genproto)) = 3f1135a288c9a07e340ae8ba4cc6c7065a3160e8
Provides: bundled(golang(google.golang.org/grpc)) = f495f5b15ae7ccda3b38c53a1bfcde4c1a58a2bc
Provides: bundled(golang(go.opencensus.io)) = d835ff86be02193d324330acdb7d65546b05f814
Provides: bundled(golang(gotest.tools/v3)) = 568bc57cc5c19a2ef85e5749870b49a4cc2ab54d

View file

@ -1,3 +1,4 @@
SHA512 (cli-20.10.16.tar.gz) = 90451f71f16f3bd1410b13c5df256ef1f422dd5b9b75d63cf318ee91a07bcb3ddb2876d2fee81e835d8daaee48c4e010c2daf4373de1095e2075fed8ee5fe75e
SHA512 (moby-20.10.16.tar.gz) = 5fdf87f98a951af87a334a5a403e36b975ff6c4647d0656dde2bd763d27562c620346f3746adafa1439c205869c721a3bef750f8302734499423ca789218f85d
SHA512 (tini-de40ad0.tar.gz) = 6e21fbcc8ab0daf2f2ac407f8d85373d2873d4b1e7d010056e4dd7071183fe1ede9dadf116c520e68a6226d5eb9d5ede383729327630600ed85080c1586bf3bb
SHA512 (cli-29.1.4.tar.gz) = 517b3976e740aef1e40e7cc90d3792f3ef2a13fc3d5dd3e41126451bc938a43c37c1c7ff36de8b47aa7870d0c8dd4efa124639cf505626b339a87ffdb25c8a79
SHA512 (cli-29.1.4-vendor.tar.bz2) = 6147c6ad55e3c65c45afa3d9cc01cee7bc92da4d709cb4ccd91dfc97db8f6d459fb089f3cd02464b35ac5e78552f971c8c7a20870eab5ce9543d7d2e66347ac7
SHA512 (moby-docker-v29.1.4.tar.gz) = 53a46ddce7363c7cf74b07a928f195af6fd646524154170a90a5303ea39ad7d79980eff94568ed84c242a381c467b0613bd1f9344f6cdce89fba6a6f4e95defd
SHA512 (moby-docker-v29.1.4-vendor.tar.bz2) = 8ca3d92590f86cd24bba61356646ac20a5cecc6aab1fe23c110f7edb1d86734f8631360580bdb4ff250c373f1ae02b5c37ccbbc90380d5e9f7e9b95be575dbb4

View file

@ -1,34 +0,0 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2022 Maxwell G (@gotmax23)
# SPDX-License-Identifier: MIT
set -euo pipefail
if command -v update.sh && [ "$#" -gt 0 ]; then
update.sh "$@"
fi
fedpkg prep
version="$(rpmspec -q --srpm --qf '%{version}\n' *.spec)"
cat << EOF > provides.spec.inc
# Bundled dependencies
Provides: bundled(tini-static)
Provides: bundled(golang(github.com/docker/docker))
Provides: bundled(golang(github.com/docker/cli))
# grep -v -e '^$' -e '^#' cli-${version}/vendor.conf | sort | awk '{print "Provides: bundled(golang("\$1")) = "\$2}'
EOF
grep -v -e '^$' -e '^#' "moby-${version}/cli-${version}/vendor.conf" | sort | awk '{print "Provides: bundled(golang("$1")) = "$2}' >> provides.spec.inc
cat << EOF >> provides.spec.inc
# grep -v -e '^$' -e '^#' moby-${version}/vendor.conf | sort | awk '{print "Provides: bundled(golang("\$1")) = "\$2}'
EOF
grep -v -e '^$' -e '^#' "moby-${version}/vendor.conf" | sort | awk '{print "Provides: bundled(golang("$1")) = "$2}' >> provides.spec.inc
if command -v update.sh && [ "$#" -gt 0 ]; then
git add --update
git commit --gpg-sign --amend --no-edit
fi