Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: nextcloudclient-2.6.0.
Date: Sun, 13 Oct 2019 10:00:41 +0200	[thread overview]
Message-ID: <20191013080041.kbTOV3-SO-0dMtcZTNXxwF6G0mPq-4aqpel_25bndRw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15421@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

There is an updated pull request by DBLouis against master on the void-packages repository

https://github.com/DBLouis/void-packages master
https://github.com/void-linux/void-packages/pull/15421

New package: nextcloudclient-2.6.0.


A patch file from https://github.com/void-linux/void-packages/pull/15421.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-15421.patch --]
[-- Type: text/x-diff, Size: 2688 bytes --]

From d13b576ea464636405adb53933c867adfacc329e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Louis=20Dupr=C3=A9=20Bertoni?= <contact@louisdb.xyz>
Date: Sat, 12 Oct 2019 23:56:18 +0300
Subject: [PATCH] New package: nextcloudclient-2.6.0.

---
 .../nextcloudclient/patches/libressl.patch    | 18 +++++++++++++++
 srcpkgs/nextcloudclient/template              | 23 +++++++++++++++++++
 2 files changed, 41 insertions(+)
 create mode 100644 srcpkgs/nextcloudclient/patches/libressl.patch
 create mode 100644 srcpkgs/nextcloudclient/template

diff --git a/srcpkgs/nextcloudclient/patches/libressl.patch b/srcpkgs/nextcloudclient/patches/libressl.patch
new file mode 100644
index 00000000000..08a377f1579
--- /dev/null
+++ b/srcpkgs/nextcloudclient/patches/libressl.patch
@@ -0,0 +1,18 @@
+# Fix EVP_PKEY_CTX_set_rsa_oaep_md not yet implemented in LibreSSL
+# This patch will probably break E2E encryption
+# See: https://github.com/nextcloud/desktop/issues/738
+# And: https://github.com/libressl-portable/portable/issues/547
+--- src/libsync/clientsideencryption.cpp.orig
++++ src/libsync/clientsideencryption.cpp
+@@ -37,2 +37,11 @@
+ 
++#ifndef EVP_PKEY_CTX_set_rsa_oaep_md
++#define EVP_PKEY_CTRL_RSA_OAEP_MD       (EVP_PKEY_ALG_CTRL + 9)
++#define EVP_PKEY_CTRL_GET_RSA_OAEP_MD   (EVP_PKEY_ALG_CTRL + 11)
++
++#define EVP_PKEY_CTX_set_rsa_oaep_md(ctx, md) \
++        EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT,  \
++                          EVP_PKEY_CTRL_RSA_OAEP_MD, 0, (void *)(md))
++#endif
++
+ QDebug operator<<(QDebug out, const std::string& str)
diff --git a/srcpkgs/nextcloudclient/template b/srcpkgs/nextcloudclient/template
new file mode 100644
index 00000000000..d1936151483
--- /dev/null
+++ b/srcpkgs/nextcloudclient/template
@@ -0,0 +1,23 @@
+# Template file for 'nextcloudclient'
+pkgname=nextcloudclient
+version=2.6.0
+revision=1
+wrksrc="desktop-${version}"
+build_style=cmake
+configure_args="-DCMAKE_BUILD_TYPE=Release -DNO_SHIBBOLETH=TRUE"
+hostmakedepends="pkg-config"
+makedepends="libcloudproviders-devel libglib-devel libressl-devel libzip-devel
+ qt5-declarative-devel qt5-devel qt5-location-devel qt5-svg-devel
+ qt5-tools-devel qt5-webchannel-devel qt5-webengine-devel qtkeychain-qt5-devel
+ sqlite-devel zlib-devel"
+depends="libgnome-keyring"
+short_desc="Nextcloud desktop client"
+maintainer="Louis Dupré Bertoni <contact@louisdb.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://www.nextcloud.org"
+distfiles="https://github.com/nextcloud/desktop/archive/v${version}.tar.gz"
+checksum=7b3f3c14d2e44826a5183fd59a7412c6dd5ed00296873e35c566f75c14c3a3ea
+
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" qt5-host-tools qt5-tools-devel"
+fi

  parent reply	other threads:[~2019-10-13  8:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-12 21:01 [PR PATCH] " voidlinux-github
2019-10-13  8:00 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-13  8:00 ` voidlinux-github [this message]
2019-10-13  8:08 ` voidlinux-github
2019-10-13  8:09 ` voidlinux-github
2019-10-13  8:09 ` voidlinux-github
2019-10-15 21:22 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-15 21:22 ` voidlinux-github
2019-10-16  5:13 ` voidlinux-github
2019-10-30  8:12 ` voidlinux-github
2019-10-30  8:13 ` [PR PATCH] [Closed]: " voidlinux-github

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=20191013080041.kbTOV3-SO-0dMtcZTNXxwF6G0mPq-4aqpel_25bndRw@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).