1 |
commit: 75962f3d8af29fdf7516926e9ab4204fc0adbdcf |
2 |
Author: yuchen.xie <yuchen.xie <AT> live <DOT> com> |
3 |
AuthorDate: Sat Mar 26 01:24:15 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 3 12:08:06 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75962f3d |
7 |
|
8 |
net-libs/libwebsockets: bump to 1.7.6 |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/578820 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/1138 |
12 |
|
13 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
14 |
|
15 |
net-libs/libwebsockets/Manifest | 5 ++++ |
16 |
net-libs/libwebsockets/libwebsockets-1.4.ebuild | 2 +- |
17 |
net-libs/libwebsockets/libwebsockets-1.7.6.ebuild | 36 +++++++++++++++++++++++ |
18 |
net-libs/libwebsockets/metadata.xml | 9 ++++++ |
19 |
4 files changed, 51 insertions(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/net-libs/libwebsockets/Manifest b/net-libs/libwebsockets/Manifest |
22 |
index 858ffc8..ccbe8b3 100644 |
23 |
--- a/net-libs/libwebsockets/Manifest |
24 |
+++ b/net-libs/libwebsockets/Manifest |
25 |
@@ -1,2 +1,7 @@ |
26 |
DIST libwebsockets-1.4-chrome43-firefox-36.tar.gz 2841449 SHA256 e11492477e582ef0b1a6ea2f18d81a9619b449170a3a5c43f32a9468461a9798 SHA512 46dd538193e001a54a1fc78f238c6ff94252b79239b110c0e57bd354082cc6adc12578cd7c7afddd8c9de6319e31ab511189ee5decf101075402874a9f6932cb WHIRLPOOL ebfd79a3855824df81da0c8d3a93f15d282b87189cdcd94627842c3f4c8400cecfe148fa6fc20a608cea4c278794f6e9f94facfa37fa8f047b571e8b1fd01d2b |
27 |
DIST libwebsockets-1.6.0-chrome48-firefox42.tar.gz 2861394 SHA256 0b97d9f5f8a57fc3d34c17ac9e2bca578629ac407cca0f23b3491fda9bd6cba3 SHA512 d185b15922c007b85083423e997e96ebfed1da3debc9a352bc135f712f3b9828d58fdcc514dcd24c051d5b2d3a623444036068bc402bf64ab38a4139eefc57f4 WHIRLPOOL 67ea0cecccf9ad1e14834f681e29e95680d808f60ce603e8d75ff4123b731a581be7bd7e60907b0ab79eec2def60279c2287874f307daaeddc182533619589f6 |
28 |
+DIST libwebsockets-1.7.6.tar.gz 2914276 SHA256 b6f738d85baa568f70c16ad724855d346355a31f05fb62b75e7f2b45d504d2ff SHA512 7e85d0f58a12057eb7b295e5913fef273efacc3adc918262a1af738a74a9b3badaf419e0f8b0b039423f79cc8f3047856186d41df555802b695103d4f6679f09 WHIRLPOOL 4e189973dc7ba7eba66cb2b04fcd3ee622fda83005389b1f21e964b9d5500ca060e81cbab82e8c28fbb96b511d7973e54081ea8ea5340de660a32b90be6c0879 |
29 |
+EBUILD libwebsockets-1.4.ebuild 453 SHA256 c134922f63ec244a3392e998dad88cd66b1bc48f0130471b4125331c42fef587 SHA512 0f235702118e6c0cf50226f962765f6faae23b97fc6b291d28af36cd23cef77a6879305c7924a46f5528940fcfe9122469949dc39883ad01d501442b334c9041 WHIRLPOOL e9cd63fd625a8365780677fb650ab3f46bf5fda2fbd796a6da8383bf70d98ca70b8c75651efdef71096d6b5e716de375ba1ccc0c1db222cb5656316a175f9f73 |
30 |
+EBUILD libwebsockets-1.6.0.ebuild 457 SHA256 30d6762bb3568f81806576c8c3cd31a028da996fb6a74ac17d6f622d89fac439 SHA512 ef76fa3ed3f65a07a20f82c2d70bc8850945fd2c003e9331aa9b3705b27ff45aadb2c024418e3c09c19e765a7d3b24a64654285f35b7230ae21a6c7fc7712265 WHIRLPOOL 2ff076b0a285faa124354c710c6716fc9190b02100c3b93d41c9c24f6d9b7f15369309d9f4c81da06f9f17d2cadb7a183a5d0d533d0b3629c74580d6d69fd4cb |
31 |
+EBUILD libwebsockets-1.7.6.ebuild 852 SHA256 d249935e1e98918a234d36795d42b363c7b4c3fc4c559945907212690f6f82ab SHA512 a5a66c0fd6e9cb79c02cfb4c2deb180c813281857e7c0cf216eca9faeaed5c5bcef8d9061cdc6fce161d9695e787fd8f39c29baaef0da04c349e875b867f81bf WHIRLPOOL 9ce03504242ed3ed86031babaf58677f1f595e3bcef449199a546130c6551fde7935f4c0b4e11bfa1895b048b70d1ff921a35fc613a0f64dbe110b00236e7033 |
32 |
+MISC metadata.xml 1032 SHA256 30152a1cb1bf0835f447f42eb68a283f9bc0c1021db456101adc9aa48e1ca154 SHA512 82b042285b8ecee7306d424c60ca0cc07547828b06e2b0bef9d2cf0aca74f215a50f9b7b76955d5adb502c97580509b4549f561e95a53a8e7c336ded4f0177b3 WHIRLPOOL b3b69cd6dd4d76a48e0de0e438d77b15d39e0461683f99b3be4fedb56bc7dd58a77a5453c80b9cd9d08d87862664376fb948587b04e46524946c4d84f3ce364e |
33 |
|
34 |
diff --git a/net-libs/libwebsockets/libwebsockets-1.4.ebuild b/net-libs/libwebsockets/libwebsockets-1.4.ebuild |
35 |
index 8238260..7de3619 100644 |
36 |
--- a/net-libs/libwebsockets/libwebsockets-1.4.ebuild |
37 |
+++ b/net-libs/libwebsockets/libwebsockets-1.4.ebuild |
38 |
@@ -1,4 +1,4 @@ |
39 |
-# Copyright 1999-2015 Gentoo Foundation |
40 |
+# Copyright 1999-2016 Gentoo Foundation |
41 |
# Distributed under the terms of the GNU General Public License v2 |
42 |
# $Id$ |
43 |
|
44 |
|
45 |
diff --git a/net-libs/libwebsockets/libwebsockets-1.7.6.ebuild b/net-libs/libwebsockets/libwebsockets-1.7.6.ebuild |
46 |
new file mode 100644 |
47 |
index 0000000..22e639b |
48 |
--- /dev/null |
49 |
+++ b/net-libs/libwebsockets/libwebsockets-1.7.6.ebuild |
50 |
@@ -0,0 +1,36 @@ |
51 |
+# Copyright 1999-2016 Gentoo Foundation |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+# $Id$ |
54 |
+ |
55 |
+EAPI=6 |
56 |
+ |
57 |
+inherit cmake-utils |
58 |
+ |
59 |
+DESCRIPTION="canonical libwebsockets.org websocket library" |
60 |
+HOMEPAGE="https://libwebsockets.org/" |
61 |
+SRC_URI="https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
62 |
+ |
63 |
+LICENSE="LGPL-2.1" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~amd64 ~x86" |
66 |
+IUSE="+ssl +zlib static-libs +http2 ipv6 +server -client" |
67 |
+ |
68 |
+RDEPEND=" |
69 |
+ ssl? ( dev-libs/openssl:0 ) |
70 |
+ zlib? ( sys-libs/zlib ) |
71 |
+ " |
72 |
+DEPEND="${RDEPEND}" |
73 |
+ |
74 |
+src_configure() { |
75 |
+ local mycmakeargs=( |
76 |
+ -DLWS_WITH_STATIC=$(usex static-libs) |
77 |
+ -DLWS_LINK_TESTAPPS_DYNAMIC=$(usex !static-libs) |
78 |
+ -DLWS_WITH_SSL=$(usex ssl) |
79 |
+ -DLWS_WITHOUT_CLIENT=$(usex !client) |
80 |
+ -DLWS_WITHOUT_SERVER=$(usex !server) |
81 |
+ -DLWS_WITH_HTTP2=$(usex http2) |
82 |
+ -DLWS_IPV6=$(usex ipv6) |
83 |
+ ) |
84 |
+ |
85 |
+ cmake-utils_src_configure |
86 |
+} |
87 |
|
88 |
diff --git a/net-libs/libwebsockets/metadata.xml b/net-libs/libwebsockets/metadata.xml |
89 |
index 6cc6f32..0c55822 100644 |
90 |
--- a/net-libs/libwebsockets/metadata.xml |
91 |
+++ b/net-libs/libwebsockets/metadata.xml |
92 |
@@ -13,4 +13,13 @@ |
93 |
<longdescription> |
94 |
libwebsockets is a C library designed to make development of websockets clients and servers easier (possible). |
95 |
</longdescription> |
96 |
+ <use> |
97 |
+ <flag name="ssl">Include SSL support (default <pkg>dev-libs/openssl</pkg>)</flag> |
98 |
+ <flag name="zlib">Include zlib support</flag> |
99 |
+ <flag name="static-libs">Build the static version of the library</flag> |
100 |
+ <flag name="http2">Compile with support for http2</flag> |
101 |
+ <flag name="ipv6">Compile with support for ipv6</flag> |
102 |
+ <flag name="server">The server part of the library</flag> |
103 |
+ <flag name="client">The client part of the library</flag> |
104 |
+ </use> |
105 |
</pkgmetadata> |