Download raw body.
sysutils/docker-buildx: update to 0.19.0
On Wed, 27 Nov 2024 20:01:24 +0100,
Klemens Nanni <kn@openbsd.org> wrote:
>
> 27.11.2024 21:29, Kirill A. Korinsky пишет:
> > Here an update sysutils/docker-buildx for 0.19.0
> >
> > Notable changes that they had included OpenBSD to CI.
> >
> > Changelog: https://github.com/docker/buildx/releases/tag/v0.19.0
>
> You probably want to update to 0.19.1 right away where they seemingly
> reverted a compat break.
>
> https://github.com/docker/buildx/releases/tag/v0.19.1
>
Yay, indeed. Here the diff:
Index: sysutils/docker-buildx/Makefile
===================================================================
RCS file: /home/cvs/ports/sysutils/docker-buildx/Makefile,v
diff -u -p -r1.7 Makefile
--- sysutils/docker-buildx/Makefile 2 Nov 2024 11:23:01 -0000 1.7
+++ sysutils/docker-buildx/Makefile 27 Nov 2024 19:50:07 -0000
@@ -1,6 +1,6 @@
COMMENT = Docker CLI plugin for extended build capabilities
-V = 0.18.0
+V = 0.19.1
GH_ACCOUNT = docker
GH_PROJECT = buildx
GH_TAGNAME = v${V}
Index: sysutils/docker-buildx/distinfo
===================================================================
RCS file: /home/cvs/ports/sysutils/docker-buildx/distinfo,v
diff -u -p -r1.6 distinfo
--- sysutils/docker-buildx/distinfo 2 Nov 2024 11:23:02 -0000 1.6
+++ sysutils/docker-buildx/distinfo 27 Nov 2024 19:50:30 -0000
@@ -1,2 +1,2 @@
-SHA256 (buildx-0.18.0.tar.gz) = qTXLJxWlBU2RjUDvB83UpkZbIKdV1GYkhxirWf1BwzQ=
-SIZE (buildx-0.18.0.tar.gz) = 11466333
+SHA256 (buildx-0.19.1.tar.gz) = ehQZnQUtSTO7U3kgfxPUtlYqsQ8/ufUhd5C0gr0rJfQ=
+SIZE (buildx-0.19.1.tar.gz) = 11691424
Index: sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_copy_openbsd_go
===================================================================
RCS file: sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_copy_openbsd_go
diff -N sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_copy_openbsd_go
--- sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_copy_openbsd_go 2 Nov 2024 11:23:02 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,44 +0,0 @@
-https://github.com/docker/buildx/issues/2772
-
-Index: vendor/github.com/tonistiigi/fsutil/copy/copy_openbsd.go
---- vendor/github.com/tonistiigi/fsutil/copy/copy_openbsd.go.orig
-+++ vendor/github.com/tonistiigi/fsutil/copy/copy_openbsd.go
-@@ -0,0 +1,38 @@
-+//go:build openbsd
-+// +build openbsd
-+
-+package fs
-+
-+import (
-+ "io"
-+ "os"
-+
-+ "github.com/pkg/errors"
-+ "golang.org/x/sys/unix"
-+)
-+
-+func copyFile(source, target string) error {
-+ src, err := os.Open(source)
-+ if err != nil {
-+ return errors.Wrapf(err, "failed to open source %s", source)
-+ }
-+ defer src.Close()
-+ tgt, err := os.Create(target)
-+ if err != nil {
-+ return errors.Wrapf(err, "failed to open target %s", target)
-+ }
-+ defer tgt.Close()
-+
-+ return copyFileContent(tgt, src)
-+}
-+
-+func copyFileContent(dst, src *os.File) error {
-+ buf := bufferPool.Get().(*[]byte)
-+ _, err := io.CopyBuffer(dst, src, *buf)
-+ bufferPool.Put(buf)
-+ return err
-+}
-+
-+func mknod(dst string, mode uint32, rDev int) error {
-+ return unix.Mknod(dst, uint32(mode), rDev)
-+}
Index: sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_copy_unix_go
===================================================================
RCS file: sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_copy_unix_go
diff -N sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_copy_unix_go
--- sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_copy_unix_go 2 Nov 2024 11:23:02 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-https://github.com/docker/buildx/issues/2772
-
-Index: vendor/github.com/tonistiigi/fsutil/copy/copy_unix.go
---- vendor/github.com/tonistiigi/fsutil/copy/copy_unix.go.orig
-+++ vendor/github.com/tonistiigi/fsutil/copy/copy_unix.go
-@@ -1,5 +1,5 @@
--//go:build solaris || darwin || freebsd
--// +build solaris darwin freebsd
-+//go:build solaris || darwin || freebsd || openbsd
-+// +build solaris darwin freebsd openbsd
-
- package fs
-
Index: sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_stat_bsd_go
===================================================================
RCS file: sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_stat_bsd_go
diff -N sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_stat_bsd_go
--- sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_stat_bsd_go 2 Nov 2024 11:23:02 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-https://github.com/docker/buildx/issues/2772
-
-Index: vendor/github.com/tonistiigi/fsutil/copy/stat_bsd.go
---- vendor/github.com/tonistiigi/fsutil/copy/stat_bsd.go.orig
-+++ vendor/github.com/tonistiigi/fsutil/copy/stat_bsd.go
-@@ -1,4 +1,4 @@
--// +build darwin freebsd netbsd openbsd
-+// +build darwin freebsd netbsd
-
- package fs
-
Index: sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_stat_openbsd_go
===================================================================
RCS file: sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_stat_openbsd_go
diff -N sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_stat_openbsd_go
--- sysutils/docker-buildx/patches/patch-vendor_github_com_tonistiigi_fsutil_copy_stat_openbsd_go 2 Nov 2024 11:23:02 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
-https://github.com/docker/buildx/issues/2772
-
-Index: vendor/github.com/tonistiigi/fsutil/copy/stat_openbsd.go
---- vendor/github.com/tonistiigi/fsutil/copy/stat_openbsd.go.orig
-+++ vendor/github.com/tonistiigi/fsutil/copy/stat_openbsd.go
-@@ -0,0 +1,17 @@
-+// +build openbsd
-+
-+package fs
-+
-+import (
-+ "syscall"
-+)
-+
-+// Returns the last-accessed time
-+func StatAtime(st *syscall.Stat_t) syscall.Timespec {
-+ return st.Atim
-+}
-+
-+// Returns the last-modified time
-+func StatMtime(st *syscall.Stat_t) syscall.Timespec {
-+ return st.Mtim
-+}
--
wbr, Kirill
sysutils/docker-buildx: update to 0.19.0