summaryrefslogtreecommitdiffstats
path: root/misc/mosquitto
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mosquitto')
-rw-r--r--misc/mosquitto/README14
-rw-r--r--misc/mosquitto/mosquitto.SlackBuild20
-rw-r--r--misc/mosquitto/mosquitto.info9
3 files changed, 26 insertions, 17 deletions
diff --git a/misc/mosquitto/README b/misc/mosquitto/README
index 379c1ea333..5f700971eb 100644
--- a/misc/mosquitto/README
+++ b/misc/mosquitto/README
@@ -1,9 +1,9 @@
-Eclipse Mosquitto (TM) is an open source (EPL/EDL licensed) message broker that
-implements the MQTT protocol versions 3.1 and 3.1.1. MQTT provides a
-lightweight method of carrying out messaging using a publish/subscribe model.
-This makes it suitable for "Internet of Things" messaging such as with
-low power sensors or mobile devices such as phones, embedded computers or
-microcontrollers like the Arduino.
+Eclipse Mosquitto (TM) is an open source (EPL/EDL licensed) message
+broker that implements the MQTT protocol versions 3.1 and 3.1.1. MQTT
+provides a lightweight method of carrying out messaging using a
+publish/subscribe model. This makes it suitable for "Internet of
+Things" messaging such as with low power sensors or mobile devices
+such as phones, embedded computers or microcontrollers like the
+Arduino.
Mosquitto is an iot.eclipse.org project.
-
diff --git a/misc/mosquitto/mosquitto.SlackBuild b/misc/mosquitto/mosquitto.SlackBuild
index ffab10959f..93d7df9a7e 100644
--- a/misc/mosquitto/mosquitto.SlackBuild
+++ b/misc/mosquitto/mosquitto.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mosquitto
-# Copyright 2011-2020 Christoph Willing, Brisbane Australia
+# Copyright 2011-2023 Christoph Willing, Brisbane Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mosquitto
-VERSION=${VERSION:-1.6.9}
+VERSION=${VERSION:-2.0.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,7 +106,8 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- LICENSE.txt CONTRIBUTING.md compiling.txt mosquitto.conf *.example examples readme.* \
+ LICENSE.txt README-compiling.md README-letsencrypt.md README.md \
+ CONTRIBUTING.md mosquitto.conf *.example examples *.html \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -108,4 +116,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/misc/mosquitto/mosquitto.info b/misc/mosquitto/mosquitto.info
index 6e12fe8cff..e64261628f 100644
--- a/misc/mosquitto/mosquitto.info
+++ b/misc/mosquitto/mosquitto.info
@@ -1,10 +1,11 @@
PRGNAM="mosquitto"
-VERSION="1.6.9"
+VERSION="2.0.18"
HOMEPAGE="https://mosquitto.org/"
-DOWNLOAD="https://mosquitto.org/files/source/mosquitto-1.6.9.tar.gz"
-MD5SUM="52f5078ec18aaf623b14dfb121fd534b"
+DOWNLOAD="https://mosquitto.org/files/source/mosquitto-2.0.18.tar.gz"
+MD5SUM="7fe95d0bef1aacd291d21d7752fbd21b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="c-ares"
+REQUIRES=""
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
+