From: TeddyDD <TeddyDD@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: nats and nats-server
Date: Thu, 29 Sep 2022 14:32:01 +0200 [thread overview]
Message-ID: <20220929123201.N2koUKFiYAK09r9xJUQJKXv5r1z6-ItSn6JxVfPpRLk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37982@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]
There is an updated pull request by TeddyDD against master on the void-packages repository
https://github.com/TeddyDD/void-packages-1 add-nats
https://github.com/void-linux/void-packages/pull/37982
New package: nats and nats-server
<!-- Uncomment relevant sections and delete options which are not applicable -->
Added nats-cli and nats-server
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/37982.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-nats-37982.patch --]
[-- Type: text/x-diff, Size: 2289 bytes --]
From e769e19c5c4a2ac80d4488c1065f90dde55ea924 Mon Sep 17 00:00:00 2001
From: Daniel Lewan <vision360.daniel@gmail.com>
Date: Sun, 10 Jul 2022 14:37:50 +0200
Subject: [PATCH 1/2] New package: nats-0.0.34
---
srcpkgs/nats/template | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 srcpkgs/nats/template
diff --git a/srcpkgs/nats/template b/srcpkgs/nats/template
new file mode 100644
index 000000000000..85bc4cc091b4
--- /dev/null
+++ b/srcpkgs/nats/template
@@ -0,0 +1,28 @@
+# Template file for 'nats'
+pkgname=nats
+version=0.0.34
+revision=1
+wrksrc="natscli-${version}"
+build_style=go
+go_import_path=github.com/nats-io/natscli/nats
+go_ldflags="-X main.version=v${version}"
+short_desc="Command line utility to interact with and manage NATS"
+maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
+license="Apache-2.0"
+homepage="https://nats.io/"
+distfiles="https://github.com/nats-io/natscli/archive/v${version}.tar.gz"
+checksum=9fdfd14c093e1ef4c4cd0398d17f8eba2b26c25334fd63160c2fcd644c9d8bfd
+
+pre_build() {
+ for shell in bash zsh
+ do
+ CGO_ENABLED=0 GOARCH='' go run nats/main.go --completion-script-$shell >completion.$shell
+ done
+}
+
+post_install() {
+ for shell in bash zsh
+ do
+ vcompletion completion.$shell $shell
+ done
+}
From 365ee26a61d8a3db6bfe35627ef63f3a92cd8516 Mon Sep 17 00:00:00 2001
From: Daniel Lewan <vision360.daniel@gmail.com>
Date: Sun, 10 Jul 2022 14:37:52 +0200
Subject: [PATCH 2/2] New package: nats-server-2.9.1
---
srcpkgs/nats-server/template | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 srcpkgs/nats-server/template
diff --git a/srcpkgs/nats-server/template b/srcpkgs/nats-server/template
new file mode 100644
index 000000000000..c5612d679f8c
--- /dev/null
+++ b/srcpkgs/nats-server/template
@@ -0,0 +1,12 @@
+# Template file for 'nats-server'
+pkgname=nats-server
+version=2.9.1
+revision=1
+build_style=go
+go_import_path=github.com/nats-io/nats-server/v2
+short_desc="Server for NATS messaging system"
+maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
+license="Apache-2.0"
+homepage="https://nats.io/"
+distfiles="https://github.com/nats-io/nats-server/archive/v${version}.tar.gz"
+checksum=e6287f1d038a2df3ec37d00d936e967ca7f5eec9de37558d79e87a49d153d3ae
next prev parent reply other threads:[~2022-09-29 12:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-10 17:42 [PR PATCH] Add nats TeddyDD
2022-07-10 17:43 ` [PR PATCH] [Updated] " TeddyDD
2022-07-10 17:50 ` [PR PATCH] [Updated] New package: nats and nats-server TeddyDD
2022-07-10 19:14 ` TeddyDD
2022-07-10 19:20 ` TeddyDD
2022-09-29 12:32 ` TeddyDD [this message]
2022-11-29 17:46 ` TeddyDD
2022-11-29 17:59 ` TeddyDD
2023-01-13 9:35 ` [PR PATCH] [Closed]: " TeddyDD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220929123201.N2koUKFiYAK09r9xJUQJKXv5r1z6-ItSn6JxVfPpRLk@z \
--to=teddydd@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).