1 |
commit: ec808adda217d07bb554a784bd644c90abe472aa |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 27 12:27:08 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 27 12:39:49 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec808add |
7 |
|
8 |
gnome-extra/evolution-ews: add patch for SSL certificate validation |
9 |
|
10 |
Bug: https://bugs.gentoo.org/678070 |
11 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
12 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
13 |
|
14 |
gnome-extra/evolution-ews/Manifest | 1 + |
15 |
.../evolution-ews/evolution-ews-3.30.5-r1.ebuild | 66 ++++++++++++++++++++++ |
16 |
2 files changed, 67 insertions(+) |
17 |
|
18 |
diff --git a/gnome-extra/evolution-ews/Manifest b/gnome-extra/evolution-ews/Manifest |
19 |
index 50b612b11a0..b16448aff33 100644 |
20 |
--- a/gnome-extra/evolution-ews/Manifest |
21 |
+++ b/gnome-extra/evolution-ews/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST evolution-ews-3.24.6.tar.xz 488668 BLAKE2B 3ec507b654042882158d2d8dfdbaae0372cc67d515501e45e327ef006cd8674f7b6e48de63f8930add9f29536d3428604f21666cfac98a764cb2eb0c20353ef3 SHA512 24bcaf9755b9d45d4848624b42f2b41bf1532aa836cdd26f8ab57b4dd5ac83d4375c340e0cac6f7f1b830c3ab998597893bce0fdd471ed7b0758a69367edfac1 |
24 |
DIST evolution-ews-3.26.6.tar.xz 485624 BLAKE2B 7e9b13fff05122a54fe502d0d4bd1f0ba895259b89d074d9f39ab4e56bdd2794e780c61023294ceea79adb94f80a42a232e4cc1743c41b062c1b03c9276a6253 SHA512 eeee228699989d0407ed65d2b8fa37f643890b40084484a125738dc9a10152de435cbc9e3109c1aa5ae90daeb4aba6e06da135c84d7f7e0fd330f5d8448383ee |
25 |
+DIST evolution-ews-3.30.5-certificate-validation.patch.xz 6928 BLAKE2B eb1f070797231f14cc71cce2f19a0dc925edc0f67eca9267568c835e878d9f1567aaad7dd8a14c88abb047af8db8220239c78d62387329c9d38e5c5eda21822b SHA512 2d4fa5f9c24bf92ab4e5105cc5d265907e8af760d7c969ffdf74d090795948e1f9e0e84f5d051c2a6c4324ed49cc2c23f23ebdccf67fa8baab965c612ad807e6 |
26 |
DIST evolution-ews-3.30.5.tar.xz 525252 BLAKE2B 510666cdf6bdb95e73799256daa9b4c753ed70de71798d3acb73eb55c30158a7b6b56fe7617150ec0a1f5ce20676da8a3ab4608fca06f009ea16fbc234770736 SHA512 6b17fd73b461e0ddd725ee87c854fca45fbc14f10922a60aff5a9a25b56728f1f16a0d3196b4bc3cba83e75655c15244c3bf2442fa17449c7466ab95371e93d7 |
27 |
|
28 |
diff --git a/gnome-extra/evolution-ews/evolution-ews-3.30.5-r1.ebuild b/gnome-extra/evolution-ews/evolution-ews-3.30.5-r1.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..ff16e76e208 |
31 |
--- /dev/null |
32 |
+++ b/gnome-extra/evolution-ews/evolution-ews-3.30.5-r1.ebuild |
33 |
@@ -0,0 +1,66 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+inherit cmake-utils gnome2 |
40 |
+ |
41 |
+DESCRIPTION="Evolution module for connecting to Microsoft Exchange Web Services" |
42 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Evolution" |
43 |
+SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-certificate-validation.patch.xz" |
44 |
+ |
45 |
+LICENSE="LGPL-2.1" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-db/sqlite:3 |
52 |
+ >=dev-libs/glib-2.46:2 |
53 |
+ dev-libs/libical:0= |
54 |
+ >=dev-libs/libmspack-0.4 |
55 |
+ dev-libs/libxml2:2 |
56 |
+ >=gnome-extra/evolution-data-server-${PV}-r1:0= |
57 |
+ >=mail-client/evolution-${PV}:2.0 |
58 |
+ >=net-libs/libsoup-2.42:2.4 |
59 |
+ >=x11-libs/gtk+-3.10:3 |
60 |
+" |
61 |
+DEPEND="${RDEPEND} |
62 |
+ dev-util/gdbus-codegen |
63 |
+ dev-util/glib-utils |
64 |
+ >=dev-util/intltool-0.35.5 |
65 |
+ >=sys-devel/gettext-0.18.3 |
66 |
+ virtual/pkgconfig |
67 |
+ test? ( net-libs/uhttpmock ) |
68 |
+" |
69 |
+ |
70 |
+# Unittests fail to find libevolution-ews.so |
71 |
+RESTRICT="test !test? ( test )" |
72 |
+ |
73 |
+# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare |
74 |
+# call; if needed, set them after cmake-utils_src_prepare call, if that works |
75 |
+src_prepare() { |
76 |
+ eapply "${WORKDIR}"/${P}-certificate-validation.patch # requires patch added in eds 3.30.5-r1 |
77 |
+ cmake-utils_src_prepare |
78 |
+ gnome2_src_prepare |
79 |
+} |
80 |
+ |
81 |
+src_configure() { |
82 |
+ local mycmakeargs=( |
83 |
+ -DWITH_MSPACK=ON |
84 |
+ -DENABLE_TESTS=$(usex test) |
85 |
+ ) |
86 |
+ cmake-utils_src_configure |
87 |
+} |
88 |
+ |
89 |
+src_compile() { |
90 |
+ cmake-utils_src_compile |
91 |
+} |
92 |
+ |
93 |
+src_test() { |
94 |
+ cmake-utils_src_test |
95 |
+} |
96 |
+ |
97 |
+src_install() { |
98 |
+ cmake-utils_src_install |
99 |
+} |