Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mosquitto: update to 1.6.3.
Date: Thu, 20 Jun 2019 14:19:12 +0200	[thread overview]
Message-ID: <20190620121912.IiKej-kIcyIQWN38mO-3m5Q2uPaQa8w4ABWNk29xHW0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12552@inbox.vuxu.org>

[-- 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

  parent reply	other threads:[~2019-06-20 12:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-19 13:22 [PR PATCH] " 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190620121912.IiKej-kIcyIQWN38mO-3m5Q2uPaQa8w4ABWNk29xHW0@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).