Skip to content

Commit

Permalink
update mosquitto to v1.6.15
Browse files Browse the repository at this point in the history
- update mosquitto
- remove busybox stuff (and dsm5->dsm6 user migration)
  • Loading branch information
hgy59 committed Jun 13, 2021
1 parent a8be02f commit 2a8b24a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 21 deletions.
4 changes: 3 additions & 1 deletion cross/mosquitto/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
PKG_NAME = mosquitto
PKG_VERS = 1.6.12
PKG_VERS = 1.6.15
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://mosquitto.org/files/source
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/c-ares cross/openssl cross/util-linux cross/libwebsockets

UNSUPPORETED_ARCHS = $(OLD_PPC_ARCHS)

HOMEPAGE = https://www.mosquitto.org/
COMMENT = Mosquitto is an open source message broker that implements the MQTT protocol versions 5.0, 3.1.1 and 3.1.
LICENSE = EPL 1.0 and EDL 1.0
Expand Down
6 changes: 3 additions & 3 deletions cross/mosquitto/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mosquitto-1.6.12.tar.gz SHA1 b8c047985a33f3c2e9855079030f91d6eed00c47
mosquitto-1.6.12.tar.gz SHA256 548d73d19fb787dd0530334e398fd256ef3a581181678488a741a995c4f007fb
mosquitto-1.6.12.tar.gz MD5 beb8d76d6e45f1e66d711006082a631f
mosquitto-1.6.15.tar.gz SHA1 86e1819be155b5a9253f2d65f86e4ffb4479b6e8
mosquitto-1.6.15.tar.gz SHA256 5ff2271512f745bf1a451072cd3768a5daed71e90c5179fae12b049d6c02aa0f
mosquitto-1.6.15.tar.gz MD5 792bdd8fce3a8a1db102988ef6a9a02f
12 changes: 5 additions & 7 deletions spk/mosquitto/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
SPK_NAME = mosquitto
SPK_VERS = 1.6.12
SPK_REV = 11
SPK_VERS = 1.6.15
SPK_REV = 12
SPK_ICON = src/mosquitto.png
DEPENDS = cross/busybox cross/$(SPK_NAME)

DEPENDS = cross/$(SPK_NAME)

# libwebsockets is not supported for ppc except qoriq
UNSUPPORTED_ARCHS = $(OLD_PCC_ARCHS)
Expand All @@ -12,7 +13,7 @@ DESCRIPTION = Mosquitto is an open source message broker that implements the MQT
RELOAD_UI = yes
DISPLAY_NAME = Mosquitto
STARTABLE = yes
CHANGELOG = "Update openssl to 1.1."
CHANGELOG = "Update mosquitto to v1.6.15."
HOMEPAGE = https://www.mosquitto.org/
LICENSE = EPL/EDL licensed

Expand All @@ -26,9 +27,6 @@ NO_SERVICE_SHORTCUT = yes

POST_STRIP_TARGET = mosquitto_extra_install

BUSYBOX_CONFIG = usrmng
ENV += BUSYBOX_CONFIG="$(BUSYBOX_CONFIG)"

include ../../mk/spksrc.spk.mk

.PHONY: mosquitto_extra_install
Expand Down
13 changes: 3 additions & 10 deletions spk/mosquitto/src/service-setup.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
CFG_FILE="${SYNOPKG_PKGDEST}/var/mosquitto.conf"
# mosquitto service definition

CFG_FILE="${SYNOPKG_PKGVAR}/mosquitto.conf"
PATH="${SYNOPKG_PKGDEST}/bin:${PATH}"
SERVICE_COMMAND="${SYNOPKG_PKGDEST}/sbin/mosquitto -d -c ${CFG_FILE}"

service_postinst ()
{
# Discard legacy obsolete busybox user account
BIN=${SYNOPKG_PKGDEST}/bin
$BIN/busybox --install $BIN
$BIN/delgroup "${USER}" "users"
$BIN/deluser "${USER}"
}

0 comments on commit 2a8b24a

Please sign in to comment.