1 |
commit: 713fff7f944631104c82c26158f9be5be3263acd |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 22 12:17:54 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 22 12:22:25 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=713fff7f |
7 |
|
8 |
net-libs/libsoup: bump to 2.60.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
net-libs/libsoup/Manifest | 1 + |
14 |
net-libs/libsoup/libsoup-2.60.3.ebuild | 98 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 99 insertions(+) |
16 |
|
17 |
diff --git a/net-libs/libsoup/Manifest b/net-libs/libsoup/Manifest |
18 |
index a49e9ab3537..14a1cf87c2d 100644 |
19 |
--- a/net-libs/libsoup/Manifest |
20 |
+++ b/net-libs/libsoup/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST libsoup-2.58.2.tar.xz 1815256 BLAKE2B 23c6e40f91a2dca13fcabe4fa3af7311874cbe06962c6cdc93d8d8d0a998d29cff9e7ce61190541b6114b4996d758b7c469b0354a6012856667e9541a78177cb SHA512 85af6fac87343bdd22312518402144d33916225f60d6fa158efdd84f7ee7ed1f9895989b3558f711c9aedc93cff35a4114ad79d6d2aa19c54cb326f162a4c7de |
23 |
+DIST libsoup-2.60.3.tar.xz 1838640 BLAKE2B f398f1ba8c37149b46049b674af35915bab3257730d64683acf4a5ad7178818d6367d8378c0b54b163ce774dbf5077883e2cf2055ef5ccbfff775123b3cfa161 SHA512 56d03702643c8b37ed2ec23a0c7517b7d2d06d4cc01f374a8f1c6a03a95d5413522f430827c8daa30a6338fff11013e303fd12c927ca21c84f0d52a44e3525a8 |
24 |
|
25 |
diff --git a/net-libs/libsoup/libsoup-2.60.3.ebuild b/net-libs/libsoup/libsoup-2.60.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..314975238bc |
28 |
--- /dev/null |
29 |
+++ b/net-libs/libsoup/libsoup-2.60.3.ebuild |
30 |
@@ -0,0 +1,98 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+GNOME2_LA_PUNT="yes" |
36 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5,3_6} ) |
37 |
+VALA_USE_DEPEND="vapigen" |
38 |
+ |
39 |
+inherit gnome2 multilib-minimal python-any-r1 vala |
40 |
+ |
41 |
+DESCRIPTION="An HTTP library implementation in C" |
42 |
+HOMEPAGE="https://wiki.gnome.org/Projects/libsoup" |
43 |
+ |
44 |
+LICENSE="LGPL-2+" |
45 |
+SLOT="2.4" |
46 |
+ |
47 |
+IUSE="debug gssapi +introspection samba ssl test vala" |
48 |
+REQUIRED_USE="vala? ( introspection )" |
49 |
+ |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] |
54 |
+ >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}] |
55 |
+ >=dev-db/sqlite-3.8.2:3[${MULTILIB_USEDEP}] |
56 |
+ >=net-libs/glib-networking-2.38.2[ssl?,${MULTILIB_USEDEP}] |
57 |
+ gssapi? ( virtual/krb5[${MULTILIB_USEDEP}] ) |
58 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) |
59 |
+ samba? ( net-fs/samba ) |
60 |
+" |
61 |
+DEPEND="${RDEPEND} |
62 |
+ ${PYTHON_DEPS} |
63 |
+ dev-util/glib-utils |
64 |
+ >=dev-util/gtk-doc-am-1.20 |
65 |
+ >=dev-util/intltool-0.35 |
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 |
+PATCHES=( |
79 |
+ # https://bugs.gentoo.org/630516 |
80 |
+ "${FILESDIR}/${PN}-2.58.2-sparc-unaligned.patch" |
81 |
+) |
82 |
+ |
83 |
+src_prepare() { |
84 |
+ if ! use test; then |
85 |
+ # don't waste time building tests (bug #226271) |
86 |
+ sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \ |
87 |
+ || die "sed failed" |
88 |
+ fi |
89 |
+ |
90 |
+ # FIXME: workaround upstream not respecting --without-apache-httpd |
91 |
+ sed -e '/check: start-httpd/d' \ |
92 |
+ -i tests/Makefile.am tests/Makefile.in || die |
93 |
+ |
94 |
+ use vala && vala_src_prepare |
95 |
+ gnome2_src_prepare |
96 |
+} |
97 |
+ |
98 |
+src_configure() { |
99 |
+ # FIXME: we need addpredict to workaround bug #324779 until |
100 |
+ # root cause (bug #249496) is solved |
101 |
+ addpredict /usr/share/snmp/mibs/.index |
102 |
+ |
103 |
+ multilib-minimal_src_configure |
104 |
+} |
105 |
+ |
106 |
+multilib_src_configure() { |
107 |
+ # Disable apache tests until they are usable on Gentoo, bug #326957 |
108 |
+ ECONF_SOURCE=${S} \ |
109 |
+ gnome2_src_configure \ |
110 |
+ --disable-static \ |
111 |
+ --disable-tls-check \ |
112 |
+ --without-gnome \ |
113 |
+ --without-apache-httpd \ |
114 |
+ $(usex debug --enable-debug=yes ' ') \ |
115 |
+ $(multilib_native_use_with gssapi) \ |
116 |
+ $(multilib_native_use_enable introspection) \ |
117 |
+ $(multilib_native_use_enable vala) \ |
118 |
+ $(use_with samba ntlm-auth '${EPREFIX}'/usr/bin/ntlm_auth) |
119 |
+ |
120 |
+ if multilib_is_native_abi; then |
121 |
+ # fix gtk-doc |
122 |
+ ln -s "${S}"/docs/reference/html docs/reference/html || die |
123 |
+ fi |
124 |
+} |
125 |
+ |
126 |
+multilib_src_install() { |
127 |
+ gnome2_src_install |
128 |
+} |