diff options
Diffstat (limited to 'user/mosquitto/APKBUILD')
-rw-r--r-- | user/mosquitto/APKBUILD | 40 |
1 files changed, 29 insertions, 11 deletions
diff --git a/user/mosquitto/APKBUILD b/user/mosquitto/APKBUILD index e7cd25057..4b7f6f06b 100644 --- a/user/mosquitto/APKBUILD +++ b/user/mosquitto/APKBUILD @@ -2,23 +2,24 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Max Rees <maxcrees@me.com> pkgname=mosquitto -pkgver=1.6.6 +pkgver=2.0.15 pkgrel=0 pkgdesc="An Open Source MQTT Broker" url="https://mosquitto.org/" arch="all" license="EPL-1.0 AND EDL-1.0 AND MIT AND BSD-3-Clause" depends="" -makedepends="c-ares-dev openssl-dev util-linux-dev" -checkdepends="python3" +checkdepends="python3 ca-certificates cunit-dev" +makedepends="c-ares-dev openssl-dev util-linux-dev cjson-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-openrc $pkgname-clients" install="$pkgname.pre-install" source="http://mosquitto.org/files/source/$pkgname-$pkgver.tar.gz mosquitto.initd - disable-flaky-test.patch openrc-conf.patch - python3.patch" + endian.patch + no-persist_read_test.patch + " # secfixes: # 1.6.6-r0: @@ -46,9 +47,26 @@ build() { } check() { - # Unit tests require cunit, so skip them. - make -j1 -C test/broker test - make -j1 -C test/lib test + # Explicitly disable tests, instead of enabling only good ones. + # 08-ssl-connect-cert-auth-without-py: #687 + # 06-bridge-reconnect-local-out.py: + # https://www.eclipse.org/lists/mosquitto-dev/msg02687.html + # (fix commit is not easily backported due to other churn) + # Other two: https://github.com/eclipse/mosquitto/issues/2550 + sed -i test/broker/test.py \ + -e '/08-ssl-connect-cert-auth-without.py/d' \ + -e '/06-bridge-b2br-late-connection-retain.py/d' \ + -e '/06-bridge-reconnect-local-out.py/d' \ + -e '/11-pub-props.py/d' \ + ; + sed -i test/lib/test.py \ + -e '/02-subscribe-qos1.py/d' \ + ; + sed -i test/client/Makefile \ + -e '/test.sh/d' \ + ; + # -j1 to avoid TLS errors on at least pmmx due to race. + make -j1 ptest } package() { @@ -73,8 +91,8 @@ clients() { mv "$pkgdir"/usr/bin/mosquitto_[ps]ub "$subpkgdir"/usr/bin/ } -sha512sums="ea6ba7b57773c8f4a59e708ae305a0e38ca85df94854410b29cccddbe10bbb91c2ea5e827fefb3f57cb4fce188ab9c3021804f1ae398b7fd5e9e965354b68bc1 mosquitto-1.6.6.tar.gz +sha512sums="8a0c58222ea0b9304e7f096f6d13965478072baf1d1c9bc931b32a33f5ea8196c2dd54bde8d83fec7ed9cd413cb5fb115ce0a6701ca20664df52fdd7ca63ddaf mosquitto-2.0.15.tar.gz 681fddc737b3ef3e6c052f0c854a730df290352640a18a63e23ef83d14c425558aff87805d1eb95e44de101b5df48872173af9f5414464ffa8cf727ea2c0491e mosquitto.initd -3886171e36f759a717aa6626d5b8dbd392963c737d5de28b4d52b81359008927b99ff7a0ca82f56a0e5deaed4585571759ba9216336a664fd346845837c2bc18 disable-flaky-test.patch b07f9bec2751ab32c43f53e74d8fca18dbf2d7ce7f8fab562dbcf75de19609ba6219d735ac504697404e0ed36613a14074e3a19e735297195877798f778d337a openrc-conf.patch -078197e6c3e59b664f5fdd1e4a4f669c9a76ab84fe4a5d8602ac80406b85c4e1cce29d9372e76d995155b74abb438d0dc0cdcdb98251fb904122073c4088d76a python3.patch" +89f738f77732500bc2aff3086b891c1e537510e756baf0ac92c1462c2ef7e47cdc62536d90174e6b6c80637199e463609723f9915999c0b95ce878ebbed739a1 endian.patch +b173f11e898bf2d882b7d833f99c863dc1fd14ee6f55484c29dafd067fa1af27ab85864df674c0a042547c5c132b80123d159f10e7bdab316a0292461b91fafd no-persist_read_test.patch" |