Gentoo Archives: gentoo-commits

From: "Olivier Crete (tester)" <tester@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/pidgin: ChangeLog pidgin-2.2.1.ebuild pidgin-2.1.1.ebuild pidgin-2.2.0-r1.ebuild pidgin-2.2.0.ebuild
Date: Sun, 30 Sep 2007 16:19:12
Message-Id: E1Ic1Mx-0003RX-1B@stork.gentoo.org
1 tester 07/09/30 16:10:11
2
3 Modified: ChangeLog
4 Added: pidgin-2.2.1.ebuild
5 Removed: pidgin-2.1.1.ebuild pidgin-2.2.0-r1.ebuild
6 pidgin-2.2.0.ebuild
7 Log:
8 Add new version to fix security bug #194278 (CVE CVE-2007-4996), remove old potentially vulnerable versions
9 (Portage version: 2.1.3.9)
10
11 Revision Changes Path
12 1.32 net-im/pidgin/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.32&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.32&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?r1=1.31&r2=1.32
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v
21 retrieving revision 1.31
22 retrieving revision 1.32
23 diff -u -r1.31 -r1.32
24 --- ChangeLog 20 Sep 2007 20:11:42 -0000 1.31
25 +++ ChangeLog 30 Sep 2007 16:10:10 -0000 1.32
26 @@ -1,6 +1,14 @@
27 # ChangeLog for net-im/pidgin
28 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.31 2007/09/20 20:11:42 drizzt Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.32 2007/09/30 16:10:10 tester Exp $
31 +
32 +*pidgin-2.2.1 (30 Sep 2007)
33 +
34 + 30 Sep 2007; Olivier CrĂȘte <tester@g.o>
35 + -files/pidgin-2.2.0-proxy.patch, -pidgin-2.1.1.ebuild,
36 + -pidgin-2.2.0.ebuild, -pidgin-2.2.0-r1.ebuild, +pidgin-2.2.1.ebuild:
37 + Add new version to fix security bug #194278 (CVE CVE-2007-4996), remove old
38 + potentially vulnerable versions
39
40 *pidgin-2.2.0-r1 (20 Sep 2007)
41
42
43
44
45 1.1 net-im/pidgin/pidgin-2.2.1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.2.1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.2.1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: pidgin-2.2.1.ebuild
51 ===================================================================
52 # Copyright 1999-2007 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.2.1.ebuild,v 1.1 2007/09/30 16:10:10 tester Exp $
55
56 inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2
57
58 MY_PV=${P/_beta/beta}
59
60 DESCRIPTION="GTK Instant Messenger client"
61 HOMEPAGE="http://pidgin.im/"
62 SRC_URI="mirror://sourceforge/${PN}/${MY_PV}.tar.bz2"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
67 IUSE="bonjour dbus debug doc eds gadu gnutls gstreamer meanwhile networkmanager nls perl silc tcl tk spell qq gadu"
68 IUSE="${IUSE} gtk sasl ncurses groupwise prediction zephyr" # mono"
69
70 RDEPEND="
71 bonjour? ( net-dns/avahi )
72 dbus? ( >=dev-libs/dbus-glib-0.71
73 >=dev-python/dbus-python-0.71
74 >=sys-apps/dbus-0.90
75 >=dev-lang/python-2.4 )
76 gtk? (
77 spell? ( >=app-text/gtkspell-2.0.2 )
78 >=x11-libs/gtk+-2.0
79 >=x11-libs/startup-notification-0.5
80 x11-libs/libXScrnSaver
81 eds? ( gnome-extra/evolution-data-server ) )
82 >=dev-libs/glib-2.0
83 gstreamer? ( =media-libs/gstreamer-0.10*
84 =media-libs/gst-plugins-good-0.10* )
85 perl? ( >=dev-lang/perl-5.8.2-r1 )
86 gadu? ( net-libs/libgadu )
87 gnutls? ( net-libs/gnutls )
88 !gnutls? ( >=dev-libs/nss-3.11 )
89 meanwhile? ( net-libs/meanwhile )
90 silc? ( >=net-im/silc-toolkit-0.9.12-r3 )
91 zephyr? ( >=app-crypt/mit-krb5-1.3.6-r1 )
92 tcl? ( dev-lang/tcl )
93 tk? ( dev-lang/tk )
94 sasl? ( >=dev-libs/cyrus-sasl-2 )
95 doc? ( app-doc/doxygen )
96 dev-libs/libxml2
97 networkmanager? ( net-misc/networkmanager )
98 prediction? ( =dev-db/sqlite-3* )"
99 #mono? ( dev-lang/mono )"
100
101 DEPEND="$RDEPEND
102 dev-lang/perl
103 dev-perl/XML-Parser
104 dev-util/pkgconfig
105 nls? ( sys-devel/gettext )"
106
107 S="${WORKDIR}/${MY_PV}"
108
109 # Enable Default protocols
110 DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,zephyr,simple,msn,myspace"
111
112 # List of plugins yet to be ported (will be removed at some point)
113 # net-im/gaim-bnet
114 # x11-plugins/autoprofile
115 # x11-plugins/gaim-xfire
116 # x11-plugins/gaim-galago
117 # x11-themes/gaim-smileys (get liquidx to fix it)
118
119 # Abandonned
120 # x11-plugins/ignorance
121 # x11-plugins/bangexec
122 # x11-plugins/gaim-assistant
123 # Last release in 2004
124 # net-im/gaim-blogger
125 # x11-plugins/gaimosd
126 # Last release in 2005
127 # app-accessibility/festival-gaim
128 # Merged into something else
129 # net-im/gaim-meanwhile (integrated in gaim)
130 # net-im/gaim-snpp (merged into the plugin pack)
131 # x11-plugins/gaim-slashexec (integrated into plugin pack)
132
133 # List of plugins
134 # net-im/librvp
135 # x11-plugins/guifications
136 # x11-plugins/pidgin-encryption
137 # x11-plugins/pidgin-extprefs
138 # x11-plugins/pidgin-hotkeys
139 # x11-plugins/pidgin-latex
140 # x11-plugins/pidgin-libnotify
141 # x11-plugins/pidgin-otr
142 # x11-plugins/pidgin-rhythmbox
143 # x11-plugins/purple-plugin_pack
144
145 print_pidgin_warning() {
146 ewarn
147 ewarn "We strongly recommend that you backup your ~/.gaim directory"
148 ewarn "before running Pidgin for the first time. Things you should be"
149 ewarn "on the lookout for include problems with preferences being lost"
150 ewarn "or forgotten, buddy icons not working as you expect, plugins or"
151 ewarn "other external files not properly being found."
152 ewarn
153 ewarn "If you experience problems with pidgin, file them as bugs with"
154 ewarn "Gentoo's bugzilla, http://bugs.gentoo.org. DO NOT report them"
155 ewarn "as bugs with pidgin's bug tracker, and by all means DO NOT"
156 ewarn "seek help in #pidgin."
157 ewarn
158 ewarn "Be sure to USE=\"debug\" and include a backtrace for any seg"
159 ewarn "faults, see http://developer.pidgin.im/wiki/GetABacktrace for details on"
160 ewarn "backtraces."
161 ewarn
162 ewarn "Please read the pidgin FAQ at http://developer.pidgin.im/wiki/FAQ"
163 ewarn
164 }
165
166 pkg_setup() {
167 print_pidgin_warning
168
169 if use gadu && built_with_use net-libs/libgadu ssl ; then
170 eerror
171 eerror "You need to rebuild net-libs/libgadu with USE=-ssl in order"
172 eerror "enable gadu gadu support in pidgin."
173 eerror
174 die "Configure failed"
175 fi
176
177 if use ncurses && ! built_with_use sys-libs/ncurses unicode; then
178 eerror
179 eerror "You need to rebuild sys-libs/ncurses with USE=unicode in order"
180 eerror "to build finch the console client of pidgin."
181 eerror
182 die "Configure failed"
183 fi
184
185 if ! use gtk && ! use ncurses ; then
186 einfo
187 elog "As you did not pick gtk or ncurses use flag, building"
188 elog "console only."
189 einfo
190 fi
191
192 if use zephyr && ! built_with_use app-crypt/mit-krb5 krb4 ; then
193 eerror
194 eerror "You need to rebuild app-crypt/mit-krb5 with USE=krb4 in order to"
195 eerror "enable krb4 support for the zephyr protocol in pidgin"
196 eerror
197 die "Configure failed"
198 fi
199
200 }
201
202 src_compile() {
203 # Stabilize things, for your own good
204 strip-flags
205 replace-flags -O? -O2
206
207 # -msse2 doesn't play nice on gcc 3.2
208 [[ "`gcc-version`" == "3.2" ]] && filter-flags -msse2
209
210 local myconf
211
212 if use gadu; then
213 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
214 myconf="${myconf} --with-gadu-includes=."
215 myconf="${myconf} --with-gadu-libs=."
216 fi
217
218 if use silc; then
219 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},silc"
220 fi
221
222 if use qq; then
223 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},qq"
224 fi
225
226 if use meanwhile; then
227 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},sametime"
228 fi
229
230 if use bonjour; then
231 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour"
232 fi
233
234 if use groupwise; then
235 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell"
236 fi
237
238 if use zephyr; then
239 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},zephyr"
240 fi
241
242 if use gnutls ; then
243 einfo "Disabling NSS, using GnuTLS"
244 myconf="${myconf} --enable-nss=no --enable-gnutls=yes"
245 myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls"
246 myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)"
247 else
248 einfo "Disabling GnuTLS, using NSS"
249 myconf="${myconf} --enable-gnutls=no --enable-nss=yes"
250 fi
251
252 if ! use ncurses && ! use gtk; then
253 myconf="${myconf} --enable-consoleui --disable-gtkui"
254 else
255 myconf="${myconf} $(use_enable ncurses consoleui) $(use_enable gtk gtkui)"
256 fi
257
258 econf \
259 $(use_enable nls) \
260 $(use_enable perl) \
261 $(use_enable gtk startup-notification) \
262 $(use_enable gtk screensaver) \
263 $(use_enable gtk sm) \
264 $(use_enable tcl) \
265 $(use_enable spell gtkspell) \
266 $(use_enable tk) \
267 $(use_enable debug) \
268 $(use_enable dbus) \
269 $(use_enable meanwhile) \
270 $(use_enable eds gevolution) \
271 $(use_enable gstreamer) \
272 $(use_enable sasl cyrus-sasl ) \
273 $(use_enable doc doxygen) \
274 $(use_enable prediction cap) \
275 $(use_enable networkmanager nm) \
276 $(use_with zephyr krb4) \
277 "--with-dynamic-prpls=${DYNAMIC_PRPLS}" \
278 --disable-mono \
279 --x-includes=/usr/include/X11 \
280 ${myconf} || die "Configuration failed"
281 #$(use_enable mono) \
282
283 emake || die "make failed"
284 }
285
286 src_install() {
287 gnome2_src_install
288 use perl && fixlocalpod
289 dodoc AUTHORS COPYING HACKING INSTALL NEWS README ChangeLog
290 }
291
292 pkg_postinst() {
293 gnome2_pkg_postinst
294 print_pidgin_warning
295 }
296
297
298
299 --
300 gentoo-commits@g.o mailing list