public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/czmq/
Date: Fri, 15 Oct 2021 10:22:51 +0000 (UTC)	[thread overview]
Message-ID: <1634293360.5d343fa737d419a3b205a870a5861acf3efa37de.juippis@gentoo> (raw)

commit:     5d343fa737d419a3b205a870a5861acf3efa37de
Author:     Jouni Kosonen <jouni.kosonen <AT> tukesoft <DOT> com>
AuthorDate: Wed Sep 29 00:32:15 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Oct 15 10:22:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d343fa7

net-libs/czmq: bump to v4.2.1

- Put new automagic dev-libs/nss support behind USE=nss
- Fix failing test in bug #756844

Closes: https://bugs.gentoo.org/756844
Signed-off-by: Jouni Kosonen <jouni.kosonen <AT> tukesoft.com>
Closes: https://github.com/gentoo/gentoo/pull/22438
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-libs/czmq/Manifest          |  1 +
 net-libs/czmq/czmq-4.2.1.ebuild | 52 +++++++++++++++++++++++++++++++++++++++++
 net-libs/czmq/metadata.xml      |  1 +
 3 files changed, 54 insertions(+)

diff --git a/net-libs/czmq/Manifest b/net-libs/czmq/Manifest
index 7750e2635c9..8e879cecd35 100644
--- a/net-libs/czmq/Manifest
+++ b/net-libs/czmq/Manifest
@@ -1 +1,2 @@
 DIST czmq-4.2.0.tar.gz 1522824 BLAKE2B 2b2ec308f37a122d5478f63ed029c5ac01d8da40e676e812ec321e039839c7d364fef3eef67df928e6514f0fd2cd65ae35ba89347ead2b44c610812a012364dd SHA512 a3716efbece193196355fb7055b7e81067d29551765de2533178804ca5d85f98cd8cd01f88b4eecbea905adf3b7513e3b8a7e78e350adf1a6e69edbea5f6260c
+DIST czmq-4.2.1.tar.gz 1617066 BLAKE2B 5b635ccd7e85f05cd4f81f1ddaef80f7478feccfb916b1a7317f539354d0a4dabb7bf14a9dbee4dae3f6fbfcaf402c51ee9ba9810d952fc837c03c14304d4dab SHA512 776c524ffeba3dbe2534351f91623a6f9db31268aa2e794e29b7eca99c9fd0a726de0f7fba4376a5b3d7321b1033314e86644efaa5a9c7226fc1f06805f7aa9f

diff --git a/net-libs/czmq/czmq-4.2.1.ebuild b/net-libs/czmq/czmq-4.2.1.ebuild
new file mode 100644
index 00000000000..f678661d912
--- /dev/null
+++ b/net-libs/czmq/czmq-4.2.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DESCRIPTION="High-level C Binding for ZeroMQ"
+HOMEPAGE="http://czmq.zeromq.org"
+SRC_URI="https://github.com/zeromq/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0/4"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
+IUSE="curl drafts http-client http-server lz4 nss static-libs systemd +uuid"
+
+BDEPEND="app-text/asciidoc
+	app-text/xmlto
+	virtual/pkgconfig"
+
+RDEPEND=">=net-libs/zeromq-4:=[drafts?]
+	http-client? ( net-misc/curl )
+	http-server? ( net-libs/libmicrohttpd:= )
+	lz4? ( app-arch/lz4:= )
+	nss? ( dev-libs/nss:= )
+	systemd? ( sys-apps/systemd )
+	uuid? ( sys-apps/util-linux:0= )"
+
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS NEWS README.md )
+
+src_configure() {
+	local myeconfargs=(
+		--enable-drafts=$(usex drafts)
+		--with-docs=no
+		--with-uuid=$(usex uuid)
+		--with-libcurl=$(usex http-client)
+		--with-libmicrohttpd=$(usex http-server)
+		--with-libsystemd=$(usex systemd)
+		--with-liblz4=$(usex lz4)
+		--with-nss=$(usex nss)
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	if ! use static-libs ; then
+		find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+	fi
+}

diff --git a/net-libs/czmq/metadata.xml b/net-libs/czmq/metadata.xml
index 25a5bec4901..bbd0bd05fd8 100644
--- a/net-libs/czmq/metadata.xml
+++ b/net-libs/czmq/metadata.xml
@@ -10,6 +10,7 @@
 		</flag>
 		<flag name="http-client">Build support for HTTP client using <pkg>net-misc/curl</pkg></flag>
 		<flag name="http-server">Build support for HTTP server using <pkg>net-libs/libmicrohttpd</pkg></flag>
+		<flag name="nss">Use <pkg>dev-libs/nss</pkg> for SHA instead of an internal implementation</flag>
 		<flag name="uuid">Enable UUID support using <pkg>sys-apps/util-linux</pkg></flag>
 	</use>
 </pkgmetadata>


             reply	other threads:[~2021-10-15 10:22 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-15 10:22 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-08  7:04 [gentoo-commits] repo/gentoo:master commit in: net-libs/czmq/ Sam James
2024-04-08  7:04 Sam James
2022-08-28  5:55 Jakov Smolić
2022-08-23 18:10 Arthur Zamarin
2022-08-05  9:31 Arthur Zamarin
2021-12-07  6:26 Agostino Sarubbo
2021-12-06 15:23 Sam James
2021-12-06 15:20 Sam James
2021-12-06 11:27 Agostino Sarubbo
2021-10-15 10:22 Joonas Niilola
2021-05-16  0:03 Sam James
2021-04-03 19:53 Sam James
2020-11-26 13:26 Thomas Deutschmann
2020-07-23 13:49 Sam James
2020-07-02 17:05 Sergei Trofimovich
2020-06-20 10:13 Thomas Deutschmann
2020-05-08 22:49 Thomas Deutschmann
2020-05-08 22:49 Thomas Deutschmann
2017-06-19  9:54 Alexis Ballier
2016-11-27 21:08 Thomas Deutschmann
2016-09-29 14:33 Jeroen Roovers
2016-05-24 20:07 Markus Meier
2016-01-28 10:44 Justin Lecher
2015-10-11  7:05 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1634293360.5d343fa737d419a3b205a870a5861acf3efa37de.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox