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