1 |
commit: a1df36a344e336e5be14d94fd11686901797a2c6 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 18 16:46:08 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 18 16:47:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1df36a3 |
7 |
|
8 |
net-libs/nghttp2: Bump to version 1.36.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.56, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
net-libs/nghttp2/Manifest | 1 + |
14 |
net-libs/nghttp2/nghttp2-1.36.0.ebuild | 68 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 69 insertions(+) |
16 |
|
17 |
diff --git a/net-libs/nghttp2/Manifest b/net-libs/nghttp2/Manifest |
18 |
index 474d229ec2c..1b0e7394aac 100644 |
19 |
--- a/net-libs/nghttp2/Manifest |
20 |
+++ b/net-libs/nghttp2/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST nghttp2-1.33.0.tar.xz 1554776 BLAKE2B 1b995d6385188423acbcd7c8b3a626a622270 |
22 |
DIST nghttp2-1.34.0.tar.xz 1612432 BLAKE2B b5a53d5ffdb68e509cebf50993c3b9de4e597ae9079db505db6e6df67c1eb5f4b095f18dec9f1b946f05b83f3db8ba15e5e5cd7efd4921a94350bd47533a9164 SHA512 5ddc4ab443c51ce286a656d2013421172fc37608f14c0a7ea02fa9e5a0dd155e162d5602b55f34dacc69709525a9a8110dc4c42d92607bbad1951075d094c6a0 |
23 |
DIST nghttp2-1.35.0.tar.xz 1616224 BLAKE2B b594e386b9a9dcd62dd75686a9274b30d3b9be5b1f2aa4dccb6543bcece60cda931bd6e16c5122ac946159547c1aafa6a02f2f013a3b38837194d4cf9a14ba64 SHA512 4e209bb6e388ee9c3440a88eb28ecb4a69e0047b089e4d028bb911dd69518a970b5b06ed6fff06594adca53dccd42443733faad909d347dd8d8e919055356e2f |
24 |
DIST nghttp2-1.35.1.tar.xz 1614460 BLAKE2B 86e078cd0fc285f76df5096c34ee3142268772cf690ec7c9abef7cc3d873ac583a1da5e331ec46138e05b5867f56a9a4e98210395d75377ff37956307c7b049f SHA512 fcd3f79f913afbeee1c75003bb39df918e6122bbf728b3ad4192d5849d8fb96705e04f5505465d63f25a565b2f1da6abd8fabdebb6e3347500f7abd31980861d |
25 |
+DIST nghttp2-1.36.0.tar.xz 1629020 BLAKE2B 7c116988c22801688c50d6d514ddb904920cc54d3c3d141137e6ed8b2182ef4e670f0a0fdebaeabfe0df8cdea4cfd1ee3fb083628f035201f104de6f3614dd25 SHA512 4e0d5c5cdb4f1b7e5f12790850237f36649af4aa9596033392725972e4e0e5a33bb78bd1aa0735e35e489b523b7e9a236a7b5847dfca69bd7583fcab36c13c76 |
26 |
|
27 |
diff --git a/net-libs/nghttp2/nghttp2-1.36.0.ebuild b/net-libs/nghttp2/nghttp2-1.36.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..20f89187f0f |
30 |
--- /dev/null |
31 |
+++ b/net-libs/nghttp2/nghttp2-1.36.0.ebuild |
32 |
@@ -0,0 +1,68 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+# TODO: Add python support. |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit multilib-minimal |
41 |
+ |
42 |
+if [[ ${PV} == 9999 ]] ; then |
43 |
+ EGIT_REPO_URI="https://github.com/nghttp2/nghttp2.git" |
44 |
+ inherit git-r3 |
45 |
+else |
46 |
+ SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz" |
47 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" |
48 |
+fi |
49 |
+ |
50 |
+DESCRIPTION="HTTP/2 C Library" |
51 |
+HOMEPAGE="https://nghttp2.org/" |
52 |
+ |
53 |
+LICENSE="MIT" |
54 |
+SLOT="0/1.14" # <C++>.<C> SONAMEs |
55 |
+IUSE="cxx debug hpack-tools jemalloc libressl static-libs test +threads utils xml" |
56 |
+ |
57 |
+SSL_DEPEND=" |
58 |
+ !libressl? ( >=dev-libs/openssl-1.0.2:0=[-bindist,${MULTILIB_USEDEP}] ) |
59 |
+ libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] ) |
60 |
+" |
61 |
+RDEPEND=" |
62 |
+ cxx? ( |
63 |
+ ${SSL_DEPEND} |
64 |
+ dev-libs/boost:=[${MULTILIB_USEDEP},threads] |
65 |
+ ) |
66 |
+ hpack-tools? ( >=dev-libs/jansson-2.5 ) |
67 |
+ jemalloc? ( dev-libs/jemalloc[${MULTILIB_USEDEP}] ) |
68 |
+ utils? ( |
69 |
+ ${SSL_DEPEND} |
70 |
+ >=dev-libs/libev-4.15[${MULTILIB_USEDEP}] |
71 |
+ >=sys-libs/zlib-1.2.3[${MULTILIB_USEDEP}] |
72 |
+ net-dns/c-ares:=[${MULTILIB_USEDEP}] |
73 |
+ ) |
74 |
+ xml? ( >=dev-libs/libxml2-2.7.7:2[${MULTILIB_USEDEP}] )" |
75 |
+DEPEND="${RDEPEND} |
76 |
+ virtual/pkgconfig |
77 |
+ test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" |
78 |
+ |
79 |
+multilib_src_configure() { |
80 |
+ local myeconfargs=( |
81 |
+ --disable-examples |
82 |
+ --disable-failmalloc |
83 |
+ --disable-werror |
84 |
+ --without-cython |
85 |
+ --disable-python-bindings |
86 |
+ $(use_enable cxx asio-lib) |
87 |
+ $(use_enable debug) |
88 |
+ $(multilib_native_use_enable hpack-tools) |
89 |
+ $(use_enable static-libs static) |
90 |
+ $(use_enable threads) |
91 |
+ $(multilib_native_use_enable utils app) |
92 |
+ $(multilib_native_use_with jemalloc) |
93 |
+ $(multilib_native_use_with xml libxml2) |
94 |
+ ) |
95 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
96 |
+} |
97 |
+ |
98 |
+multilib_src_install_all() { |
99 |
+ use static-libs || find "${ED%/}"/usr -name '*.la' -delete |
100 |
+} |