Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: nextcloudclient-2.6.0.
@ 2019-10-12 21:01 voidlinux-github
  2019-10-13  8:00 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: voidlinux-github @ 2019-10-12 21:01 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2742 bytes --]

From 6103cddf44b0abfee063746be1e001bcdb09942f 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              | 24 +++++++++++++++++++
 2 files changed, 42 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..0d6687aac88
--- /dev/null
+++ b/srcpkgs/nextcloudclient/template
@@ -0,0 +1,24 @@
+# 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
+shlib_provides="libocsync.so.0 libnextcloudsync.so.0"
+
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" qt5-host-tools qt5-tools-devel"
+fi

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-10-30  8:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-12 21:01 [PR PATCH] New package: nextcloudclient-2.6.0 voidlinux-github
2019-10-13  8:00 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-13  8:00 ` voidlinux-github
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

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).