Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2
@ 2015-08-03  8:24 Jonathan Ben-Avraham
  2015-08-03  9:18 ` Thomas Petazzoni
  0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Ben-Avraham @ 2015-08-03  8:24 UTC (permalink / raw)
  To: buildroot

From: Jonathan Ben Avraham <yba@tkos.co.il>


Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
---
 ....m4-make-kernel-specific-flags-cacheable.patch} |    0
 ...isable-test_fork-if-fork-is-not-available.patch |   52 --------------------
 ...-Fix-pkg-config-files-for-static-linking.patch} |    0
 package/zeromq/0004-allow-without-libsodium.patch  |   38 --------------
 package/zeromq/zeromq.hash                         |    4 +-
 package/zeromq/zeromq.mk                           |    2 +-
 6 files changed, 4 insertions(+), 92 deletions(-)
 rename package/zeromq/{0002-acinclude.m4-make-kernel-specific-flags-cacheable.patch => 0001-acinclude.m4-make-kernel-specific-flags-cacheable.patch} (100%)
 delete mode 100644 package/zeromq/0001-tests-disable-test_fork-if-fork-is-not-available.patch
 rename package/zeromq/{0003-libzmq-Fix-pkg-config-files-for-static-linking.patch => 0002-libzmq-Fix-pkg-config-files-for-static-linking.patch} (100%)
 delete mode 100644 package/zeromq/0004-allow-without-libsodium.patch

diff --git a/package/zeromq/0002-acinclude.m4-make-kernel-specific-flags-cacheable.patch b/package/zeromq/0001-acinclude.m4-make-kernel-specific-flags-cacheable.patch
similarity index 100%
rename from package/zeromq/0002-acinclude.m4-make-kernel-specific-flags-cacheable.patch
rename to package/zeromq/0001-acinclude.m4-make-kernel-specific-flags-cacheable.patch
diff --git a/package/zeromq/0001-tests-disable-test_fork-if-fork-is-not-available.patch b/package/zeromq/0001-tests-disable-test_fork-if-fork-is-not-available.patch
deleted file mode 100644
index 1eefdc3..0000000
--- a/package/zeromq/0001-tests-disable-test_fork-if-fork-is-not-available.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From b50912f2eecec1ea7accc155f8132116f8702075 Mon Sep 17 00:00:00 2001
-From: Samuel Martin <s.martin49@gmail.com>
-Date: Sat, 3 May 2014 12:22:38 +0200
-Subject: [PATCH] tests: disable test_fork if fork() is not available
-
-Signed-off-by: Samuel Martin <s.martin49@gmail.com>
----
- configure.ac      | 1 +
- tests/Makefile.am | 8 ++++++--
- tests/Makefile.in | 8 ++++----
- 3 files changed, 11 insertions(+), 6 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 0c41604..8f8521c 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -431,6 +431,7 @@ AM_CONDITIONAL(BUILD_PGM, test "x$libzmq_pgm_ext" = "xyes")
- AM_CONDITIONAL(ON_MINGW, test "x$libzmq_on_mingw32" = "xyes")
- AM_CONDITIONAL(ON_ANDROID, test "x$libzmq_on_android" = "xyes")
- AM_CONDITIONAL(ON_LINUX, test "x$libzmq_on_linux" = "xyes")
-+AM_CONDITIONAL(HAVE_FORK, test "x$ac_cv_func_fork" = "xyes")
- 
- # Checks for library functions.
- AC_TYPE_SIGNAL
-diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 0cfe4e8..2a1e257 100644
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -46,8 +46,10 @@ if !ON_MINGW
- noinst_PROGRAMS += test_shutdown_stress \
-                    test_pair_ipc \
-                    test_reqrep_ipc \
--                   test_timeo \
--                   test_fork
-+                   test_timeo
-+if HAVE_FORK
-+noinst_PROGRAMS += test_fork
-+endif
- endif
- 
- test_system_SOURCES = test_system.cpp
-@@ -93,8 +95,10 @@ test_shutdown_stress_SOURCES = test_shutdown_stress.cpp
- test_pair_ipc_SOURCES = test_pair_ipc.cpp testutil.hpp
- test_reqrep_ipc_SOURCES = test_reqrep_ipc.cpp testutil.hpp
- test_timeo_SOURCES = test_timeo.cpp
-+if HAVE_FORK
- test_fork_SOURCES = test_fork.cpp
- endif
-+endif
- 
- #  Run the test cases
- TESTS = $(noinst_PROGRAMS)
diff --git a/package/zeromq/0003-libzmq-Fix-pkg-config-files-for-static-linking.patch b/package/zeromq/0002-libzmq-Fix-pkg-config-files-for-static-linking.patch
similarity index 100%
rename from package/zeromq/0003-libzmq-Fix-pkg-config-files-for-static-linking.patch
rename to package/zeromq/0002-libzmq-Fix-pkg-config-files-for-static-linking.patch
diff --git a/package/zeromq/0004-allow-without-libsodium.patch b/package/zeromq/0004-allow-without-libsodium.patch
deleted file mode 100644
index 19850ba..0000000
--- a/package/zeromq/0004-allow-without-libsodium.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From c561766ab4ee4b3420b72e33fac4a75fb9194430 Mon Sep 17 00:00:00 2001
-From: Min RK <benjaminrk@gmail.com>
-Date: Mon, 16 Feb 2015 14:59:54 -0800
-Subject: [PATCH] allow `--without-libsodium`
-
-and `--with-libsodium=no` to disable linking against libsodium.
-
-Without this patch, it is not possible to disable linking with libsodium present on the default path.
-
-Backport from upstream commit
-faaf4550263395b84e6a80d3f9d7ba8816cdd714.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- configure.ac | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 194fcb2..3d5f6d6 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -257,7 +257,12 @@ esac
- # Checks for libraries
- AC_CHECK_LIB([pthread], [pthread_create])
- AC_CHECK_LIB([rt], [clock_gettime])
--AC_CHECK_LIB([sodium], [sodium_init],,AC_MSG_WARN(libsodium is needed for CURVE security))
-+
-+if test "x$with_libsodium" != "xno"; then
-+    AC_CHECK_LIB([sodium], [sodium_init],,AC_MSG_WARN(libsodium is needed for CURVE security))
-+else
-+    AC_MSG_WARN(libsodium is needed for CURVE security)
-+fi
- 
- #
- # Check if the compiler supports -fvisibility=hidden flag. MinGW32 uses __declspec
--- 
-2.4.5
-
diff --git a/package/zeromq/zeromq.hash b/package/zeromq/zeromq.hash
index 729e7ea..0d33431 100644
--- a/package/zeromq/zeromq.hash
+++ b/package/zeromq/zeromq.hash
@@ -1,2 +1,4 @@
 # Locally calculated from download (no sig, hash)
-sha256	3bc93c5f67370341428364ce007d448f4bb58a0eaabd0a60697d8086bc43342b	zeromq-4.0.5.tar.gz
+sha256	f9162ead6d68521e5154d871bac304f88857308bb02366b81bb588497a345927	zeromq-4.1.2.tar.gz
+# From http://download.zeromq.org/SHA1SUMS:
+#sha1	86c17096f7f4bf46cbcd2ad242cf8fec8a7cfb7b	zeromq-4.1.2.tar.gz
diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk
index 029fab2..b27d753 100644
--- a/package/zeromq/zeromq.mk
+++ b/package/zeromq/zeromq.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-ZEROMQ_VERSION = 4.0.5
+ZEROMQ_VERSION = 4.1.2
 ZEROMQ_SITE = http://download.zeromq.org
 ZEROMQ_INSTALL_STAGING = YES
 ZEROMQ_DEPENDENCIES = util-linux
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2
  2015-08-03  8:24 Jonathan Ben-Avraham
@ 2015-08-03  9:18 ` Thomas Petazzoni
  2015-08-03  9:31   ` Jonathan Ben Avraham
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Petazzoni @ 2015-08-03  9:18 UTC (permalink / raw)
  To: buildroot

Dear Jonathan Ben-Avraham,

On Mon,  3 Aug 2015 11:24:39 +0300, Jonathan Ben-Avraham wrote:
> From: Jonathan Ben Avraham <yba@tkos.co.il>
> 
> 
> Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
> ---
>  ....m4-make-kernel-specific-flags-cacheable.patch} |    0
>  ...isable-test_fork-if-fork-is-not-available.patch |   52 --------------------
>  ...-Fix-pkg-config-files-for-static-linking.patch} |    0
>  package/zeromq/0004-allow-without-libsodium.patch  |   38 --------------

Could you explain in the commit log why some of the patches are being
removed? Like if they are now upstream, point to the upstream commit?

> diff --git a/package/zeromq/zeromq.hash b/package/zeromq/zeromq.hash
> index 729e7ea..0d33431 100644
> --- a/package/zeromq/zeromq.hash
> +++ b/package/zeromq/zeromq.hash
> @@ -1,2 +1,4 @@
>  # Locally calculated from download (no sig, hash)
> -sha256	3bc93c5f67370341428364ce007d448f4bb58a0eaabd0a60697d8086bc43342b	zeromq-4.0.5.tar.gz
> +sha256	f9162ead6d68521e5154d871bac304f88857308bb02366b81bb588497a345927	zeromq-4.1.2.tar.gz
> +# From http://download.zeromq.org/SHA1SUMS:
> +#sha1	86c17096f7f4bf46cbcd2ad242cf8fec8a7cfb7b	zeromq-4.1.2.tar.gz

Why are you adding the SHA1, but commented out?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2
  2015-08-03  9:18 ` Thomas Petazzoni
@ 2015-08-03  9:31   ` Jonathan Ben Avraham
  2015-08-03 10:01     ` Thomas Petazzoni
  0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Ben Avraham @ 2015-08-03  9:31 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Mon, 3 Aug 2015, Thomas Petazzoni wrote:

> Date: Mon, 3 Aug 2015 11:18:57 +0200
> From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> To: Jonathan Ben-Avraham <yba@tkos.co.il>
> Cc: buildroot at busybox.net
> Subject: Re: [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2
> 
> Dear Jonathan Ben-Avraham,
>
> On Mon,  3 Aug 2015 11:24:39 +0300, Jonathan Ben-Avraham wrote:
>> From: Jonathan Ben Avraham <yba@tkos.co.il>
>>
>>
>> Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
>> ---
>>  ....m4-make-kernel-specific-flags-cacheable.patch} |    0
>>  ...isable-test_fork-if-fork-is-not-available.patch |   52 --------------------
>>  ...-Fix-pkg-config-files-for-static-linking.patch} |    0
>>  package/zeromq/0004-allow-without-libsodium.patch  |   38 --------------
>
> Could you explain in the commit log why some of the patches are being
> removed? Like if they are now upstream, point to the upstream commit?
>
>> diff --git a/package/zeromq/zeromq.hash b/package/zeromq/zeromq.hash
>> index 729e7ea..0d33431 100644
>> --- a/package/zeromq/zeromq.hash
>> +++ b/package/zeromq/zeromq.hash
>> @@ -1,2 +1,4 @@
>>  # Locally calculated from download (no sig, hash)
>> -sha256	3bc93c5f67370341428364ce007d448f4bb58a0eaabd0a60697d8086bc43342b	zeromq-4.0.5.tar.gz
>> +sha256	f9162ead6d68521e5154d871bac304f88857308bb02366b81bb588497a345927	zeromq-4.1.2.tar.gz
>> +# From http://download.zeromq.org/SHA1SUMS:
>> +#sha1	86c17096f7f4bf46cbcd2ad242cf8fec8a7cfb7b	zeromq-4.1.2.tar.gz
>
> Why are you adding the SHA1, but commented out?
>
> Thanks a lot!
>
> Thomas

The sha1 is the hash from From http://download.zeromq.org/SHA1SUMS
The sha256 has is the hash that I generated after verifying the sha1 hash.

I assumed that the list prefers a sha256 hash, so I included the original 
hash for reference.

  - yba


-- 
  9590 8E58 D30D 1660 C349  673D B205 4FC4 B8F5 B7F9  ~. .~  Tk Open Systems
=}-------- Jonathan Ben-Avraham ("yba") ----------ooO--U--Ooo------------{=
mailto:yba at tkos.co.il tel:+972.52.486.3386 http://tkos.co.il skype:benavrhm

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2
  2015-08-03  9:31   ` Jonathan Ben Avraham
@ 2015-08-03 10:01     ` Thomas Petazzoni
  2015-08-03 10:05       ` Jonathan Ben Avraham
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Petazzoni @ 2015-08-03 10:01 UTC (permalink / raw)
  To: buildroot

Dear Jonathan Ben Avraham,

On Mon, 3 Aug 2015 12:31:32 +0300 (IDT), Jonathan Ben Avraham wrote:

> The sha1 is the hash from From http://download.zeromq.org/SHA1SUMS
> The sha256 has is the hash that I generated after verifying the sha1 hash.
> 
> I assumed that the list prefers a sha256 hash, so I included the original 
> hash for reference.

In this case, just keep both hashes enabled. You can put several hashes
in a .hash file, all of them are verified.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2
  2015-08-03 10:01     ` Thomas Petazzoni
@ 2015-08-03 10:05       ` Jonathan Ben Avraham
  2015-08-03 10:25         ` Thomas Petazzoni
  0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Ben Avraham @ 2015-08-03 10:05 UTC (permalink / raw)
  To: buildroot

On Mon, 3 Aug 2015, Thomas Petazzoni wrote:

> Date: Mon, 3 Aug 2015 12:01:34 +0200
> From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> To: Jonathan Ben Avraham <yba@tkos.co.il>
> Cc: buildroot at busybox.net
> Subject: Re: [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2
> 
> Dear Jonathan Ben Avraham,
>
> On Mon, 3 Aug 2015 12:31:32 +0300 (IDT), Jonathan Ben Avraham wrote:
>
>> The sha1 is the hash from From http://download.zeromq.org/SHA1SUMS
>> The sha256 has is the hash that I generated after verifying the sha1 hash.
>>
>> I assumed that the list prefers a sha256 hash, so I included the original
>> hash for reference.
>
> In this case, just keep both hashes enabled. You can put several hashes
> in a .hash file, all of them are verified.
>
> Thanks!
>
> Thomas
>

So should I submit a PATCH v2?

  - yba


-- 
  9590 8E58 D30D 1660 C349  673D B205 4FC4 B8F5 B7F9  ~. .~  Tk Open Systems
=}-------- Jonathan Ben-Avraham ("yba") ----------ooO--U--Ooo------------{=
mailto:yba at tkos.co.il tel:+972.52.486.3386 http://tkos.co.il skype:benavrhm

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2
  2015-08-03 10:05       ` Jonathan Ben Avraham
@ 2015-08-03 10:25         ` Thomas Petazzoni
  0 siblings, 0 replies; 9+ messages in thread
From: Thomas Petazzoni @ 2015-08-03 10:25 UTC (permalink / raw)
  To: buildroot

Dear Jonathan Ben Avraham,

On Mon, 3 Aug 2015 13:05:54 +0300 (IDT), Jonathan Ben Avraham wrote:

> So should I submit a PATCH v2?

If it was only for the hash issue, it wouldn't be needed, I would fix
that up when committing.

However, there was another comment in my review that needs to be
addressed:

"""
Could you explain in the commit log why some of the patches are being
removed? Like if they are now upstream, point to the upstream commit?
"""

So indeed for this one, a v2 is needed.

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2
@ 2015-08-03 12:55 Jonathan Ben-Avraham
  2015-08-03 12:57 ` Jonathan Ben Avraham
  2015-08-03 15:29 ` Baruch Siach
  0 siblings, 2 replies; 9+ messages in thread
From: Jonathan Ben-Avraham @ 2015-08-03 12:55 UTC (permalink / raw)
  To: buildroot

From: Jonathan Ben Avraham <yba@tkos.co.il>

In the upstream git://github.com/zeromq/libzmq.git,
commit 6fdafc458a776e063511bb83dc7791aabea00b05 obviated the need for
0001-tests-disable-test_fork-if-fork-is-not-available.patch .
commit c8ee16940fff19ae3c12b4596c4bd131b2c71996 obviated the need for
0004-allow-without-libsodium.patch .

Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
---
 ....m4-make-kernel-specific-flags-cacheable.patch} |    0
 ...isable-test_fork-if-fork-is-not-available.patch |   52 --------------------
 ...-Fix-pkg-config-files-for-static-linking.patch} |    0
 package/zeromq/0004-allow-without-libsodium.patch  |   38 --------------
 package/zeromq/zeromq.hash                         |    4 +-
 package/zeromq/zeromq.mk                           |    2 +-
 6 files changed, 4 insertions(+), 92 deletions(-)
 rename package/zeromq/{0002-acinclude.m4-make-kernel-specific-flags-cacheable.patch => 0001-acinclude.m4-make-kernel-specific-flags-cacheable.patch} (100%)
 delete mode 100644 package/zeromq/0001-tests-disable-test_fork-if-fork-is-not-available.patch
 rename package/zeromq/{0003-libzmq-Fix-pkg-config-files-for-static-linking.patch => 0002-libzmq-Fix-pkg-config-files-for-static-linking.patch} (100%)
 delete mode 100644 package/zeromq/0004-allow-without-libsodium.patch

diff --git a/package/zeromq/0002-acinclude.m4-make-kernel-specific-flags-cacheable.patch b/package/zeromq/0001-acinclude.m4-make-kernel-specific-flags-cacheable.patch
similarity index 100%
rename from package/zeromq/0002-acinclude.m4-make-kernel-specific-flags-cacheable.patch
rename to package/zeromq/0001-acinclude.m4-make-kernel-specific-flags-cacheable.patch
diff --git a/package/zeromq/0001-tests-disable-test_fork-if-fork-is-not-available.patch b/package/zeromq/0001-tests-disable-test_fork-if-fork-is-not-available.patch
deleted file mode 100644
index 1eefdc3..0000000
--- a/package/zeromq/0001-tests-disable-test_fork-if-fork-is-not-available.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From b50912f2eecec1ea7accc155f8132116f8702075 Mon Sep 17 00:00:00 2001
-From: Samuel Martin <s.martin49@gmail.com>
-Date: Sat, 3 May 2014 12:22:38 +0200
-Subject: [PATCH] tests: disable test_fork if fork() is not available
-
-Signed-off-by: Samuel Martin <s.martin49@gmail.com>
----
- configure.ac      | 1 +
- tests/Makefile.am | 8 ++++++--
- tests/Makefile.in | 8 ++++----
- 3 files changed, 11 insertions(+), 6 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 0c41604..8f8521c 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -431,6 +431,7 @@ AM_CONDITIONAL(BUILD_PGM, test "x$libzmq_pgm_ext" = "xyes")
- AM_CONDITIONAL(ON_MINGW, test "x$libzmq_on_mingw32" = "xyes")
- AM_CONDITIONAL(ON_ANDROID, test "x$libzmq_on_android" = "xyes")
- AM_CONDITIONAL(ON_LINUX, test "x$libzmq_on_linux" = "xyes")
-+AM_CONDITIONAL(HAVE_FORK, test "x$ac_cv_func_fork" = "xyes")
- 
- # Checks for library functions.
- AC_TYPE_SIGNAL
-diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 0cfe4e8..2a1e257 100644
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -46,8 +46,10 @@ if !ON_MINGW
- noinst_PROGRAMS += test_shutdown_stress \
-                    test_pair_ipc \
-                    test_reqrep_ipc \
--                   test_timeo \
--                   test_fork
-+                   test_timeo
-+if HAVE_FORK
-+noinst_PROGRAMS += test_fork
-+endif
- endif
- 
- test_system_SOURCES = test_system.cpp
-@@ -93,8 +95,10 @@ test_shutdown_stress_SOURCES = test_shutdown_stress.cpp
- test_pair_ipc_SOURCES = test_pair_ipc.cpp testutil.hpp
- test_reqrep_ipc_SOURCES = test_reqrep_ipc.cpp testutil.hpp
- test_timeo_SOURCES = test_timeo.cpp
-+if HAVE_FORK
- test_fork_SOURCES = test_fork.cpp
- endif
-+endif
- 
- #  Run the test cases
- TESTS = $(noinst_PROGRAMS)
diff --git a/package/zeromq/0003-libzmq-Fix-pkg-config-files-for-static-linking.patch b/package/zeromq/0002-libzmq-Fix-pkg-config-files-for-static-linking.patch
similarity index 100%
rename from package/zeromq/0003-libzmq-Fix-pkg-config-files-for-static-linking.patch
rename to package/zeromq/0002-libzmq-Fix-pkg-config-files-for-static-linking.patch
diff --git a/package/zeromq/0004-allow-without-libsodium.patch b/package/zeromq/0004-allow-without-libsodium.patch
deleted file mode 100644
index 19850ba..0000000
--- a/package/zeromq/0004-allow-without-libsodium.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From c561766ab4ee4b3420b72e33fac4a75fb9194430 Mon Sep 17 00:00:00 2001
-From: Min RK <benjaminrk@gmail.com>
-Date: Mon, 16 Feb 2015 14:59:54 -0800
-Subject: [PATCH] allow `--without-libsodium`
-
-and `--with-libsodium=no` to disable linking against libsodium.
-
-Without this patch, it is not possible to disable linking with libsodium present on the default path.
-
-Backport from upstream commit
-faaf4550263395b84e6a80d3f9d7ba8816cdd714.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- configure.ac | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 194fcb2..3d5f6d6 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -257,7 +257,12 @@ esac
- # Checks for libraries
- AC_CHECK_LIB([pthread], [pthread_create])
- AC_CHECK_LIB([rt], [clock_gettime])
--AC_CHECK_LIB([sodium], [sodium_init],,AC_MSG_WARN(libsodium is needed for CURVE security))
-+
-+if test "x$with_libsodium" != "xno"; then
-+    AC_CHECK_LIB([sodium], [sodium_init],,AC_MSG_WARN(libsodium is needed for CURVE security))
-+else
-+    AC_MSG_WARN(libsodium is needed for CURVE security)
-+fi
- 
- #
- # Check if the compiler supports -fvisibility=hidden flag. MinGW32 uses __declspec
--- 
-2.4.5
-
diff --git a/package/zeromq/zeromq.hash b/package/zeromq/zeromq.hash
index 729e7ea..6c7916e 100644
--- a/package/zeromq/zeromq.hash
+++ b/package/zeromq/zeromq.hash
@@ -1,2 +1,4 @@
 # Locally calculated from download (no sig, hash)
-sha256	3bc93c5f67370341428364ce007d448f4bb58a0eaabd0a60697d8086bc43342b	zeromq-4.0.5.tar.gz
+sha256	f9162ead6d68521e5154d871bac304f88857308bb02366b81bb588497a345927	zeromq-4.1.2.tar.gz
+# From http://download.zeromq.org/SHA1SUMS:
+sha1	86c17096f7f4bf46cbcd2ad242cf8fec8a7cfb7b	zeromq-4.1.2.tar.gz
diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk
index 029fab2..b27d753 100644
--- a/package/zeromq/zeromq.mk
+++ b/package/zeromq/zeromq.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-ZEROMQ_VERSION = 4.0.5
+ZEROMQ_VERSION = 4.1.2
 ZEROMQ_SITE = http://download.zeromq.org
 ZEROMQ_INSTALL_STAGING = YES
 ZEROMQ_DEPENDENCIES = util-linux
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2
  2015-08-03 12:55 [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2 Jonathan Ben-Avraham
@ 2015-08-03 12:57 ` Jonathan Ben Avraham
  2015-08-03 15:29 ` Baruch Siach
  1 sibling, 0 replies; 9+ messages in thread
From: Jonathan Ben Avraham @ 2015-08-03 12:57 UTC (permalink / raw)
  To: buildroot


Read "v2".

On Mon, 3 Aug 2015, Jonathan Ben-Avraham wrote:

> Date: Mon,  3 Aug 2015 15:55:56 +0300
> From: Jonathan Ben-Avraham <yba@tkos.co.il>
> To: buildroot at busybox.net
> Cc: Jonathan Ben Avraham <yba@tkos.co.il>
> Subject: [PATCH 1/1] zeromq: bump to version 4.1.2
> 
> From: Jonathan Ben Avraham <yba@tkos.co.il>
>
> In the upstream git://github.com/zeromq/libzmq.git,
> commit 6fdafc458a776e063511bb83dc7791aabea00b05 obviated the need for
> 0001-tests-disable-test_fork-if-fork-is-not-available.patch .
> commit c8ee16940fff19ae3c12b4596c4bd131b2c71996 obviated the need for
> 0004-allow-without-libsodium.patch .
>
> Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
> ---
> ....m4-make-kernel-specific-flags-cacheable.patch} |    0
> ...isable-test_fork-if-fork-is-not-available.patch |   52 --------------------
> ...-Fix-pkg-config-files-for-static-linking.patch} |    0
> package/zeromq/0004-allow-without-libsodium.patch  |   38 --------------
> package/zeromq/zeromq.hash                         |    4 +-
> package/zeromq/zeromq.mk                           |    2 +-
> 6 files changed, 4 insertions(+), 92 deletions(-)
> rename package/zeromq/{0002-acinclude.m4-make-kernel-specific-flags-cacheable.patch => 0001-acinclude.m4-make-kernel-specific-flags-cacheable.patch} (100%)
> delete mode 100644 package/zeromq/0001-tests-disable-test_fork-if-fork-is-not-available.patch
> rename package/zeromq/{0003-libzmq-Fix-pkg-config-files-for-static-linking.patch => 0002-libzmq-Fix-pkg-config-files-for-static-linking.patch} (100%)
> delete mode 100644 package/zeromq/0004-allow-without-libsodium.patch
>
> diff --git a/package/zeromq/0002-acinclude.m4-make-kernel-specific-flags-cacheable.patch b/package/zeromq/0001-acinclude.m4-make-kernel-specific-flags-cacheable.patch
> similarity index 100%
> rename from package/zeromq/0002-acinclude.m4-make-kernel-specific-flags-cacheable.patch
> rename to package/zeromq/0001-acinclude.m4-make-kernel-specific-flags-cacheable.patch
> diff --git a/package/zeromq/0001-tests-disable-test_fork-if-fork-is-not-available.patch b/package/zeromq/0001-tests-disable-test_fork-if-fork-is-not-available.patch
> deleted file mode 100644
> index 1eefdc3..0000000
> --- a/package/zeromq/0001-tests-disable-test_fork-if-fork-is-not-available.patch
> +++ /dev/null
> @@ -1,52 +0,0 @@
> -From b50912f2eecec1ea7accc155f8132116f8702075 Mon Sep 17 00:00:00 2001
> -From: Samuel Martin <s.martin49@gmail.com>
> -Date: Sat, 3 May 2014 12:22:38 +0200
> -Subject: [PATCH] tests: disable test_fork if fork() is not available
> -
> -Signed-off-by: Samuel Martin <s.martin49@gmail.com>
> ----
> - configure.ac      | 1 +
> - tests/Makefile.am | 8 ++++++--
> - tests/Makefile.in | 8 ++++----
> - 3 files changed, 11 insertions(+), 6 deletions(-)
> -
> -diff --git a/configure.ac b/configure.ac
> -index 0c41604..8f8521c 100644
> ---- a/configure.ac
> -+++ b/configure.ac
> -@@ -431,6 +431,7 @@ AM_CONDITIONAL(BUILD_PGM, test "x$libzmq_pgm_ext" = "xyes")
> - AM_CONDITIONAL(ON_MINGW, test "x$libzmq_on_mingw32" = "xyes")
> - AM_CONDITIONAL(ON_ANDROID, test "x$libzmq_on_android" = "xyes")
> - AM_CONDITIONAL(ON_LINUX, test "x$libzmq_on_linux" = "xyes")
> -+AM_CONDITIONAL(HAVE_FORK, test "x$ac_cv_func_fork" = "xyes")
> -
> - # Checks for library functions.
> - AC_TYPE_SIGNAL
> -diff --git a/tests/Makefile.am b/tests/Makefile.am
> -index 0cfe4e8..2a1e257 100644
> ---- a/tests/Makefile.am
> -+++ b/tests/Makefile.am
> -@@ -46,8 +46,10 @@ if !ON_MINGW
> - noinst_PROGRAMS += test_shutdown_stress \
> -                    test_pair_ipc \
> -                    test_reqrep_ipc \
> --                   test_timeo \
> --                   test_fork
> -+                   test_timeo
> -+if HAVE_FORK
> -+noinst_PROGRAMS += test_fork
> -+endif
> - endif
> -
> - test_system_SOURCES = test_system.cpp
> -@@ -93,8 +95,10 @@ test_shutdown_stress_SOURCES = test_shutdown_stress.cpp
> - test_pair_ipc_SOURCES = test_pair_ipc.cpp testutil.hpp
> - test_reqrep_ipc_SOURCES = test_reqrep_ipc.cpp testutil.hpp
> - test_timeo_SOURCES = test_timeo.cpp
> -+if HAVE_FORK
> - test_fork_SOURCES = test_fork.cpp
> - endif
> -+endif
> -
> - #  Run the test cases
> - TESTS = $(noinst_PROGRAMS)
> diff --git a/package/zeromq/0003-libzmq-Fix-pkg-config-files-for-static-linking.patch b/package/zeromq/0002-libzmq-Fix-pkg-config-files-for-static-linking.patch
> similarity index 100%
> rename from package/zeromq/0003-libzmq-Fix-pkg-config-files-for-static-linking.patch
> rename to package/zeromq/0002-libzmq-Fix-pkg-config-files-for-static-linking.patch
> diff --git a/package/zeromq/0004-allow-without-libsodium.patch b/package/zeromq/0004-allow-without-libsodium.patch
> deleted file mode 100644
> index 19850ba..0000000
> --- a/package/zeromq/0004-allow-without-libsodium.patch
> +++ /dev/null
> @@ -1,38 +0,0 @@
> -From c561766ab4ee4b3420b72e33fac4a75fb9194430 Mon Sep 17 00:00:00 2001
> -From: Min RK <benjaminrk@gmail.com>
> -Date: Mon, 16 Feb 2015 14:59:54 -0800
> -Subject: [PATCH] allow `--without-libsodium`
> -
> -and `--with-libsodium=no` to disable linking against libsodium.
> -
> -Without this patch, it is not possible to disable linking with libsodium present on the default path.
> -
> -Backport from upstream commit
> -faaf4550263395b84e6a80d3f9d7ba8816cdd714.
> -
> -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ----
> - configure.ac | 7 ++++++-
> - 1 file changed, 6 insertions(+), 1 deletion(-)
> -
> -diff --git a/configure.ac b/configure.ac
> -index 194fcb2..3d5f6d6 100644
> ---- a/configure.ac
> -+++ b/configure.ac
> -@@ -257,7 +257,12 @@ esac
> - # Checks for libraries
> - AC_CHECK_LIB([pthread], [pthread_create])
> - AC_CHECK_LIB([rt], [clock_gettime])
> --AC_CHECK_LIB([sodium], [sodium_init],,AC_MSG_WARN(libsodium is needed for CURVE security))
> -+
> -+if test "x$with_libsodium" != "xno"; then
> -+    AC_CHECK_LIB([sodium], [sodium_init],,AC_MSG_WARN(libsodium is needed for CURVE security))
> -+else
> -+    AC_MSG_WARN(libsodium is needed for CURVE security)
> -+fi
> -
> - #
> - # Check if the compiler supports -fvisibility=hidden flag. MinGW32 uses __declspec
> ---
> -2.4.5
> -
> diff --git a/package/zeromq/zeromq.hash b/package/zeromq/zeromq.hash
> index 729e7ea..6c7916e 100644
> --- a/package/zeromq/zeromq.hash
> +++ b/package/zeromq/zeromq.hash
> @@ -1,2 +1,4 @@
> # Locally calculated from download (no sig, hash)
> -sha256	3bc93c5f67370341428364ce007d448f4bb58a0eaabd0a60697d8086bc43342b	zeromq-4.0.5.tar.gz
> +sha256	f9162ead6d68521e5154d871bac304f88857308bb02366b81bb588497a345927	zeromq-4.1.2.tar.gz
> +# From http://download.zeromq.org/SHA1SUMS:
> +sha1	86c17096f7f4bf46cbcd2ad242cf8fec8a7cfb7b	zeromq-4.1.2.tar.gz
> diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk
> index 029fab2..b27d753 100644
> --- a/package/zeromq/zeromq.mk
> +++ b/package/zeromq/zeromq.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -ZEROMQ_VERSION = 4.0.5
> +ZEROMQ_VERSION = 4.1.2
> ZEROMQ_SITE = http://download.zeromq.org
> ZEROMQ_INSTALL_STAGING = YES
> ZEROMQ_DEPENDENCIES = util-linux
>

-- 
  9590 8E58 D30D 1660 C349  673D B205 4FC4 B8F5 B7F9  ~. .~  Tk Open Systems
=}-------- Jonathan Ben-Avraham ("yba") ----------ooO--U--Ooo------------{=
mailto:yba at tkos.co.il tel:+972.52.486.3386 http://tkos.co.il skype:benavrhm

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2
  2015-08-03 12:55 [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2 Jonathan Ben-Avraham
  2015-08-03 12:57 ` Jonathan Ben Avraham
@ 2015-08-03 15:29 ` Baruch Siach
  1 sibling, 0 replies; 9+ messages in thread
From: Baruch Siach @ 2015-08-03 15:29 UTC (permalink / raw)
  To: buildroot

Hi Yonatan,

On Mon, Aug 03, 2015 at 03:55:56PM +0300, Jonathan Ben-Avraham wrote:
> From: Jonathan Ben Avraham <yba@tkos.co.il>
> 
> In the upstream git://github.com/zeromq/libzmq.git,
> commit 6fdafc458a776e063511bb83dc7791aabea00b05 obviated the need for
> 0001-tests-disable-test_fork-if-fork-is-not-available.patch .
> commit c8ee16940fff19ae3c12b4596c4bd131b2c71996 obviated the need for
> 0004-allow-without-libsodium.patch .

Please update the comment at the ZEROMQ_AUTORECONF assignment as well.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-08-03 15:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03 12:55 [Buildroot] [PATCH 1/1] zeromq: bump to version 4.1.2 Jonathan Ben-Avraham
2015-08-03 12:57 ` Jonathan Ben Avraham
2015-08-03 15:29 ` Baruch Siach
  -- strict thread matches above, loose matches on Subject: below --
2015-08-03  8:24 Jonathan Ben-Avraham
2015-08-03  9:18 ` Thomas Petazzoni
2015-08-03  9:31   ` Jonathan Ben Avraham
2015-08-03 10:01     ` Thomas Petazzoni
2015-08-03 10:05       ` Jonathan Ben Avraham
2015-08-03 10:25         ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox