summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-02-25 08:14:57 +0000
committerPeter Volkov <pva@gentoo.org>2008-02-25 08:14:57 +0000
commita84a5f14e5111dcf161b361ac84807c497aac1b8 (patch)
tree15ec3e911ac0b4ebc3a0615842e5b826a6344a7e /app-misc/splitvt
parentVersion bump, includes PolicyKit XML files support, more LINGUAS based filter... (diff)
downloadgentoo-2-a84a5f14e5111dcf161b361ac84807c497aac1b8.tar.gz
gentoo-2-a84a5f14e5111dcf161b361ac84807c497aac1b8.tar.bz2
gentoo-2-a84a5f14e5111dcf161b361ac84807c497aac1b8.zip
Updated upstream patchset, fixes security bug #211240, thank Lars Hartmann for report.
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-misc/splitvt')
-rw-r--r--app-misc/splitvt/ChangeLog10
-rw-r--r--app-misc/splitvt/splitvt-1.6.6-r1.ebuild43
2 files changed, 51 insertions, 2 deletions
diff --git a/app-misc/splitvt/ChangeLog b/app-misc/splitvt/ChangeLog
index d5868df754ec..811ea4af8fdc 100644
--- a/app-misc/splitvt/ChangeLog
+++ b/app-misc/splitvt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/splitvt
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/splitvt/ChangeLog,v 1.18 2007/12/17 17:11:44 armin76 Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/splitvt/ChangeLog,v 1.19 2008/02/25 08:14:57 pva Exp $
+
+*splitvt-1.6.6-r1 (25 Feb 2008)
+
+ 25 Feb 2008; <pva@gentoo.org> +splitvt-1.6.6-r1.ebuild:
+ Updated upstream patchset, fixes security bug #211240, thank Lars Hartmann
+ for report.
*splitvt-1.6.6 (17 Dec 2007)
diff --git a/app-misc/splitvt/splitvt-1.6.6-r1.ebuild b/app-misc/splitvt/splitvt-1.6.6-r1.ebuild
new file mode 100644
index 000000000000..48f08a0dfc1a
--- /dev/null
+++ b/app-misc/splitvt/splitvt-1.6.6-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/splitvt/splitvt-1.6.6-r1.ebuild,v 1.1 2008/02/25 08:14:57 pva Exp $
+
+inherit eutils toolchain-funcs
+
+MY_P="${P/-/_}"
+DEB_PL="4"
+
+DESCRIPTION="A program for splitting terminals into two shells"
+HOMEPAGE="http://www.devolution.com/~slouken/projects/splitvt"
+SRC_URI="http://www.devolution.com/~slouken/projects/${PN}/${P}.tar.gz
+ mirror://debian/pool/main/s/splitvt/${MY_P}-${DEB_PL}.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=sys-libs/ncurses-5.2"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}"/${MY_P}-${DEB_PL}.diff
+ sed -i -e "s:/usr/local/bin:${D}/usr/bin:g" \
+ -e "s:/usr/local/man/:${D}/usr/share/man/:g" config.c
+}
+
+src_compile() {
+ # upstream has their own weirdo configure script...
+ ./configure || die "configure failed"
+ sed -i -e "s:-O2:${CFLAGS}:" -e "s:^CC = gcc:CC = $(tc-getCC):" Makefile
+ emake || die "emake failed"
+}
+
+src_install() {
+ dodir /usr/bin /usr/share/man/man1/
+ make install || die "make install failed"
+ fperms 755 /usr/bin/xsplitvt
+ dodoc ANNOUNCE BLURB CHANGES NOTES README TODO
+ doman splitvt.1
+}