update to mosquitto-1.5.8

This commit is contained in:
jasper 2019-03-07 19:41:18 +00:00
parent 00417607cc
commit b0a1fa6844
3 changed files with 8 additions and 8 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.24 2019/02/12 19:18:41 jasper Exp $
# $OpenBSD: Makefile,v 1.25 2019/03/07 19:41:18 jasper Exp $
COMMENT = opensource MQTT broker
DISTNAME = mosquitto-1.5.6
DISTNAME = mosquitto-1.5.8
SHARED_LIBS += mosquitto 0.0 # 1.5
SHARED_LIBS += mosquittopp 0.0 # 1.5

View File

@ -1,2 +1,2 @@
SHA256 (mosquitto-1.5.6.tar.gz) = 1b3BPMZoNQAmN21X/BTeEKruAp9oQHB2d2N9FeB1GkA=
SIZE (mosquitto-1.5.6.tar.gz) = 439402
SHA256 (mosquitto-1.5.8.tar.gz) = eNfnDDeU3DodSEtPL4063evpwto/Whzr5Vf30TvrDaQ=
SIZE (mosquitto-1.5.8.tar.gz) = 442834

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-lib_mosquitto_c,v 1.2 2018/06/03 14:20:43 jasper Exp $
$OpenBSD: patch-lib_mosquitto_c,v 1.3 2019/03/07 19:41:18 jasper Exp $
Index: lib/mosquitto.c
--- lib/mosquitto.c.orig
@ -20,8 +20,8 @@ Index: lib/mosquitto.c
+#ifndef WITH_ARC4RANDOM
#ifdef WIN32
srand(GetTickCount64());
#else
@@ -52,6 +56,7 @@ int mosquitto_lib_init(void)
#elif _POSIX_TIMERS>0 && defined(_POSIX_MONOTONIC_CLOCK)
@@ -62,6 +66,7 @@ int mosquitto_lib_init(void)
gettimeofday(&tv, NULL);
srand(tv.tv_sec*1000 + tv.tv_usec/1000);
#endif
@ -29,7 +29,7 @@ Index: lib/mosquitto.c
return net__init();
}
@@ -145,7 +150,11 @@ int mosquitto_reinitialise(struct mosquitto *mosq, con
@@ -155,7 +160,11 @@ int mosquitto_reinitialise(struct mosquitto *mosq, con
mosq->id[4] = '/';
for(i=5; i<23; i++){