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

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