aboutsummaryrefslogtreecommitdiff
path: root/net/mosquitto
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-04-06 20:50:15 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-04-06 20:50:15 +0000
commit8e586ee2be82508c29c2006d2b4ed521ed6ad77f (patch)
tree076989d57d5c080d7c6f774f1f48e577058b5310 /net/mosquitto
parent3a0d94e5559cad790dd44e20ae66a6d5c08bc3ec (diff)
downloadports-8e586ee2be82508c29c2006d2b4ed521ed6ad77f.tar.gz
ports-8e586ee2be82508c29c2006d2b4ed521ed6ad77f.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
Notes
Notes: svn path=/head/; revision=466690
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"