diff options
author | Quentin Retornaz <gentoo@retornaz.com> | 2020-08-02 22:42:45 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-10-06 10:58:01 +0300 |
commit | 359f6e99280adcd4b7a5a6497178f35e6a2c9af5 (patch) | |
tree | 35783b83366be78b34b63b73d2fdfde0a2f6cfae /net-misc | |
parent | net-misc/seafile: version bump to 7.0.9 (diff) | |
download | gentoo-359f6e99280adcd4b7a5a6497178f35e6a2c9af5.tar.gz gentoo-359f6e99280adcd4b7a5a6497178f35e6a2c9af5.tar.bz2 gentoo-359f6e99280adcd4b7a5a6497178f35e6a2c9af5.zip |
net-misc/seafile-client: version bump to 7.0.9
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Quentin Retornaz <gentoo@retornaz.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/seafile-client/Manifest | 1 | ||||
-rw-r--r-- | net-misc/seafile-client/files/seafile-client-7.0.9-libressl.patch | 14 | ||||
-rw-r--r-- | net-misc/seafile-client/seafile-client-7.0.9.ebuild | 54 |
3 files changed, 69 insertions, 0 deletions
diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest index 88848439f031..862d36abd835 100644 --- a/net-misc/seafile-client/Manifest +++ b/net-misc/seafile-client/Manifest @@ -1 +1,2 @@ DIST seafile-client-7.0.5.tar.gz 2359779 BLAKE2B 58fa532668859c4413bb931146a58eb51ede7c1faa3ea2a9cafb94be44a8819261570ef16cc9f62f584f9ff483aa0832a63a99bb53380dd9efa4f82d25dea553 SHA512 b79cde3f98ebb1a0cb1035131cf95735f01c63bcb4bb658d5c40c36cdf85705d2c6fd2f7787fbdb3d965a25d60ee98e020e33c4f9423295c7ef1ab36ee5c7c27 +DIST seafile-client-7.0.9.tar.gz 2367747 BLAKE2B 60a488a22e094d4783c7da50e8852d7204e16791613d113f729bacc21a40883edc25469f8ce1a8dab52b4ed0ea73b691a831fb0c01a885aeeae7bd276e2781ff SHA512 665a252a321744cd84b96230f5318528aad23a0a089e5049913c34a6c254356c7cc996e45e2a50d432d114f13b089b8d12062b3a1a4d1a0b6f1cbf9688ad32b6 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 new file mode 100644 index 000000000000..d7fdc2201d12 --- /dev/null +++ b/net-misc/seafile-client/files/seafile-client-7.0.9-libressl.patch @@ -0,0 +1,14 @@ +Upstream pull request: https://github.com/haiwen/seafile-client/pull/1314 +diff --git a/src/utils/rsa.cpp b/src/utils/rsa.cpp +index 350b790..513733d 100644 +--- a/src/utils/rsa.cpp ++++ b/src/utils/rsa.cpp +@@ -13,7 +13,7 @@ namespace { + + /* Forward compatibility functions if libssl < 1.1.0. */ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) + + int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) + { diff --git a/net-misc/seafile-client/seafile-client-7.0.9.ebuild b/net-misc/seafile-client/seafile-client-7.0.9.ebuild new file mode 100644 index 000000000000..8b0653e774de --- /dev/null +++ b/net-misc/seafile-client/seafile-client-7.0.9.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake xdg-utils + +DESCRIPTION="Seafile desktop client" +HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile-client/" +SRC_URI="https://github.com/haiwen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libressl shibboleth test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-db/sqlite:3 + dev-libs/libevent + dev-libs/jansson + <dev-qt/qtcore-5.15:5 + <dev-qt/qtdbus-5.15:5 + <dev-qt/qtgui-5.15:5 + <dev-qt/qtnetwork-5.15:5 + <dev-qt/qtwidgets-5.15:5 + !libressl? ( dev-libs/openssl:= ) + libressl? ( dev-libs/libressl:= ) + net-libs/libsearpc + ~net-misc/seafile-${PV} + shibboleth? ( <dev-qt/qtwebengine-5.15:5[widgets] )" +DEPEND="${RDEPEND} + test? ( <dev-qt/qttest-5.15:5 )" +BDEPEND="<dev-qt/linguist-tools-5.15:5" + +PATCHES=( + "${FILESDIR}/${PN}-select-qt5.patch" + "${FILESDIR}/${P}-libressl.patch" +) + +src_configure() { + local mycmakeargs=( + -DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)" + -DBUILD_TESTING="$(usex test)" + ) + cmake_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} |