summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Ramage <ramage.lucas@protonmail.com>2018-05-29 10:35:07 -0400
committerVirgil Dupras <vdupras@gentoo.org>2018-10-11 11:53:54 -0400
commit7750cd794da77bfa401364df3b29189b4ffbb04d (patch)
tree88e90b8783dc8870f558ab9beb2d0b9e159e9828 /app-misc/mosquitto/files
parentnet-dns/dnssec-root: Blind stable on arm, critical bug 667774 (diff)
downloadgentoo-7750cd794da77bfa401364df3b29189b4ffbb04d.tar.gz
gentoo-7750cd794da77bfa401364df3b29189b4ffbb04d.tar.bz2
gentoo-7750cd794da77bfa401364df3b29189b4ffbb04d.zip
app-misc/mosquitto: bump version to 1.5.1
Signed-off-by: Lucas Ramage <ramage.lucas@protonmail.com> Bug: https://bugs.gentoo.org/656572 Closes: https://bugs.gentoo.org/658552 Closes: https://bugs.gentoo.org/658340 Package-Manager: Portage-2.3.24, Repoman-2.3.6 Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Diffstat (limited to 'app-misc/mosquitto/files')
-rw-r--r--app-misc/mosquitto/files/mosquitto-1.5-fix-socket_get_address.patch29
-rw-r--r--app-misc/mosquitto/files/mosquitto-fix-conditional-tests.patch (renamed from app-misc/mosquitto/files/mosquitto-1.4.15-conditional-tests.patch)0
2 files changed, 29 insertions, 0 deletions
diff --git a/app-misc/mosquitto/files/mosquitto-1.5-fix-socket_get_address.patch b/app-misc/mosquitto/files/mosquitto-1.5-fix-socket_get_address.patch
new file mode 100644
index 000000000000..7e9778e8b70f
--- /dev/null
+++ b/app-misc/mosquitto/files/mosquitto-1.5-fix-socket_get_address.patch
@@ -0,0 +1,29 @@
+# Fix missing rename of mosquitto__socket_get_address. Mosquitto bug 810.
+
+diff --git a/src/conf.c b/src/conf.c
+index f3d812d..daf2bf4 100644
+--- a/src/conf.c
++++ b/src/conf.c
+@@ -735,8 +735,8 @@ int config__read_file_core(struct mosquitto__config *config, bool reload, struct
+ struct mosquitto__listener *cur_listener = &config->default_listener;
+ #ifdef WITH_BRIDGE
+ char *address;
+- int i;
+ #endif
++ int i;
+ int lineno_ext;
+ struct mosquitto__security_options *cur_security_options = NULL;
+
+diff --git a/src/net.c b/src/net.c
+index 7397de5..670b7e2 100644
+--- a/src/net.c
++++ b/src/net.c
+@@ -114,7 +114,7 @@ int net__socket_accept(struct mosquitto_db *db, mosq_sock_t listensock)
+ fromhost(&wrap_req);
+ if(!hosts_access(&wrap_req)){
+ /* Access is denied */
+- if(!mosquitto__socket_get_address(new_sock, address, 1024)){
++ if(!net__socket_get_address(new_sock, address, 1024)){
+ log__printf(NULL, MOSQ_LOG_NOTICE, "Client connection from %s denied access by tcpd.", address);
+ }
+ COMPAT_CLOSE(new_sock);
diff --git a/app-misc/mosquitto/files/mosquitto-1.4.15-conditional-tests.patch b/app-misc/mosquitto/files/mosquitto-fix-conditional-tests.patch
index 1642597c5620..1642597c5620 100644
--- a/app-misc/mosquitto/files/mosquitto-1.4.15-conditional-tests.patch
+++ b/app-misc/mosquitto/files/mosquitto-fix-conditional-tests.patch