public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/seafile-client/files/, net-misc/seafile-client/
Date: Tue,  6 Oct 2020 08:15:25 +0000 (UTC)	[thread overview]
Message-ID: <1601971081.359f6e99280adcd4b7a5a6497178f35e6a2c9af5.juippis@gentoo> (raw)

commit:     359f6e99280adcd4b7a5a6497178f35e6a2c9af5
Author:     Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
AuthorDate: Sun Aug  2 20:42:45 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Oct  6 07:58:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=359f6e99

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 <AT> retornaz.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/seafile-client/Manifest                   |  1 +
 .../files/seafile-client-7.0.9-libressl.patch      | 14 ++++++
 .../seafile-client/seafile-client-7.0.9.ebuild     | 54 ++++++++++++++++++++++
 3 files changed, 69 insertions(+)

diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest
index 88848439f03..862d36abd83 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 00000000000..d7fdc2201d1
--- /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 00000000000..8b0653e774d
--- /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
+}


             reply	other threads:[~2020-10-06  8:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-06  8:15 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-01 16:37 [gentoo-commits] repo/gentoo:master commit in: net-misc/seafile-client/files/, net-misc/seafile-client/ Andreas Sturmlechner
2022-04-03  9:34 Matthew Smith
2021-03-30 13:15 Joonas Niilola
2020-10-16  4:33 Joonas Niilola
2017-07-01 21:11 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1601971081.359f6e99280adcd4b7a5a6497178f35e6a2c9af5.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox