Commit graph

21 commits

Author SHA1 Message Date
Rosen Penev
03425a0d2f
zmq: fix compilation when libbsd is present
Limit libbsd support to glibc.

Remove wrong python variable.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit bb9dd1468d)
2020-09-16 16:02:45 -07:00
Jan Pavlinec
86da3bbeb4
zmq: update to version 4.3.3 (security fix)
Fixes
CVE-2020-15166

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit c2ffadb928)
2020-09-15 18:39:01 -07:00
Rosen Penev
e72b474698
zmq: fix the installed files
the versioned so files are needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 183236698c)
2020-09-15 18:38:53 -07:00
Rosen Penev
48339ba105
zmq: fix pkgconfig file
It seems upstream broke it. This in turn broke depending packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 5bb13435b7)
2020-09-15 18:38:42 -07:00
Rosen Penev
ef30f8bf80
zmq: update to 4.3.2
Remove upstreamed patches.

Add uClibc++ patch for those that need it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit e169e2f9c8)
2020-09-15 18:38:23 -07:00
Rosen Penev
a7d129fc2d
zmq: switch to building with CMake
Faster compilation.

Before:

time make package/zmq/compile -j 12
Executed in   24.98 secs   fish           external
   usr time   97.41 secs  263.00 micros   97.40 secs
   sys time   12.51 secs   34.00 micros   12.51 secs

After:

time make package/zmq/compile -j 12
Executed in   18.17 secs   fish           external
   usr time   85.22 secs  248.00 micros   85.22 secs
   sys time    9.23 secs   32.00 micros    9.23 secs

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit da3409bc3d)
2020-09-15 18:37:03 -07:00
Jeffery To
fc2a591b53 treewide: Use default PKG_BUILD_DIR when possible
This removes lines that set PKG_BUILD_DIR when the set value is no
different from the default value.

Specifically, the line is removed if the assigned value is:

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)

  The default PKG_BUILD_DIR was updated[1] to incorporate BUILD_VARIANT
  if it is set, so now this is identical to the default value.

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR)

  if PKG_SOURCE_SUBDIR is set to $(PKG_NAME)-$(PKG_VERSION), making it
  the same as the previous case

* $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

  This is the same as the default PKG_BUILD_DIR when there is no
  BUILD_VARIANT.

* $(BUILD_DIR)/[name]-$(PKG_VERSION)

  where [name] is a string that is identical to PKG_NAME

[1]: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=e545fac8d968864a965edb9e50c6f90940b0a6c9

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 53e1692ae9)
2020-04-12 19:24:15 -07:00
Rosen Penev
8774958556 libzmq: Remove uClibc++ support
libzmq is used by fbzmq, which absolutely requires libstdcpp since it's a
C++14 project. There's no point in using two libc++.

Cleaned up Makefile for consistency between packages.

Added nanosleep patch for platforms that are missing usleep.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from ad11587c40)
2019-10-17 16:39:03 -07:00
Jan Pavlinec
b57190bcab
zeromq: update to version 4.1.7 (security fix)
Fixes:
CVE-2019-13132
Added CPE ID

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from commit 92bf4b4012)
2019-08-09 22:32:02 +02:00
Amol Bhave
acabcd4c23 zmq: Fix compilation for c++ stdlib
Compilation for the zmq lib is broken for c++ stdlib in openwrt since the
patches add uclibc++ specific code.

This diffs changes the patch to only include the code conditioned
on if we are actually using uclibc++.

Signed-off-by: Amol Bhave <amol@amolbhave.com>
2019-04-19 16:18:28 -07:00
Rosen Penev
299344694e zmq: Update to 4.1.6
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-06-12 15:18:20 -07:00
Matthias Schiffer
00fce347a5
treewide: fix incorrect *_BUILD_DEPENDS
Build depends refer to source package names, not binary package names.

In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.

Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-09 16:36:02 +01:00
Etienne Champetier
4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Ted Hess
9946769206 Update download URL (dl from zeromq.org no longer available)
Signed-off-by: Ted Hess <thess@kitschensync.net>
2016-06-11 11:08:20 -04:00
Dirk Chang
3e7c2d9e0a libzmq upgrade to 4.1.4
Signed-off-by: Dirk Chang <dirk@kooiot.com>
2016-05-19 23:13:05 +08:00
Ted Hess
735403a5d4 zmq: update to 4.1.3, fix GCC5 error, refresh patches
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-12-07 12:07:06 -05:00
Ted Hess
79a63ec038 zmq: Make 2 variants, refresh patches, fix C++ build issues
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-07-04 10:51:52 -04:00
Dirk Chang
3ff4d6dda5 libzmq upgrade to 4.1.1
lzmq upgrade to 0.4.3

Signed-off-by: Dirk Chang <dirk@kooiot.com>
2015-06-17 22:56:26 +08:00
Ted Hess
877469ccfe zmq: Make CurveZMQ security (libsodium) optional, cleanup descrition and dependencies
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-05-14 14:28:23 -04:00
Dirk Chang
ee69b91a18 zmq: fix missing libsodium dependency
Signed-off-by: Dirk Chang <dirk@kooiot.com>
2015-05-13 01:14:06 +08:00
Dirk Chang
b381751752 Added a few lua modules (lpeg, md5, cjson, copas, coxpcall, lzlib, rings, rs232, wsapi, xavante, lzmq, mobdebug), zeromq
Signed-off-by: Dirk Chang <dirk@kooiot.com>
2015-04-27 20:34:27 +08:00