Commit Graph

29 Commits

Author SHA1 Message Date
Rosen Penev 7536aebe63 zmq: update to 4.3.5
Remove GCC13 backport.

Refresh other patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-02-14 17:40:25 -08:00
Oskari Rauta cb7aa1e2da zmq: fix gcc 13 errors
gcc 13 compatibility patch is from alpine linux.
https://git.alpinelinux.org/aports/tree/main/zeromq/gcc13.patch

fixes #20972

I also renamed one of patches, so patch filenames are more unified.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-05-20 13:00:04 +03:00
Rosen Penev d1ba399006 zmq: remove libbsd dependency
Not really needed for anything. Patch taken from upstream.

Remove obsolete libpthread and librt dependencies.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-25 23:45:36 -07:00
Rosen Penev ac5912e9cb remove a bunch of rpath hacks
These are already default.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-28 20:21:56 -07:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev a31b732007 treewide: build CMake projects with Ninja
faster to compile.

A small selection of packages was tested going from:

Executed in  696.30 secs   fish           external
   usr time   82.98 mins  395.00 micros   82.98 mins
   sys time    9.02 mins    0.00 micros    9.02 mins

to:

Executed in  592.20 secs   fish           external
   usr time   84.84 mins  361.00 micros   84.84 mins
   sys time    8.85 mins   57.00 micros    8.85 mins

Tested by running make -j 12 and wiping staging/build_dir/target_x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-27 21:51:50 -07:00
Ye Holmes d959a09a47 zmq: add optional dependency on openpgm
And add a patch for CMakeList.txt to configure
correctly with openpgm enabled.

Signed-off-by: Ye Holmes <yeholmes@outlook.com>
2021-02-17 22:18:50 +08:00
Rosen Penev bf2470141f zmq: update to 4.3.4
Remove pointless uclibcxx patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-17 15:06:47 -08:00
Rosen Penev bb9dd1468d
zmq: fix compilation when libbsd is present
Limit libbsd support to glibc.

Remove wrong python variable.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-16 15:40:34 -07:00
Jan Pavlinec c2ffadb928
zmq: update to version 4.3.3 (security fix)
Fixes
CVE-2020-15166

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-09-15 15:09:15 +02:00
Rosen Penev 183236698c zmq: fix the installed files
the versioned so files are needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-29 18:18:37 -07:00
Rosen Penev 5bb13435b7 zmq: fix pkgconfig file
It seems upstream broke it. This in turn broke depending packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-28 20:49:03 -07:00
Rosen Penev e169e2f9c8 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>
2020-07-28 01:14:55 -07:00
Rosen Penev da3409bc3d
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>
2020-07-18 15:28:13 -07:00
Jeffery To 53e1692ae9 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>
2019-10-13 02:01:34 +08:00
Rosen Penev ad11587c40
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>
2019-07-25 12:32:16 -07:00
Jan Pavlinec 92bf4b4012
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>
2019-07-10 15:20:19 +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