mosquitto: update to 1.5.

Closes: #14080 [via git-merge-pr]
This commit is contained in:
maxice8 2018-05-03 00:38:41 -03:00 committed by Toyam Cox
parent 1df6363d07
commit 41af05260f

View file

@ -1,32 +1,32 @@
# Template file for 'mosquitto' # Template file for 'mosquitto'
pkgname=mosquitto pkgname=mosquitto
version=1.4.15 version=1.5
revision=2 revision=1
build_style=gnu-makefile build_style=gnu-makefile
make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl
make_install_args="prefix=/usr" make_install_args="prefix=/usr"
conf_files="/etc/mosquitto/mosquitto.conf" makedepends="c-ares-devel libressl-devel libuuid-devel libwebsockets-devel"
makedepends="libressl-devel libuuid-devel c-ares-devel libwebsockets-devel"
short_desc="MQTT version 3.1/3.1.1 compatible message broker" short_desc="MQTT version 3.1/3.1.1 compatible message broker"
maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>" maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
license="EPL-1.0, EDL-1.0" license="EPL-1.0, BSD-3-Clause-Attribution"
homepage="http://mosquitto.org" homepage="http://mosquitto.org"
distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz" distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz"
checksum=7d3b3e245a3b4ec94b05678c8199c806359737949f4cfe0bf936184f6ca89a83 checksum=e47df34bb1cd5c2757ca26133b90b730485b357619cacecb2081541ef6a4cbcb
conf_files="/etc/mosquitto/mosquitto.conf"
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
*-musl) *-musl)
post_extract() { post_extract() {
sed -i 's/-lanl//' config.mk sed -i 's/-lanl//' config.mk
} }
esac esac
pre_install() { pre_install() {
sed -i 's,sbin,bin,g' */Makefile sed -i 's,sbin,bin,g' */Makefile
} }
post_install() { post_install() {
vlicense LICENSE.txt vlicense edl-v10 LICENSE
vlicense epl-v10
vlicense edl-v10
mv ${DESTDIR}/etc/${pkgname}/${pkgname}.conf.example \ mv ${DESTDIR}/etc/${pkgname}/${pkgname}.conf.example \
${DESTDIR}/etc/${pkgname}/${pkgname}.conf ${DESTDIR}/etc/${pkgname}/${pkgname}.conf
vmkdir usr/share/examples/${pkgname} vmkdir usr/share/examples/${pkgname}
@ -57,6 +57,7 @@ libmosquitto-devel_package() {
pkg_install() { pkg_install() {
vmove usr/include/mosquitto.h vmove usr/include/mosquitto.h
vmove usr/include/mosquitto_plugin.h vmove usr/include/mosquitto_plugin.h
vmove usr/include/mosquitto_broker.h
vmove usr/lib/libmosquitto.so vmove usr/lib/libmosquitto.so
vmove usr/share/man/man3/libmosquitto.3 vmove usr/share/man/man3/libmosquitto.3
} }