commit:     cece2078d42de876fa696d334806bbe3a0d55d12
Author:     Karlson2k (Evgeny Grin) <k2k <AT> narod <DOT> ru>
AuthorDate: Mon May 10 10:55:27 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 17 23:30:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cece2078

net-libs/libmicrohttpd: 0.9.73 license fix and other minor fixes

Corrected LICENSE (it is LGPL-2.1 or later).
As curl is required only for CHOST, removed curl dependency from BDEPEND.
pkg-config is needed only to find GnuTLS.

Signed-off-by: Karlson2k (Evgeny Grin) <k2k <AT> narod.ru>
Closes: https://github.com/gentoo/gentoo/pull/20752
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libmicrohttpd/libmicrohttpd-0.9.73.ebuild | 9 +++------
 net-libs/libmicrohttpd/metadata.xml                | 2 +-
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.73.ebuild 
b/net-libs/libmicrohttpd/libmicrohttpd-0.9.73.ebuild
index d881dcb779b..4a3af587191 100644
--- a/net-libs/libmicrohttpd/libmicrohttpd-0.9.73.ebuild
+++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.73.ebuild
@@ -12,20 +12,17 @@ HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/";
 SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
 S="${WORKDIR}"/${MY_P}
 
-LICENSE="LGPL-2.1"
+LICENSE="LGPL-2.1+"
 SLOT="0/12"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
 IUSE="+epoll ssl static-libs test thread-names"
 RESTRICT="!test? ( test )"
 
-# libcurl is linked to for tests and the
-# curl binary is used during tests too
-# if available
 RDEPEND="ssl? ( >net-libs/gnutls-2.12.20:= )"
+# libcurl and the curl binary are used during tests on CHOST
 DEPEND="${RDEPEND}
        test? ( net-misc/curl[ssl?] )"
-BDEPEND="virtual/pkgconfig
-       test? ( net-misc/curl[ssl?] )"
+BDEPEND="ssl? ( virtual/pkgconfig )"
 
 DOCS=( AUTHORS NEWS README ChangeLog )
 

diff --git a/net-libs/libmicrohttpd/metadata.xml 
b/net-libs/libmicrohttpd/metadata.xml
index a3803466a89..dd3c1dff304 100644
--- a/net-libs/libmicrohttpd/metadata.xml
+++ b/net-libs/libmicrohttpd/metadata.xml
@@ -11,7 +11,7 @@
        </maintainer>
        <use>
                <flag name="epoll">Use epoll() system call</flag>
-               <flag name="thread-names">Assign thread names to internal 
threads</flag>
+               <flag name="thread-names">Assign thread names to internal 
threads, useful for dependent apps debugging</flag>
        </use>
        <upstream>
                <remote-id type="cpe">cpe:/a:gnu:libmicrohttpd</remote-id>

Reply via email to