aboutsummaryrefslogtreecommitdiffstats
path: root/net/mosquitto
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-04-07 04:50:15 +0800
committeryuri <yuri@FreeBSD.org>2018-04-07 04:50:15 +0800
commit0abb9585a2369712a32bece42c4272c149c59c4a (patch)
tree076989d57d5c080d7c6f774f1f48e577058b5310 /net/mosquitto
parent1132320f770b2c1c5413b992c89ca86c30e8a8dd (diff)
downloadfreebsd-ports-gnome-0abb9585a2369712a32bece42c4272c149c59c4a.tar.gz
freebsd-ports-gnome-0abb9585a2369712a32bece42c4272c149c59c4a.tar.zst
freebsd-ports-gnome-0abb9585a2369712a32bece42c4272c149c59c4a.zip
net/mosquitto: Unbreak the rc script; Fix the license
The rc script had the 'pidfile' token, when the code references 'pid_file'. While here, fixed the license. It is actually EPL, not BSD. Reported by: David BOYER <david.boyer59@gmail.com> (the pidfile issue in a private communication) Approved by: portmgr blanket
Diffstat (limited to 'net/mosquitto')
-rw-r--r--net/mosquitto/Makefile4
-rw-r--r--net/mosquitto/files/mosquitto.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/net/mosquitto/Makefile b/net/mosquitto/Makefile
index 4fd8e575e0e5..17536a433a1f 100644
--- a/net/mosquitto/Makefile
+++ b/net/mosquitto/Makefile
@@ -3,14 +3,14 @@
PORTNAME= mosquitto
PORTVERSION= 1.4.14
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://mosquitto.org/files/source/
MAINTAINER= joe@thrallingpenguin.com
COMMENT= Open-Source MQTT Broker
-LICENSE= BSD3CLAUSE
+LICENSE= EPL
LIB_DEPENDS= libcares.so:dns/c-ares \
libuuid.so:misc/e2fsprogs-libuuid
diff --git a/net/mosquitto/files/mosquitto.in b/net/mosquitto/files/mosquitto.in
index 21b58cc7f251..5cd74b9aaca0 100644
--- a/net/mosquitto/files/mosquitto.in
+++ b/net/mosquitto/files/mosquitto.in
@@ -27,7 +27,7 @@ mosquitto_config=${mosquitto_config:="%%PREFIX%%/etc/mosquitto/mosquitto.conf"}
command=%%PREFIX%%/sbin/mosquitto
command_args="-c ${mosquitto_config} -d"
-pidfile=$(grep pidfile ${mosquitto_config} | awk '{print($2)}')
+pidfile=$(grep pid_file ${mosquitto_config} | awk '{print($2)}')
required_files=${mosquitto_config}
extra_commands="reload"