Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/glib-networking/files/, net-libs/glib-networking/
Date: Sat, 11 Jan 2020 19:24:22
Message-Id: 1578770004.706d78ec10b1e9212e2296289be24bf9708f76ca.leio@gentoo
1 commit: 706d78ec10b1e9212e2296289be24bf9708f76ca
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 11 19:13:01 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 11 19:13:24 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=706d78ec
7
8 net-libs/glib-networking: remove old
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 net-libs/glib-networking/Manifest | 1 -
14 .../files/2.58.0-disable-failing-tests.patch | 36 ----------
15 .../glib-networking/glib-networking-2.58.0.ebuild | 76 ----------------------
16 3 files changed, 113 deletions(-)
17
18 diff --git a/net-libs/glib-networking/Manifest b/net-libs/glib-networking/Manifest
19 index 5abdabecc35..7e2283e2162 100644
20 --- a/net-libs/glib-networking/Manifest
21 +++ b/net-libs/glib-networking/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST glib-networking-2.58.0.tar.xz 172632 BLAKE2B 2b1e478ecac7ffb25f0d4e319fc71f7a0c6d9bd4181a5e8abb310d11774491312b0ff1c81b9d8b383ae0b236ece89253d6bd222740199d816c94ea557b4e3511 SHA512 d9cfd97ef9905eceb1f807a7d18c648fcf148214bf3fc55c718c5bcd6fb0afc429ab5b7bf72e83cf959d5ce7f145ce17952c1288d4225cc99d3c6ad66e4494ff
24 DIST glib-networking-2.60.3.tar.xz 185132 BLAKE2B 8bbe2b8afb779bac99bd554c384bdbf9e197e9b71dc6fe213cdd4352d95ce19d1c9786747ba5c721fc35bdda3e1325e9620c1ef15ca1fa1e294aad9ab3f9a4bc SHA512 06a50aee1a563f5e992549e963d3980b02c9068976a244ce4a84eb0aca064b2ab7e8d50e3ef26dbd0d8d5edbddc82c5ce83d4a93bfaa0822b79465f0d3b8609f
25 DIST glib-networking-2.60.4.tar.xz 185628 BLAKE2B b10fecb88f09c4c33718a923f6ae5790baada485b4dd3637b0ae9bf5f831b74ac4b87fc398eed4c4a88b7069e4c5bc9a58c04ccbffc056648baa58b43d4489a3 SHA512 db1019c0fc712c0702679146bdd9490101cec63796792a33c7fc7fe26a85d343cfb11f718601a8d3bd91167505bbe60333cc01999a0496826c31681bb8dd4032
26
27 diff --git a/net-libs/glib-networking/files/2.58.0-disable-failing-tests.patch b/net-libs/glib-networking/files/2.58.0-disable-failing-tests.patch
28 deleted file mode 100644
29 index c3802392e3b..00000000000
30 --- a/net-libs/glib-networking/files/2.58.0-disable-failing-tests.patch
31 +++ /dev/null
32 @@ -1,36 +0,0 @@
33 -From 7fd8c24182ea054d6d890b6f6325e63458a10392 Mon Sep 17 00:00:00 2001
34 -From: Mart Raudsepp <leio@g.o>
35 -Date: Thu, 17 Jan 2019 21:03:06 +0200
36 -Subject: [PATCH] tests: Disable test that fails with gnutls-3.6 (or in
37 - general)
38 -
39 -Tests for TLS 1.3 are still problematic on 2.58.x releases; should
40 -be better once 2.60 comes out, but the changes are still being worked
41 -on and would cause regressions for real world programs right now if
42 -backported.
43 ----
44 - tls/tests/connection.c | 4 ----
45 - 1 file changed, 4 deletions(-)
46 -
47 -diff --git a/tls/tests/connection.c b/tls/tests/connection.c
48 -index 6087efc..accca78 100644
49 ---- a/tls/tests/connection.c
50 -+++ b/tls/tests/connection.c
51 -@@ -2017,14 +2017,10 @@ main (int argc,
52 - setup_connection, test_client_auth_connection, teardown_connection);
53 - g_test_add ("/tls/connection/client-auth-rehandshake", TestConnection, NULL,
54 - setup_connection, test_client_auth_rehandshake, teardown_connection);
55 -- g_test_add ("/tls/connection/client-auth-failure", TestConnection, NULL,
56 -- setup_connection, test_client_auth_failure, teardown_connection);
57 - g_test_add ("/tls/connection/client-auth-fail-missing-client-private-key", TestConnection, NULL,
58 - setup_connection, test_client_auth_fail_missing_client_private_key, teardown_connection);
59 - g_test_add ("/tls/connection/client-auth-request-cert", TestConnection, NULL,
60 - setup_connection, test_client_auth_request_cert, teardown_connection);
61 -- g_test_add ("/tls/connection/client-auth-request-fail", TestConnection, NULL,
62 -- setup_connection, test_client_auth_request_fail, teardown_connection);
63 - g_test_add ("/tls/connection/no-database", TestConnection, NULL,
64 - setup_connection, test_connection_no_database, teardown_connection);
65 - g_test_add ("/tls/connection/failed", TestConnection, NULL,
66 ---
67 -2.17.0
68 -
69
70 diff --git a/net-libs/glib-networking/glib-networking-2.58.0.ebuild b/net-libs/glib-networking/glib-networking-2.58.0.ebuild
71 deleted file mode 100644
72 index 7111b4ab166..00000000000
73 --- a/net-libs/glib-networking/glib-networking-2.58.0.ebuild
74 +++ /dev/null
75 @@ -1,76 +0,0 @@
76 -# Copyright 1999-2019 Gentoo Authors
77 -# Distributed under the terms of the GNU General Public License v2
78 -
79 -EAPI=6
80 -
81 -inherit gnome.org gnome2-utils meson multilib-minimal xdg
82 -
83 -DESCRIPTION="Network-related giomodules for glib"
84 -HOMEPAGE="https://git.gnome.org/browse/glib-networking/"
85 -
86 -LICENSE="LGPL-2.1+"
87 -SLOT="0"
88 -IUSE="+gnome +libproxy +ssl test"
89 -RESTRICT="!test? ( test )"
90 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
91 -
92 -RDEPEND="
93 - >=dev-libs/glib-2.55.1:2[${MULTILIB_USEDEP}]
94 - libproxy? ( >=net-libs/libproxy-0.4.11-r1:=[${MULTILIB_USEDEP}] )
95 - >=net-libs/gnutls-3:=[${MULTILIB_USEDEP}]
96 - ssl? ( app-misc/ca-certificates )
97 - gnome? ( gnome-base/gsettings-desktop-schemas )
98 -"
99 -DEPEND="${RDEPEND}
100 - >=dev-util/meson-0.46
101 - >=sys-devel/gettext-0.19.8
102 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
103 - test? ( sys-apps/dbus )
104 -"
105 -
106 -PATCHES=(
107 - "${FILESDIR}"/${PV}-disable-failing-tests.patch # shouldn't be needed with 2.60
108 -)
109 -
110 -multilib_src_configure() {
111 - local emesonargs=(
112 - $(meson_use libproxy libproxy_support)
113 - $(meson_use gnome gnome_proxy_support)
114 - -Dpkcs11_support=false # deprecated, functionality should be available without it; removed in next version
115 - -Dinstalled_tests=false
116 - -Dstatic_modules=false
117 - )
118 - meson_src_configure
119 -}
120 -
121 -multilib_src_compile() {
122 - meson_src_compile
123 -}
124 -
125 -multilib_src_install() {
126 - meson_src_install
127 -}
128 -
129 -multilib_src_test() {
130 - dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
131 -}
132 -
133 -pkg_postinst() {
134 - xdg_pkg_postinst
135 -
136 - multilib_pkg_postinst() {
137 - gnome2_giomodule_cache_update \
138 - || die "Update GIO modules cache failed (for ${ABI})"
139 - }
140 - multilib_foreach_abi multilib_pkg_postinst
141 -}
142 -
143 -pkg_postrm() {
144 - xdg_pkg_postrm
145 -
146 - multilib_pkg_postrm() {
147 - gnome2_giomodule_cache_update \
148 - || die "Update GIO modules cache failed (for ${ABI})"
149 - }
150 - multilib_foreach_abi multilib_pkg_postrm
151 -}