Gentoo Archives: gentoo-commits

From: "Robert Buchholz (rbu)" <rbu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/tmsnc: ChangeLog tmsnc-0.3.2-r1.ebuild
Date: Sat, 04 Oct 2008 19:06:01
Message-Id: E1KmCRy-0002Zm-LF@stork.gentoo.org
1 rbu 08/10/04 19:05:58
2
3 Modified: ChangeLog
4 Added: tmsnc-0.3.2-r1.ebuild
5 Log:
6 Fix stack based buffer overflow (security bug #229157)
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r6 x86_64)
8
9 Revision Changes Path
10 1.17 net-im/tmsnc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/tmsnc/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/tmsnc/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/tmsnc/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/tmsnc/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 5 Aug 2008 18:06:33 -0000 1.16
23 +++ ChangeLog 4 Oct 2008 19:05:58 -0000 1.17
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-im/tmsnc
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/tmsnc/ChangeLog,v 1.16 2008/08/05 18:06:33 gentoofan23 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-im/tmsnc/ChangeLog,v 1.17 2008/10/04 19:05:58 rbu Exp $
29 +
30 +*tmsnc-0.3.2-r1 (04 Oct 2008)
31 +
32 + 04 Oct 2008; Robert Buchholz <rbu@g.o>
33 + +files/tmsnc-UBX-buffer-overflow-CVE-2008-2828.patch,
34 + +tmsnc-0.3.2-r1.ebuild:
35 + Fix stack based buffer overflow (security bug #229157)
36
37 05 Aug 2008; Thomas Anderson <gentoofan23@g.o> metadata.xml:
38 Add USE flag description to metadata as per GLEP 56.
39
40
41
42 1.1 net-im/tmsnc/tmsnc-0.3.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/tmsnc/tmsnc-0.3.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/tmsnc/tmsnc-0.3.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: tmsnc-0.3.2-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-im/tmsnc/tmsnc-0.3.2-r1.ebuild,v 1.1 2008/10/04 19:05:58 rbu Exp $
52
53 DESCRIPTION="TMSNC is a textbased MSN client written in C."
54 HOMEPAGE="http://tmsnc.sourceforge.net/"
55 SRC_URI="mirror://sourceforge/tmsnc/${P}.tar.gz"
56
57 LICENSE="IRPDL"
58 SLOT="0"
59 KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-fbsd"
60 IUSE="ssl talkfilters"
61
62 DEPEND="virtual/libc
63 >=sys-libs/ncurses-5.4
64 ssl? ( >=dev-libs/openssl-0.9.7d )
65 talkfilters? ( >=app-text/talkfilters-2.3.4 )"
66
67 src_unpack() {
68 unpack ${A}
69 cd "${S}"
70
71 # Stack-based buffer overflow, bug 229157
72 epatch "${FILESDIR}"/${PN}-UBX-buffer-overflow-CVE-2008-2828.patch
73 }
74
75 src_compile() {
76 local myconf
77 use ssl \
78 || myconf="${myconf} --without-ssl"
79 use talkfilters \
80 || myconf="${myconf} --without-talkfilters"
81 econf ${myconf} || die "Configure failed"
82 emake || die "Make failed"
83 }
84
85 src_install() {
86 make DESTDIR="${D}" install || die "Make install failed"
87 dodoc AUTHORS ChangeLog README NEWS
88 }
89
90 pkg_postinst() {
91 elog "If you want talkfilters support you need to add"
92 elog "USE=talkfilters to enable support in this package"
93 }