File tree Expand file tree Collapse file tree 2 files changed +40
-16
lines changed Expand file tree Collapse file tree 2 files changed +40
-16
lines changed Original file line number Diff line number Diff line change 1
1
package :
2
2
name : zeromq
3
3
version : 4.3.5
4
- epoch : 2
4
+ epoch : 3
5
5
description : The ZeroMQ messaging library and tools
6
6
copyright :
7
7
- license : MPL-2.0
8
8
9
9
environment :
10
10
contents :
11
11
packages :
12
- - automake
13
12
- build-base
14
- - busybox
15
- - ca-certificates-bundle
13
+ - libbsd-dev
16
14
- libsodium-dev
17
15
- perl
18
16
- util-linux-dev
@@ -24,13 +22,17 @@ pipeline:
24
22
expected-sha256 : 6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43
25
23
uri : https://github.com/zeromq/libzmq/releases/download/v${{package.version}}/zeromq-${{package.version}}.tar.gz
26
24
27
- - uses : autoconf/configure
25
+ - uses : patch
28
26
with :
29
- opts : --with-libsodium --disable-Werror
27
+ patches : 0001-cmake-add-curve_keygen-binary.patch
30
28
31
- - uses : autoconf/make
29
+ - uses : cmake/configure
30
+ with :
31
+ opts : -DENABLE_CURVE=ON -DWITH_LIBSODIUM=ON
32
+
33
+ - uses : cmake/build
32
34
33
- - uses : autoconf/make- install
35
+ - uses : cmake/ install
34
36
35
37
- uses : strip
36
38
@@ -78,14 +80,6 @@ subpackages:
78
80
pkg-config libzmq --cflags
79
81
pkg-config libzmq --libs
80
82
81
- - name : zeromq-doc
82
- pipeline :
83
- - uses : split/manpages
84
- description : zeromq manpages
85
- test :
86
- pipeline :
87
- - uses : test/docs
88
-
89
83
update :
90
84
enabled : true
91
85
github :
Original file line number Diff line number Diff line change
1
+ From dacde1f11aa4fcbf7571ea520e7b1b8ccee154ec Mon Sep 17 00:00:00 2001
2
+ From: Dimitri John Ledkov <
[email protected] >
3
+ Date: Wed, 25 Jun 2025 17:42:39 +0100
4
+ Subject: [PATCH] cmake: add curve_keygen binary
5
+
6
+ When sodium is enabled, also build curve_keygen binary. This is to
7
+ bring cmake builds to parity with autoconf.
8
+
9
+ Fixes: https://github.com/zeromq/libzmq/issues/4675
10
+ ---
11
+ CMakeLists.txt | 6 ++++++
12
+ 1 file changed, 6 insertions(+)
13
+
14
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
15
+ index 3ab2259e..7caf2c87 100644
16
+ --- a/CMakeLists.txt
17
+ +++ b/CMakeLists.txt
18
+ @@ -1915,3 +1915,9 @@ if(ENABLE_NO_EXPORT)
19
+ message(STATUS "Building with empty ZMQ_EXPORT macro")
20
+ add_definitions(-DZMQ_NO_EXPORT)
21
+ endif()
22
+ +
23
+ + if (ENABLE_CURVE)
24
+ + add_executable(curve_keygen tools/curve_keygen.cpp)
25
+ + target_link_libraries(curve_keygen libzmq)
26
+ + install(TARGETS curve_keygen RUNTIME DESTINATION bin)
27
+ + endif()
28
+ - -
29
+ 2.48.1
30
+
You can’t perform that action at this time.
0 commit comments