1 |
commit: ff30e326baee3f26591724553397e1f9cca0a0d9 |
2 |
Author: Cristian Othón Martínez Vera <cfuga <AT> cfuga <DOT> mx> |
3 |
AuthorDate: Mon Mar 13 21:32:23 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 15 05:00:11 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff30e326 |
7 |
|
8 |
net-news/liferea: add 1.12.10, 1.14.1 (Fix RCE vulnerability on feed enrichment) |
9 |
|
10 |
Fix CVE-2023-1350. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/901085 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/30103 |
14 |
Signed-off-by: Cristian Othón Martínez Vera <cfuga <AT> cfuga.mx> |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
net-news/liferea/Manifest | 2 + |
18 |
net-news/liferea/liferea-1.12.10.ebuild | 74 +++++++++++++++++++++++++++++++++ |
19 |
net-news/liferea/liferea-1.14.1.ebuild | 69 ++++++++++++++++++++++++++++++ |
20 |
3 files changed, 145 insertions(+) |
21 |
|
22 |
diff --git a/net-news/liferea/Manifest b/net-news/liferea/Manifest |
23 |
index f0f172a5f98f..9469b5114100 100644 |
24 |
--- a/net-news/liferea/Manifest |
25 |
+++ b/net-news/liferea/Manifest |
26 |
@@ -1,2 +1,4 @@ |
27 |
+DIST liferea-1.12.10.tar.bz2 1503040 BLAKE2B 8a935f889b972787a55f0d09c4314ee5ff4d4fa42b46af46d84e5dd5d13df95adf898dc522baadd76e7c752c9f47d771122698882142202002ebf2fa5b0e3f31 SHA512 34b9c5b9c58aaac790e44aa2495a169ea2fbc3cdf351013324615b65c083045c3b09c5d5fa6eeba994184d2d7a9e52626241877c24194f4f771af0f5b3afb067 |
28 |
DIST liferea-1.12.9.tar.bz2 1496593 BLAKE2B a0887a7b04c47a69166396f06305342232b16eefba04df1a0cda7c9d84880e025d73786a55aaa528a143fccef213fa2de9474fb6fab3f301e54a12dba4a705f1 SHA512 09156e0e5e4342741b6290be17ee94a3204d431c687c17688e23067d151d36a178193f5cf01da222974810a48626c877b0cf917fbdd9ecb6e81254e85750be9b |
29 |
DIST liferea-1.14.0.tar.gz 1830671 BLAKE2B 2def6bcc7ca2a6e29555f249bde8fac9077447f90e665f437cdc67ad60850488979c455ebd82ad0ac440ff69451ca5493acf521f6d602f7514011e4abe658b1f SHA512 79d52a754482e0ea6d861d792d59e124cac40bc5d969f13cf1029910fdbf14a6e042d405dad49731cd549a05c9b47d7733e6e9336af0ba476f1fbc553f1efa7c |
30 |
+DIST liferea-1.14.1.tar.gz 1832915 BLAKE2B 93923a498031a356d7c54a290707d79b1758d7e8a0a684d85fd4baab8ce8642e9f6e2be83e2866044d7e17ed08babfbfed8092a6cf83658d8ea90182bec150d1 SHA512 83abb325865e349c22d3735221cb9fc80075502b212042d5db2dcd6425bc4d344755e7dc8a674b71fcde11b07f8ed0ef1b955c5cb3d5e2b4e4a62d1d8793eb94 |
31 |
|
32 |
diff --git a/net-news/liferea/liferea-1.12.10.ebuild b/net-news/liferea/liferea-1.12.10.ebuild |
33 |
new file mode 100644 |
34 |
index 000000000000..91445fa37469 |
35 |
--- /dev/null |
36 |
+++ b/net-news/liferea/liferea-1.12.10.ebuild |
37 |
@@ -0,0 +1,74 @@ |
38 |
+# Copyright 1999-2023 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=7 |
42 |
+ |
43 |
+PYTHON_COMPAT=( python3_{9..10} ) |
44 |
+ |
45 |
+inherit autotools gnome2-utils optfeature python-single-r1 xdg |
46 |
+ |
47 |
+DESCRIPTION="News Aggregator for RDF/RSS/CDF/Atom/Echo feeds" |
48 |
+HOMEPAGE="https://lzone.de/liferea/" |
49 |
+SRC_URI="https://github.com/lwindolf/${PN}/releases/download/v${PV}/${P}.tar.bz2" |
50 |
+ |
51 |
+LICENSE="GPL-2+" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
54 |
+IUSE="" |
55 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
56 |
+ |
57 |
+RDEPEND="${PYTHON_DEPS} |
58 |
+ dev-db/sqlite:3 |
59 |
+ dev-libs/glib:2 |
60 |
+ dev-libs/gobject-introspection |
61 |
+ dev-libs/json-glib |
62 |
+ dev-libs/libpeas[gtk,python,${PYTHON_SINGLE_USEDEP}] |
63 |
+ dev-libs/libxml2:2 |
64 |
+ dev-libs/libxslt |
65 |
+ gnome-base/gsettings-desktop-schemas |
66 |
+ net-libs/libsoup:2.4 |
67 |
+ net-libs/webkit-gtk:4 |
68 |
+ x11-libs/gtk+:3 |
69 |
+ x11-libs/pango" |
70 |
+DEPEND="${RDEPEND}" |
71 |
+BDEPEND="dev-util/intltool |
72 |
+ virtual/pkgconfig" |
73 |
+ |
74 |
+PATCHES=( |
75 |
+ "${FILESDIR}"/${PN}-1.12.9-webkit-css.patch |
76 |
+) |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ xdg_src_prepare |
80 |
+ |
81 |
+ sed -i -e 's#$(datadir)/appdata#$(datadir)/metainfo#g' \ |
82 |
+ Makefile.am || die |
83 |
+ eautoreconf |
84 |
+} |
85 |
+ |
86 |
+src_configure() { |
87 |
+ econf --disable-static |
88 |
+} |
89 |
+ |
90 |
+src_compile() { |
91 |
+ # Workaround crash in libwebkit2gtk-4.0.so |
92 |
+ # https://bugs.gentoo.org/704594 |
93 |
+ WEBKIT_DISABLE_COMPOSITING_MODE=1 \ |
94 |
+ default |
95 |
+} |
96 |
+ |
97 |
+src_install() { |
98 |
+ default |
99 |
+ find "${D}" -name '*.la' -delete || die |
100 |
+} |
101 |
+ |
102 |
+pkg_postinst() { |
103 |
+ xdg_pkg_postinst |
104 |
+ gnome2_schemas_update |
105 |
+ |
106 |
+ optfeature "Libsecret Support plugin" app-crypt/libsecret[introspection] |
107 |
+ optfeature "Tray Icon (GNOME Classic) plugin" "dev-python/pycairo x11-libs/gdk-pixbuf[introspection]" |
108 |
+ optfeature "Media Player plugin" media-libs/gstreamer[introspection] |
109 |
+ optfeature "monitoring network status" net-misc/networkmanager |
110 |
+ optfeature "Popup Notifications plugin" x11-libs/libnotify[introspection] |
111 |
+} |
112 |
|
113 |
diff --git a/net-news/liferea/liferea-1.14.1.ebuild b/net-news/liferea/liferea-1.14.1.ebuild |
114 |
new file mode 100644 |
115 |
index 000000000000..bbac1ef6f198 |
116 |
--- /dev/null |
117 |
+++ b/net-news/liferea/liferea-1.14.1.ebuild |
118 |
@@ -0,0 +1,69 @@ |
119 |
+# Copyright 1999-2023 Gentoo Authors |
120 |
+# Distributed under the terms of the GNU General Public License v2 |
121 |
+ |
122 |
+EAPI=8 |
123 |
+ |
124 |
+PYTHON_COMPAT=( python3_{9..11} ) |
125 |
+ |
126 |
+inherit autotools gnome2-utils optfeature python-single-r1 xdg |
127 |
+ |
128 |
+DESCRIPTION="News Aggregator for RDF/RSS/CDF/Atom/Echo feeds" |
129 |
+HOMEPAGE="https://lzone.de/liferea/" |
130 |
+SRC_URI="https://github.com/lwindolf/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
131 |
+ |
132 |
+LICENSE="GPL-2+" |
133 |
+SLOT="0" |
134 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
135 |
+IUSE="" |
136 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
137 |
+ |
138 |
+RDEPEND="${PYTHON_DEPS} |
139 |
+ dev-db/sqlite:3 |
140 |
+ dev-libs/fribidi |
141 |
+ dev-libs/glib:2 |
142 |
+ dev-libs/gobject-introspection |
143 |
+ dev-libs/json-glib |
144 |
+ dev-libs/libpeas[gtk,python,${PYTHON_SINGLE_USEDEP}] |
145 |
+ dev-libs/libxml2:2 |
146 |
+ dev-libs/libxslt |
147 |
+ gnome-base/gsettings-desktop-schemas |
148 |
+ net-libs/libsoup:2.4 |
149 |
+ net-libs/webkit-gtk:4= |
150 |
+ x11-libs/gdk-pixbuf:2 |
151 |
+ x11-libs/gtk+:3 |
152 |
+ x11-libs/pango" |
153 |
+DEPEND="${RDEPEND}" |
154 |
+BDEPEND="dev-util/intltool |
155 |
+ virtual/pkgconfig" |
156 |
+ |
157 |
+src_prepare() { |
158 |
+ default |
159 |
+ eautoreconf |
160 |
+} |
161 |
+ |
162 |
+src_configure() { |
163 |
+ econf --disable-static |
164 |
+} |
165 |
+ |
166 |
+src_compile() { |
167 |
+ # Workaround crash in libwebkit2gtk-4.0.so |
168 |
+ # https://bugs.gentoo.org/704594 |
169 |
+ WEBKIT_DISABLE_COMPOSITING_MODE=1 \ |
170 |
+ default |
171 |
+} |
172 |
+ |
173 |
+src_install() { |
174 |
+ default |
175 |
+ find "${D}" -name '*.la' -delete || die |
176 |
+} |
177 |
+ |
178 |
+pkg_postinst() { |
179 |
+ xdg_pkg_postinst |
180 |
+ gnome2_schemas_update |
181 |
+ |
182 |
+ optfeature "Libsecret Support plugin" app-crypt/libsecret[introspection] |
183 |
+ optfeature "Tray Icon (GNOME Classic) plugin" "dev-python/pycairo x11-libs/gdk-pixbuf[introspection]" |
184 |
+ optfeature "Media Player plugin" media-libs/gstreamer[introspection] |
185 |
+ optfeature "monitoring network status" net-misc/networkmanager |
186 |
+ optfeature "Popup Notifications plugin" x11-libs/libnotify[introspection] |
187 |
+} |