git: 68c32db22c8b - main - net/gotify-cli: added new version 2.3.2 to easily send messages to gotify-server
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Oct 2024 11:44:13 UTC
The branch main has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=68c32db22c8b477d5f86e418d7411c27dd8b452e commit 68c32db22c8b477d5f86e418d7411c27dd8b452e Author: Matthias Fechner <mfechner@FreeBSD.org> AuthorDate: 2024-10-15 11:42:57 +0000 Commit: Matthias Fechner <mfechner@FreeBSD.org> CommitDate: 2024-10-15 11:44:05 +0000 net/gotify-cli: added new version 2.3.2 to easily send messages to gotify-server --- net/Makefile | 1 + net/gotify-cli/Makefile | 27 +++++++++++++++++++++++++++ net/gotify-cli/distinfo | 5 +++++ net/gotify-cli/pkg-descr | 5 +++++ net/gotify-cli/pkg-message | 13 +++++++++++++ 5 files changed, 51 insertions(+) diff --git a/net/Makefile b/net/Makefile index de1d856b7773..8bccf76f1df1 100644 --- a/net/Makefile +++ b/net/Makefile @@ -209,6 +209,7 @@ SUBDIR += gopher SUBDIR += goreplay SUBDIR += gorss + SUBDIR += gotify-cli SUBDIR += gotify-server SUBDIR += gotthard SUBDIR += graphpath diff --git a/net/gotify-cli/Makefile b/net/gotify-cli/Makefile new file mode 100644 index 000000000000..cd0e7b7904be --- /dev/null +++ b/net/gotify-cli/Makefile @@ -0,0 +1,27 @@ +PORTNAME= gotify +PORTVERSION= 2.3.2 +DISTVERSIONPREFIX= v +CATEGORIES= net +PKGNAMESUFFIX= -cli +DISTNAME= cli + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= CLI to send message to gotify server +WWW= https://github.com/gotify/cli + +LICENSE= MIT + +USES= go:modules,1.22 +GO_MODULE= github.com/gotify/cli/v2 + +_BUILD_DATE= $$(date -u "+%Y-%m-%d-%H%M UTC") +#GO_TARGET= ./ +GO_BUILDFLAGS= -buildmode=pie -modcacherw \ + -ldflags=" \ + -X 'main.Version=${PORTVERSION}' \ + -X 'main.Commit=${GL_TAGNAME:C/^(........).*/\1/}' \ + -X 'main.BuildDate=${_BUILD_DATE}'" + +PLIST_FILES= bin/gotify + +.include <bsd.port.mk> diff --git a/net/gotify-cli/distinfo b/net/gotify-cli/distinfo new file mode 100644 index 000000000000..bb4f9dba0bfb --- /dev/null +++ b/net/gotify-cli/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1728992410 +SHA256 (go/net_gotify-cli/cli/v2.3.2.mod) = da5cdace2bce1b94337c260f532103b3ed04aa04aed79b2d7bb621995a4b3fd1 +SIZE (go/net_gotify-cli/cli/v2.3.2.mod) = 1543 +SHA256 (go/net_gotify-cli/cli/v2.3.2.zip) = 521527e56d9b9abfe6ba0e4b9dbcfa456823e65a4340f073b8656a2126ba640f +SIZE (go/net_gotify-cli/cli/v2.3.2.zip) = 457529 diff --git a/net/gotify-cli/pkg-descr b/net/gotify-cli/pkg-descr new file mode 100644 index 000000000000..d8e520622100 --- /dev/null +++ b/net/gotify-cli/pkg-descr @@ -0,0 +1,5 @@ +Gotify-CLI is a command line client for pushing messages to net/gotify-server. + +It is not required, but convenient, see also herefor alternatives: +https://github.com/gotify/cli?tab=readme-ov-file#alternatives + diff --git a/net/gotify-cli/pkg-message b/net/gotify-cli/pkg-message new file mode 100644 index 000000000000..c45f7ee91fcf --- /dev/null +++ b/net/gotify-cli/pkg-message @@ -0,0 +1,13 @@ +[ +{ + message: <<EOM +Gotify CLI was installed. + +To connect it to a server execute and follow instructions: +gotify init + +EOM + type: install +} +] +