From nobody Tue Oct 15 11:44:13 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XSXLj3cGpz5YpN5; Tue, 15 Oct 2024 11:44:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSXLj33x0z4ggg; Tue, 15 Oct 2024 11:44:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728992653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aHHFNNCs/Zo9oBy3QvUufD8jNKqTW1/YgOj/i0x6bJ8=; b=EkAB8HsS3mDtqnaIo0kSf69CmWvobKYKnrHt9pbtcEHazyyfo48fM5hcK5CLCrdCf6HWLZ CyMAgi/JzL9BNGoxzfg81AIH3IxB2AAp0dv76JEdhsu88Uo23hrejf/+jFCiWrqhQxxxe3 6w4sxNjOotVIlW3ACSXrL1RFXE0FuSPNIVIKooVG4adeBI5H2csACj2lAKSdFdoPVyo7bQ J9m9uMJ+hFps0nIyZpGhqoZbJ7VQqAqquUDAsJr7mgMUNLzwWVlIg+5kHUFh1ObI4jTo9y EDvrmIQ8a2Z3r9PniaqI+cBdwfKRW3DXvj/nqv3uBw8Dzc+OR+TZR/89MEXMIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728992653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aHHFNNCs/Zo9oBy3QvUufD8jNKqTW1/YgOj/i0x6bJ8=; b=p89Ye6bORHVRLzVoLLbw4mcyegQGW2HoMs9OlhnLO6O3nLhr8d7D+cx4cFKsozULTVTafJ kgFVAWhHDmEUYBIj8rbjRcCyLr3d7r/cz0dyHqKCtvP7BcJ1B1MyNI4ypRJJkW5UMSMt+F Cz3J41amupIVUt/2XQ5nxf5YZxsisuo0LSq3IXtgkfLdzW3XVWrgadrITKZPOvdsuFqd4v 3RCZsxhDWVWTpzZM8+kgnFTCaQFfTZ5shKIC9K1x5tzNSmEFRAhobvBGxcyrWP2tOsYAMX FZrarDFUfpzYJdOWKfGCvnUZfTAXXGOLtB72ur3ypoS9RR6J1gFqlPCiY9PsYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728992653; a=rsa-sha256; cv=none; b=sl8+3LEViBhbd282Xba52WiPDVlDnpildnxlOLzfHpUBOjXggH9Og4fmaNti7uVtmF2k/x lCFeXXf1IT3ip2ZuypW7wQvf2z7m8DBsKJ5RcUzwvxhhkGgp5cu6pv+eqQBzr4AdE/Yoij ASZXewIJrX4p8ZKhCecdjorNtG/Bfg3zXDbX6LrFhxXMWBtMV3BsA92dy8yg/fwdk8jpk/ OKtA66PMPRxT4aoc0pfF5FpYQwwZ6g8MtYFFFtbNoDMOFf16mcqMKvgDIuq/WmhCZPElKJ P8M88Txq0oDZZUij4lLUWNlZpMq3S/23x0iluGyfB/l+i/vKcuXV0N4BFQ2xMw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XSXLj1PyzzLRM; Tue, 15 Oct 2024 11:44:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49FBiDc7048520; Tue, 15 Oct 2024 11:44:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49FBiD6Q048517; Tue, 15 Oct 2024 11:44:13 GMT (envelope-from git) Date: Tue, 15 Oct 2024 11:44:13 GMT Message-Id: <202410151144.49FBiD6Q048517@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Fechner Subject: git: 68c32db22c8b - main - net/gotify-cli: added new version 2.3.2 to easily send messages to gotify-server List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mfechner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 68c32db22c8b477d5f86e418d7411c27dd8b452e Auto-Submitted: auto-generated The branch main has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=68c32db22c8b477d5f86e418d7411c27dd8b452e commit 68c32db22c8b477d5f86e418d7411c27dd8b452e Author: Matthias Fechner AuthorDate: 2024-10-15 11:42:57 +0000 Commit: Matthias Fechner 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 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: <