Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] mosquitto: update to 1.6.3.
@ 2019-06-19 13:22 voidlinux-github
  2019-06-19 17:04 ` voidlinux-github
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-19 13:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

There is a new pull request by damadmai against master on the void-packages repository

https://github.com/damadmai/void-packages mosquitto163
https://github.com/void-linux/void-packages/pull/12552

mosquitto: update to 1.6.3.
Also added runit service as unprivileged user for it

A patch file from https://github.com/void-linux/void-packages/pull/12552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mosquitto163-12552.patch --]
[-- Type: application/text/x-diff, Size: 3416 bytes --]

From 74046f98b3ad995b8ef3e8c3773fc7ee4ee45459 Mon Sep 17 00:00:00 2001
From: "Daniel A. Maierhofer" <git@damadmai.at>
Date: Wed, 19 Jun 2019 15:20:45 +0200
Subject: [PATCH] mosquitto: update to 1.6.3.

---
 srcpkgs/mosquitto/files/mosquitto/run |  4 ++++
 srcpkgs/mosquitto/template            | 23 ++++++++++++++---------
 2 files changed, 18 insertions(+), 9 deletions(-)
 create mode 100644 srcpkgs/mosquitto/files/mosquitto/run

diff --git a/srcpkgs/mosquitto/files/mosquitto/run b/srcpkgs/mosquitto/files/mosquitto/run
new file mode 100644
index 00000000000..98647f343ba
--- /dev/null
+++ b/srcpkgs/mosquitto/files/mosquitto/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /var/lib/mosquitto
+exec chpst -u mosquitto:mosquitto mosquitto -c /etc/mosquitto/mosquitto.conf
diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index c3a867fd157..38adf63f38b 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -1,7 +1,7 @@
 # Template file for 'mosquitto'
 pkgname=mosquitto
-version=1.6.0
-revision=2
+version=1.6.3
+revision=1
 build_style=gnu-makefile
 make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
 make_install_args="prefix=/usr"
@@ -9,12 +9,16 @@ make_check_target=test
 conf_files="/etc/mosquitto/mosquitto.conf"
 makedepends="c-ares-devel libressl-devel libwebsockets-devel"
 checkdepends="python bcunit-devel"
-short_desc="MQTT version 3.1/3.1.1 compatible message broker"
+short_desc="MQTT version 3.1/3.1.1/5.0 compatible message broker"
 maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
 license="EPL-1.0, BSD-3-Clause-Attribution"
-homepage="http://mosquitto.org"
+homepage="https://mosquitto.org"
 distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz"
-checksum=bd730d461f5f0adf6740abf2424c76c6d1263db0011fbb073c7a5c7eb8cc188b
+checksum=9ef5cc75f4fe31d7bf50654ddf4728ad9e1ae2e5609a4b42ecbbcb4a209ed17e
+
+system_accounts="mosquitto"
+mosquitto_homedir="/var/lib/mosquitto"
+make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
@@ -36,6 +40,7 @@ post_install() {
 	vmkdir usr/share/examples/${pkgname}
 	mv ${DESTDIR}/etc/${pkgname}/*.example \
 		${DESTDIR}/usr/share/examples/${pkgname}
+	vsv mosquitto
 }
 
 mosquitto-clients_package() {
@@ -49,14 +54,14 @@ mosquitto-clients_package() {
 }
 
 libmosquitto_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquitto.so.*"
 	}
 }
 
 libmosquitto-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library - development files"
 	depends="libmosquitto-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquitto.h
@@ -69,14 +74,14 @@ libmosquitto-devel_package() {
 }
 
 libmosquittopp_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquittopp.so.*"
 	}
 }
 
 libmosquittopp-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library - development files"
 	depends="libmosquittopp-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquittopp.h

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
@ 2019-06-19 17:04 ` voidlinux-github
  2019-06-19 17:42 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-19 17:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

New comment by jnbr on void-packages repository

https://github.com/void-linux/void-packages/pull/12552#issuecomment-503646629
Comment:
Please change the system account to `_mosquitto` to prevent conflicts with names of user accounts.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
  2019-06-19 17:04 ` voidlinux-github
  2019-06-19 17:42 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-19 17:42 ` voidlinux-github
  2019-06-20 12:19 ` voidlinux-github
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-19 17:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There is an updated pull request by damadmai against master on the void-packages repository

https://github.com/damadmai/void-packages mosquitto163
https://github.com/void-linux/void-packages/pull/12552

mosquitto: update to 1.6.3.
Also added runit service as unprivileged user for it

A patch file from https://github.com/void-linux/void-packages/pull/12552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mosquitto163-12552.patch --]
[-- Type: application/text/x-diff, Size: 3370 bytes --]

From b15a325dda36bf79e16211ec47a10fd361e9b03c Mon Sep 17 00:00:00 2001
From: "Daniel A. Maierhofer" <git@damadmai.at>
Date: Wed, 19 Jun 2019 15:20:45 +0200
Subject: [PATCH] mosquitto: update to 1.6.3.

---
 srcpkgs/mosquitto/files/mosquitto/run |  4 ++++
 srcpkgs/mosquitto/template            | 21 +++++++++++++--------
 2 files changed, 17 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/mosquitto/files/mosquitto/run

diff --git a/srcpkgs/mosquitto/files/mosquitto/run b/srcpkgs/mosquitto/files/mosquitto/run
new file mode 100644
index 00000000000..98647f343ba
--- /dev/null
+++ b/srcpkgs/mosquitto/files/mosquitto/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /var/lib/mosquitto
+exec chpst -u mosquitto:mosquitto mosquitto -c /etc/mosquitto/mosquitto.conf
diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index c3a867fd157..639e13c5665 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -1,6 +1,6 @@
 # Template file for 'mosquitto'
 pkgname=mosquitto
-version=1.6.0
+version=1.6.3
 revision=2
 build_style=gnu-makefile
 make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
@@ -9,12 +9,16 @@ make_check_target=test
 conf_files="/etc/mosquitto/mosquitto.conf"
 makedepends="c-ares-devel libressl-devel libwebsockets-devel"
 checkdepends="python bcunit-devel"
-short_desc="MQTT version 3.1/3.1.1 compatible message broker"
+short_desc="MQTT version 3.1/3.1.1/5.0 compatible message broker"
 maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
 license="EPL-1.0, BSD-3-Clause-Attribution"
-homepage="http://mosquitto.org"
+homepage="https://mosquitto.org"
 distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz"
-checksum=bd730d461f5f0adf6740abf2424c76c6d1263db0011fbb073c7a5c7eb8cc188b
+checksum=9ef5cc75f4fe31d7bf50654ddf4728ad9e1ae2e5609a4b42ecbbcb4a209ed17e
+
+system_accounts="_mosquitto"
+mosquitto_homedir="/var/lib/mosquitto"
+make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
@@ -36,6 +40,7 @@ post_install() {
 	vmkdir usr/share/examples/${pkgname}
 	mv ${DESTDIR}/etc/${pkgname}/*.example \
 		${DESTDIR}/usr/share/examples/${pkgname}
+	vsv mosquitto
 }
 
 mosquitto-clients_package() {
@@ -49,14 +54,14 @@ mosquitto-clients_package() {
 }
 
 libmosquitto_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquitto.so.*"
 	}
 }
 
 libmosquitto-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library - development files"
 	depends="libmosquitto-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquitto.h
@@ -69,14 +74,14 @@ libmosquitto-devel_package() {
 }
 
 libmosquittopp_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquittopp.so.*"
 	}
 }
 
 libmosquittopp-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library - development files"
 	depends="libmosquittopp-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquittopp.h

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
  2019-06-19 17:04 ` voidlinux-github
@ 2019-06-19 17:42 ` voidlinux-github
  2019-06-19 17:42 ` voidlinux-github
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-19 17:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There is an updated pull request by damadmai against master on the void-packages repository

https://github.com/damadmai/void-packages mosquitto163
https://github.com/void-linux/void-packages/pull/12552

mosquitto: update to 1.6.3.
Also added runit service as unprivileged user for it

A patch file from https://github.com/void-linux/void-packages/pull/12552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mosquitto163-12552.patch --]
[-- Type: application/text/x-diff, Size: 3370 bytes --]

From b15a325dda36bf79e16211ec47a10fd361e9b03c Mon Sep 17 00:00:00 2001
From: "Daniel A. Maierhofer" <git@damadmai.at>
Date: Wed, 19 Jun 2019 15:20:45 +0200
Subject: [PATCH] mosquitto: update to 1.6.3.

---
 srcpkgs/mosquitto/files/mosquitto/run |  4 ++++
 srcpkgs/mosquitto/template            | 21 +++++++++++++--------
 2 files changed, 17 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/mosquitto/files/mosquitto/run

diff --git a/srcpkgs/mosquitto/files/mosquitto/run b/srcpkgs/mosquitto/files/mosquitto/run
new file mode 100644
index 00000000000..98647f343ba
--- /dev/null
+++ b/srcpkgs/mosquitto/files/mosquitto/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /var/lib/mosquitto
+exec chpst -u mosquitto:mosquitto mosquitto -c /etc/mosquitto/mosquitto.conf
diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index c3a867fd157..639e13c5665 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -1,6 +1,6 @@
 # Template file for 'mosquitto'
 pkgname=mosquitto
-version=1.6.0
+version=1.6.3
 revision=2
 build_style=gnu-makefile
 make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
@@ -9,12 +9,16 @@ make_check_target=test
 conf_files="/etc/mosquitto/mosquitto.conf"
 makedepends="c-ares-devel libressl-devel libwebsockets-devel"
 checkdepends="python bcunit-devel"
-short_desc="MQTT version 3.1/3.1.1 compatible message broker"
+short_desc="MQTT version 3.1/3.1.1/5.0 compatible message broker"
 maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
 license="EPL-1.0, BSD-3-Clause-Attribution"
-homepage="http://mosquitto.org"
+homepage="https://mosquitto.org"
 distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz"
-checksum=bd730d461f5f0adf6740abf2424c76c6d1263db0011fbb073c7a5c7eb8cc188b
+checksum=9ef5cc75f4fe31d7bf50654ddf4728ad9e1ae2e5609a4b42ecbbcb4a209ed17e
+
+system_accounts="_mosquitto"
+mosquitto_homedir="/var/lib/mosquitto"
+make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
@@ -36,6 +40,7 @@ post_install() {
 	vmkdir usr/share/examples/${pkgname}
 	mv ${DESTDIR}/etc/${pkgname}/*.example \
 		${DESTDIR}/usr/share/examples/${pkgname}
+	vsv mosquitto
 }
 
 mosquitto-clients_package() {
@@ -49,14 +54,14 @@ mosquitto-clients_package() {
 }
 
 libmosquitto_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquitto.so.*"
 	}
 }
 
 libmosquitto-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library - development files"
 	depends="libmosquitto-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquitto.h
@@ -69,14 +74,14 @@ libmosquitto-devel_package() {
 }
 
 libmosquittopp_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquittopp.so.*"
 	}
 }
 
 libmosquittopp-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library - development files"
 	depends="libmosquittopp-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquittopp.h

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (3 preceding siblings ...)
  2019-06-20 12:19 ` voidlinux-github
@ 2019-06-20 12:19 ` voidlinux-github
  2019-06-20 12:55 ` voidlinux-github
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-20 12:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There is an updated pull request by damadmai against master on the void-packages repository

https://github.com/damadmai/void-packages mosquitto163
https://github.com/void-linux/void-packages/pull/12552

mosquitto: update to 1.6.3.
Also added runit service as unprivileged user for it

A patch file from https://github.com/void-linux/void-packages/pull/12552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mosquitto163-12552.patch --]
[-- Type: application/text/x-diff, Size: 3371 bytes --]

From d40da6817c54244f6eeaac5db2c21df407b57ed3 Mon Sep 17 00:00:00 2001
From: "Daniel A. Maierhofer" <git@damadmai.at>
Date: Wed, 19 Jun 2019 15:20:45 +0200
Subject: [PATCH] mosquitto: update to 1.6.3.

---
 srcpkgs/mosquitto/files/mosquitto/run |  4 ++++
 srcpkgs/mosquitto/template            | 21 +++++++++++++--------
 2 files changed, 17 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/mosquitto/files/mosquitto/run

diff --git a/srcpkgs/mosquitto/files/mosquitto/run b/srcpkgs/mosquitto/files/mosquitto/run
new file mode 100644
index 00000000000..98647f343ba
--- /dev/null
+++ b/srcpkgs/mosquitto/files/mosquitto/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /var/lib/mosquitto
+exec chpst -u mosquitto:mosquitto mosquitto -c /etc/mosquitto/mosquitto.conf
diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index c3a867fd157..26f1bfd972c 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -1,6 +1,6 @@
 # Template file for 'mosquitto'
 pkgname=mosquitto
-version=1.6.0
+version=1.6.3
 revision=2
 build_style=gnu-makefile
 make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
@@ -9,12 +9,16 @@ make_check_target=test
 conf_files="/etc/mosquitto/mosquitto.conf"
 makedepends="c-ares-devel libressl-devel libwebsockets-devel"
 checkdepends="python bcunit-devel"
-short_desc="MQTT version 3.1/3.1.1 compatible message broker"
+short_desc="MQTT version 3.1/3.1.1/5.0 compatible message broker"
 maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
 license="EPL-1.0, BSD-3-Clause-Attribution"
-homepage="http://mosquitto.org"
+homepage="https://mosquitto.org"
 distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz"
-checksum=bd730d461f5f0adf6740abf2424c76c6d1263db0011fbb073c7a5c7eb8cc188b
+checksum=9ef5cc75f4fe31d7bf50654ddf4728ad9e1ae2e5609a4b42ecbbcb4a209ed17e
+
+system_accounts="_mosquitto"
+_mosquitto_homedir="/var/lib/mosquitto"
+make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
@@ -36,6 +40,7 @@ post_install() {
 	vmkdir usr/share/examples/${pkgname}
 	mv ${DESTDIR}/etc/${pkgname}/*.example \
 		${DESTDIR}/usr/share/examples/${pkgname}
+	vsv mosquitto
 }
 
 mosquitto-clients_package() {
@@ -49,14 +54,14 @@ mosquitto-clients_package() {
 }
 
 libmosquitto_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquitto.so.*"
 	}
 }
 
 libmosquitto-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library - development files"
 	depends="libmosquitto-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquitto.h
@@ -69,14 +74,14 @@ libmosquitto-devel_package() {
 }
 
 libmosquittopp_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquittopp.so.*"
 	}
 }
 
 libmosquittopp-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library - development files"
 	depends="libmosquittopp-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquittopp.h

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (2 preceding siblings ...)
  2019-06-19 17:42 ` voidlinux-github
@ 2019-06-20 12:19 ` voidlinux-github
  2019-06-20 12:19 ` voidlinux-github
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-20 12:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There is an updated pull request by damadmai against master on the void-packages repository

https://github.com/damadmai/void-packages mosquitto163
https://github.com/void-linux/void-packages/pull/12552

mosquitto: update to 1.6.3.
Also added runit service as unprivileged user for it

A patch file from https://github.com/void-linux/void-packages/pull/12552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mosquitto163-12552.patch --]
[-- Type: application/text/x-diff, Size: 3371 bytes --]

From d40da6817c54244f6eeaac5db2c21df407b57ed3 Mon Sep 17 00:00:00 2001
From: "Daniel A. Maierhofer" <git@damadmai.at>
Date: Wed, 19 Jun 2019 15:20:45 +0200
Subject: [PATCH] mosquitto: update to 1.6.3.

---
 srcpkgs/mosquitto/files/mosquitto/run |  4 ++++
 srcpkgs/mosquitto/template            | 21 +++++++++++++--------
 2 files changed, 17 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/mosquitto/files/mosquitto/run

diff --git a/srcpkgs/mosquitto/files/mosquitto/run b/srcpkgs/mosquitto/files/mosquitto/run
new file mode 100644
index 00000000000..98647f343ba
--- /dev/null
+++ b/srcpkgs/mosquitto/files/mosquitto/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /var/lib/mosquitto
+exec chpst -u mosquitto:mosquitto mosquitto -c /etc/mosquitto/mosquitto.conf
diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index c3a867fd157..26f1bfd972c 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -1,6 +1,6 @@
 # Template file for 'mosquitto'
 pkgname=mosquitto
-version=1.6.0
+version=1.6.3
 revision=2
 build_style=gnu-makefile
 make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
@@ -9,12 +9,16 @@ make_check_target=test
 conf_files="/etc/mosquitto/mosquitto.conf"
 makedepends="c-ares-devel libressl-devel libwebsockets-devel"
 checkdepends="python bcunit-devel"
-short_desc="MQTT version 3.1/3.1.1 compatible message broker"
+short_desc="MQTT version 3.1/3.1.1/5.0 compatible message broker"
 maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
 license="EPL-1.0, BSD-3-Clause-Attribution"
-homepage="http://mosquitto.org"
+homepage="https://mosquitto.org"
 distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz"
-checksum=bd730d461f5f0adf6740abf2424c76c6d1263db0011fbb073c7a5c7eb8cc188b
+checksum=9ef5cc75f4fe31d7bf50654ddf4728ad9e1ae2e5609a4b42ecbbcb4a209ed17e
+
+system_accounts="_mosquitto"
+_mosquitto_homedir="/var/lib/mosquitto"
+make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
@@ -36,6 +40,7 @@ post_install() {
 	vmkdir usr/share/examples/${pkgname}
 	mv ${DESTDIR}/etc/${pkgname}/*.example \
 		${DESTDIR}/usr/share/examples/${pkgname}
+	vsv mosquitto
 }
 
 mosquitto-clients_package() {
@@ -49,14 +54,14 @@ mosquitto-clients_package() {
 }
 
 libmosquitto_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquitto.so.*"
 	}
 }
 
 libmosquitto-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library - development files"
 	depends="libmosquitto-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquitto.h
@@ -69,14 +74,14 @@ libmosquitto-devel_package() {
 }
 
 libmosquittopp_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquittopp.so.*"
 	}
 }
 
 libmosquittopp-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library - development files"
 	depends="libmosquittopp-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquittopp.h

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (4 preceding siblings ...)
  2019-06-20 12:19 ` voidlinux-github
@ 2019-06-20 12:55 ` voidlinux-github
  2019-06-20 12:55 ` voidlinux-github
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-20 12:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There is an updated pull request by damadmai against master on the void-packages repository

https://github.com/damadmai/void-packages mosquitto163
https://github.com/void-linux/void-packages/pull/12552

mosquitto: update to 1.6.3.
Also added runit service as unprivileged user for it

A patch file from https://github.com/void-linux/void-packages/pull/12552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mosquitto163-12552.patch --]
[-- Type: application/text/x-diff, Size: 3420 bytes --]

From 5f18d5f7dced097457cfba76b24a8fec677cd742 Mon Sep 17 00:00:00 2001
From: "Daniel A. Maierhofer" <git@damadmai.at>
Date: Wed, 19 Jun 2019 15:20:45 +0200
Subject: [PATCH] mosquitto: update to 1.6.3.

---
 srcpkgs/mosquitto/files/mosquitto/run |  4 ++++
 srcpkgs/mosquitto/template            | 23 ++++++++++++++---------
 2 files changed, 18 insertions(+), 9 deletions(-)
 create mode 100644 srcpkgs/mosquitto/files/mosquitto/run

diff --git a/srcpkgs/mosquitto/files/mosquitto/run b/srcpkgs/mosquitto/files/mosquitto/run
new file mode 100644
index 00000000000..a3389140832
--- /dev/null
+++ b/srcpkgs/mosquitto/files/mosquitto/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /var/lib/mosquitto
+exec chpst -u _mosquitto:_mosquitto mosquitto -c /etc/mosquitto/mosquitto.conf
diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index c3a867fd157..e40370da8a2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -1,7 +1,7 @@
 # Template file for 'mosquitto'
 pkgname=mosquitto
-version=1.6.0
-revision=2
+version=1.6.3
+revision=3
 build_style=gnu-makefile
 make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
 make_install_args="prefix=/usr"
@@ -9,12 +9,16 @@ make_check_target=test
 conf_files="/etc/mosquitto/mosquitto.conf"
 makedepends="c-ares-devel libressl-devel libwebsockets-devel"
 checkdepends="python bcunit-devel"
-short_desc="MQTT version 3.1/3.1.1 compatible message broker"
+short_desc="MQTT version 3.1/3.1.1/5.0 compatible message broker"
 maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
 license="EPL-1.0, BSD-3-Clause-Attribution"
-homepage="http://mosquitto.org"
+homepage="https://mosquitto.org"
 distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz"
-checksum=bd730d461f5f0adf6740abf2424c76c6d1263db0011fbb073c7a5c7eb8cc188b
+checksum=9ef5cc75f4fe31d7bf50654ddf4728ad9e1ae2e5609a4b42ecbbcb4a209ed17e
+
+system_accounts="_mosquitto"
+_mosquitto_homedir="/var/lib/mosquitto"
+make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
@@ -36,6 +40,7 @@ post_install() {
 	vmkdir usr/share/examples/${pkgname}
 	mv ${DESTDIR}/etc/${pkgname}/*.example \
 		${DESTDIR}/usr/share/examples/${pkgname}
+	vsv mosquitto
 }
 
 mosquitto-clients_package() {
@@ -49,14 +54,14 @@ mosquitto-clients_package() {
 }
 
 libmosquitto_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquitto.so.*"
 	}
 }
 
 libmosquitto-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library - development files"
 	depends="libmosquitto-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquitto.h
@@ -69,14 +74,14 @@ libmosquitto-devel_package() {
 }
 
 libmosquittopp_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquittopp.so.*"
 	}
 }
 
 libmosquittopp-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library - development files"
 	depends="libmosquittopp-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquittopp.h

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (5 preceding siblings ...)
  2019-06-20 12:55 ` voidlinux-github
@ 2019-06-20 12:55 ` voidlinux-github
  2019-06-25  6:57 ` voidlinux-github
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-20 12:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There is an updated pull request by damadmai against master on the void-packages repository

https://github.com/damadmai/void-packages mosquitto163
https://github.com/void-linux/void-packages/pull/12552

mosquitto: update to 1.6.3.
Also added runit service as unprivileged user for it

A patch file from https://github.com/void-linux/void-packages/pull/12552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mosquitto163-12552.patch --]
[-- Type: application/text/x-diff, Size: 3420 bytes --]

From 5f18d5f7dced097457cfba76b24a8fec677cd742 Mon Sep 17 00:00:00 2001
From: "Daniel A. Maierhofer" <git@damadmai.at>
Date: Wed, 19 Jun 2019 15:20:45 +0200
Subject: [PATCH] mosquitto: update to 1.6.3.

---
 srcpkgs/mosquitto/files/mosquitto/run |  4 ++++
 srcpkgs/mosquitto/template            | 23 ++++++++++++++---------
 2 files changed, 18 insertions(+), 9 deletions(-)
 create mode 100644 srcpkgs/mosquitto/files/mosquitto/run

diff --git a/srcpkgs/mosquitto/files/mosquitto/run b/srcpkgs/mosquitto/files/mosquitto/run
new file mode 100644
index 00000000000..a3389140832
--- /dev/null
+++ b/srcpkgs/mosquitto/files/mosquitto/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /var/lib/mosquitto
+exec chpst -u _mosquitto:_mosquitto mosquitto -c /etc/mosquitto/mosquitto.conf
diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index c3a867fd157..e40370da8a2 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -1,7 +1,7 @@
 # Template file for 'mosquitto'
 pkgname=mosquitto
-version=1.6.0
-revision=2
+version=1.6.3
+revision=3
 build_style=gnu-makefile
 make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
 make_install_args="prefix=/usr"
@@ -9,12 +9,16 @@ make_check_target=test
 conf_files="/etc/mosquitto/mosquitto.conf"
 makedepends="c-ares-devel libressl-devel libwebsockets-devel"
 checkdepends="python bcunit-devel"
-short_desc="MQTT version 3.1/3.1.1 compatible message broker"
+short_desc="MQTT version 3.1/3.1.1/5.0 compatible message broker"
 maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
 license="EPL-1.0, BSD-3-Clause-Attribution"
-homepage="http://mosquitto.org"
+homepage="https://mosquitto.org"
 distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz"
-checksum=bd730d461f5f0adf6740abf2424c76c6d1263db0011fbb073c7a5c7eb8cc188b
+checksum=9ef5cc75f4fe31d7bf50654ddf4728ad9e1ae2e5609a4b42ecbbcb4a209ed17e
+
+system_accounts="_mosquitto"
+_mosquitto_homedir="/var/lib/mosquitto"
+make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
@@ -36,6 +40,7 @@ post_install() {
 	vmkdir usr/share/examples/${pkgname}
 	mv ${DESTDIR}/etc/${pkgname}/*.example \
 		${DESTDIR}/usr/share/examples/${pkgname}
+	vsv mosquitto
 }
 
 mosquitto-clients_package() {
@@ -49,14 +54,14 @@ mosquitto-clients_package() {
 }
 
 libmosquitto_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquitto.so.*"
 	}
 }
 
 libmosquitto-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library - development files"
 	depends="libmosquitto-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquitto.h
@@ -69,14 +74,14 @@ libmosquitto-devel_package() {
 }
 
 libmosquittopp_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquittopp.so.*"
 	}
 }
 
 libmosquittopp-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library - development files"
 	depends="libmosquittopp-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquittopp.h

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (6 preceding siblings ...)
  2019-06-20 12:55 ` voidlinux-github
@ 2019-06-25  6:57 ` voidlinux-github
  2019-06-25  6:57 ` voidlinux-github
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-25  6:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 525 bytes --]

New comment by damadmai on void-packages repository

https://github.com/void-linux/void-packages/pull/12552#issuecomment-505313420
Comment:
I got an E-Mail with a comment from @Hoshpak  which I don't see here in the conversation view:
> revision=2
> why? It's a new version so usually the revision would be reset to 1.
Everytime I made a mistake in a pull request I was also asked to increase the revision. I think this is for testing purposes for the reviewer. The new revision makes sure that the package gets updated. 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (7 preceding siblings ...)
  2019-06-25  6:57 ` voidlinux-github
@ 2019-06-25  6:57 ` voidlinux-github
  2019-06-25  7:03 ` voidlinux-github
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-25  6:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

New comment by damadmai on void-packages repository

https://github.com/void-linux/void-packages/pull/12552#issuecomment-505313420
Comment:
I got an E-Mail with a comment from @Hoshpak  which I don't see here in the conversation view:
> revision=2
> why? It's a new version so usually the revision would be reset to 1.

Everytime I made a mistake in a pull request I was also asked to increase the revision. I think this is for testing purposes for the reviewer. The new revision makes sure that the package gets updated. 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (8 preceding siblings ...)
  2019-06-25  6:57 ` voidlinux-github
@ 2019-06-25  7:03 ` voidlinux-github
  2019-06-25  8:03 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-25  7:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 868 bytes --]

New comment by Hoshpak on void-packages repository

https://github.com/void-linux/void-packages/pull/12552#issuecomment-505315122
Comment:
The conversation was already marked as resolved. I reverted that so it will be visible again. I asked because I'm not sure why @xtraeme requested a revision bump this time. Usually when you change a template without increasing the version, the revision needs to be bumped for the builders to pick it up and rebuild the package.

However when you update a package, the higher version number is enough for the builders to pick it up and the revision is reset to 1 since this is the first revision of the template at this version.

The only exception is if a package has been updated before and the update was reverted, the revision needs to be increased in this case to be higher than the previous on when you update it again.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (9 preceding siblings ...)
  2019-06-25  7:03 ` voidlinux-github
@ 2019-06-25  8:03 ` voidlinux-github
  2019-06-25  8:03 ` voidlinux-github
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-25  8:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There is an updated pull request by damadmai against master on the void-packages repository

https://github.com/damadmai/void-packages mosquitto163
https://github.com/void-linux/void-packages/pull/12552

mosquitto: update to 1.6.3.
Also added runit service as unprivileged user for it

A patch file from https://github.com/void-linux/void-packages/pull/12552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mosquitto163-12552.patch --]
[-- Type: application/text/x-diff, Size: 3417 bytes --]

From 5fbe4e5cb3b4b57604083fa6469cddb06709ca69 Mon Sep 17 00:00:00 2001
From: "Daniel A. Maierhofer" <git@damadmai.at>
Date: Wed, 19 Jun 2019 15:20:45 +0200
Subject: [PATCH] mosquitto: update to 1.6.3.

---
 srcpkgs/mosquitto/files/mosquitto/run |  4 ++++
 srcpkgs/mosquitto/template            | 23 ++++++++++++++---------
 2 files changed, 18 insertions(+), 9 deletions(-)
 create mode 100644 srcpkgs/mosquitto/files/mosquitto/run

diff --git a/srcpkgs/mosquitto/files/mosquitto/run b/srcpkgs/mosquitto/files/mosquitto/run
new file mode 100644
index 00000000000..98647f343ba
--- /dev/null
+++ b/srcpkgs/mosquitto/files/mosquitto/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /var/lib/mosquitto
+exec chpst -u mosquitto:mosquitto mosquitto -c /etc/mosquitto/mosquitto.conf
diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index c3a867fd157..69cab0ac2fb 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -1,7 +1,7 @@
 # Template file for 'mosquitto'
 pkgname=mosquitto
-version=1.6.0
-revision=2
+version=1.6.3
+revision=1
 build_style=gnu-makefile
 make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
 make_install_args="prefix=/usr"
@@ -9,12 +9,16 @@ make_check_target=test
 conf_files="/etc/mosquitto/mosquitto.conf"
 makedepends="c-ares-devel libressl-devel libwebsockets-devel"
 checkdepends="python bcunit-devel"
-short_desc="MQTT version 3.1/3.1.1 compatible message broker"
+short_desc="MQTT version 3.1/3.1.1/5.0 compatible message broker"
 maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
 license="EPL-1.0, BSD-3-Clause-Attribution"
-homepage="http://mosquitto.org"
+homepage="https://mosquitto.org"
 distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz"
-checksum=bd730d461f5f0adf6740abf2424c76c6d1263db0011fbb073c7a5c7eb8cc188b
+checksum=9ef5cc75f4fe31d7bf50654ddf4728ad9e1ae2e5609a4b42ecbbcb4a209ed17e
+
+system_accounts="_mosquitto"
+mosquitto_homedir="/var/lib/mosquitto"
+make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
@@ -36,6 +40,7 @@ post_install() {
 	vmkdir usr/share/examples/${pkgname}
 	mv ${DESTDIR}/etc/${pkgname}/*.example \
 		${DESTDIR}/usr/share/examples/${pkgname}
+	vsv mosquitto
 }
 
 mosquitto-clients_package() {
@@ -49,14 +54,14 @@ mosquitto-clients_package() {
 }
 
 libmosquitto_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquitto.so.*"
 	}
 }
 
 libmosquitto-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library - development files"
 	depends="libmosquitto-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquitto.h
@@ -69,14 +74,14 @@ libmosquitto-devel_package() {
 }
 
 libmosquittopp_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquittopp.so.*"
 	}
 }
 
 libmosquittopp-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library - development files"
 	depends="libmosquittopp-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquittopp.h

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (10 preceding siblings ...)
  2019-06-25  8:03 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-25  8:03 ` voidlinux-github
  2019-06-25 14:12 ` voidlinux-github
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-25  8:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There is an updated pull request by damadmai against master on the void-packages repository

https://github.com/damadmai/void-packages mosquitto163
https://github.com/void-linux/void-packages/pull/12552

mosquitto: update to 1.6.3.
Also added runit service as unprivileged user for it

A patch file from https://github.com/void-linux/void-packages/pull/12552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mosquitto163-12552.patch --]
[-- Type: application/text/x-diff, Size: 3417 bytes --]

From 5fbe4e5cb3b4b57604083fa6469cddb06709ca69 Mon Sep 17 00:00:00 2001
From: "Daniel A. Maierhofer" <git@damadmai.at>
Date: Wed, 19 Jun 2019 15:20:45 +0200
Subject: [PATCH] mosquitto: update to 1.6.3.

---
 srcpkgs/mosquitto/files/mosquitto/run |  4 ++++
 srcpkgs/mosquitto/template            | 23 ++++++++++++++---------
 2 files changed, 18 insertions(+), 9 deletions(-)
 create mode 100644 srcpkgs/mosquitto/files/mosquitto/run

diff --git a/srcpkgs/mosquitto/files/mosquitto/run b/srcpkgs/mosquitto/files/mosquitto/run
new file mode 100644
index 00000000000..98647f343ba
--- /dev/null
+++ b/srcpkgs/mosquitto/files/mosquitto/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /var/lib/mosquitto
+exec chpst -u mosquitto:mosquitto mosquitto -c /etc/mosquitto/mosquitto.conf
diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index c3a867fd157..69cab0ac2fb 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -1,7 +1,7 @@
 # Template file for 'mosquitto'
 pkgname=mosquitto
-version=1.6.0
-revision=2
+version=1.6.3
+revision=1
 build_style=gnu-makefile
 make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
 make_install_args="prefix=/usr"
@@ -9,12 +9,16 @@ make_check_target=test
 conf_files="/etc/mosquitto/mosquitto.conf"
 makedepends="c-ares-devel libressl-devel libwebsockets-devel"
 checkdepends="python bcunit-devel"
-short_desc="MQTT version 3.1/3.1.1 compatible message broker"
+short_desc="MQTT version 3.1/3.1.1/5.0 compatible message broker"
 maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
 license="EPL-1.0, BSD-3-Clause-Attribution"
-homepage="http://mosquitto.org"
+homepage="https://mosquitto.org"
 distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz"
-checksum=bd730d461f5f0adf6740abf2424c76c6d1263db0011fbb073c7a5c7eb8cc188b
+checksum=9ef5cc75f4fe31d7bf50654ddf4728ad9e1ae2e5609a4b42ecbbcb4a209ed17e
+
+system_accounts="_mosquitto"
+mosquitto_homedir="/var/lib/mosquitto"
+make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
@@ -36,6 +40,7 @@ post_install() {
 	vmkdir usr/share/examples/${pkgname}
 	mv ${DESTDIR}/etc/${pkgname}/*.example \
 		${DESTDIR}/usr/share/examples/${pkgname}
+	vsv mosquitto
 }
 
 mosquitto-clients_package() {
@@ -49,14 +54,14 @@ mosquitto-clients_package() {
 }
 
 libmosquitto_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquitto.so.*"
 	}
 }
 
 libmosquitto-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library - development files"
 	depends="libmosquitto-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquitto.h
@@ -69,14 +74,14 @@ libmosquitto-devel_package() {
 }
 
 libmosquittopp_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquittopp.so.*"
 	}
 }
 
 libmosquittopp-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library - development files"
 	depends="libmosquittopp-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquittopp.h

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (11 preceding siblings ...)
  2019-06-25  8:03 ` voidlinux-github
@ 2019-06-25 14:12 ` voidlinux-github
  2019-06-25 17:04 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-25 14:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 276 bytes --]

New comment by Hoshpak on void-packages repository

https://github.com/void-linux/void-packages/pull/12552#issuecomment-505463145
Comment:
Did you push force-push based on an outdated local branch by chance? Now the user account in the service script seems to be wrong again.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (12 preceding siblings ...)
  2019-06-25 14:12 ` voidlinux-github
@ 2019-06-25 17:04 ` voidlinux-github
  2019-06-25 17:04 ` voidlinux-github
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-25 17:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There is an updated pull request by damadmai against master on the void-packages repository

https://github.com/damadmai/void-packages mosquitto163
https://github.com/void-linux/void-packages/pull/12552

mosquitto: update to 1.6.3.
Also added runit service as unprivileged user for it

A patch file from https://github.com/void-linux/void-packages/pull/12552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mosquitto163-12552.patch --]
[-- Type: application/text/x-diff, Size: 3419 bytes --]

From 81255d8d8ac106ad5e62de79e47e26da5a8bff9d Mon Sep 17 00:00:00 2001
From: "Daniel A. Maierhofer" <git@damadmai.at>
Date: Wed, 19 Jun 2019 15:20:45 +0200
Subject: [PATCH] mosquitto: update to 1.6.3.

---
 srcpkgs/mosquitto/files/mosquitto/run |  4 ++++
 srcpkgs/mosquitto/template            | 23 ++++++++++++++---------
 2 files changed, 18 insertions(+), 9 deletions(-)
 create mode 100644 srcpkgs/mosquitto/files/mosquitto/run

diff --git a/srcpkgs/mosquitto/files/mosquitto/run b/srcpkgs/mosquitto/files/mosquitto/run
new file mode 100644
index 00000000000..a3389140832
--- /dev/null
+++ b/srcpkgs/mosquitto/files/mosquitto/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /var/lib/mosquitto
+exec chpst -u _mosquitto:_mosquitto mosquitto -c /etc/mosquitto/mosquitto.conf
diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index c3a867fd157..69cab0ac2fb 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -1,7 +1,7 @@
 # Template file for 'mosquitto'
 pkgname=mosquitto
-version=1.6.0
-revision=2
+version=1.6.3
+revision=1
 build_style=gnu-makefile
 make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
 make_install_args="prefix=/usr"
@@ -9,12 +9,16 @@ make_check_target=test
 conf_files="/etc/mosquitto/mosquitto.conf"
 makedepends="c-ares-devel libressl-devel libwebsockets-devel"
 checkdepends="python bcunit-devel"
-short_desc="MQTT version 3.1/3.1.1 compatible message broker"
+short_desc="MQTT version 3.1/3.1.1/5.0 compatible message broker"
 maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
 license="EPL-1.0, BSD-3-Clause-Attribution"
-homepage="http://mosquitto.org"
+homepage="https://mosquitto.org"
 distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz"
-checksum=bd730d461f5f0adf6740abf2424c76c6d1263db0011fbb073c7a5c7eb8cc188b
+checksum=9ef5cc75f4fe31d7bf50654ddf4728ad9e1ae2e5609a4b42ecbbcb4a209ed17e
+
+system_accounts="_mosquitto"
+mosquitto_homedir="/var/lib/mosquitto"
+make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
@@ -36,6 +40,7 @@ post_install() {
 	vmkdir usr/share/examples/${pkgname}
 	mv ${DESTDIR}/etc/${pkgname}/*.example \
 		${DESTDIR}/usr/share/examples/${pkgname}
+	vsv mosquitto
 }
 
 mosquitto-clients_package() {
@@ -49,14 +54,14 @@ mosquitto-clients_package() {
 }
 
 libmosquitto_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquitto.so.*"
 	}
 }
 
 libmosquitto-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library - development files"
 	depends="libmosquitto-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquitto.h
@@ -69,14 +74,14 @@ libmosquitto-devel_package() {
 }
 
 libmosquittopp_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquittopp.so.*"
 	}
 }
 
 libmosquittopp-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library - development files"
 	depends="libmosquittopp-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquittopp.h

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (13 preceding siblings ...)
  2019-06-25 17:04 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-25 17:04 ` voidlinux-github
  2019-06-25 17:05 ` voidlinux-github
  2019-06-25 18:25 ` [PR PATCH] [Merged]: " voidlinux-github
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-25 17:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There is an updated pull request by damadmai against master on the void-packages repository

https://github.com/damadmai/void-packages mosquitto163
https://github.com/void-linux/void-packages/pull/12552

mosquitto: update to 1.6.3.
Also added runit service as unprivileged user for it

A patch file from https://github.com/void-linux/void-packages/pull/12552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mosquitto163-12552.patch --]
[-- Type: application/text/x-diff, Size: 3419 bytes --]

From 81255d8d8ac106ad5e62de79e47e26da5a8bff9d Mon Sep 17 00:00:00 2001
From: "Daniel A. Maierhofer" <git@damadmai.at>
Date: Wed, 19 Jun 2019 15:20:45 +0200
Subject: [PATCH] mosquitto: update to 1.6.3.

---
 srcpkgs/mosquitto/files/mosquitto/run |  4 ++++
 srcpkgs/mosquitto/template            | 23 ++++++++++++++---------
 2 files changed, 18 insertions(+), 9 deletions(-)
 create mode 100644 srcpkgs/mosquitto/files/mosquitto/run

diff --git a/srcpkgs/mosquitto/files/mosquitto/run b/srcpkgs/mosquitto/files/mosquitto/run
new file mode 100644
index 00000000000..a3389140832
--- /dev/null
+++ b/srcpkgs/mosquitto/files/mosquitto/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /var/lib/mosquitto
+exec chpst -u _mosquitto:_mosquitto mosquitto -c /etc/mosquitto/mosquitto.conf
diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template
index c3a867fd157..69cab0ac2fb 100644
--- a/srcpkgs/mosquitto/template
+++ b/srcpkgs/mosquitto/template
@@ -1,7 +1,7 @@
 # Template file for 'mosquitto'
 pkgname=mosquitto
-version=1.6.0
-revision=2
+version=1.6.3
+revision=1
 build_style=gnu-makefile
 make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
 make_install_args="prefix=/usr"
@@ -9,12 +9,16 @@ make_check_target=test
 conf_files="/etc/mosquitto/mosquitto.conf"
 makedepends="c-ares-devel libressl-devel libwebsockets-devel"
 checkdepends="python bcunit-devel"
-short_desc="MQTT version 3.1/3.1.1 compatible message broker"
+short_desc="MQTT version 3.1/3.1.1/5.0 compatible message broker"
 maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
 license="EPL-1.0, BSD-3-Clause-Attribution"
-homepage="http://mosquitto.org"
+homepage="https://mosquitto.org"
 distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz"
-checksum=bd730d461f5f0adf6740abf2424c76c6d1263db0011fbb073c7a5c7eb8cc188b
+checksum=9ef5cc75f4fe31d7bf50654ddf4728ad9e1ae2e5609a4b42ecbbcb4a209ed17e
+
+system_accounts="_mosquitto"
+mosquitto_homedir="/var/lib/mosquitto"
+make_dirs="/var/lib/mosquitto 0755 ${system_accounts} ${system_accounts}"
 
 post_extract() {
 	case "$XBPS_TARGET_MACHINE" in
@@ -36,6 +40,7 @@ post_install() {
 	vmkdir usr/share/examples/${pkgname}
 	mv ${DESTDIR}/etc/${pkgname}/*.example \
 		${DESTDIR}/usr/share/examples/${pkgname}
+	vsv mosquitto
 }
 
 mosquitto-clients_package() {
@@ -49,14 +54,14 @@ mosquitto-clients_package() {
 }
 
 libmosquitto_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquitto.so.*"
 	}
 }
 
 libmosquitto-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 client library - development files"
 	depends="libmosquitto-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquitto.h
@@ -69,14 +74,14 @@ libmosquitto-devel_package() {
 }
 
 libmosquittopp_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library"
 	pkg_install() {
 		vmove "usr/lib/libmosquittopp.so.*"
 	}
 }
 
 libmosquittopp-devel_package() {
-	short_desc="MQTT version 3.1/3.1.1 C++ client library - development files"
+	short_desc="MQTT version 3.1/3.1.1/5.0 C++ client library - development files"
 	depends="libmosquittopp-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include/mosquittopp.h

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (14 preceding siblings ...)
  2019-06-25 17:04 ` voidlinux-github
@ 2019-06-25 17:05 ` voidlinux-github
  2019-06-25 18:25 ` [PR PATCH] [Merged]: " voidlinux-github
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-25 17:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

New comment by damadmai on void-packages repository

https://github.com/void-linux/void-packages/pull/12552#issuecomment-505535061
Comment:
Yes it did exactly that inadvertantly. Thanks for looking over it so precisely!

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Merged]: mosquitto: update to 1.6.3.
  2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
                   ` (15 preceding siblings ...)
  2019-06-25 17:05 ` voidlinux-github
@ 2019-06-25 18:25 ` voidlinux-github
  16 siblings, 0 replies; 18+ messages in thread
From: voidlinux-github @ 2019-06-25 18:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 212 bytes --]

There's a merged pull request on the void-packages repository

mosquitto: update to 1.6.3.
https://github.com/void-linux/void-packages/pull/12552
Description: Also added runit service as unprivileged user for it

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2019-06-25 18:25 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-19 13:22 [PR PATCH] mosquitto: update to 1.6.3 voidlinux-github
2019-06-19 17:04 ` voidlinux-github
2019-06-19 17:42 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-19 17:42 ` voidlinux-github
2019-06-20 12:19 ` voidlinux-github
2019-06-20 12:19 ` voidlinux-github
2019-06-20 12:55 ` voidlinux-github
2019-06-20 12:55 ` voidlinux-github
2019-06-25  6:57 ` voidlinux-github
2019-06-25  6:57 ` voidlinux-github
2019-06-25  7:03 ` voidlinux-github
2019-06-25  8:03 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-25  8:03 ` voidlinux-github
2019-06-25 14:12 ` voidlinux-github
2019-06-25 17:04 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-25 17:04 ` voidlinux-github
2019-06-25 17:05 ` voidlinux-github
2019-06-25 18:25 ` [PR PATCH] [Merged]: " voidlinux-github

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).