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/libwebsockets/
Date: Fri,  1 May 2020 15:09:56 +0000 (UTC)	[thread overview]
Message-ID: <1588345777.eedb87e4ca9074a1b5f982be059d7d5a6a653279.juippis@gentoo> (raw)

commit:     eedb87e4ca9074a1b5f982be059d7d5a6a653279
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Fri May  1 09:02:06 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri May  1 15:09:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eedb87e4

net-libs/libwebsockets: change of IUSE flags

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: Luka Perkov <luka.perkov <AT> sartura.hr>
Acked-by: Jaco Kroon <jaco <AT> uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/15452
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-libs/libwebsockets/libwebsockets-4.0.4.ebuild | 28 ++++++++++++++++-------
 net-libs/libwebsockets/metadata.xml               |  6 +++++
 2 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/net-libs/libwebsockets/libwebsockets-4.0.4.ebuild b/net-libs/libwebsockets/libwebsockets-4.0.4.ebuild
index 7620aaaa024..66623dc9f91 100644
--- a/net-libs/libwebsockets/libwebsockets-4.0.4.ebuild
+++ b/net-libs/libwebsockets/libwebsockets-4.0.4.ebuild
@@ -12,14 +12,16 @@ SRC_URI="https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz -> ${P}.
 LICENSE="MIT"
 SLOT="0/16" # libwebsockets.so.16
 KEYWORDS="~amd64 ~arm ~x86"
-IUSE="access-log caps cgi client dbus generic-sessions http-proxy http2 ipv6
-	+lejp libev libevent libressl libuv peer-limits server-status smtp socks5
-	sqlite3 ssl static-libs threads zip"
+IUSE="access-log caps cgi client dbus +dir +extensions +file-ops generic-sessions http-proxy +http-uncommon-headers http2 ipv6
+	+lejp libev libevent libressl libuv mbedtls peer-limits server-status smtp socks5
+	sqlite3 ssl static-libs +testapps threads zip"
 
 REQUIRED_USE="
 	generic-sessions? ( smtp sqlite3 )
 	http-proxy? ( client )
 	smtp? ( libuv )
+	ssl? ( ?? ( libressl mbedtls ) )
+	testapps? ( extensions )
 	?? ( libev libevent )
 "
 
@@ -32,10 +34,12 @@ RDEPEND="
 	libuv? ( dev-libs/libuv:= )
 	sqlite3? ( dev-db/sqlite:= )
 	ssl? (
-		!libressl? ( dev-libs/openssl:0= )
-		libressl?  ( dev-libs/libressl:0= )
-	)
-"
+		!libressl? (
+			!mbedtls? ( dev-libs/openssl:0= )
+			mbedtls? ( >net-libs/mbedtls-2.0.0 )
+			)
+		)"
+
 DEPEND="${RDEPEND}"
 BDEPEND="dev-lang/perl"
 
@@ -47,20 +51,28 @@ src_configure() {
 	local mycmakeargs=(
 		-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
 		-DLWS_HAVE_LIBCAP=$(usex caps)
+		-DLWS_HAVE_SYS_CAPABILITY_H=$(usex caps)
 		-DLWS_IPV6=$(usex ipv6)
+		-DLWS_LINK_TESTAPPS_DYNAMIC=$(usex testapps)
 		-DLWS_ROLE_DBUS=$(usex dbus)
 		-DLWS_WITHOUT_CLIENT=$(usex !client)
 		-DLWS_WITHOUT_TEST_CLIENT=$(usex !client)
 		-DLWS_WITH_ACCESS_LOG=$(usex access-log)
 		-DLWS_WITH_CGI=$(usex cgi)
+		-DLWS_WITH_DIR=$(usex dir)
+		-DLWS_WITHOUT_EXTENSIONS=$(usex !extensions)
+		-DLWS_WITH_FILE_OPS=$(usex file-ops)
 		-DLWS_WITH_GENERIC_SESSIONS=$(usex generic-sessions)
 		-DLWS_WITH_HTTP2=$(usex http2)
+		-DLWS_WITH_HTTP_BASIC_AUTH=$(usex http-uncommon-headers)
 		-DLWS_WITH_HTTP_PROXY=$(usex http-proxy)
+		-DLWS_WITH_HTTP_UNCOMMON_HEADERS=$(usex http-uncommon-headers)
 		-DLWS_WITH_HUBBUB=$(usex http-proxy)
 		-DLWS_WITH_LEJP=$(usex lejp)
 		-DLWS_WITH_LIBEV=$(usex libev)
 		-DLWS_WITH_LIBEVENT=$(usex libevent)
 		-DLWS_WITH_LIBUV=$(usex libuv)
+		-DLWS_WITH_MBEDTLS=$(usex mbedtls)
 		-DLWS_WITH_PEER_LIMITS=$(usex peer-limits)
 		-DLWS_WITH_SERVER_STATUS=$(usex server-status)
 		-DLWS_WITH_SMTP=$(usex smtp)
@@ -70,7 +82,7 @@ src_configure() {
 		-DLWS_WITH_STATIC=$(usex static-libs)
 		-DLWS_WITH_THREADPOOL=$(usex threads)
 		-DLWS_WITH_ZIP_FOPS=$(usex zip)
-		-DLWS_WITHOUT_TESTAPPS=ON
+		-DLWS_WITHOUT_TESTAPPS=$(usex !testapps)
 	)
 
 	cmake_src_configure

diff --git a/net-libs/libwebsockets/metadata.xml b/net-libs/libwebsockets/metadata.xml
index 6aa0f75c884..026a4eee25a 100644
--- a/net-libs/libwebsockets/metadata.xml
+++ b/net-libs/libwebsockets/metadata.xml
@@ -20,14 +20,20 @@
 	<use>
 		<flag name="access-log">Support generating Apache-compatible access logs</flag>
 		<flag name="cgi">Include CGI (spawn process with network-connected stdin/out/err) APIs</flag>
+		<flag name="dir">Enable directory scanning api support</flag>
+		<flag name="file-ops">Support file operations vfs</flag>
 		<flag name="client">The client part of the library and libwebsockets-test-client</flag>
+		<flag name="extensions">Compile with extensions</flag>
 		<flag name="generic-sessions">With the Generic Sessions plugin</flag>
 		<flag name="http2">Support the HTTP/2 protocol</flag>
 		<flag name="http-proxy">Support for rewriting HTTP proxying</flag>
+		<flag name="http-uncommon-headers">Inlude less common http header support</flag>
 		<flag name="lejp">With the Lightweight JSON Parser</flag>
 		<flag name="libev">Support event loops via dev-libs/libev</flag>
 		<flag name="libevent">Support event loops via dev-libs/libevent</flag>
 		<flag name="libuv">Support asynchronous I/O via dev-libs/libuv</flag>
+		<flag name="mbedtls">Use mbedTLS replacement for OpenSSL</flag>
+		<flag name="testapps">Build the libwebsocket-test-apps</flag>
 		<flag name="peer-limits">Track peers and restrict resources a single peer can allocate</flag>
 		<flag name="server-status">Support json + jscript server monitoring</flag>
 		<flag name="smtp">Provide SMTP support</flag>


             reply	other threads:[~2020-05-01 15:10 UTC|newest]

Thread overview: 144+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-01 15:09 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-28 13:10 [gentoo-commits] repo/gentoo:master commit in: net-libs/libwebsockets/ Mike Pagano
2025-02-27 18:27 Mike Pagano
2025-01-07 19:54 Sam James
2024-07-19 22:54 Mike Pagano
2024-07-08  0:56 Sam James
2024-07-08  0:48 Sam James
2024-07-08  0:48 Sam James
2024-07-07 19:46 Jakov Smolić
2024-07-07 19:46 Jakov Smolić
2024-07-07 13:59 Mike Pagano
2024-07-07 13:59 Mike Pagano
2024-06-18 18:55 Jakov Smolić
2023-12-27  0:20 Jakov Smolić
2023-10-08  8:33 WANG Xuerui
2022-10-07 12:25 Jakov Smolić
2022-10-07  9:35 Agostino Sarubbo
2022-10-05 18:56 Arthur Zamarin
2022-10-05 18:56 Arthur Zamarin
2022-10-05 11:35 Sam James
2022-10-05 11:35 Sam James
2022-08-22  8:28 Jakov Smolić
2022-08-22  8:28 Jakov Smolić
2022-08-22  8:28 Jakov Smolić
2022-06-28  7:47 Joonas Niilola
2022-06-28  6:43 Agostino Sarubbo
2022-06-27 23:32 Sam James
2022-06-27 19:32 Arthur Zamarin
2022-06-27 19:25 Arthur Zamarin
2022-05-20 18:41 Jakov Smolić
2022-03-03 15:12 Jakov Smolić
2022-02-25 21:31 Sam James
2022-02-25 20:44 Arthur Zamarin
2022-02-24 13:02 Sam James
2022-02-24  9:37 Jakov Smolić
2022-02-24  9:37 Jakov Smolić
2022-01-18 13:09 Jakov Smolić
2021-11-14 13:48 Jakov Smolić
2021-11-14  9:21 Sam James
2021-11-09 21:37 Sam James
2021-11-09 21:35 Sam James
2021-11-09 21:34 Sam James
2021-11-09 15:04 Jakov Smolić
2021-10-07  8:14 Jakov Smolić
2021-10-07  8:12 Jakov Smolić
2021-10-04 19:33 Jakov Smolić
2021-10-04 19:16 Sam James
2021-10-02  7:22 Sam James
2021-09-29 14:07 Sam James
2021-09-29 14:07 Sam James
2021-09-29 14:07 Sam James
2021-09-05  5:16 Jakov Smolić
2021-09-04 21:39 Sam James
2021-09-03  6:40 Agostino Sarubbo
2021-09-03  6:34 Agostino Sarubbo
2021-09-01 18:32 Sam James
2021-08-31 17:44 Sam James
2021-08-29 19:50 Jakov Smolić
2021-08-29 19:50 Jakov Smolić
2021-07-29 10:46 Joonas Niilola
2021-06-07 17:26 Sam James
2021-06-07  6:17 Georgy Yakovlev
2021-06-06 13:03 Sam James
2021-06-05 20:43 Sam James
2021-06-05 20:43 Sam James
2021-05-04 21:25 Sam James
2021-05-04 19:10 Sam James
2021-05-02 10:56 Mikle Kolyada
2021-01-14  1:20 Sam James
2021-01-12 18:16 Sam James
2021-01-11 19:13 Sam James
2021-01-10 22:29 Sam James
2021-01-10 21:58 Sam James
2021-01-09 16:23 Sam James
2020-12-09  9:42 Joonas Niilola
2020-12-09  9:42 Joonas Niilola
2020-12-04 18:31 Sergei Trofimovich
2020-12-02 22:58 Sam James
2020-12-02 14:58 Sam James
2020-11-29  8:09 Joonas Niilola
2020-11-29  8:09 Joonas Niilola
2020-10-28 12:10 Joonas Niilola
2020-10-27 21:22 Sam James
2020-10-27 21:22 Sam James
2020-10-17 13:19 Joonas Niilola
2020-10-17 13:19 Joonas Niilola
2020-10-10 13:48 Sergei Trofimovich
2020-10-07 16:15 Sam James
2020-10-07 16:15 Sam James
2020-10-07  0:31 Sam James
2020-10-02 13:57 Joonas Niilola
2020-10-02 13:57 Joonas Niilola
2020-09-13 23:28 Sam James
2020-09-13 21:17 Sam James
2020-09-08 17:03 Sam James
2020-09-05  2:38 Sam James
2020-09-03 14:29 Thomas Deutschmann
2020-09-02  0:45 Sam James
2020-09-01 20:46 Sam James
2020-07-24 12:03 Joonas Niilola
2020-07-24 12:03 Joonas Niilola
2020-07-01  6:39 Joonas Niilola
2020-07-01  6:39 Joonas Niilola
2020-06-14 14:05 Joonas Niilola
2020-06-14 14:05 Joonas Niilola
2020-05-13 21:07 Mart Raudsepp
2020-05-12 13:58 Joonas Niilola
2020-05-12 13:58 Joonas Niilola
2020-05-12 13:58 Joonas Niilola
2020-05-03  8:00 Joonas Niilola
2020-05-03  8:00 Joonas Niilola
2020-05-03  8:00 Joonas Niilola
2020-05-01 15:09 Joonas Niilola
2020-05-01 15:09 Joonas Niilola
2020-04-16  6:51 Joonas Niilola
2020-04-16  6:51 Joonas Niilola
2020-04-16  6:51 Joonas Niilola
2020-04-05  7:18 Joonas Niilola
2020-04-05  7:18 Joonas Niilola
2020-01-23  3:09 Matt Turner
2020-01-17 10:30 Agostino Sarubbo
2020-01-17  9:29 Agostino Sarubbo
2020-01-06 12:23 Andreas Sturmlechner
2019-12-20 21:59 Matt Turner
2019-11-23  3:37 Matt Turner
2019-11-12 14:46 Joonas Niilola
2019-04-27 20:28 David Seifert
2018-03-28 23:24 Patrick McLean
2017-09-03 12:39 Aaron Bauman
2017-09-02 18:02 Aaron Bauman
2017-09-02 18:02 Aaron Bauman
2017-05-27  7:05 Markus Meier
2017-03-30 22:02 Göktürk Yüksek
2016-10-19  7:45 Göktürk Yüksek
2016-07-03 11:57 Patrice Clement
2016-06-03  7:28 Patrice Clement
2016-06-02 17:50 Patrice Clement
2016-05-31  8:00 Patrice Clement
2016-05-25  9:03 Patrice Clement
2016-05-04  8:12 Patrice Clement
2016-05-03 12:23 Patrice Clement
2016-04-02 16:49 Tim Harder
2016-01-19 10:24 Tony Vroon
2015-09-15 13:08 Tony Vroon

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=1588345777.eedb87e4ca9074a1b5f982be059d7d5a6a653279.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