All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] mosquitto: bump to version 1.4.11
Date: Tue,  4 Apr 2017 21:37:29 +0200	[thread overview]
Message-ID: <1491334650-15708-1-git-send-email-fontaine.fabrice@gmail.com> (raw)

 - This version requires a patch (sent upstream) to remove -lanl from
all Linux builds as this library is only needed for adns support
 - sha512 must be computed locally as eclipse.org does not give it for
this version

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 .../0001-Remove-lanl-when-WITH_ADNS-is-unset.patch | 32 ++++++++++++++++++++++
 package/mosquitto/mosquitto.hash                   |  4 +--
 package/mosquitto/mosquitto.mk                     |  2 +-
 3 files changed, 35 insertions(+), 3 deletions(-)
 create mode 100644 package/mosquitto/0001-Remove-lanl-when-WITH_ADNS-is-unset.patch

diff --git a/package/mosquitto/0001-Remove-lanl-when-WITH_ADNS-is-unset.patch b/package/mosquitto/0001-Remove-lanl-when-WITH_ADNS-is-unset.patch
new file mode 100644
index 0000000..f9b1b27
--- /dev/null
+++ b/package/mosquitto/0001-Remove-lanl-when-WITH_ADNS-is-unset.patch
@@ -0,0 +1,32 @@
+From 0de640dd834b6c01c4904e11d51f3a1406c89469 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Mon, 3 Apr 2017 20:34:07 +0200
+Subject: [PATCH] Remove -lanl when WITH_ADNS is unset
+
+Do not add -lanl to BROKER_LIBS for all Linux builds.
+Indeed, -lanl is only needed for getaddrinfo_a which is only used in
+_mosquitto_try_connect_step1 when WITH_ADNS is set
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ config.mk | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/config.mk b/config.mk
+index 6e369c2..44639d2 100644
+--- a/config.mk
++++ b/config.mk
+@@ -159,10 +159,6 @@ ifeq ($(UNAME),QNX)
+ 	LIB_LIBS:=$(LIB_LIBS) -lsocket
+ endif
+ 
+-ifeq ($(UNAME),Linux)
+-	BROKER_LIBS:=$(BROKER_LIBS) -lanl
+-endif
+-
+ ifeq ($(WITH_WRAP),yes)
+ 	BROKER_LIBS:=$(BROKER_LIBS) -lwrap
+ 	BROKER_CFLAGS:=$(BROKER_CFLAGS) -DWITH_WRAP
+-- 
+2.5.0
+
diff --git a/package/mosquitto/mosquitto.hash b/package/mosquitto/mosquitto.hash
index b0b860f..5514c21 100644
--- a/package/mosquitto/mosquitto.hash
+++ b/package/mosquitto/mosquitto.hash
@@ -1,2 +1,2 @@
-# From https://www.eclipse.org/downloads/download.php?file=/mosquitto/source/mosquitto-1.4.10.tar.gz
-sha512  fe5d6d7196a137a496ba6881c77d852396baefb4f0b83ccd9a22175fc05b09e48a09ea249e30ec7db966e11de134ebcc4e2e9b1fd40b31dc59fb0fa2f60b75a1  mosquitto-1.4.10.tar.gz
+# Locally computed:
+sha512  c05ca8679b9a6f540868f4ccf701257fcabc114d5450ac0bbbe80b91bb7cd4fc52668773e945506760c7a5bd8a494e0a56100714112e5d2713d57bfab8951587  mosquitto-1.4.11.tar.gz
diff --git a/package/mosquitto/mosquitto.mk b/package/mosquitto/mosquitto.mk
index ddac153..c273c98 100644
--- a/package/mosquitto/mosquitto.mk
+++ b/package/mosquitto/mosquitto.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MOSQUITTO_VERSION = 1.4.10
+MOSQUITTO_VERSION = 1.4.11
 MOSQUITTO_SITE = http://mosquitto.org/files/source
 MOSQUITTO_LICENSE = EPL-1.0 or EDLv1.0
 MOSQUITTO_LICENSE_FILES = LICENSE.txt epl-v10 edl-v10
-- 
2.5.0

             reply	other threads:[~2017-04-04 19:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-04 19:37 Fabrice Fontaine [this message]
2017-04-04 19:37 ` [Buildroot] [PATCH 2/2] mosquitto: enable WITH_ADNS for glibc builds Fabrice Fontaine
2017-04-07 22:52   ` Peter Korsgaard
2017-04-04 20:01 ` [Buildroot] [PATCH 1/2] mosquitto: bump to version 1.4.11 Thomas Petazzoni
2017-04-04 20:29   ` Fabrice Fontaine
2017-04-04 20:31     ` Thomas Petazzoni
2017-04-07 22:52 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1491334650-15708-1-git-send-email-fontaine.fabrice@gmail.com \
    --to=fontaine.fabrice@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.