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