1 |
commit: a5871f938aa8d87c1b5d2c52e6521fc8208d9225 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 11 07:29:25 2017 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 11 07:29:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5871f93 |
7 |
|
8 |
net-libs/libsoup: version bump 2.56.0 → 2.56.1, bug #627466 |
9 |
|
10 |
Fixes CVE-2017-2885. |
11 |
|
12 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
13 |
|
14 |
net-libs/libsoup/Manifest | 1 + |
15 |
net-libs/libsoup/libsoup-2.56.1.ebuild | 88 ++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 89 insertions(+) |
17 |
|
18 |
diff --git a/net-libs/libsoup/Manifest b/net-libs/libsoup/Manifest |
19 |
index 0ed5ff7f4f2..01a5b269151 100644 |
20 |
--- a/net-libs/libsoup/Manifest |
21 |
+++ b/net-libs/libsoup/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST libsoup-2.56.0.tar.xz 1821412 SHA256 d8216b71de8247bc6f274ec054c08547b2e04369c1f8add713e9350c8ef81fe5 SHA512 09207ea41a4f251318f99f748275ea8c1c203d3b55d7a0adaf64721198b5858f6d5bbc46215cdc723b22250c36615f0d1f9cea4e1e3ab9b489e5548a934f3b31 WHIRLPOOL d57f8784471d97d3aad82e02253510ba59d1165f68d0642d5d0a098880f8c7dc949d0d1ccb6407a74752c05b2011fa3ac6bdb73cde8e52e74d22963b30e74376 |
24 |
+DIST libsoup-2.56.1.tar.xz 1806416 SHA256 c32a46d77b4da433b51d8fd09a57a44b198e03bdc93e5219afcc687c7948eac3 SHA512 5ac087eeba346c27e884a2053a4f8afdb2fc6e432527f4494024a7edc4eccdf145188a3faa64e3f4bdd98af2fcb98914e494b4ed24f92cffc2ff1485dce7d693 WHIRLPOOL a821342a2e592b12e901761ceb68281f68022c269977b322ea21ed7cda8f524db48ae93400eb8b59b7dd26cdbb5ec1913f9b63701d4303a6f62123cd6d2f0094 |
25 |
|
26 |
diff --git a/net-libs/libsoup/libsoup-2.56.1.ebuild b/net-libs/libsoup/libsoup-2.56.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..8ea0a486d74 |
29 |
--- /dev/null |
30 |
+++ b/net-libs/libsoup/libsoup-2.56.1.ebuild |
31 |
@@ -0,0 +1,88 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+GNOME2_LA_PUNT="yes" |
37 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) |
38 |
+VALA_USE_DEPEND="vapigen" |
39 |
+ |
40 |
+inherit gnome2 multilib-minimal python-any-r1 vala |
41 |
+ |
42 |
+DESCRIPTION="An HTTP library implementation in C" |
43 |
+HOMEPAGE="https://wiki.gnome.org/Projects/libsoup" |
44 |
+ |
45 |
+LICENSE="LGPL-2+" |
46 |
+SLOT="2.4" |
47 |
+ |
48 |
+IUSE="debug gssapi +introspection samba ssl test vala" |
49 |
+REQUIRED_USE="vala? ( introspection )" |
50 |
+ |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] |
55 |
+ >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}] |
56 |
+ >=dev-db/sqlite-3.8.2:3[${MULTILIB_USEDEP}] |
57 |
+ >=net-libs/glib-networking-2.38.2[ssl?,${MULTILIB_USEDEP}] |
58 |
+ gssapi? ( virtual/krb5[${MULTILIB_USEDEP}] ) |
59 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) |
60 |
+ samba? ( net-fs/samba ) |
61 |
+" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ ${PYTHON_DEPS} |
64 |
+ >=dev-util/intltool-0.35 |
65 |
+ >=dev-util/gtk-doc-am-1.20 |
66 |
+ sys-devel/gettext |
67 |
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
68 |
+ test? ( >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] ) |
69 |
+ vala? ( $(vala_depend) ) |
70 |
+" |
71 |
+# test? ( www-servers/apache[ssl,apache2_modules_auth_digest,apache2_modules_alias,apache2_modules_auth_basic, |
72 |
+# apache2_modules_authn_file,apache2_modules_authz_host,apache2_modules_authz_user,apache2_modules_dir, |
73 |
+# apache2_modules_mime,apache2_modules_proxy,apache2_modules_proxy_http,apache2_modules_proxy_connect] |
74 |
+# dev-lang/php[apache2,xmlrpc] |
75 |
+# net-misc/curl |
76 |
+# net-libs/glib-networking[ssl])" |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ if ! use test; then |
80 |
+ # don't waste time building tests (bug #226271) |
81 |
+ sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \ |
82 |
+ || die "sed failed" |
83 |
+ fi |
84 |
+ |
85 |
+ use vala && vala_src_prepare |
86 |
+ gnome2_src_prepare |
87 |
+} |
88 |
+ |
89 |
+src_configure() { |
90 |
+ # FIXME: we need addpredict to workaround bug #324779 until |
91 |
+ # root cause (bug #249496) is solved |
92 |
+ addpredict /usr/share/snmp/mibs/.index |
93 |
+ |
94 |
+ multilib-minimal_src_configure |
95 |
+} |
96 |
+ |
97 |
+multilib_src_configure() { |
98 |
+ # Disable apache tests until they are usable on Gentoo, bug #326957 |
99 |
+ ECONF_SOURCE=${S} \ |
100 |
+ gnome2_src_configure \ |
101 |
+ --disable-static \ |
102 |
+ --disable-tls-check \ |
103 |
+ --without-gnome \ |
104 |
+ --without-apache-httpd \ |
105 |
+ $(usex debug --enable-debug=yes ' ') \ |
106 |
+ $(multilib_native_use_with gssapi) \ |
107 |
+ $(multilib_native_use_enable introspection) \ |
108 |
+ $(multilib_native_use_enable vala) \ |
109 |
+ $(use_with samba ntlm-auth '${EPREFIX}'/usr/bin/ntlm_auth) |
110 |
+ |
111 |
+ if multilib_is_native_abi; then |
112 |
+ # fix gtk-doc |
113 |
+ ln -s "${S}"/docs/reference/html docs/reference/html || die |
114 |
+ fi |
115 |
+} |
116 |
+ |
117 |
+multilib_src_install() { |
118 |
+ gnome2_src_install |
119 |
+} |