From 13e2bb099bde20adb13826eb20a6cbba035270d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20V=C3=A1radi?= Date: Mon, 13 Aug 2018 16:24:18 +0200 Subject: [PATCH 1/2] Require libssl 1.0 on Xenial --- .../debian/debian.xenial/post-patches/libssl.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 admin/linux/debian/debian.xenial/post-patches/libssl.patch diff --git a/admin/linux/debian/debian.xenial/post-patches/libssl.patch b/admin/linux/debian/debian.xenial/post-patches/libssl.patch new file mode 100644 index 000000000..5b5cf5ee7 --- /dev/null +++ b/admin/linux/debian/debian.xenial/post-patches/libssl.patch @@ -0,0 +1,11 @@ +--- nextcloud-client-2.5.0.orig/CMakeLists.txt 2018-08-13 16:19:57.191634632 +0200 ++++ nextcloud-client-2.5.0/CMakeLists.txt 2018-08-13 16:20:05.167612238 +0200 +@@ -183,7 +183,7 @@ + endif() + find_package(Sphinx) + find_package(PdfLatex) +- find_package(OpenSSL 1.1 REQUIRED ) ++ find_package(OpenSSL 1.0 REQUIRED ) + + find_package(ZLIB REQUIRED) + find_package(GLib2) From fc6e6149e5283b62db86508a1fc2497ef2abf6fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20V=C3=A1radi?= Date: Mon, 13 Aug 2018 16:24:44 +0200 Subject: [PATCH 2/2] Require libssl 1.1 on distributions other than Xenial --- admin/linux/debian/debian.stable/control | 2 +- admin/linux/debian/debian/control | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/linux/debian/debian.stable/control b/admin/linux/debian/debian.stable/control index 213439526..7acb6f1c8 100644 --- a/admin/linux/debian/debian.stable/control +++ b/admin/linux/debian/debian.stable/control @@ -15,7 +15,7 @@ Build-Depends: cmake, libqt5webkit5-dev, libqt5svg5-dev, libsqlite3-dev, - libssl-dev (>> 1.0.0), + libssl-dev (>= 1.1.0), zlib1g-dev, optipng, pkg-kde-tools, diff --git a/admin/linux/debian/debian/control b/admin/linux/debian/debian/control index fc1fbbe43..c7dd70397 100644 --- a/admin/linux/debian/debian/control +++ b/admin/linux/debian/debian/control @@ -15,7 +15,7 @@ Build-Depends: cmake, libqt5svg5-dev, libqt5webkit5-dev, libsqlite3-dev, - libssl-dev (>> 1.0.0), + libssl-dev (>= 1.1.0), zlib1g-dev, optipng, pkg-kde-tools,