summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Heinlein <keytoaster@gentoo.org>2008-05-03 12:58:43 +0000
committerTobias Heinlein <keytoaster@gentoo.org>2008-05-03 12:58:43 +0000
commitf3942592bf34587178f94e109aa99cf3e5429a75 (patch)
tree309ea970f1d4f05310f6a06e66576362441afd98 /x11-terms/wterm/wterm-6.2.9-r3.ebuild
parentrevbump to include a patch to fix CVE-2008-1142 (do not default to :0 if DISP... (diff)
downloadgentoo-2-f3942592bf34587178f94e109aa99cf3e5429a75.tar.gz
gentoo-2-f3942592bf34587178f94e109aa99cf3e5429a75.tar.bz2
gentoo-2-f3942592bf34587178f94e109aa99cf3e5429a75.zip
Adding patch to fix security bug #219762
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'x11-terms/wterm/wterm-6.2.9-r3.ebuild')
-rw-r--r--x11-terms/wterm/wterm-6.2.9-r3.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/x11-terms/wterm/wterm-6.2.9-r3.ebuild b/x11-terms/wterm/wterm-6.2.9-r3.ebuild
new file mode 100644
index 000000000000..7f5e3e0bbd4e
--- /dev/null
+++ b/x11-terms/wterm/wterm-6.2.9-r3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/wterm/wterm-6.2.9-r3.ebuild,v 1.1 2008/05/03 12:58:43 keytoaster Exp $
+
+inherit eutils
+
+DESCRIPTION="A fork of rxvt patched for fast transparency and a NeXT scrollbar"
+HOMEPAGE="http://wterm.org"
+SRC_URI="mirror://sourceforge/wterm/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="cjk"
+
+DEPEND="x11-libs/libXpm
+ >=x11-wm/windowmaker-0.80.1"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Security bug 219762
+ epatch "${FILESDIR}/${P}-display-security-issue.patch"
+}
+
+src_compile() {
+ local myconf
+
+ myconf="--enable-menubar --enable-graphics --with-term=rxvt \
+ --enable-transparency --enable-next-scroll --enable-xpm-background"
+
+ use cjk && myconf="$myconf --enable-kanji"
+
+ econf ${myconf} || die "configure failed"
+ emake || die "parallel make failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+
+ insinto /usr/share/pixmaps
+ doins *.xpm *.tiff
+}