1 |
commit: 5d343fa737d419a3b205a870a5861acf3efa37de |
2 |
Author: Jouni Kosonen <jouni.kosonen <AT> tukesoft <DOT> com> |
3 |
AuthorDate: Wed Sep 29 00:32:15 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 15 10:22:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d343fa7 |
7 |
|
8 |
net-libs/czmq: bump to v4.2.1 |
9 |
|
10 |
- Put new automagic dev-libs/nss support behind USE=nss |
11 |
- Fix failing test in bug #756844 |
12 |
|
13 |
Closes: https://bugs.gentoo.org/756844 |
14 |
Signed-off-by: Jouni Kosonen <jouni.kosonen <AT> tukesoft.com> |
15 |
Closes: https://github.com/gentoo/gentoo/pull/22438 |
16 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
17 |
|
18 |
net-libs/czmq/Manifest | 1 + |
19 |
net-libs/czmq/czmq-4.2.1.ebuild | 52 +++++++++++++++++++++++++++++++++++++++++ |
20 |
net-libs/czmq/metadata.xml | 1 + |
21 |
3 files changed, 54 insertions(+) |
22 |
|
23 |
diff --git a/net-libs/czmq/Manifest b/net-libs/czmq/Manifest |
24 |
index 7750e2635c9..8e879cecd35 100644 |
25 |
--- a/net-libs/czmq/Manifest |
26 |
+++ b/net-libs/czmq/Manifest |
27 |
@@ -1 +1,2 @@ |
28 |
DIST czmq-4.2.0.tar.gz 1522824 BLAKE2B 2b2ec308f37a122d5478f63ed029c5ac01d8da40e676e812ec321e039839c7d364fef3eef67df928e6514f0fd2cd65ae35ba89347ead2b44c610812a012364dd SHA512 a3716efbece193196355fb7055b7e81067d29551765de2533178804ca5d85f98cd8cd01f88b4eecbea905adf3b7513e3b8a7e78e350adf1a6e69edbea5f6260c |
29 |
+DIST czmq-4.2.1.tar.gz 1617066 BLAKE2B 5b635ccd7e85f05cd4f81f1ddaef80f7478feccfb916b1a7317f539354d0a4dabb7bf14a9dbee4dae3f6fbfcaf402c51ee9ba9810d952fc837c03c14304d4dab SHA512 776c524ffeba3dbe2534351f91623a6f9db31268aa2e794e29b7eca99c9fd0a726de0f7fba4376a5b3d7321b1033314e86644efaa5a9c7226fc1f06805f7aa9f |
30 |
|
31 |
diff --git a/net-libs/czmq/czmq-4.2.1.ebuild b/net-libs/czmq/czmq-4.2.1.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..f678661d912 |
34 |
--- /dev/null |
35 |
+++ b/net-libs/czmq/czmq-4.2.1.ebuild |
36 |
@@ -0,0 +1,52 @@ |
37 |
+# Copyright 1999-2021 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI="7" |
41 |
+ |
42 |
+DESCRIPTION="High-level C Binding for ZeroMQ" |
43 |
+HOMEPAGE="http://czmq.zeromq.org" |
44 |
+SRC_URI="https://github.com/zeromq/${PN}/releases/download/v${PV}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MPL-2.0" |
47 |
+SLOT="0/4" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86" |
49 |
+IUSE="curl drafts http-client http-server lz4 nss static-libs systemd +uuid" |
50 |
+ |
51 |
+BDEPEND="app-text/asciidoc |
52 |
+ app-text/xmlto |
53 |
+ virtual/pkgconfig" |
54 |
+ |
55 |
+RDEPEND=">=net-libs/zeromq-4:=[drafts?] |
56 |
+ http-client? ( net-misc/curl ) |
57 |
+ http-server? ( net-libs/libmicrohttpd:= ) |
58 |
+ lz4? ( app-arch/lz4:= ) |
59 |
+ nss? ( dev-libs/nss:= ) |
60 |
+ systemd? ( sys-apps/systemd ) |
61 |
+ uuid? ( sys-apps/util-linux:0= )" |
62 |
+ |
63 |
+DEPEND="${RDEPEND}" |
64 |
+ |
65 |
+DOCS=( AUTHORS NEWS README.md ) |
66 |
+ |
67 |
+src_configure() { |
68 |
+ local myeconfargs=( |
69 |
+ --enable-drafts=$(usex drafts) |
70 |
+ --with-docs=no |
71 |
+ --with-uuid=$(usex uuid) |
72 |
+ --with-libcurl=$(usex http-client) |
73 |
+ --with-libmicrohttpd=$(usex http-server) |
74 |
+ --with-libsystemd=$(usex systemd) |
75 |
+ --with-liblz4=$(usex lz4) |
76 |
+ --with-nss=$(usex nss) |
77 |
+ ) |
78 |
+ |
79 |
+ econf "${myeconfargs[@]}" |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ default |
84 |
+ |
85 |
+ if ! use static-libs ; then |
86 |
+ find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die |
87 |
+ fi |
88 |
+} |
89 |
|
90 |
diff --git a/net-libs/czmq/metadata.xml b/net-libs/czmq/metadata.xml |
91 |
index 25a5bec4901..bbd0bd05fd8 100644 |
92 |
--- a/net-libs/czmq/metadata.xml |
93 |
+++ b/net-libs/czmq/metadata.xml |
94 |
@@ -10,6 +10,7 @@ |
95 |
</flag> |
96 |
<flag name="http-client">Build support for HTTP client using <pkg>net-misc/curl</pkg></flag> |
97 |
<flag name="http-server">Build support for HTTP server using <pkg>net-libs/libmicrohttpd</pkg></flag> |
98 |
+ <flag name="nss">Use <pkg>dev-libs/nss</pkg> for SHA instead of an internal implementation</flag> |
99 |
<flag name="uuid">Enable UUID support using <pkg>sys-apps/util-linux</pkg></flag> |
100 |
</use> |
101 |
</pkgmetadata> |