1 |
commit: 359f6e99280adcd4b7a5a6497178f35e6a2c9af5 |
2 |
Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com> |
3 |
AuthorDate: Sun Aug 2 20:42:45 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 6 07:58:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=359f6e99 |
7 |
|
8 |
net-misc/seafile-client: version bump to 7.0.9 |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
net-misc/seafile-client/Manifest | 1 + |
15 |
.../files/seafile-client-7.0.9-libressl.patch | 14 ++++++ |
16 |
.../seafile-client/seafile-client-7.0.9.ebuild | 54 ++++++++++++++++++++++ |
17 |
3 files changed, 69 insertions(+) |
18 |
|
19 |
diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest |
20 |
index 88848439f03..862d36abd83 100644 |
21 |
--- a/net-misc/seafile-client/Manifest |
22 |
+++ b/net-misc/seafile-client/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST seafile-client-7.0.5.tar.gz 2359779 BLAKE2B 58fa532668859c4413bb931146a58eb51ede7c1faa3ea2a9cafb94be44a8819261570ef16cc9f62f584f9ff483aa0832a63a99bb53380dd9efa4f82d25dea553 SHA512 b79cde3f98ebb1a0cb1035131cf95735f01c63bcb4bb658d5c40c36cdf85705d2c6fd2f7787fbdb3d965a25d60ee98e020e33c4f9423295c7ef1ab36ee5c7c27 |
25 |
+DIST seafile-client-7.0.9.tar.gz 2367747 BLAKE2B 60a488a22e094d4783c7da50e8852d7204e16791613d113f729bacc21a40883edc25469f8ce1a8dab52b4ed0ea73b691a831fb0c01a885aeeae7bd276e2781ff SHA512 665a252a321744cd84b96230f5318528aad23a0a089e5049913c34a6c254356c7cc996e45e2a50d432d114f13b089b8d12062b3a1a4d1a0b6f1cbf9688ad32b6 |
26 |
|
27 |
diff --git a/net-misc/seafile-client/files/seafile-client-7.0.9-libressl.patch b/net-misc/seafile-client/files/seafile-client-7.0.9-libressl.patch |
28 |
new file mode 100644 |
29 |
index 00000000000..d7fdc2201d1 |
30 |
--- /dev/null |
31 |
+++ b/net-misc/seafile-client/files/seafile-client-7.0.9-libressl.patch |
32 |
@@ -0,0 +1,14 @@ |
33 |
+Upstream pull request: https://github.com/haiwen/seafile-client/pull/1314 |
34 |
+diff --git a/src/utils/rsa.cpp b/src/utils/rsa.cpp |
35 |
+index 350b790..513733d 100644 |
36 |
+--- a/src/utils/rsa.cpp |
37 |
++++ b/src/utils/rsa.cpp |
38 |
+@@ -13,7 +13,7 @@ namespace { |
39 |
+ |
40 |
+ /* Forward compatibility functions if libssl < 1.1.0. */ |
41 |
+ |
42 |
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) |
43 |
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) |
44 |
+ |
45 |
+ int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) |
46 |
+ { |
47 |
|
48 |
diff --git a/net-misc/seafile-client/seafile-client-7.0.9.ebuild b/net-misc/seafile-client/seafile-client-7.0.9.ebuild |
49 |
new file mode 100644 |
50 |
index 00000000000..8b0653e774d |
51 |
--- /dev/null |
52 |
+++ b/net-misc/seafile-client/seafile-client-7.0.9.ebuild |
53 |
@@ -0,0 +1,54 @@ |
54 |
+# Copyright 1999-2020 Gentoo Authors |
55 |
+# Distributed under the terms of the GNU General Public License v2 |
56 |
+ |
57 |
+EAPI=7 |
58 |
+ |
59 |
+inherit cmake xdg-utils |
60 |
+ |
61 |
+DESCRIPTION="Seafile desktop client" |
62 |
+HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile-client/" |
63 |
+SRC_URI="https://github.com/haiwen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
64 |
+ |
65 |
+LICENSE="Apache-2.0" |
66 |
+SLOT="0" |
67 |
+KEYWORDS="~amd64 ~x86" |
68 |
+IUSE="libressl shibboleth test" |
69 |
+RESTRICT="!test? ( test )" |
70 |
+ |
71 |
+RDEPEND="dev-db/sqlite:3 |
72 |
+ dev-libs/libevent |
73 |
+ dev-libs/jansson |
74 |
+ <dev-qt/qtcore-5.15:5 |
75 |
+ <dev-qt/qtdbus-5.15:5 |
76 |
+ <dev-qt/qtgui-5.15:5 |
77 |
+ <dev-qt/qtnetwork-5.15:5 |
78 |
+ <dev-qt/qtwidgets-5.15:5 |
79 |
+ !libressl? ( dev-libs/openssl:= ) |
80 |
+ libressl? ( dev-libs/libressl:= ) |
81 |
+ net-libs/libsearpc |
82 |
+ ~net-misc/seafile-${PV} |
83 |
+ shibboleth? ( <dev-qt/qtwebengine-5.15:5[widgets] )" |
84 |
+DEPEND="${RDEPEND} |
85 |
+ test? ( <dev-qt/qttest-5.15:5 )" |
86 |
+BDEPEND="<dev-qt/linguist-tools-5.15:5" |
87 |
+ |
88 |
+PATCHES=( |
89 |
+ "${FILESDIR}/${PN}-select-qt5.patch" |
90 |
+ "${FILESDIR}/${P}-libressl.patch" |
91 |
+) |
92 |
+ |
93 |
+src_configure() { |
94 |
+ local mycmakeargs=( |
95 |
+ -DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)" |
96 |
+ -DBUILD_TESTING="$(usex test)" |
97 |
+ ) |
98 |
+ cmake_src_configure |
99 |
+} |
100 |
+ |
101 |
+pkg_postinst() { |
102 |
+ xdg_icon_cache_update |
103 |
+} |
104 |
+ |
105 |
+pkg_postrm() { |
106 |
+ xdg_icon_cache_update |
107 |
+} |