Gentoo Archives: gentoo-commits

From: "Christian Hoffmann (hoffie)" <hoffie@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-terms/rxvt: ChangeLog rxvt-2.7.10-r4.ebuild
Date: Sat, 03 May 2008 12:55:07
Message-Id: E1JsHGa-0005Je-4t@stork.gentoo.org
1 hoffie 08/05/03 12:55:04
2
3 Modified: ChangeLog
4 Added: rxvt-2.7.10-r4.ebuild
5 Log:
6 revbump to include a patch to fix CVE-2008-1142 (do not default to :0 if DISPLAY is unset), bug 217819; stable on amd64
7 (Portage version: 2.1.5_rc6, RepoMan options: --force)
8
9 Revision Changes Path
10 1.58 x11-terms/rxvt/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt/ChangeLog?rev=1.58&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt/ChangeLog?rev=1.58&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt/ChangeLog?r1=1.57&r2=1.58
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-terms/rxvt/ChangeLog,v
19 retrieving revision 1.57
20 retrieving revision 1.58
21 diff -u -r1.57 -r1.58
22 --- ChangeLog 25 Dec 2007 17:17:15 -0000 1.57
23 +++ ChangeLog 3 May 2008 12:55:03 -0000 1.58
24 @@ -1,6 +1,14 @@
25 # ChangeLog for x11-terms/rxvt
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt/ChangeLog,v 1.57 2007/12/25 17:17:15 phreak Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt/ChangeLog,v 1.58 2008/05/03 12:55:03 hoffie Exp $
30 +
31 +*rxvt-2.7.10-r4 (03 May 2008)
32 +
33 + 03 May 2008; Christian Hoffmann <hoffie@g.o>
34 + +files/rxvt-2.7.10-CVE-2008-1142-DISPLAY.patch, +rxvt-2.7.10-r4.ebuild:
35 + revbump to include a patch to fix CVE-2008-1142 (do not default to :0 if
36 + DISPLAY is unset), bug 217819; ebuild cleanups (quoting, bindnow); stable
37 + on amd64
38
39 25 Dec 2007; Christian Heim <phreak@g.o> metadata.xml:
40 Removing usata from metadata.xml as per #22931. Assigning to maintainer-needed.
41
42
43
44 1.1 x11-terms/rxvt/rxvt-2.7.10-r4.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt/rxvt-2.7.10-r4.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt/rxvt-2.7.10-r4.ebuild?rev=1.1&content-type=text/plain
48
49 Index: rxvt-2.7.10-r4.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt/rxvt-2.7.10-r4.ebuild,v 1.1 2008/05/03 12:55:03 hoffie Exp $
54
55 inherit eutils flag-o-matic libtool
56
57 DESCRIPTION="rxvt -- nice small x11 terminal"
58 HOMEPAGE="http://rxvt.sourceforge.net/
59 http://www.giga.it.okayama-u.ac.jp/~ishihara/opensource/"
60 SRC_URI="mirror://sourceforge/rxvt/${P}.tar.gz
61 http://www.giga.it.okayama-u.ac.jp/~ishihara/opensource/${P}-xim-fix.patch.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~alpha amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
66 IUSE="motif cjk xgetdefault linuxkeys"
67
68 RDEPEND="virtual/libc
69 x11-libs/libX11
70 x11-libs/libXpm
71 x11-libs/libXext
72 motif? ( x11-libs/openmotif )"
73 DEPEND="${RDEPEND}
74 x11-proto/xproto"
75
76 src_unpack() {
77 unpack "${P}.tar.gz"
78 cd "${S}"
79
80 epatch "${FILESDIR}"/${P}-line-scroll.patch
81 epatch "${FILESDIR}"/${P}-asneeded.patch
82 use motif && epatch "${FILESDIR}"/${P}-azz4.diff
83 if use cjk ; then
84 epatch "${DISTDIR}"/${P}-xim-fix.patch.gz
85 if use linguas_ja ; then
86 epatch "${FILESDIR}"/${P}-rk.patch
87 fi
88 fi
89
90 epatch "${FILESDIR}"/${P}-CVE-2008-1142-DISPLAY.patch
91 elibtoolize
92 }
93
94 src_compile() {
95
96 local term
97 if [ -n "${RXVT_TERM}" ] ; then
98 term="${RXVT_TERM}"
99 else
100 term="rxvt"
101 fi
102
103 # bug #22325
104 use linuxkeys && append-flags -DLINUX_KEYS
105
106 econf \
107 --enable-everything \
108 --enable-rxvt-scroll \
109 --enable-next-scroll \
110 --enable-xterm-scroll \
111 --enable-transparency \
112 --enable-xpm-background \
113 --enable-utmp \
114 --enable-wtmp \
115 --enable-mousewheel \
116 --enable-slipwheeling \
117 --enable-smart-resize \
118 --enable-256-color \
119 --enable-menubar \
120 $(use_enable cjk languages) \
121 --enable-xim \
122 --enable-shared \
123 --enable-keepscrolling \
124 --with-term=${term} \
125 $(use_enable xgetdefault) || die
126
127 emake || die
128 }
129
130 src_install() {
131
132 einstall mandir="${D}"/usr/share/man/man1 || die
133
134 cd "${S}"/doc
135 dodoc README* *.txt BUGS FAQ
136 dohtml *.html
137 }
138
139 pkg_postinst() {
140
141 einfo
142 einfo "If you want to change default TERM variable other than rxvt,"
143 einfo "set RXVT_TERM environment variable and then emerge rxvt."
144 einfo "Especially, if you use rxvt under monochrome X you might need to run"
145 einfo "\t RXVT_TERM=rxvt-basic emerge rxvt"
146 einfo "otherwise curses based program will not work."
147 einfo
148 }
149
150
151
152 --
153 gentoo-commits@l.g.o mailing list