1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

net/nats-server: update to version 2.2.1 and apply rclint fixes.

This commit is contained in:
Jimmy Olgeni 2021-04-07 16:59:51 +02:00
parent 0c1ffa0a55
commit 182b6264a0
4 changed files with 10 additions and 7 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= nats-server
PORTVERSION= 2.2.0
PORTVERSION= 2.2.1
DISTVERSIONPREFIX= v
CATEGORIES= net

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1615797065
SHA256 (nats-io-nats-server-v2.2.0_GH0.tar.gz) = fca2d79dc616b52f3fddd1bc19e6e11d2496ed048c2ca90c6a30d1fbf1b6c20d
SIZE (nats-io-nats-server-v2.2.0_GH0.tar.gz) = 2421575
TIMESTAMP = 1617802001
SHA256 (nats-io-nats-server-v2.2.1_GH0.tar.gz) = ecb1683630b4459c77840fc6b22871f3b9274252b7831b7623c491ec44986e59
SIZE (nats-io-nats-server-v2.2.1_GH0.tar.gz) = 2440377

View File

@ -2,6 +2,7 @@
#
# PROVIDE: nats
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to run NATS:
#
@ -13,12 +14,12 @@
. /etc/rc.subr
name="nats"
name=nats
rcvar=`set_rcvar`
load_rc_config ${name}
: ${nats_enable="NO"}
: ${nats_user="nobody"}
: ${nats_enable:=NO}
: ${nats_user:=nobody}
: ${nats_options="-c %%PREFIX%%/etc/nats.conf"}
command=/usr/sbin/daemon

View File

@ -16,6 +16,7 @@ bin/nats-server
%%PORTDOCS%%%%DOCSDIR%%/configs/include_conf_check_a.conf
%%PORTDOCS%%%%DOCSDIR%%/configs/include_conf_check_b.conf
%%PORTDOCS%%%%DOCSDIR%%/configs/include_conf_check_c.conf
%%PORTDOCS%%%%DOCSDIR%%/configs/js-op.conf
%%PORTDOCS%%%%DOCSDIR%%/configs/listen-1.conf
%%PORTDOCS%%%%DOCSDIR%%/configs/listen.conf
%%PORTDOCS%%%%DOCSDIR%%/configs/listen_port.conf
@ -25,6 +26,7 @@ bin/nats-server
%%PORTDOCS%%%%DOCSDIR%%/configs/multiple_errors.conf
%%PORTDOCS%%%%DOCSDIR%%/configs/multiple_users.conf
%%PORTDOCS%%%%DOCSDIR%%/configs/new_style_authorization.conf
%%PORTDOCS%%%%DOCSDIR%%/configs/one.creds
%%PORTDOCS%%%%DOCSDIR%%/configs/reload/authorization_1.conf
%%PORTDOCS%%%%DOCSDIR%%/configs/reload/authorization_2.conf
%%PORTDOCS%%%%DOCSDIR%%/configs/reload/basic.conf