1 |
commit: 350edb552c5f777633fbfbf645dc32081cb2abb4 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 26 15:37:02 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 26 15:37:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=350edb55 |
7 |
|
8 |
net-libs/zeromq: fix automagic on dev-libs/libbsd |
9 |
|
10 |
Link: https://github.com/zeromq/libzmq/commit/068385c951c0608edec6264d55ba9c4c923acccc |
11 |
Closes: https://bugs.gentoo.org/772965 |
12 |
Package-Manager: Portage-3.0.15, Repoman-3.0.2 |
13 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
14 |
|
15 |
net-libs/zeromq/metadata.xml | 4 ++++ |
16 |
net-libs/zeromq/{zeromq-4.3.3.ebuild => zeromq-4.3.3-r1.ebuild} | 4 +++- |
17 |
net-libs/zeromq/{zeromq-4.3.4.ebuild => zeromq-4.3.4-r1.ebuild} | 4 +++- |
18 |
3 files changed, 10 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/net-libs/zeromq/metadata.xml b/net-libs/zeromq/metadata.xml |
21 |
index 8d747a41258..e46f5a985b5 100644 |
22 |
--- a/net-libs/zeromq/metadata.xml |
23 |
+++ b/net-libs/zeromq/metadata.xml |
24 |
@@ -32,6 +32,10 @@ |
25 |
Build draft API, which may change at any time without any notice, and |
26 |
is therefore not recommended for normal use. |
27 |
</flag> |
28 |
+ <flag name="libbsd"> |
29 |
+ Use strlcpy() from <pkg>dev-libs/libbsd</pkg> instead of internal |
30 |
+ implementation. |
31 |
+ </flag> |
32 |
<flag name="pgm"> |
33 |
Build PGM (Pragmatic General Multicast)extention, a protocol for reliable |
34 |
multicast transport of data over IP networks. |
35 |
|
36 |
diff --git a/net-libs/zeromq/zeromq-4.3.3.ebuild b/net-libs/zeromq/zeromq-4.3.3-r1.ebuild |
37 |
similarity index 91% |
38 |
rename from net-libs/zeromq/zeromq-4.3.3.ebuild |
39 |
rename to net-libs/zeromq/zeromq-4.3.3-r1.ebuild |
40 |
index 54387064008..aacebe8becf 100644 |
41 |
--- a/net-libs/zeromq/zeromq-4.3.3.ebuild |
42 |
+++ b/net-libs/zeromq/zeromq-4.3.3-r1.ebuild |
43 |
@@ -12,11 +12,12 @@ SRC_URI="https://github.com/zeromq/libzmq/releases/download/v${PV}/${P}.tar.gz" |
44 |
LICENSE="LGPL-3" |
45 |
SLOT="0/5" |
46 |
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" |
47 |
-IUSE="doc drafts pgm +sodium static-libs test unwind elibc_Darwin" |
48 |
+IUSE="doc drafts +libbsd pgm +sodium static-libs test unwind elibc_Darwin" |
49 |
RESTRICT="!test? ( test )" |
50 |
|
51 |
RDEPEND=" |
52 |
!elibc_Darwin? ( unwind? ( sys-libs/libunwind ) ) |
53 |
+ libbsd? ( dev-libs/libbsd:= ) |
54 |
sodium? ( dev-libs/libsodium:= ) |
55 |
pgm? ( ~net-libs/openpgm-5.2.122 )" |
56 |
DEPEND="${RDEPEND} |
57 |
@@ -39,6 +40,7 @@ src_configure() { |
58 |
local myeconfargs=( |
59 |
--enable-shared |
60 |
$(use_enable drafts) |
61 |
+ $(use_enable libbsd) |
62 |
$(use_enable static-libs static) |
63 |
$(use_enable unwind libunwind) |
64 |
$(use_with sodium libsodium) |
65 |
|
66 |
diff --git a/net-libs/zeromq/zeromq-4.3.4.ebuild b/net-libs/zeromq/zeromq-4.3.4-r1.ebuild |
67 |
similarity index 91% |
68 |
rename from net-libs/zeromq/zeromq-4.3.4.ebuild |
69 |
rename to net-libs/zeromq/zeromq-4.3.4-r1.ebuild |
70 |
index 21302e285a6..a17c74cf70e 100644 |
71 |
--- a/net-libs/zeromq/zeromq-4.3.4.ebuild |
72 |
+++ b/net-libs/zeromq/zeromq-4.3.4-r1.ebuild |
73 |
@@ -12,11 +12,12 @@ SRC_URI="https://github.com/zeromq/libzmq/releases/download/v${PV}/${P}.tar.gz" |
74 |
LICENSE="LGPL-3" |
75 |
SLOT="0/5" |
76 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
77 |
-IUSE="doc drafts pgm +sodium static-libs test unwind elibc_Darwin" |
78 |
+IUSE="doc drafts +libbsd pgm +sodium static-libs test unwind elibc_Darwin" |
79 |
RESTRICT="!test? ( test )" |
80 |
|
81 |
RDEPEND=" |
82 |
!elibc_Darwin? ( unwind? ( sys-libs/libunwind ) ) |
83 |
+ libbsd? ( dev-libs/libbsd:= ) |
84 |
sodium? ( dev-libs/libsodium:= ) |
85 |
pgm? ( ~net-libs/openpgm-5.2.122 )" |
86 |
DEPEND="${RDEPEND} |
87 |
@@ -39,6 +40,7 @@ src_configure() { |
88 |
local myeconfargs=( |
89 |
--enable-shared |
90 |
$(use_enable drafts) |
91 |
+ $(use_enable libbsd) |
92 |
$(use_enable static-libs static) |
93 |
$(use_enable unwind libunwind) |
94 |
$(use_with sodium libsodium) |