commit:     4a3378e7e9fac9b69f1895962e361b2bc577d237
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Jul  2 23:48:24 2022 +0000
Commit:     Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
CommitDate: Sun Jul  3 17:47:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=4a3378e7

dev-libs/libstrophe: Remove package

Works with libressl-3.5.x and libstrophe-0.12.0::gentoo.

Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>

 dev-libs/libstrophe/Manifest                       |  1 -
 .../files/libstrophe-0.9.2-libressl.patch          | 20 ---------
 dev-libs/libstrophe/libstrophe-0.9.2.ebuild        | 51 ----------------------
 dev-libs/libstrophe/metadata.xml                   | 17 --------
 4 files changed, 89 deletions(-)

diff --git a/dev-libs/libstrophe/Manifest b/dev-libs/libstrophe/Manifest
deleted file mode 100644
index e5c1bc3..0000000
--- a/dev-libs/libstrophe/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libstrophe-0.9.2.tar.gz 500459 BLAKE2B 
0b1f6f1daac1215bcdcbde0e54264b98f5a863de339500826f625f8c5e8143ce7200fb251d04248715e9a8b6621a4360e7ca2780bf4684d916ec13361b5f6fcc
 SHA512 
a0129c49ca574afaefa77c412143571af2eb1100c7d737d497b65d44680d35e2404ee2d4d4e1378b06ac1bcc5c587f505f79fea9251af1cbb36afd990d48570d

diff --git a/dev-libs/libstrophe/files/libstrophe-0.9.2-libressl.patch 
b/dev-libs/libstrophe/files/libstrophe-0.9.2-libressl.patch
deleted file mode 100644
index 1c0cf23..0000000
--- a/dev-libs/libstrophe/files/libstrophe-0.9.2-libressl.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/src/tls_openssl.c
-+++ b/src/tls_openssl.c
-@@ -51,7 +51,7 @@
- 
- void tls_initialize(void)
- {
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) 
&& LIBRESSL_VERSION_NUMBER < 0x2070000fL)
-     SSL_library_init();
-     SSL_load_error_strings();
- #else
-@@ -120,7 +120,7 @@
-         /* Trust server's certificate when user sets the flag explicitly. */
-         mode = conn->tls_trust ? SSL_VERIFY_NONE : SSL_VERIFY_PEER;
-         SSL_set_verify(tls->ssl, mode, 0);
--#if OPENSSL_VERSION_NUMBER >= 0x10002000L
-+#if OPENSSL_VERSION_NUMBER >= 0x10002000L && 
(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x2070000fL)
-         /* Hostname verification is supported in OpenSSL 1.0.2 and newer. */
-         X509_VERIFY_PARAM *param = SSL_get0_param(tls->ssl);
- 

diff --git a/dev-libs/libstrophe/libstrophe-0.9.2.ebuild 
b/dev-libs/libstrophe/libstrophe-0.9.2.ebuild
deleted file mode 100644
index c7fff11..0000000
--- a/dev-libs/libstrophe/libstrophe-0.9.2.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-DESCRIPTION="A simple, lightweight C library for writing XMPP clients"
-HOMEPAGE="http://strophe.im/libstrophe/";
-SRC_URI="https://github.com/strophe/${PN}/releases/download/${PV}/${P}.tar.gz";
-LICENSE="|| ( MIT GPL-3 )"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc expat"
-
-RDEPEND="
-       expat? ( dev-libs/expat )
-       !expat? ( dev-libs/libxml2:2 )
-       dev-libs/openssl:0=
-"
-DEPEND="${RDEPEND}
-       doc? ( app-doc/doxygen )
-"
-
-DOCS=( ChangeLog )
-PATCHES=( "${FILESDIR}/libstrophe-0.9.2-libressl.patch" )
-
-src_configure() {
-       # shellcheck disable=SC2207
-       local myeconf=(
-               --enable-tls
-               $(use_with !expat libxml2)
-       )
-       econf "${myeconf[@]}"
-}
-src_compile() {
-       default
-       if use doc; then
-               doxygen || die
-               HTML_DOCS=( docs/html/* )
-       fi
-}
-
-src_install() {
-       default
-       use doc && dodoc -r examples
-       find "${D}" -name '*.la' -o -name '*.a' -delete || die
-}
-
-# Explicit src_test is there to document that the test suite is integrated and
-# is expected to pass. Please do not remove.
-src_test() {
-       emake check
-}

diff --git a/dev-libs/libstrophe/metadata.xml b/dev-libs/libstrophe/metadata.xml
deleted file mode 100644
index 66bfa18..0000000
--- a/dev-libs/libstrophe/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="person">
-               <email>[email protected]</email>
-               <name>Andrey Utkin</name>
-       </maintainer>
-       <upstream>
-               <remote-id type="github">strophe/libstrophe</remote-id>
-               <bugs-to>https://github.com/strophe/libstrophe/issues</bugs-to>
-       </upstream>
-       <longdescription lang="en">
-               libstrophe is a lightweight XMPP client library written
-               in C. It has minimal dependencies and is configurable
-               for various environments.
-       </longdescription>
-</pkgmetadata>

Reply via email to