1 |
commit: 80954e9697477e00ac3c4734ac6cc2f5bc36c4ec |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 6 18:38:58 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 6 18:38:58 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80954e96 |
7 |
|
8 |
www-client/epiphany: security cleanup |
9 |
|
10 |
Bug: https://bugs.gentoo.org/658376 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
13 |
|
14 |
www-client/epiphany/Manifest | 1 - |
15 |
www-client/epiphany/epiphany-3.24.5.ebuild | 75 ---------------------- |
16 |
.../files/epiphany-3.14.0-unittest-2.patch | 45 ------------- |
17 |
.../files/epiphany-3.16.0-unittest-1.patch | 30 --------- |
18 |
4 files changed, 151 deletions(-) |
19 |
|
20 |
diff --git a/www-client/epiphany/Manifest b/www-client/epiphany/Manifest |
21 |
index ed666f1b49f..981ca3bece2 100644 |
22 |
--- a/www-client/epiphany/Manifest |
23 |
+++ b/www-client/epiphany/Manifest |
24 |
@@ -1,4 +1,3 @@ |
25 |
-DIST epiphany-3.24.5.tar.xz 3216736 BLAKE2B 8a4dd668606521d1b0144afc9ace8607f52eac457f0059e6087216323ec1132dbe1c755e40dfe9993bf685e5444db1268ada1cdf55edc04c51058fdd256c6047 SHA512 a8f203d182b8c87878a3272f8b4f642b0cf4128476e0727208135cfdffeb293425cf662c58820f0d3aed2e1b20fe6dc4cf5cbb8277a398c6f533a0bea34f40f2 |
26 |
DIST epiphany-3.26.7.tar.xz 4429308 BLAKE2B cdd8cf084631891e97585307c90bd67f45e71deb6564f54711deb8dfd39c09007732efeb22ad5be45c1b0af6af7be30cf13a9d90aa1e9506a2e997f6f3f8d854 SHA512 686c8825d476a4c6675dadd7a68bf72727714bc6fe01b4dbf67d39b2dc7e3f21d4f630417865800664a716d6316df8a97fde5201ec72c90f448fd6f0af4b49a0 |
27 |
DIST epiphany-3.30.0.tar.xz 4528508 BLAKE2B 75d605a1117131bebaf0e0a7013ae4e9599b7058e26f4acf84140a6e345255cccac910cc9d5a2f90be0835f7dbaa6c77d16e127dfb5b1ae139ef179a20795444 SHA512 80ba03c67bd467e31e572afd4e8632232bc002c63e584e87bc6c3b74d23cd470f14e696080fd952a8617c6c07202eafff01bc97f72d9a06f0121d75565e667f3 |
28 |
DIST epiphany-3.30.1.tar.xz 4528876 BLAKE2B 1dbb630128a9af975939d386b3113a41ef92ce1bb756a5407a216fa8f25f1dfcd051a11c54a034aeafd8ca5aa5ada7da83f3ecf825370801b04b10b7ef794c80 SHA512 37d6814d9dfb1f70e6cfd3395179b9e213eb79773c1fed238999d5c6ae34c0b93b6f93dff695eb959cb46e89a2cd6b705c1a294d1424c82137ba26d0b7a37503 |
29 |
|
30 |
diff --git a/www-client/epiphany/epiphany-3.24.5.ebuild b/www-client/epiphany/epiphany-3.24.5.ebuild |
31 |
deleted file mode 100644 |
32 |
index 873a5036a2b..00000000000 |
33 |
--- a/www-client/epiphany/epiphany-3.24.5.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,75 +0,0 @@ |
36 |
-# Copyright 1999-2018 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=6 |
40 |
-GNOME2_LA_PUNT="yes" |
41 |
- |
42 |
-inherit flag-o-matic gnome2 virtualx |
43 |
- |
44 |
-DESCRIPTION="GNOME webbrowser based on Webkit" |
45 |
-HOMEPAGE="https://wiki.gnome.org/Apps/Web" |
46 |
- |
47 |
-LICENSE="GPL-3+" |
48 |
-SLOT="0" |
49 |
-IUSE="test" |
50 |
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" |
51 |
- |
52 |
-COMMON_DEPEND=" |
53 |
- >=dev-libs/glib-2.46.0:2[dbus] |
54 |
- >=x11-libs/gtk+-3.22.13:3 |
55 |
- >=net-libs/webkit-gtk-2.15.90:4= |
56 |
- >=x11-libs/cairo-1.2 |
57 |
- >=app-crypt/gcr-3.5.5:=[gtk] |
58 |
- >=x11-libs/gdk-pixbuf-2.36.5:2 |
59 |
- >=gnome-base/gnome-desktop-2.91.2:3= |
60 |
- dev-libs/icu:= |
61 |
- >=x11-libs/libnotify-0.5.1:= |
62 |
- >=app-crypt/libsecret-0.14 |
63 |
- >=net-libs/libsoup-2.48:2.4 |
64 |
- >=dev-libs/libxml2-2.6.12:2 |
65 |
- >=dev-libs/libxslt-1.1.7 |
66 |
- dev-db/sqlite:3 |
67 |
- >=app-text/iso-codes-0.35 |
68 |
- >=gnome-base/gsettings-desktop-schemas-0.0.1 |
69 |
-" |
70 |
-# epiphany-extensions support was removed in 3.7; let's not pretend it still works |
71 |
-RDEPEND="${COMMON_DEPEND} |
72 |
- x11-themes/adwaita-icon-theme |
73 |
- !www-client/epiphany-extensions |
74 |
-" |
75 |
-# paxctl needed for bug #407085 |
76 |
-DEPEND="${COMMON_DEPEND} |
77 |
- app-text/yelp-tools |
78 |
- dev-libs/appstream-glib |
79 |
- sys-apps/paxctl |
80 |
- >=sys-devel/gettext-0.19.8 |
81 |
- virtual/pkgconfig |
82 |
-" |
83 |
- |
84 |
-PATCHES=( |
85 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=751591 |
86 |
- "${FILESDIR}"/${PN}-3.16.0-unittest-1.patch |
87 |
- |
88 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=751593 |
89 |
- "${FILESDIR}"/${PN}-3.14.0-unittest-2.patch |
90 |
-) |
91 |
- |
92 |
-src_configure() { |
93 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=778495 |
94 |
- append-cflags -std=gnu11 |
95 |
- |
96 |
- # httpseverywhere is experimental in 3.24; gnome bug #775575 |
97 |
- # firefox sync storage is not quite ready in 3.24; deps on hogweed/nettle |
98 |
- gnome2_src_configure \ |
99 |
- --enable-shared \ |
100 |
- --disable-static \ |
101 |
- --with-distributor-name=Gentoo \ |
102 |
- --without-libhttpseverywhere \ |
103 |
- --disable-firefox-sync \ |
104 |
- $(use_enable test tests) |
105 |
-} |
106 |
- |
107 |
-src_test() { |
108 |
- "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die |
109 |
- GSETTINGS_SCHEMA_DIR="${S}/data" virtx emake check |
110 |
-} |
111 |
|
112 |
diff --git a/www-client/epiphany/files/epiphany-3.14.0-unittest-2.patch b/www-client/epiphany/files/epiphany-3.14.0-unittest-2.patch |
113 |
deleted file mode 100644 |
114 |
index 36dcb30ce3b..00000000000 |
115 |
--- a/www-client/epiphany/files/epiphany-3.14.0-unittest-2.patch |
116 |
+++ /dev/null |
117 |
@@ -1,45 +0,0 @@ |
118 |
-From 3d2ca8dfb33f9dd658293d14d6b75983d1d2f57d Mon Sep 17 00:00:00 2001 |
119 |
-From: Gilles Dartiguelongue <eva@g.o> |
120 |
-Date: Sun, 19 Oct 2014 23:06:29 +0200 |
121 |
-Subject: [PATCH 3/3] Disable broken tests |
122 |
- |
123 |
-Not the first time these are failing even though issue was reported |
124 |
-upstream. |
125 |
---- |
126 |
- tests/ephy-file-helpers-test.c | 4 ++-- |
127 |
- tests/ephy-migration-test.c | 4 ++-- |
128 |
- 2 files changed, 4 insertions(+), 4 deletions(-) |
129 |
- |
130 |
-diff --git a/tests/ephy-file-helpers-test.c b/tests/ephy-file-helpers-test.c |
131 |
-index bdf7455..718fa29 100644 |
132 |
---- a/tests/ephy-file-helpers-test.c |
133 |
-+++ b/tests/ephy-file-helpers-test.c |
134 |
-@@ -341,8 +341,8 @@ main (int argc, char *argv[]) |
135 |
- g_test_add_func ("/lib/ephy-file-helpers/get_downloads_dir", |
136 |
- test_ephy_file_get_downloads_dir); |
137 |
- |
138 |
-- g_test_add_func ("/lib/ephy-file-helpers/create_delete_dir", |
139 |
-- test_ephy_file_create_delete_dir); |
140 |
-+ /*g_test_add_func ("/lib/ephy-file-helpers/create_delete_dir", |
141 |
-+ test_ephy_file_create_delete_dir);*/ |
142 |
- |
143 |
- g_test_add_func ("/lib/ephy-file-helpers/desktop_dir", |
144 |
- test_ephy_file_desktop_dir); |
145 |
-diff --git a/tests/ephy-migration-test.c b/tests/ephy-migration-test.c |
146 |
-index fab9ee7..64cdd65 100644 |
147 |
---- a/tests/ephy-migration-test.c |
148 |
-+++ b/tests/ephy-migration-test.c |
149 |
-@@ -65,8 +65,8 @@ main (int argc, char *argv[]) |
150 |
- |
151 |
- g_test_add_func ("/lib/ephy-profile-utils/do_migration_simple", |
152 |
- test_do_migration_simple); |
153 |
-- g_test_add_func ("/lib/ephy-profile-utils/do_migration_invalid", |
154 |
-- test_do_migration_invalid); |
155 |
-+ /*g_test_add_func ("/lib/ephy-profile-utils/do_migration_invalid", |
156 |
-+ test_do_migration_invalid);*/ |
157 |
- |
158 |
- return g_test_run (); |
159 |
- } |
160 |
--- |
161 |
-2.1.2 |
162 |
- |
163 |
|
164 |
diff --git a/www-client/epiphany/files/epiphany-3.16.0-unittest-1.patch b/www-client/epiphany/files/epiphany-3.16.0-unittest-1.patch |
165 |
deleted file mode 100644 |
166 |
index baa8a421da1..00000000000 |
167 |
--- a/www-client/epiphany/files/epiphany-3.16.0-unittest-1.patch |
168 |
+++ /dev/null |
169 |
@@ -1,30 +0,0 @@ |
170 |
-From 7ed4a68e2106480f0984703f70b7c25734803161 Mon Sep 17 00:00:00 2001 |
171 |
-From: Gilles Dartiguelongue <eva@g.o> |
172 |
-Date: Sun, 10 May 2015 17:35:57 +0200 |
173 |
-Subject: [PATCH 2/3] Gentoo tests run in ${PORTAGE_TMPDIR} which is not |
174 |
- guaranteed to be /tmp |
175 |
- |
176 |
---- |
177 |
- tests/ephy-file-helpers-test.c | 5 ----- |
178 |
- 1 file changed, 5 deletions(-) |
179 |
- |
180 |
-diff --git a/tests/ephy-file-helpers-test.c b/tests/ephy-file-helpers-test.c |
181 |
-index 43d0009..0fcb585 100644 |
182 |
---- a/tests/ephy-file-helpers-test.c |
183 |
-+++ b/tests/ephy-file-helpers-test.c |
184 |
-@@ -89,12 +89,7 @@ test_ephy_file_helpers_init (void) |
185 |
- |
186 |
- /* Cleanup dir left behind. */ |
187 |
- if (keep_dir) { |
188 |
-- /* As a safety measure, only try recursive delete on paths |
189 |
-- * prefixed with /tmp. */ |
190 |
-- if (g_str_has_prefix (tmp_dir, "/tmp")) |
191 |
- g_assert (ephy_file_delete_dir_recursively (tmp_dir, NULL)); |
192 |
-- else |
193 |
-- g_warning ("INIT: dangerous path returned as tmp_dir: %s", tmp_dir); |
194 |
- } |
195 |
- |
196 |
- g_free (tmp_dir); |
197 |
--- |
198 |
-2.3.6 |
199 |
- |