git: 8d447d3b90e4 - main - sysutils/popeye: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Jun 2024 17:45:40 UTC
The branch main has been updated by dutra: URL: https://cgit.FreeBSD.org/ports/commit/?id=8d447d3b90e4f819a7b3d8cb0772ab9c10a20b30 commit 8d447d3b90e4f819a7b3d8cb0772ab9c10a20b30 Author: Gabriel M. Dutra <dutra@FreeBSD.org> AuthorDate: 2024-06-08 17:43:20 +0000 Commit: Gabriel M. Dutra <dutra@FreeBSD.org> CommitDate: 2024-06-08 17:45:05 +0000 sysutils/popeye: Add new port popeye is a utility that scans live Kubernetes clusters and reports potential issues with deployed resources and configurations. --- sysutils/Makefile | 1 + sysutils/popeye/Makefile | 28 ++++++++++++++++++++++++++++ sysutils/popeye/distinfo | 5 +++++ sysutils/popeye/pkg-descr | 2 ++ 4 files changed, 36 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 97984b1e4b48..63285b33c31c 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1053,6 +1053,7 @@ SUBDIR += polkit SUBDIR += polkit-gnome SUBDIR += polkit-qt-1 + SUBDIR += popeye SUBDIR += pot SUBDIR += potnet SUBDIR += poweralertd diff --git a/sysutils/popeye/Makefile b/sysutils/popeye/Makefile new file mode 100644 index 000000000000..eb302ffd8714 --- /dev/null +++ b/sysutils/popeye/Makefile @@ -0,0 +1,28 @@ +PORTNAME= popeye +DISTVERSIONPREFIX= v +DISTVERSION= 0.21.3 +CATEGORIES= sysutils + +MAINTAINER= dutra@FreeBSD.org +COMMENT= Kubernetes cluster resource sanitizer +WWW= https://popeye.io/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:1.22,modules + +_BUILD_DATE= $$(date -u +"%FT%T%z") +_BUILD_HASH= f736e64 + +GO_MODULE= github.com/derailed/popeye +GO_BUILDFLAGS= -ldflags "\ + -w \ + -X ${GO_MODULE}/cmd.version=${DISTVERSION} \ + -X ${GO_MODULE}/cmd.commit=${_BUILD_HASH} \ + -X ${GO_MODULE}/cmd.date=${_BUILD_DATE}" \ + -a -tags netgo + +PLIST_FILES= bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/sysutils/popeye/distinfo b/sysutils/popeye/distinfo new file mode 100644 index 000000000000..5cb4ea45a96f --- /dev/null +++ b/sysutils/popeye/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1717866416 +SHA256 (go/sysutils_popeye/popeye-v0.21.3/v0.21.3.mod) = 9b67f70e29a5001d715ea3dd2e281e73b8520450d83aaa9a85c3cc58a2b314b5 +SIZE (go/sysutils_popeye/popeye-v0.21.3/v0.21.3.mod) = 6973 +SHA256 (go/sysutils_popeye/popeye-v0.21.3/v0.21.3.zip) = a7a042e2bc535698325762d4b237d0ef65ac6cb3e26b07ad0e592c9038669f66 +SIZE (go/sysutils_popeye/popeye-v0.21.3/v0.21.3.zip) = 2852179 diff --git a/sysutils/popeye/pkg-descr b/sysutils/popeye/pkg-descr new file mode 100644 index 000000000000..4f37d973c347 --- /dev/null +++ b/sysutils/popeye/pkg-descr @@ -0,0 +1,2 @@ +Popeye is a utility that scans live Kubernetes clusters and reports +potential issues with deployed resources and configurations.