summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryuchen.xie <yuchen.xie@live.com>2016-03-26 09:24:15 +0800
committerPatrice Clement <monsieurp@gentoo.org>2016-05-03 12:08:06 +0000
commit75962f3d8af29fdf7516926e9ab4204fc0adbdcf (patch)
tree0798111f04dc5e4bf5b19418262d2168f9bc0902 /net-libs/libwebsockets
parentdev-python/fudge: Added python3_5. EAPI-6 conversion. (diff)
downloadgentoo-75962f3d8af29fdf7516926e9ab4204fc0adbdcf.tar.gz
gentoo-75962f3d8af29fdf7516926e9ab4204fc0adbdcf.tar.bz2
gentoo-75962f3d8af29fdf7516926e9ab4204fc0adbdcf.zip
net-libs/libwebsockets: bump to 1.7.6
Gentoo-Bug: https://bugs.gentoo.org/578820 Closes: https://github.com/gentoo/gentoo/pull/1138 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-libs/libwebsockets')
-rw-r--r--net-libs/libwebsockets/Manifest5
-rw-r--r--net-libs/libwebsockets/libwebsockets-1.4.ebuild2
-rw-r--r--net-libs/libwebsockets/libwebsockets-1.7.6.ebuild36
-rw-r--r--net-libs/libwebsockets/metadata.xml9
4 files changed, 51 insertions, 1 deletions
diff --git a/net-libs/libwebsockets/Manifest b/net-libs/libwebsockets/Manifest
index 858ffc88a309..ccbe8b3bd17e 100644
--- a/net-libs/libwebsockets/Manifest
+++ b/net-libs/libwebsockets/Manifest
@@ -1,2 +1,7 @@
DIST libwebsockets-1.4-chrome43-firefox-36.tar.gz 2841449 SHA256 e11492477e582ef0b1a6ea2f18d81a9619b449170a3a5c43f32a9468461a9798 SHA512 46dd538193e001a54a1fc78f238c6ff94252b79239b110c0e57bd354082cc6adc12578cd7c7afddd8c9de6319e31ab511189ee5decf101075402874a9f6932cb WHIRLPOOL ebfd79a3855824df81da0c8d3a93f15d282b87189cdcd94627842c3f4c8400cecfe148fa6fc20a608cea4c278794f6e9f94facfa37fa8f047b571e8b1fd01d2b
DIST libwebsockets-1.6.0-chrome48-firefox42.tar.gz 2861394 SHA256 0b97d9f5f8a57fc3d34c17ac9e2bca578629ac407cca0f23b3491fda9bd6cba3 SHA512 d185b15922c007b85083423e997e96ebfed1da3debc9a352bc135f712f3b9828d58fdcc514dcd24c051d5b2d3a623444036068bc402bf64ab38a4139eefc57f4 WHIRLPOOL 67ea0cecccf9ad1e14834f681e29e95680d808f60ce603e8d75ff4123b731a581be7bd7e60907b0ab79eec2def60279c2287874f307daaeddc182533619589f6
+DIST libwebsockets-1.7.6.tar.gz 2914276 SHA256 b6f738d85baa568f70c16ad724855d346355a31f05fb62b75e7f2b45d504d2ff SHA512 7e85d0f58a12057eb7b295e5913fef273efacc3adc918262a1af738a74a9b3badaf419e0f8b0b039423f79cc8f3047856186d41df555802b695103d4f6679f09 WHIRLPOOL 4e189973dc7ba7eba66cb2b04fcd3ee622fda83005389b1f21e964b9d5500ca060e81cbab82e8c28fbb96b511d7973e54081ea8ea5340de660a32b90be6c0879
+EBUILD libwebsockets-1.4.ebuild 453 SHA256 c134922f63ec244a3392e998dad88cd66b1bc48f0130471b4125331c42fef587 SHA512 0f235702118e6c0cf50226f962765f6faae23b97fc6b291d28af36cd23cef77a6879305c7924a46f5528940fcfe9122469949dc39883ad01d501442b334c9041 WHIRLPOOL e9cd63fd625a8365780677fb650ab3f46bf5fda2fbd796a6da8383bf70d98ca70b8c75651efdef71096d6b5e716de375ba1ccc0c1db222cb5656316a175f9f73
+EBUILD libwebsockets-1.6.0.ebuild 457 SHA256 30d6762bb3568f81806576c8c3cd31a028da996fb6a74ac17d6f622d89fac439 SHA512 ef76fa3ed3f65a07a20f82c2d70bc8850945fd2c003e9331aa9b3705b27ff45aadb2c024418e3c09c19e765a7d3b24a64654285f35b7230ae21a6c7fc7712265 WHIRLPOOL 2ff076b0a285faa124354c710c6716fc9190b02100c3b93d41c9c24f6d9b7f15369309d9f4c81da06f9f17d2cadb7a183a5d0d533d0b3629c74580d6d69fd4cb
+EBUILD libwebsockets-1.7.6.ebuild 852 SHA256 d249935e1e98918a234d36795d42b363c7b4c3fc4c559945907212690f6f82ab SHA512 a5a66c0fd6e9cb79c02cfb4c2deb180c813281857e7c0cf216eca9faeaed5c5bcef8d9061cdc6fce161d9695e787fd8f39c29baaef0da04c349e875b867f81bf WHIRLPOOL 9ce03504242ed3ed86031babaf58677f1f595e3bcef449199a546130c6551fde7935f4c0b4e11bfa1895b048b70d1ff921a35fc613a0f64dbe110b00236e7033
+MISC metadata.xml 1032 SHA256 30152a1cb1bf0835f447f42eb68a283f9bc0c1021db456101adc9aa48e1ca154 SHA512 82b042285b8ecee7306d424c60ca0cc07547828b06e2b0bef9d2cf0aca74f215a50f9b7b76955d5adb502c97580509b4549f561e95a53a8e7c336ded4f0177b3 WHIRLPOOL b3b69cd6dd4d76a48e0de0e438d77b15d39e0461683f99b3be4fedb56bc7dd58a77a5453c80b9cd9d08d87862664376fb948587b04e46524946c4d84f3ce364e
diff --git a/net-libs/libwebsockets/libwebsockets-1.4.ebuild b/net-libs/libwebsockets/libwebsockets-1.4.ebuild
index 8238260080c6..7de36197d1c3 100644
--- a/net-libs/libwebsockets/libwebsockets-1.4.ebuild
+++ b/net-libs/libwebsockets/libwebsockets-1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
diff --git a/net-libs/libwebsockets/libwebsockets-1.7.6.ebuild b/net-libs/libwebsockets/libwebsockets-1.7.6.ebuild
new file mode 100644
index 000000000000..22e639b60d22
--- /dev/null
+++ b/net-libs/libwebsockets/libwebsockets-1.7.6.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ssl +zlib static-libs +http2 ipv6 +server -client"
+
+RDEPEND="
+ ssl? ( dev-libs/openssl:0 )
+ zlib? ( sys-libs/zlib )
+ "
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DLWS_WITH_STATIC=$(usex static-libs)
+ -DLWS_LINK_TESTAPPS_DYNAMIC=$(usex !static-libs)
+ -DLWS_WITH_SSL=$(usex ssl)
+ -DLWS_WITHOUT_CLIENT=$(usex !client)
+ -DLWS_WITHOUT_SERVER=$(usex !server)
+ -DLWS_WITH_HTTP2=$(usex http2)
+ -DLWS_IPV6=$(usex ipv6)
+ )
+
+ cmake-utils_src_configure
+}
diff --git a/net-libs/libwebsockets/metadata.xml b/net-libs/libwebsockets/metadata.xml
index 6cc6f3225917..0c5582266b6b 100644
--- a/net-libs/libwebsockets/metadata.xml
+++ b/net-libs/libwebsockets/metadata.xml
@@ -13,4 +13,13 @@
<longdescription>
libwebsockets is a C library designed to make development of websockets clients and servers easier (possible).
</longdescription>
+ <use>
+ <flag name="ssl">Include SSL support (default <pkg>dev-libs/openssl</pkg>)</flag>
+ <flag name="zlib">Include zlib support</flag>
+ <flag name="static-libs">Build the static version of the library</flag>
+ <flag name="http2">Compile with support for http2</flag>
+ <flag name="ipv6">Compile with support for ipv6</flag>
+ <flag name="server">The server part of the library</flag>
+ <flag name="client">The client part of the library</flag>
+ </use>
</pkgmetadata>