Date: Sat, 30 Nov 2024 05:43:41 GMT From: "Gabriel M. Dutra" <dutra@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 114e0e7b3be6 - main - sysutils/cilium: Add new port Message-ID: <202411300543.4AU5hf6A003899@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by dutra: URL: https://cgit.FreeBSD.org/ports/commit/?id=114e0e7b3be6e2e440011a88200a975e5edb1f06 commit 114e0e7b3be6e2e440011a88200a975e5edb1f06 Author: Gabriel M. Dutra <dutra@FreeBSD.org> AuthorDate: 2024-11-30 05:40:15 +0000 Commit: Gabriel M. Dutra <dutra@FreeBSD.org> CommitDate: 2024-11-30 05:42:46 +0000 sysutils/cilium: Add new port CLI to manage Kubernetes clusters running cilium --- sysutils/Makefile | 1 + sysutils/cilium/Makefile | 23 ++++++++++++++++++++++ sysutils/cilium/distinfo | 5 +++++ ....com_cilium_hive_script_makeraw__unsupported.go | 10 ++++++++++ sysutils/cilium/pkg-descr | 1 + 5 files changed, 40 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index da1a71587d18..93ab1d876ea4 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -197,6 +197,7 @@ SUBDIR += chgrep SUBDIR += choria SUBDIR += chyves + SUBDIR += cilium SUBDIR += cinnamon-control-center SUBDIR += cinnamon-settings-daemon SUBDIR += ciso diff --git a/sysutils/cilium/Makefile b/sysutils/cilium/Makefile new file mode 100644 index 000000000000..f71f36ebc48f --- /dev/null +++ b/sysutils/cilium/Makefile @@ -0,0 +1,23 @@ +PORTNAME= cilium +DISTVERSIONPREFIX= v +DISTVERSION= 0.16.20 +CATEGORIES= sysutils + +MAINTAINER= dutra@FreeBSD.org +COMMENT= Manage Kubernetes clusters running Cilium +WWW= https://github.com/cilium/cilium-cli + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:1.23,modules + +GO_MODULE= github.com/cilium/cilium-cli +GO_BUILDFLAGS= -ldflags="\ + -X github.com/cilium/cilium/cilium-cli/defaults.CLIVersion=${DISTVERSION}" + +GO_TARGET= ./cmd/${PORTNAME} + +PLIST_FILES= bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/sysutils/cilium/distinfo b/sysutils/cilium/distinfo new file mode 100644 index 000000000000..b235dff09c51 --- /dev/null +++ b/sysutils/cilium/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1732942246 +SHA256 (go/sysutils_cilium/cilium-v0.16.20/v0.16.20.mod) = d211ea1105e7d6fce3e6417fa868c9f4f1fd4eae6be1dbb94940e42c77069bdf +SIZE (go/sysutils_cilium/cilium-v0.16.20/v0.16.20.mod) = 11415 +SHA256 (go/sysutils_cilium/cilium-v0.16.20/v0.16.20.zip) = 0fa37f743e72b0ab911913ec8f57ba3e33246595cded8b3eefbfa02a8e550a85 +SIZE (go/sysutils_cilium/cilium-v0.16.20/v0.16.20.zip) = 108730 diff --git a/sysutils/cilium/files/patch-vendor_github.com_cilium_hive_script_makeraw__unsupported.go b/sysutils/cilium/files/patch-vendor_github.com_cilium_hive_script_makeraw__unsupported.go new file mode 100644 index 000000000000..3847347e883a --- /dev/null +++ b/sysutils/cilium/files/patch-vendor_github.com_cilium_hive_script_makeraw__unsupported.go @@ -0,0 +1,10 @@ +--- vendor/github.com/cilium/hive/script/makeraw_unsupported.go.orig 2024-11-30 05:14:56 UTC ++++ vendor/github.com/cilium/hive/script/makeraw_unsupported.go +@@ -11,6 +11,6 @@ import ( + "runtime" + ) + +-func MakeRaw(fd int) (restore func(), err error) { ++func MakeRawUnsupported(fd int) (restore func(), err error) { + return func() {}, fmt.Errorf("MakeRaw: not supported on %s", runtime.GOOS) + } diff --git a/sysutils/cilium/pkg-descr b/sysutils/cilium/pkg-descr new file mode 100644 index 000000000000..d5c7e0f1f6aa --- /dev/null +++ b/sysutils/cilium/pkg-descr @@ -0,0 +1 @@ +CLI to install, manage & troubleshoot Kubernetes clusters running Cilium
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411300543.4AU5hf6A003899>