From 2894876bd3e00747e5115660298f89d724c8167e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emre=20=C5=9Eafak?= Date: Mon, 26 Aug 2024 10:50:16 -0400 Subject: [PATCH] Fix email, override config.Version --- devel/glasskube/Portfile | 4 ++-- devel/glasskube/files/patch-Makefile-no-lint.diff | 11 ----------- devel/glasskube/files/patch-Makefile.diff | 13 +++++++++++++ 3 files changed, 15 insertions(+), 13 deletions(-) delete mode 100644 devel/glasskube/files/patch-Makefile-no-lint.diff create mode 100644 devel/glasskube/files/patch-Makefile.diff diff --git a/devel/glasskube/Portfile b/devel/glasskube/Portfile index dd3a567313860..fe51134acb1e6 100644 --- a/devel/glasskube/Portfile +++ b/devel/glasskube/Portfile @@ -12,7 +12,7 @@ homepage https://glasskube.dev/ categories devel installs_libs no -maintainers {esafak @esafak} openmaintainer +maintainers {gmail.com:esafak @esafak} openmaintainer description Missing Package Manager for Kubernetes long_description Deploy, configure and update Kubernetes packages 20x faster than with Helm license Apache-2 @@ -21,7 +21,7 @@ checksums rmd160 a819a93e85d8bf62da2eab6d47d5956a9ffc2544 \ sha256 11ec36c58c321d0cf8b9c137cc26e8020a938548f40795160a76a18bcde25a7b \ size 785206 -patchfiles-append patch-Makefile-no-lint.diff +patchfiles-append patch-Makefile.diff depends_build-append \ bin:npm:npm10 diff --git a/devel/glasskube/files/patch-Makefile-no-lint.diff b/devel/glasskube/files/patch-Makefile-no-lint.diff deleted file mode 100644 index d00e8217552fe..0000000000000 --- a/devel/glasskube/files/patch-Makefile-no-lint.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- ./Makefile 2024-08-26 01:59:52 -+++ ./Makefile 2024-08-26 02:00:12 -@@ -111,7 +111,7 @@ - $(GOCMD) build -o $(OUT_DIR)/cert-manager ./cmd/cert-manager/ - - .PHONY: build-cli --build-cli: fmt lint-go lint-web web ## Build cli binary. -+build-cli: fmt web ## Build cli binary. - $(GOCMD) build -o $(OUT_DIR)/glasskube ./cmd/glasskube/ - - .PHONY: run diff --git a/devel/glasskube/files/patch-Makefile.diff b/devel/glasskube/files/patch-Makefile.diff new file mode 100644 index 0000000000000..f32027d0e8eb2 --- /dev/null +++ b/devel/glasskube/files/patch-Makefile.diff @@ -0,0 +1,13 @@ +--- Makefile 2024-08-15 14:27:49 ++++ Makefile 2024-08-26 10:40:31 +@@ -111,8 +111,8 @@ + $(GOCMD) build -o $(OUT_DIR)/cert-manager ./cmd/cert-manager/ + + .PHONY: build-cli +-build-cli: fmt lint-go lint-web web ## Build cli binary. +- $(GOCMD) build -o $(OUT_DIR)/glasskube ./cmd/glasskube/ ++build-cli: fmt web ## Build cli binary. ++ $(GOCMD) build -ldflags "-X github.com/glasskube/glasskube/internal/config.Version=0.17.0" -o $(OUT_DIR)/glasskube ./cmd/glasskube/ + + .PHONY: run + run: manifests generate fmt ## Run a controller from your host.