Gentoo Archives: gentoo-commits

From: "Rene Nussbaumer (killerfox)" <killerfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-terms/rxvt-unicode: ChangeLog rxvt-unicode-9.02-r1.ebuild
Date: Sun, 04 May 2008 18:44:33
Message-Id: E1JsjCI-0004h4-KK@stork.gentoo.org
1 killerfox 08/05/04 18:44:30
2
3 Modified: ChangeLog
4 Added: rxvt-unicode-9.02-r1.ebuild
5 Log:
6 Fix CVE-2008-1142
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.105 x11-terms/rxvt-unicode/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?rev=1.105&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?rev=1.105&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?r1=1.104&r2=1.105
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog,v
19 retrieving revision 1.104
20 retrieving revision 1.105
21 diff -u -r1.104 -r1.105
22 --- ChangeLog 20 Mar 2008 20:45:02 -0000 1.104
23 +++ ChangeLog 4 May 2008 18:44:30 -0000 1.105
24 @@ -1,6 +1,13 @@
25 # ChangeLog for x11-terms/rxvt-unicode
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog,v 1.104 2008/03/20 20:45:02 killerfox Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog,v 1.105 2008/05/04 18:44:30 killerfox Exp $
29 +
30 +*rxvt-unicode-9.02-r1 (04 May 2008)
31 +
32 + 04 May 2008; René Nussbaumer <killerfox@g.o>
33 + +files/rxvt-unicode-9.02-CVE-2008-1142-DISPLAY.patch,
34 + +rxvt-unicode-9.02-r1.ebuild:
35 + Fix CVE-2008-1142
36
37 *rxvt-unicode-9.02 (20 Mar 2008)
38
39
40
41
42 1.1 x11-terms/rxvt-unicode/rxvt-unicode-9.02-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.02-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.02-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rxvt-unicode-9.02-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/x11-terms/rxvt-unicode/rxvt-unicode-9.02-r1.ebuild,v 1.1 2008/05/04 18:44:30 killerfox Exp $
52
53 inherit flag-o-matic
54
55 DESCRIPTION="rxvt clone with XFT and Unicode support"
56 HOMEPAGE="http://software.schmorp.de/"
57 SRC_URI="http://dist.schmorp.de/rxvt-unicode/${P}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62 IUSE="truetype perl iso14755"
63
64 # see bug #115992 for modular x deps
65 RDEPEND="x11-libs/libX11
66 x11-libs/libXft
67 media-libs/libafterimage
68 x11-libs/libXrender
69 perl? ( dev-lang/perl )"
70 DEPEND="${RDEPEND}
71 dev-util/pkgconfig
72 x11-proto/xproto"
73
74 src_unpack() {
75 unpack ${A}
76 cd "${S}"
77 local tdir=/usr/share/terminfo
78
79 # Fix CVE-2008-1142
80 epatch "${FILESDIR}/${P}-CVE-2008-1142-DISPLAY.patch"
81
82 sed -i -e \
83 "s~@TIC@ \(\$(srcdir)/etc/rxvt\)~@TIC@ -o ${D}/${tdir} \1~" \
84 doc/Makefile.in
85 }
86
87 src_compile() {
88 myconf=''
89
90 use iso14755 || myconf='--disable-iso14755'
91
92 econf \
93 --enable-everything \
94 $(use_enable truetype xft) \
95 $(use_enable perl) \
96 --disable-text-blink \
97 ${myconf} \
98 || die
99
100 emake || die
101
102 sed -i \
103 -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \
104 "${S}"/doc/rxvt-tabbed || die "tabs sed failed"
105 }
106
107 src_install() {
108 make DESTDIR="${D}" install || die
109
110 dodoc README.FAQ Changes
111 cd "${S}"/doc
112 dodoc README* changes.txt etc/* rxvt-tabbed
113 }
114
115 pkg_postinst() {
116 einfo "urxvt now always uses TERM=rxvt-unicode so that the"
117 einfo "upstream-supplied terminfo files can be used."
118 }
119
120
121
122 --
123 gentoo-commits@l.g.o mailing list