diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2018-03-28 16:24:41 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2018-03-28 16:24:41 -0700 |
commit | 139c11e3a81f8742e19065fbac4fd2adcc508faa (patch) | |
tree | a530bbfc91ec0e9b550072770aed7d1041dbc397 /net-libs | |
parent | media-video/mjpegtools-2.1.0-r3: added ~mips (diff) | |
download | gentoo-139c11e3a81f8742e19065fbac4fd2adcc508faa.tar.gz gentoo-139c11e3a81f8742e19065fbac4fd2adcc508faa.tar.bz2 gentoo-139c11e3a81f8742e19065fbac4fd2adcc508faa.zip |
net-libs/libwebsockets: Version bump to 2.4.2
Package-Manager: Portage-2.3.26, Repoman-2.3.7
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libwebsockets/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libwebsockets/libwebsockets-2.4.2.ebuild | 71 | ||||
-rw-r--r-- | net-libs/libwebsockets/metadata.xml | 4 |
3 files changed, 76 insertions, 0 deletions
diff --git a/net-libs/libwebsockets/Manifest b/net-libs/libwebsockets/Manifest index a1679a88f08a..c9cf9410247d 100644 --- a/net-libs/libwebsockets/Manifest +++ b/net-libs/libwebsockets/Manifest @@ -1,3 +1,4 @@ DIST libwebsockets-1.7.9.tar.gz 2915358 BLAKE2B 07aad4ab716212924177aa76233d743d6258d261f6cccb286e478f51bfeac609284cf2e43004bd99c271786a7e30357895c8687c11e1c3d7589ed13dbce4fbe8 SHA512 d5bd6171d58b5d5439af48d6cc1e92623e9bf21e059a2d25d362ef81b1bff62e759fe265261dbee0ac4ceb0d0a2490dc1e030dfee2b36eb8ac74df112da1db56 DIST libwebsockets-2.0.2.tar.gz 2998585 BLAKE2B 0eaf2301abf9a0e47bd865b6e653f3ea23f3b00d4c6da785a8bd871f3ca729dc43152cad10aeaa9a3cd360aeecd0be87e434102e91e0eeaa6b1865031310a362 SHA512 6cd0cfe14ab9aa2ce26624d41290ed3bd0ae4167e93d5db738883dbbe2db851bd75037929a417922c2ef78eae3ff00583134d42da575d961c777e4a1ad0fef4a DIST libwebsockets-2.1.1.tar.gz 3769593 BLAKE2B 8d3aaa0a844925fb927fffaf0d11ba1bdbd013db8a680ce4b85cd5d951219598288fa0f2b97ec22bc00ef879586cb5c2c076b774f3411cb6d8ca553e66fb90e2 SHA512 429bca62feb75136d8aff1783a6024468033536356fb3501e4dcf0819d9e9a4457f2a94248fdafe6fdceb7e0ded146ff6c4c04040e069f34a9b27a4e090d2683 +DIST libwebsockets-2.4.2.tar.gz 3777160 BLAKE2B 6aedc0d340e9e03745309cd1a9674b6c7e84ebdbd5232a265c7a4e0deb612665982353c3ba973b58a835b1747448d415a3625ed044973212b5a897b221d73106 SHA512 7bee49f6763ff3ab7861fcda25af8d80f6757c56e197ea42be53e0b2480969eee73de3aee5198f5ff06fd1cb8ab2be4c6495243e83cd0acc235b0da83b2353d1 diff --git a/net-libs/libwebsockets/libwebsockets-2.4.2.ebuild b/net-libs/libwebsockets/libwebsockets-2.4.2.ebuild new file mode 100644 index 000000000000..dc1e64652689 --- /dev/null +++ b/net-libs/libwebsockets/libwebsockets-2.4.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="canonical libwebsockets.org websocket library" +HOMEPAGE="https://libwebsockets.org/" +SRC_URI="https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+http2 +ssl access-log caps cgi client generic-sessions http-proxy ipv6 lejp libev + libevent libressl libuv peer-limits server-status socks5 smtp sqlite3 static-libs +zip" + +REQUIRED_USE=" + libressl? ( ssl ) + http-proxy? ( client ) + generic-sessions? ( sqlite3 ) + generic-sessions? ( smtp ) + smtp? ( libuv ) +" + +RDEPEND=" + sys-libs/zlib + http-proxy? ( net-libs/libhubbub ) + caps? ( sys-libs/libcap ) + libev? ( dev-libs/libev ) + libevent? ( dev-libs/libevent ) + libuv? ( dev-libs/libuv ) + sqlite3? ( dev-db/sqlite ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) +" +DEPEND="${RDEPEND} + dev-lang/perl +" + +src_configure() { + local mycmakeargs=( + -DLWS_IPV6=$(usex ipv6 ON OFF) + -DLWS_LINK_TESTAPPS_DYNAMIC=$(usex !static-libs ON OFF) + -DLWS_WITH_HTTP2=$(usex http2 ON OFF) + -DLWS_WITH_STATIC=$(usex static-libs ON OFF) + -DLWS_HAVE_LIBCAP=$(usex caps ON OFF) + -DLWS_WITH_LIBEV=$(usex libev ON OFF) + -DLWS_WITH_LIBEVENT=$(usex libevent ON OFF) + -DLWS_WITH_LIBUV=$(usex libuv ON OFF) + -DLWS_WITH_PEER_LIMITS=$(usex peer-limits ON OFF) + -DLWS_WITH_SSL=$(usex ssl ON OFF) + -DLWS_WITHOUT_CLIENT=$(usex !client ON OFF) + -DLWS_WITHOUT_TEST_CLIENT=$(usex !client ON OFF) + -DLWS_WITH_CGI=$(usex cgi ON OFF) + -DLWS_WITH_HTTP_PROXY=$(usex http-proxy ON OFF) + -DLWS_WITH_ACCESS_LOG=$(usex access-log ON OFF) + -DLWS_WITH_SERVER_STATUS=$(usex server-status ON OFF) + -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON + -DLWS_WITH_LEJP=$(usex lejp ON OFF) + -DLWS_WITH_GENERIC_SESSIONS=$(usex generic-sessions ON OFF) + -DLWS_WITH_SQLITE3=$(usex sqlite3 ON OFF) + -DLWS_WITH_SMTP=$(usex smtp ON OFF) + -DLWS_WITH_SOCKS5=$(usex socks5 ON OFF) + -DLWS_WITH_ZIP_FOPS=$(usex zip ON OFF) + ) + + cmake-utils_src_configure +} diff --git a/net-libs/libwebsockets/metadata.xml b/net-libs/libwebsockets/metadata.xml index 353ac742f140..482bbee780d0 100644 --- a/net-libs/libwebsockets/metadata.xml +++ b/net-libs/libwebsockets/metadata.xml @@ -25,10 +25,14 @@ <flag name="http-proxy">Support for rewriting HTTP proxying</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="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> + <flag name="socks5">Allow use of SOCKS5 proxy on client connections</flag> <flag name="sqlite3">Require SQLITE3 support</flag> + <flag name="zip">Support serving pre-zipped files</flag> </use> <upstream> <remote-id type="github">warmcat/libwebsockets</remote-id> |