From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8A01D138359 for ; Sat, 15 Aug 2020 05:50:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9ABCE083B; Sat, 15 Aug 2020 05:50:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9EE0BE083B for ; Sat, 15 Aug 2020 05:50:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DD37E34F413 for ; Sat, 15 Aug 2020 05:50:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 904362EE for ; Sat, 15 Aug 2020 05:49:59 +0000 (UTC) From: "Stefan Strogin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stefan Strogin" Message-ID: <1597470581.17e61fb1aa62d3de6ae10b48689a9f58eb74cd1a.steils@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-pda/libimobiledevice/, app-pda/libimobiledevice/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-pda/libimobiledevice/files/libimobiledevice-1.3.0-libressl.patch app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild X-VCS-Directories: app-pda/libimobiledevice/files/ app-pda/libimobiledevice/ X-VCS-Committer: steils X-VCS-Committer-Name: Stefan Strogin X-VCS-Revision: 17e61fb1aa62d3de6ae10b48689a9f58eb74cd1a X-VCS-Branch: master Date: Sat, 15 Aug 2020 05:49:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c3c00881-24e3-4671-ad45-f32d0ea0516c X-Archives-Hash: 5e17c4c12c922da9aa364fd2fcb7b219 commit: 17e61fb1aa62d3de6ae10b48689a9f58eb74cd1a Author: Stefan Strogin gentoo org> AuthorDate: Sat Aug 15 05:47:57 2020 +0000 Commit: Stefan Strogin gentoo org> CommitDate: Sat Aug 15 05:49:41 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17e61fb1 app-pda/libimobiledevice: add patch for LibreSSL Closes: https://bugs.gentoo.org/732908 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Stefan Strogin gentoo.org> .../files/libimobiledevice-1.3.0-libressl.patch | 25 ++++++++++++++++++++++ .../libimobiledevice-1.3.0-r1.ebuild | 2 ++ 2 files changed, 27 insertions(+) diff --git a/app-pda/libimobiledevice/files/libimobiledevice-1.3.0-libressl.patch b/app-pda/libimobiledevice/files/libimobiledevice-1.3.0-libressl.patch new file mode 100644 index 00000000000..0957c9132cb --- /dev/null +++ b/app-pda/libimobiledevice/files/libimobiledevice-1.3.0-libressl.patch @@ -0,0 +1,25 @@ +From 170e1c445e8c930f4ee9dddfb9f1bcf24c089962 Mon Sep 17 00:00:00 2001 +From: Nikias Bassen +Date: Thu, 6 Aug 2020 20:43:08 +0200 +Subject: [PATCH] idevice: Fix build with LibreSSL + +Upstream-Status: Accepted +[https://github.com/libimobiledevice/libimobiledevice/commit/170e1c445e8c930f4ee9dddfb9f1bcf24c089962] +Signed-off-by: Stefan Strogin +--- + src/idevice.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/idevice.c b/src/idevice.c +index fea1e03f..47c9ab4d 100644 +--- a/src/idevice.c ++++ b/src/idevice.c +@@ -1015,7 +1015,7 @@ LIBIMOBILEDEVICE_API idevice_error_t idevice_connection_enable_ssl(idevice_conne + return ret; + } + +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L ++#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) + SSL_CTX_set_security_level(ssl_ctx, 0); + #endif + diff --git a/app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild b/app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild index 2a630796735..8ff61a7c4d2 100644 --- a/app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild +++ b/app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild @@ -46,6 +46,8 @@ BDEPEND=" BUILD_DIR="${S}_build" +PATCHES=( "${FILESDIR}"/${P}-libressl.patch ) + src_prepare() { default eautoreconf