From c1a6fb8286cefed2b737724519243ce6927a4ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 13 Mar 2021 08:26:31 +0700 Subject: [PATCH] kubecfg: bump go-jsonnet to v0.17.0 --- srcpkgs/kubecfg/patches/go-jsonnet-0.17.patch | 12 ++++++++++++ srcpkgs/kubecfg/template | 7 ++----- 2 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/kubecfg/patches/go-jsonnet-0.17.patch diff --git a/srcpkgs/kubecfg/patches/go-jsonnet-0.17.patch b/srcpkgs/kubecfg/patches/go-jsonnet-0.17.patch new file mode 100644 index 00000000000000..13c3b7fe19b635 --- /dev/null +++ b/srcpkgs/kubecfg/patches/go-jsonnet-0.17.patch @@ -0,0 +1,12 @@ + This version included a fix for 32 bit system +--- go.mod.orig 2021-03-13 08:24:26.443833984 +0700 ++++ go.mod 2021-03-13 08:21:09.306013366 +0700 +@@ -9,7 +9,7 @@ + github.com/go-openapi/spec v0.19.7 // indirect + github.com/go-openapi/swag v0.19.8 // indirect + github.com/golang/protobuf v1.4.3 +- github.com/google/go-jsonnet v0.15.0 ++ github.com/google/go-jsonnet v0.17.0 + github.com/googleapis/gnostic v0.5.3 + github.com/imdario/mergo v0.3.9 // indirect + github.com/mailru/easyjson v0.7.1 // indirect diff --git a/srcpkgs/kubecfg/template b/srcpkgs/kubecfg/template index 56b00292d8b4c6..63f853a6ea355a 100644 --- a/srcpkgs/kubecfg/template +++ b/srcpkgs/kubecfg/template @@ -1,9 +1,10 @@ # Template file for 'kubecfg' pkgname=kubecfg version=0.18.0 -revision=1 +revision=2 build_style=go go_import_path="github.com/bitnami/kubecfg" +go_mod_mode=mod go_ldflags="-X main.version=v${version}" short_desc="Tool for managing Kubernetes resources as code" maintainer="Leah Neukirchen " @@ -11,7 +12,3 @@ license="Apache-2.0" homepage="https://github.com/bitnami/kubecfg" distfiles="https://github.com/bitnami/kubecfg/archive/v${version}.tar.gz" checksum=710cedf1604ab8d7880cc4ea0e171bc8785067b23e8610665fd6b18de8a15793 - -if [ "$XBPS_TARGET_WORDSIZE" != 64 ]; then - broken="vendor/github.com/google/go-jsonnet/builtins.go:865:82: constant -9223372036854775808 overflows int" -fi