Stefan Hagen <sh+openbsd-po...@codevoid.de> writes:

> Stefan Hagen wrote:
>> Hi,
>> 
>> This is a small update to syutils/hcloud.
>> 
>> Changes:
>> - Fix panic on iso & location list as json
>> - Move RDNS Commands to RDNS Client
>> 
>> portcheck, lib-depends-check, make test are ok on amd64.
>> 
>> Best Regards,
>> Stefan
>
> Automating a patch process is hard... mutt stripped out the "Index:" 
> lines, because they looked like a header.
>
> Working patch:
>
> Index: sysutils/hcloud/Makefile
> ===================================================================
> RCS file: /cvs/ports/sysutils/hcloud/Makefile,v
> retrieving revision 1.4
> diff -u -p -u -p -r1.4 Makefile
> --- sysutils/hcloud/Makefile  22 Aug 2021 08:06:22 -0000      1.4
> +++ sysutils/hcloud/Makefile  10 Sep 2021 07:01:21 -0000
> @@ -1,7 +1,7 @@
>  # $OpenBSD: Makefile,v 1.4 2021/08/22 08:06:22 paco Exp $
>  
>  COMMENT =            command-line interface for Hetzner Cloud
> -V =                  1.28.0
> +V =                  1.28.1

$V and $PKGNAME can be dropped if ya want, go.port.mk auto-cleans it up
for ya.

Builds fine for me, OK abieber@

>  
>  MODGO_MODNAME =              github.com/hetznercloud/cli
>  MODGO_VERSION =              v${V}
> Index: sysutils/hcloud/distinfo
> ===================================================================
> RCS file: /cvs/ports/sysutils/hcloud/distinfo,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 distinfo
> --- sysutils/hcloud/distinfo  22 Aug 2021 08:06:22 -0000      1.3
> +++ sysutils/hcloud/distinfo  10 Sep 2021 07:01:22 -0000
> @@ -173,8 +173,8 @@ SHA256 (go_modules/github.com/hashicorp/
>  SHA256 (go_modules/github.com/hashicorp/memberlist/@v/v0.1.3.zip) = 
> n4PgUrCl2W9tgUSkDCl66jcTe+9/WKpJa8XqtODFTgs=
>  SHA256 (go_modules/github.com/hashicorp/serf/@v/v0.8.2.mod) = 
> I9yqxHBk+M9Ol/75IK5Q1CuH1d6svvakQxz6UMhk6cY=
>  SHA256 (go_modules/github.com/hashicorp/serf/@v/v0.8.2.zip) = 
> D0MWWOaWJfYd79Ngc+iTziHwT+WpZIS4EtR+MtQVS+A=
> -SHA256 (go_modules/github.com/hetznercloud/hcloud-go/@v/v1.31.0.mod) = 
> pH/e32tk/MEDZj1g1Eu72QdSrJJLmKLH4gELHTZyZVs=
> -SHA256 (go_modules/github.com/hetznercloud/hcloud-go/@v/v1.31.0.zip) = 
> CCuBEwP8GLwtEc3i6DqW6r+I+RokTkgFDYf0V/gStd0=
> +SHA256 (go_modules/github.com/hetznercloud/hcloud-go/@v/v1.31.1.mod) = 
> pH/e32tk/MEDZj1g1Eu72QdSrJJLmKLH4gELHTZyZVs=
> +SHA256 (go_modules/github.com/hetznercloud/hcloud-go/@v/v1.31.1.zip) = 
> 5tvh+gfkufn6ldP9XHFl2smh6LlkMvKOatVdZL4Ds8I=
>  SHA256 (go_modules/github.com/inconshreveable/mousetrap/@v/v1.0.0.mod) = 
> OR2uvJOw35u4momxS/pgJo2eueJ2I+xBUEGrq6vdAFw=
>  SHA256 (go_modules/github.com/inconshreveable/mousetrap/@v/v1.0.0.zip) = 
> w/oIE+ePXO8Q3A6ZEsQ+aOBv+XCpjpjEBQ/hTbv9GMc=
>  SHA256 (go_modules/github.com/jonboulle/clockwork/@v/v0.1.0.mod) = 
> PMMYAca/5LbFDx2wDyf3Nj1kNyU264DEt62dz4yftuA=
> @@ -498,7 +498,7 @@ SHA256 (go_modules/honnef.co/go/tools/@v
>  SHA256 (go_modules/honnef.co/go/tools/@v/v0.0.1-2019.2.3.zip) = 
> U5glEUxIdoD5nfgPYQdBDh5Tu/1d65MbhNH68tIhY44=
>  SHA256 (go_modules/rsc.io/binaryregexp/@v/v0.2.0.mod) = 
> AyRzu+VUpUpEX6hVu7K/piNNeG9h8ZJt6WtaqF6R8T0=
>  SHA256 (go_modules/rsc.io/binaryregexp/@v/v0.2.0.zip) = 
> s+cGqiePp/iA0y+hzEDvgoLR/H1uADVlee0NuI87AEc=
> -SHA256 (hcloud-v1.28.0.zip) = RjsrPMj38qXURs4/NmzcOLbC15YO61fahTHrtxLhTQ0=
> +SHA256 (hcloud-v1.28.1.zip) = 3j9fBFnFeZj7B9pLJGDTC/vxrkGxfbwQfhgquJh66dU=
>  SIZE (go_modules/cloud.google.com/go/@v/v0.26.0.mod) = 27
>  SIZE (go_modules/cloud.google.com/go/@v/v0.34.0.mod) = 27
>  SIZE (go_modules/cloud.google.com/go/@v/v0.38.0.mod) = 1006
> @@ -674,8 +674,8 @@ SIZE (go_modules/github.com/hashicorp/me
>  SIZE (go_modules/github.com/hashicorp/memberlist/@v/v0.1.3.zip) = 103250
>  SIZE (go_modules/github.com/hashicorp/serf/@v/v0.8.2.mod) = 774
>  SIZE (go_modules/github.com/hashicorp/serf/@v/v0.8.2.zip) = 540021
> -SIZE (go_modules/github.com/hetznercloud/hcloud-go/@v/v1.31.0.mod) = 307
> -SIZE (go_modules/github.com/hetznercloud/hcloud-go/@v/v1.31.0.zip) = 138471
> +SIZE (go_modules/github.com/hetznercloud/hcloud-go/@v/v1.31.1.mod) = 307
> +SIZE (go_modules/github.com/hetznercloud/hcloud-go/@v/v1.31.1.zip) = 141261
>  SIZE (go_modules/github.com/inconshreveable/mousetrap/@v/v1.0.0.mod) = 44
>  SIZE (go_modules/github.com/inconshreveable/mousetrap/@v/v1.0.0.zip) = 3712
>  SIZE (go_modules/github.com/jonboulle/clockwork/@v/v0.1.0.mod) = 38
> @@ -999,4 +999,4 @@ SIZE (go_modules/honnef.co/go/tools/@v/v
>  SIZE (go_modules/honnef.co/go/tools/@v/v0.0.1-2019.2.3.zip) = 506912
>  SIZE (go_modules/rsc.io/binaryregexp/@v/v0.2.0.mod) = 36
>  SIZE (go_modules/rsc.io/binaryregexp/@v/v0.2.0.zip) = 450232
> -SIZE (hcloud-v1.28.0.zip) = 276982
> +SIZE (hcloud-v1.28.1.zip) = 279028
> Index: sysutils/hcloud/modules.inc
> ===================================================================
> RCS file: /cvs/ports/sysutils/hcloud/modules.inc,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 modules.inc
> --- sysutils/hcloud/modules.inc       22 Aug 2021 08:06:22 -0000      1.3
> +++ sysutils/hcloud/modules.inc       10 Sep 2021 07:01:22 -0000
> @@ -1,4 +1,4 @@
> -# $OpenBSD: modules.inc,v 1.3 2021/08/22 08:06:22 paco Exp $
> +# $OpenBSD$
>  
>  MODGO_MODULES =      \
>       cloud.google.com/go                                      v0.46.3 \
> @@ -77,7 +77,7 @@ MODGO_MODULES =     \
>       github.com/hashicorp/mdns                                v1.0.0 \
>       github.com/hashicorp/memberlist                          v0.1.3 \
>       github.com/hashicorp/serf                                v0.8.2 \
> -     github.com/hetznercloud/hcloud-go                        v1.31.0 \
> +     github.com/hetznercloud/hcloud-go                        v1.31.1 \
>       github.com/inconshreveable/mousetrap                     v1.0.0 \
>       github.com/jonboulle/clockwork                           v0.1.0 \
>       github.com/json-iterator/go                              v1.1.6 \

Reply via email to