git: 3c4f133b6acf - main - net/nats-streaming-server: apply rclint fixes.
Jimmy Olgeni
olgeni at FreeBSD.org
Wed Apr 7 15:22:00 UTC 2021
The branch main has been updated by olgeni:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3c4f133b6acf2810e6b6419a4e88fdd83c33647a
commit 3c4f133b6acf2810e6b6419a4e88fdd83c33647a
Author: Jimmy Olgeni <olgeni at FreeBSD.org>
AuthorDate: 2021-04-07 15:17:02 +0000
Commit: Jimmy Olgeni <olgeni at FreeBSD.org>
CommitDate: 2021-04-07 15:21:47 +0000
net/nats-streaming-server: apply rclint fixes.
---
net/nats-streaming-server/Makefile | 1 +
net/nats-streaming-server/files/nats_streaming.sh.in | 7 ++++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/net/nats-streaming-server/Makefile b/net/nats-streaming-server/Makefile
index b6d56556fc37..cbb8b486b095 100644
--- a/net/nats-streaming-server/Makefile
+++ b/net/nats-streaming-server/Makefile
@@ -1,6 +1,7 @@
PORTNAME= nats-streaming-server
PORTVERSION= 0.21.1
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= net
MAINTAINER= olgeni at FreeBSD.org
diff --git a/net/nats-streaming-server/files/nats_streaming.sh.in b/net/nats-streaming-server/files/nats_streaming.sh.in
index 8ecec9398803..79c7d429b7bd 100644
--- a/net/nats-streaming-server/files/nats_streaming.sh.in
+++ b/net/nats-streaming-server/files/nats_streaming.sh.in
@@ -2,6 +2,7 @@
#
# PROVIDE: nats_streaming
# REQUIRE: DAEMON
+# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to run the NATS streaming server:
#
@@ -13,12 +14,12 @@
. /etc/rc.subr
-name="nats_streaming"
+name=nats_streaming
rcvar=`set_rcvar`
load_rc_config ${name}
-: ${nats_streaming_enable="NO"}
-: ${nats_streaming_username="nobody"}
+: ${nats_streaming_enable:=NO}
+: ${nats_streaming_username:=nobody}
: ${nats_streaming_options="-c %%PREFIX%%/etc/nats_streaming.conf"}
command=/usr/sbin/daemon
More information about the dev-commits-ports-all
mailing list