Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/loudmouth: loudmouth-1.4.3-r1.ebuild loudmouth-1.4.3.ebuild ChangeLog loudmouth-1.4.3-r2.ebuild
Date: Wed, 02 Nov 2011 02:56:51
Message-Id: 20111102025640.5E67A2004C@flycatcher.gentoo.org
1 tetromino 11/11/02 02:56:40
2
3 Modified: loudmouth-1.4.3-r1.ebuild loudmouth-1.4.3.ebuild
4 ChangeLog
5 Added: loudmouth-1.4.3-r2.ebuild
6 Log:
7 Add patches fixing rfc-3920 compliance, preventing segfaults and excessive debug messages, and fixing utf-8 validation of incoming messages (bug #389127, many thanks to Dmitry Potapov <potapov.d@×××××.com> for reporting). Also, move to EAPI4 and add USE=static-libs support. The Imendio upstream is gone, so use gnome.org for SRC_URI and set the github repo which is supposedly considered the closest thing to official that loudmouth has these days as the homepage.
8
9 (Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.12 net-libs/loudmouth/loudmouth-1.4.3-r1.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3-r1.ebuild?rev=1.12&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3-r1.ebuild?rev=1.12&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3-r1.ebuild?r1=1.11&r2=1.12
17
18 Index: loudmouth-1.4.3-r1.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3-r1.ebuild,v
21 retrieving revision 1.11
22 retrieving revision 1.12
23 diff -u -r1.11 -r1.12
24 --- loudmouth-1.4.3-r1.ebuild 9 Sep 2010 13:36:28 -0000 1.11
25 +++ loudmouth-1.4.3-r1.ebuild 2 Nov 2011 02:56:39 -0000 1.12
26 @@ -1,12 +1,11 @@
27 -# Copyright 1999-2010 Gentoo Foundation
28 +# Copyright 1999-2011 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3-r1.ebuild,v 1.11 2010/09/09 13:36:28 ranger Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3-r1.ebuild,v 1.12 2011/11/02 02:56:39 tetromino Exp $
32
33 inherit autotools gnome2
34
35 DESCRIPTION="Lightweight C Jabber library"
36 -HOMEPAGE="http://www.loudmouth-project.org/"
37 -SRC_URI="http://ftp.imendio.com/pub/imendio/${PN}/src/${P}.tar.bz2"
38 +HOMEPAGE="https://github.com/engineyard/loudmouth"
39
40 LICENSE="LGPL-2.1"
41 SLOT="0"
42
43
44
45 1.11 net-libs/loudmouth/loudmouth-1.4.3.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3.ebuild?rev=1.11&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3.ebuild?rev=1.11&content-type=text/plain
49 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3.ebuild?r1=1.10&r2=1.11
50
51 Index: loudmouth-1.4.3.ebuild
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3.ebuild,v
54 retrieving revision 1.10
55 retrieving revision 1.11
56 diff -u -r1.10 -r1.11
57 --- loudmouth-1.4.3.ebuild 17 Jun 2009 22:09:46 -0000 1.10
58 +++ loudmouth-1.4.3.ebuild 2 Nov 2011 02:56:39 -0000 1.11
59 @@ -1,12 +1,11 @@
60 -# Copyright 1999-2009 Gentoo Foundation
61 +# Copyright 1999-2011 Gentoo Foundation
62 # Distributed under the terms of the GNU General Public License v2
63 -# $Header: /var/cvsroot/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3.ebuild,v 1.10 2009/06/17 22:09:46 eva Exp $
64 +# $Header: /var/cvsroot/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3.ebuild,v 1.11 2011/11/02 02:56:39 tetromino Exp $
65
66 inherit autotools gnome2
67
68 DESCRIPTION="Lightweight C Jabber library"
69 -HOMEPAGE="http://www.loudmouth-project.org/"
70 -SRC_URI="http://ftp.imendio.com/pub/imendio/${PN}/src/${P}.tar.bz2"
71 +HOMEPAGE="https://github.com/engineyard/loudmouth"
72
73 LICENSE="LGPL-2.1"
74 SLOT="0"
75
76
77
78 1.98 net-libs/loudmouth/ChangeLog
79
80 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/loudmouth/ChangeLog?rev=1.98&view=markup
81 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/loudmouth/ChangeLog?rev=1.98&content-type=text/plain
82 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/loudmouth/ChangeLog?r1=1.97&r2=1.98
83
84 Index: ChangeLog
85 ===================================================================
86 RCS file: /var/cvsroot/gentoo-x86/net-libs/loudmouth/ChangeLog,v
87 retrieving revision 1.97
88 retrieving revision 1.98
89 diff -u -r1.97 -r1.98
90 --- ChangeLog 9 Sep 2010 13:36:28 -0000 1.97
91 +++ ChangeLog 2 Nov 2011 02:56:40 -0000 1.98
92 @@ -1,6 +1,22 @@
93 # ChangeLog for net-libs/loudmouth
94 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
95 -# $Header: /var/cvsroot/gentoo-x86/net-libs/loudmouth/ChangeLog,v 1.97 2010/09/09 13:36:28 ranger Exp $
96 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
97 +# $Header: /var/cvsroot/gentoo-x86/net-libs/loudmouth/ChangeLog,v 1.98 2011/11/02 02:56:40 tetromino Exp $
98 +
99 +*loudmouth-1.4.3-r2 (02 Nov 2011)
100 +
101 + 02 Nov 2011; Alexandre Rostovtsev <tetromino@g.o>
102 + loudmouth-1.4.3.ebuild, loudmouth-1.4.3-r1.ebuild,
103 + +loudmouth-1.4.3-r2.ebuild, +files/loudmouth-1.4.3-free-before-closed.patch,
104 + +files/loudmouth-1.4.3-id-tag-in-opening-headers.patch,
105 + +files/loudmouth-1.4.3-invalid-unicode.patch,
106 + +files/loudmouth-1.4.3-silence-chdir.patch:
107 + Add patches fixing rfc-3920 compliance, preventing segfaults and excessive
108 + debug messages, and fixing utf-8 validation of incoming messages (bug
109 + #389127, many thanks to Dmitry Potapov <potapov.d@×××××.com> for reporting).
110 + Also, move to EAPI4 and add USE=static-libs support.
111 + The Imendio upstream is gone, so use gnome.org for SRC_URI and set the github
112 + repo which is supposedly considered the closest thing to official that
113 + loudmouth has these days as the homepage.
114
115 09 Sep 2010; Brent Baude <ranger@g.o> loudmouth-1.4.3-r1.ebuild:
116 Marking loudmouth-1.4.3-r1 ppc64 for bug 320273
117
118
119
120 1.1 net-libs/loudmouth/loudmouth-1.4.3-r2.ebuild
121
122 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3-r2.ebuild?rev=1.1&view=markup
123 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3-r2.ebuild?rev=1.1&content-type=text/plain
124
125 Index: loudmouth-1.4.3-r2.ebuild
126 ===================================================================
127 # Copyright 1999-2010 Gentoo Foundation
128 # Distributed under the terms of the GNU General Public License v2
129 # $Header: /var/cvsroot/gentoo-x86/net-libs/loudmouth/loudmouth-1.4.3-r2.ebuild,v 1.1 2011/11/02 02:56:40 tetromino Exp $
130
131 EAPI="4"
132 GNOME_TARBALL_SUFFIX="bz2"
133 GNOME2_LA_PUNT="yes"
134
135 inherit autotools eutils gnome2
136
137 DESCRIPTION="Lightweight C Jabber library"
138 HOMEPAGE="https://github.com/engineyard/loudmouth"
139
140 LICENSE="LGPL-2.1"
141 SLOT="0"
142 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
143
144 IUSE="asyncns debug doc ssl static-libs test"
145
146 RDEPEND=">=dev-libs/glib-2.4
147 ssl? ( >=net-libs/gnutls-1.4.0 )
148 asyncns? ( net-libs/libasyncns )"
149 # FIXME:
150 # openssl dropped because of bug #216705
151
152 DEPEND="${RDEPEND}
153 test? ( dev-libs/check )
154 dev-util/pkgconfig
155 doc? ( >=dev-util/gtk-doc-1 )
156 >=dev-util/gtk-doc-am-1"
157
158 DOCS="AUTHORS ChangeLog NEWS README"
159
160 pkg_setup() {
161 G2CONF="${G2CONF} $(use_enable debug) $(use_enable static-libs static)"
162
163 if use ssl; then
164 G2CONF="${G2CONF} --with-ssl=gnutls"
165 else
166 G2CONF="${G2CONF} --with-ssl=no"
167 fi
168
169 if use asyncns; then
170 G2CONF="${G2CONF} --with-asyncns=system"
171 else
172 G2CONF="${G2CONF} --without-asyncns"
173 fi
174 }
175
176 src_prepare() {
177 gnome2_src_prepare
178
179 # Use system libasyncns, bug #236844
180 epatch "${FILESDIR}/${P}-asyncns-system.patch"
181
182 # Fix detection of gnutls-2.8, bug #272027
183 epatch "${FILESDIR}/${P}-gnutls28.patch"
184
185 # Fix digest auth with SRV (or similar)
186 # Upstream: http://loudmouth.lighthouseapp.com/projects/17276-libloudmouth/tickets/44-md5-digest-uri-not-set-correctly-when-using-srv
187 epatch "${FILESDIR}/${P}-fix-sasl-md5-digest-uri.patch"
188
189 # Drop stanzas when failing to convert them to LmMessages
190 # From debian..
191 epatch "${FILESDIR}/${P}-drop-stanzas-on-fail.patch"
192
193 # Don't check for sync dns problems when using asyncns [#33]
194 # From debian..
195 epatch "${FILESDIR}/${P}-async-fix.patch"
196
197 # Don't append id tag in opening headers [#30]
198 epatch "${FILESDIR}/${P}-id-tag-in-opening-headers.patch"
199
200 # Silence chdir, from engineyard git
201 epatch "${FILESDIR}/${P}-silence-chdir.patch"
202
203 # Don't free connection internals before connection is closed [#34]
204 epatch "${FILESDIR}/${P}-free-before-closed.patch"
205
206 # Check for invalid utf8, bug #389127
207 # Upstream: http://loudmouth.lighthouseapp.com/projects/17276/tickets/61
208 epatch "${FILESDIR}/${P}-invalid-unicode.patch"
209
210 eautoreconf
211 }