1 |
commit: 4a3378e7e9fac9b69f1895962e361b2bc577d237 |
2 |
Author: orbea <orbea <AT> riseup <DOT> net> |
3 |
AuthorDate: Sat Jul 2 23:48:24 2022 +0000 |
4 |
Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com> |
5 |
CommitDate: Sun Jul 3 17:47:00 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=4a3378e7 |
7 |
|
8 |
dev-libs/libstrophe: Remove package |
9 |
|
10 |
Works with libressl-3.5.x and libstrophe-0.12.0::gentoo. |
11 |
|
12 |
Signed-off-by: orbea <orbea <AT> riseup.net> |
13 |
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com> |
14 |
|
15 |
dev-libs/libstrophe/Manifest | 1 - |
16 |
.../files/libstrophe-0.9.2-libressl.patch | 20 --------- |
17 |
dev-libs/libstrophe/libstrophe-0.9.2.ebuild | 51 ---------------------- |
18 |
dev-libs/libstrophe/metadata.xml | 17 -------- |
19 |
4 files changed, 89 deletions(-) |
20 |
|
21 |
diff --git a/dev-libs/libstrophe/Manifest b/dev-libs/libstrophe/Manifest |
22 |
deleted file mode 100644 |
23 |
index e5c1bc3..0000000 |
24 |
--- a/dev-libs/libstrophe/Manifest |
25 |
+++ /dev/null |
26 |
@@ -1 +0,0 @@ |
27 |
-DIST libstrophe-0.9.2.tar.gz 500459 BLAKE2B 0b1f6f1daac1215bcdcbde0e54264b98f5a863de339500826f625f8c5e8143ce7200fb251d04248715e9a8b6621a4360e7ca2780bf4684d916ec13361b5f6fcc SHA512 a0129c49ca574afaefa77c412143571af2eb1100c7d737d497b65d44680d35e2404ee2d4d4e1378b06ac1bcc5c587f505f79fea9251af1cbb36afd990d48570d |
28 |
|
29 |
diff --git a/dev-libs/libstrophe/files/libstrophe-0.9.2-libressl.patch b/dev-libs/libstrophe/files/libstrophe-0.9.2-libressl.patch |
30 |
deleted file mode 100644 |
31 |
index 1c0cf23..0000000 |
32 |
--- a/dev-libs/libstrophe/files/libstrophe-0.9.2-libressl.patch |
33 |
+++ /dev/null |
34 |
@@ -1,20 +0,0 @@ |
35 |
---- a/src/tls_openssl.c |
36 |
-+++ b/src/tls_openssl.c |
37 |
-@@ -51,7 +51,7 @@ |
38 |
- |
39 |
- void tls_initialize(void) |
40 |
- { |
41 |
--#if OPENSSL_VERSION_NUMBER < 0x10100000L |
42 |
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) |
43 |
- SSL_library_init(); |
44 |
- SSL_load_error_strings(); |
45 |
- #else |
46 |
-@@ -120,7 +120,7 @@ |
47 |
- /* Trust server's certificate when user sets the flag explicitly. */ |
48 |
- mode = conn->tls_trust ? SSL_VERIFY_NONE : SSL_VERIFY_PEER; |
49 |
- SSL_set_verify(tls->ssl, mode, 0); |
50 |
--#if OPENSSL_VERSION_NUMBER >= 0x10002000L |
51 |
-+#if OPENSSL_VERSION_NUMBER >= 0x10002000L && (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x2070000fL) |
52 |
- /* Hostname verification is supported in OpenSSL 1.0.2 and newer. */ |
53 |
- X509_VERIFY_PARAM *param = SSL_get0_param(tls->ssl); |
54 |
- |
55 |
|
56 |
diff --git a/dev-libs/libstrophe/libstrophe-0.9.2.ebuild b/dev-libs/libstrophe/libstrophe-0.9.2.ebuild |
57 |
deleted file mode 100644 |
58 |
index c7fff11..0000000 |
59 |
--- a/dev-libs/libstrophe/libstrophe-0.9.2.ebuild |
60 |
+++ /dev/null |
61 |
@@ -1,51 +0,0 @@ |
62 |
-# Copyright 1999-2021 Gentoo Authors |
63 |
-# Distributed under the terms of the GNU General Public License v2 |
64 |
- |
65 |
-EAPI=7 |
66 |
-DESCRIPTION="A simple, lightweight C library for writing XMPP clients" |
67 |
-HOMEPAGE="http://strophe.im/libstrophe/" |
68 |
-SRC_URI="https://github.com/strophe/${PN}/releases/download/${PV}/${P}.tar.gz" |
69 |
-LICENSE="|| ( MIT GPL-3 )" |
70 |
-SLOT="0" |
71 |
-KEYWORDS="~amd64" |
72 |
-IUSE="doc expat" |
73 |
- |
74 |
-RDEPEND=" |
75 |
- expat? ( dev-libs/expat ) |
76 |
- !expat? ( dev-libs/libxml2:2 ) |
77 |
- dev-libs/openssl:0= |
78 |
-" |
79 |
-DEPEND="${RDEPEND} |
80 |
- doc? ( app-doc/doxygen ) |
81 |
-" |
82 |
- |
83 |
-DOCS=( ChangeLog ) |
84 |
-PATCHES=( "${FILESDIR}/libstrophe-0.9.2-libressl.patch" ) |
85 |
- |
86 |
-src_configure() { |
87 |
- # shellcheck disable=SC2207 |
88 |
- local myeconf=( |
89 |
- --enable-tls |
90 |
- $(use_with !expat libxml2) |
91 |
- ) |
92 |
- econf "${myeconf[@]}" |
93 |
-} |
94 |
-src_compile() { |
95 |
- default |
96 |
- if use doc; then |
97 |
- doxygen || die |
98 |
- HTML_DOCS=( docs/html/* ) |
99 |
- fi |
100 |
-} |
101 |
- |
102 |
-src_install() { |
103 |
- default |
104 |
- use doc && dodoc -r examples |
105 |
- find "${D}" -name '*.la' -o -name '*.a' -delete || die |
106 |
-} |
107 |
- |
108 |
-# Explicit src_test is there to document that the test suite is integrated and |
109 |
-# is expected to pass. Please do not remove. |
110 |
-src_test() { |
111 |
- emake check |
112 |
-} |
113 |
|
114 |
diff --git a/dev-libs/libstrophe/metadata.xml b/dev-libs/libstrophe/metadata.xml |
115 |
deleted file mode 100644 |
116 |
index 66bfa18..0000000 |
117 |
--- a/dev-libs/libstrophe/metadata.xml |
118 |
+++ /dev/null |
119 |
@@ -1,17 +0,0 @@ |
120 |
-<?xml version="1.0" encoding="UTF-8"?> |
121 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
122 |
-<pkgmetadata> |
123 |
- <maintainer type="person"> |
124 |
- <email>andrey_utkin@g.o</email> |
125 |
- <name>Andrey Utkin</name> |
126 |
- </maintainer> |
127 |
- <upstream> |
128 |
- <remote-id type="github">strophe/libstrophe</remote-id> |
129 |
- <bugs-to>https://github.com/strophe/libstrophe/issues</bugs-to> |
130 |
- </upstream> |
131 |
- <longdescription lang="en"> |
132 |
- libstrophe is a lightweight XMPP client library written |
133 |
- in C. It has minimal dependencies and is configurable |
134 |
- for various environments. |
135 |
- </longdescription> |
136 |
-</pkgmetadata> |