Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/irssi-xmpp/, net-irc/irssi-xmpp/files/
Date: Sun, 30 Aug 2020 01:05:15
Message-Id: 1598749499.208a5389e42ceab67f66dc3a48b5d137eb205ab8.sam@gentoo
1 commit: 208a5389e42ceab67f66dc3a48b5d137eb205ab8
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 30 00:57:45 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 30 01:04:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=208a5389
7
8 net-irc/irssi-xmpp: cleanup old
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-irc/irssi-xmpp/Manifest | 1 -
14 .../files/irssi-xmpp-0.53-irssi-1.0.patch | 57 ----------------------
15 net-irc/irssi-xmpp/irssi-xmpp-0.53.ebuild | 38 ---------------
16 3 files changed, 96 deletions(-)
17
18 diff --git a/net-irc/irssi-xmpp/Manifest b/net-irc/irssi-xmpp/Manifest
19 index 8bdb1e6629e..8591f073572 100644
20 --- a/net-irc/irssi-xmpp/Manifest
21 +++ b/net-irc/irssi-xmpp/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST irssi-xmpp-0.53.tar.gz 65649 BLAKE2B 69621ae0fadb3b3c1015b5ffa1f4b9e81cc3b92270c07582f5a4cefe83f9ed4e1735527900c6989127c8d70616b316ea42653ee57aa5a8b0e6e5c641cf064346 SHA512 09969db01b77e95248a080599d480b8271dcbe6d42bc90e5e2bb304a2d1b9695b70090ef0a6b7342bf6e17326e0f7a50c11c85e02e6ed742ec55820ffad655be
24 DIST irssi-xmpp-0.54-musl-build.patch 24443 BLAKE2B b0ed65a688d0db84f89bc65c429b4754cd4dcfb9de2c1cd5aa64f4e02badc82d26ab42b2a29a3658910dcdbf61b2d49eca4c1b4355b5566c5a3bd120e06340bb SHA512 1417c328867b59de41f71fa720cb00581352604acec9787db183820f1ffb77209623bc236aa5b6e4f661c3780ee5c3d407aecbc286176a4d850f6e40bebecd45
25 DIST irssi-xmpp-0.54.tar.gz 65618 BLAKE2B 5dd1f3a858cdb397351b93800fdd2050aa8e5764ac2e03008d629dee7d825b02bce4bfc627ab2d3249392efe43ceb1530a7ccefc3241c8ca101cc2963d28f872 SHA512 31ddd9e0147eec23d08b8bcbe242e831d612cb2d00f3b56776e9d0b87db9bd76d4bb147422cdf18c0567f0e0463ab828ab7a0ef80a2b35cfdc0a8be962b39f14
26
27 diff --git a/net-irc/irssi-xmpp/files/irssi-xmpp-0.53-irssi-1.0.patch b/net-irc/irssi-xmpp/files/irssi-xmpp-0.53-irssi-1.0.patch
28 deleted file mode 100644
29 index a92d4db4739..00000000000
30 --- a/net-irc/irssi-xmpp/files/irssi-xmpp-0.53-irssi-1.0.patch
31 +++ /dev/null
32 @@ -1,57 +0,0 @@
33 -From 0d9e5f7f1a0edaea0de312828ce47d11f74ee3dc Mon Sep 17 00:00:00 2001
34 -From: benaryorg <binary@××××××.org>
35 -Date: Fri, 20 Jan 2017 06:31:28 +0100
36 -Subject: [PATCH] fix build with irssi 1.0
37 -
38 -use_ssl field of SERVER_CONNECT_REC has been renamed to use_tls.
39 -
40 -Original patch from darix.
41 -
42 -Signed-off-by: benaryorg <binary@××××××.org>
43 ----
44 - src/core/xmpp-servers.c | 11 ++++++++---
45 - 1 file changed, 8 insertions(+), 3 deletions(-)
46 -
47 -diff --git a/src/core/xmpp-servers.c b/src/core/xmpp-servers.c
48 -index 405ecd9..8d0b62d 100644
49 ---- a/src/core/xmpp-servers.c
50 -+++ b/src/core/xmpp-servers.c
51 -@@ -32,6 +32,11 @@
52 - #include "rosters-tools.h"
53 - #include "tools.h"
54 -
55 -+/* IRSSI_ABI_VERSION was introduced in 0.8.18 */
56 -+#if !defined(IRSSI_ABI_VERSION) || IRSSI_ABI_VERSION < 6
57 -+# define use_tls use_ssl
58 -+#endif
59 -+
60 - static void
61 - channels_join(SERVER_REC *server, const char *data, int automatic)
62 - {
63 -@@ -151,7 +156,7 @@ xmpp_server_init_connect(SERVER_CONNECT_REC *connrec)
64 - server->connect_pid = -1;
65 -
66 - if (server->connrec->port <= 0)
67 -- server->connrec->port = (server->connrec->use_ssl) ?
68 -+ server->connrec->port = (server->connrec->use_tls) ?
69 - LM_CONNECTION_DEFAULT_PORT_SSL : LM_CONNECTION_DEFAULT_PORT;
70 -
71 - if (conn->real_jid == NULL)
72 -@@ -335,7 +340,7 @@ lm_open_cb(LmConnection *connection, gboolean success,
73 - g_free(host);
74 - } else
75 - signal_emit("server connecting", 1, server);
76 -- if (server->connrec->use_ssl)
77 -+ if (server->connrec->use_tls)
78 - signal_emit("xmpp server status", 2, server,
79 - "Using SSL encryption.");
80 - else if (lm_ssl_get_use_starttls(lm_connection_get_ssl(server->lmconn)))
81 -@@ -470,7 +475,7 @@ xmpp_server_connect(XMPP_SERVER_REC *server)
82 - return;
83 - error = NULL;
84 - err_msg = NULL;
85 -- if (server->connrec->use_ssl) {
86 -+ if (server->connrec->use_tls) {
87 - if (!set_ssl(server->lmconn, &error, server, FALSE)) {
88 - err_msg = "Cannot init ssl";
89 - goto err;
90
91 diff --git a/net-irc/irssi-xmpp/irssi-xmpp-0.53.ebuild b/net-irc/irssi-xmpp/irssi-xmpp-0.53.ebuild
92 deleted file mode 100644
93 index 897b1d37ddd..00000000000
94 --- a/net-irc/irssi-xmpp/irssi-xmpp-0.53.ebuild
95 +++ /dev/null
96 @@ -1,38 +0,0 @@
97 -# Copyright 1999-2017 Gentoo Foundation
98 -# Distributed under the terms of the GNU General Public License v2
99 -
100 -EAPI=6
101 -
102 -inherit toolchain-funcs
103 -
104 -DESCRIPTION="An irssi plugin providing Jabber/XMPP support"
105 -HOMEPAGE="https://cybione.org/~irssi-xmpp/"
106 -SRC_URI="https://github.com/cdidier/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
107 -
108 -LICENSE="GPL-2"
109 -SLOT="0"
110 -KEYWORDS="~amd64 ~x86"
111 -IUSE=""
112 -
113 -DEPEND="
114 - >=net-irc/irssi-0.8.13
115 - >=net-libs/loudmouth-1.4.0"
116 -
117 -RDEPEND="${DEPEND}"
118 -
119 -PATCHES=( "${FILESDIR}/${P}-irssi-1.0.patch" )
120 -
121 -src_prepare() {
122 - default
123 - sed -e "s/{MAKE} doc-install/{MAKE}/" \
124 - -i Makefile || die #322355
125 -}
126 -
127 -src_compile() {
128 - emake PREFIX=/usr CC="$(tc-getCC)"
129 -}
130 -
131 -src_install() {
132 - emake DESTDIR="${D}" PREFIX=/usr IRSSI_LIB=/usr/$(get_libdir)/irssi install
133 - dodoc README NEWS TODO docs/*
134 -}