commit:     e34e106c9ff5de63b4823f2fe74474cb3d61da9e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  2 17:10:13 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Sep  2 18:01:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e34e106c

net-libs/libssh2: drop 1.10.0

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/libssh2/Manifest                          |  1 -
 .../libssh2/files/libssh2-1.10.0-libressl.patch    | 33 -------------
 net-libs/libssh2/libssh2-1.10.0.ebuild             | 56 ----------------------
 3 files changed, 90 deletions(-)

diff --git a/net-libs/libssh2/Manifest b/net-libs/libssh2/Manifest
index db369a27d8b1..d161b27f79f4 100644
--- a/net-libs/libssh2/Manifest
+++ b/net-libs/libssh2/Manifest
@@ -1,2 +1 @@
-DIST libssh2-1.10.0.tar.gz 965044 BLAKE2B 
0e6f571cc723e0050bf7ba7492f361ef222547dcbc311019cb6762f01405b4906e0418207a7d484c5170bee5e6f666827a7ea0d0cf233f684f999f896ce0b415
 SHA512 
e064ee1089eb8e6cd5fa2617f4fd8ff56c2721c5476775a98bdb68c6c4ee4d05c706c3bb0eb479a27a8ec0b17a8a5ef43e1d028ad3f134519aa582d3981a3a30
 DIST libssh2-1.11.0.tar.xz 686796 BLAKE2B 
36903798c72f7261d9e997254169c10a4e69166017445276de8b0066fff15cd4dae4119a8d6cbbab8859d765b2d7f34f2911bbaf83c8d6ac5d1feead6b5de64e
 SHA512 
6d50c71b778ca0f769fcc9d2cc257ab669cd0b6c35e8b0e047b6b38aea10638974cc591ba27c25bb7dd523020b4a8a62e2c1ae368287d9dc254d5e24d4a7cee7

diff --git a/net-libs/libssh2/files/libssh2-1.10.0-libressl.patch 
b/net-libs/libssh2/files/libssh2-1.10.0-libressl.patch
deleted file mode 100644
index 9cecabd5d01e..000000000000
--- a/net-libs/libssh2/files/libssh2-1.10.0-libressl.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://bugs.gentoo.org/903001
-https://github.com/libssh2/libssh2/pull/700
-https://github.com/libssh2/libssh2/commit/b952674f120748174ed2c0fb93e7bd78cf355cac
-
-From f0681a4573d7c7f7484d3157ddff7063a200295b Mon Sep 17 00:00:00 2001
-From: Viktor Szakats <com...@vsz.me>
-Date: Thu, 19 May 2022 13:25:06 +0000
-Subject: [PATCH] openssl: add support for LibreSSL 3.5.x
-
-LibreSSL 3.5.0 made more structures opaque, so let's enable existing
-support for that when building against these LibreSSL versions.
-
-Ref: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.0-relnotes.txt
----
- src/openssl.h | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/src/openssl.h b/src/openssl.h
-index 658b040..09bfd7c 100644
---- a/src/openssl.h
-+++ b/src/openssl.h
-@@ -57,8 +57,9 @@
- #include <openssl/pem.h>
- #include <openssl/rand.h>
- 
--#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \
--    !defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && \
-+    !defined(LIBRESSL_VERSION_NUMBER)) || \
-+    LIBRESSL_VERSION_NUMBER >= 0x3050000fL
- # define HAVE_OPAQUE_STRUCTS 1
- #endif
- 

diff --git a/net-libs/libssh2/libssh2-1.10.0.ebuild 
b/net-libs/libssh2/libssh2-1.10.0.ebuild
deleted file mode 100644
index a4c6f0460f8e..000000000000
--- a/net-libs/libssh2/libssh2-1.10.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit cmake-multilib
-
-DESCRIPTION="Library implementing the SSH2 protocol"
-HOMEPAGE="https://www.libssh2.org";
-SRC_URI="https://www.libssh2.org/download/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="gcrypt mbedtls zlib"
-REQUIRED_USE="?? ( gcrypt mbedtls )"
-# Tests try to set containers up using docker (and fail for some reason).
-RESTRICT="test"
-
-RDEPEND="
-       gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] )
-       !gcrypt? (
-               mbedtls? ( net-libs/mbedtls:0=[${MULTILIB_USEDEP}] )
-               !mbedtls? (
-                       >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}]
-               )
-       )
-       zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
-"
-DEPEND="
-       ${RDEPEND}
-"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-libressl.patch #903001
-)
-
-multilib_src_configure() {
-       local crypto_backend=OpenSSL
-       if use gcrypt; then
-               crypto_backend=Libgcrypt
-       elif use mbedtls; then
-               crypto_backend=mbedTLS
-       fi
-
-       local mycmakeargs=(
-               -DBUILD_SHARED_LIBS=ON
-               -DCRYPTO_BACKEND=${crypto_backend}
-               -DENABLE_ZLIB_COMPRESSION=$(usex zlib)
-       )
-       cmake_src_configure
-}
-
-multilib_src_install_all() {
-       einstalldocs
-       find "${ED}" -name '*.la' -delete || die
-}

Reply via email to