summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2009-06-08 15:27:50 +0000
committerAlex Legler <a3li@gentoo.org>2009-06-08 15:27:50 +0000
commitbad2ac2ace6daa32fdbfbed90f9a7a36e6cb3e90 (patch)
tree6cb7645aa7435f8eae6e07bafecc5d8d252de9b6 /app-misc/screenie
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-bad2ac2ace6daa32fdbfbed90f9a7a36e6cb3e90.tar.gz
gentoo-2-bad2ac2ace6daa32fdbfbed90f9a7a36e6cb3e90.tar.bz2
gentoo-2-bad2ac2ace6daa32fdbfbed90f9a7a36e6cb3e90.zip
Non-Maintainer Commit: Applying patch for CVE-2008-5371, bug 250476.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/screenie')
-rw-r--r--app-misc/screenie/ChangeLog8
-rw-r--r--app-misc/screenie/files/screenie-CVE-2008-5371.patch26
-rw-r--r--app-misc/screenie/screenie-1.30.0-r1.ebuild27
3 files changed, 60 insertions, 1 deletions
diff --git a/app-misc/screenie/ChangeLog b/app-misc/screenie/ChangeLog
index b3b99ed8bd4d..6fc27472fec0 100644
--- a/app-misc/screenie/ChangeLog
+++ b/app-misc/screenie/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/screenie
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/screenie/ChangeLog,v 1.16 2009/03/22 03:02:32 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/screenie/ChangeLog,v 1.17 2009/06/08 15:27:49 a3li Exp $
+
+*screenie-1.30.0-r1 (08 Jun 2009)
+
+ 08 Jun 2009; Alex Legler <a3li@gentoo.org> +screenie-1.30.0-r1.ebuild,
+ +files/screenie-CVE-2008-5371.patch:
+ Non-maintainer commit: Applying patch for CVE-2008-5371, bug 250476.
22 Mar 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
metadata.xml:
diff --git a/app-misc/screenie/files/screenie-CVE-2008-5371.patch b/app-misc/screenie/files/screenie-CVE-2008-5371.patch
new file mode 100644
index 000000000000..2bf8dbdc6b8a
--- /dev/null
+++ b/app-misc/screenie/files/screenie-CVE-2008-5371.patch
@@ -0,0 +1,26 @@
+Patch for bug 250476 (CVE-2008-5371), courtesy of nion@debian.org.
+
+diff -u screenie-1.30.0/screenie screenie-1.30.0/screenie
+--- screenie-1.30.0/screenie
++++ screenie-1.30.0/screenie
+@@ -19,7 +19,7 @@
+ # Foundation Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+
+ #global settings
+-TMPF=/tmp/.screenie.$$
++TMPF=$(mktemp -t skreenie.XXXXXX || exit 1)
+ ACTIVE_SCREENS="screen \-ls | awk '/tached/ { print \$1}' | sort"
+ i=0
+ e=0
+@@ -59,9 +59,9 @@
+ esac
+
+ #cleanup temp files
+-if test -f /tmp/.screenie*
++if test -f $TMPF
+ then
+- rm /tmp/.screenie* >/dev/null 2>&1
++ rm $TMPF >/dev/null 2>&1
+ fi
+
+ while :
diff --git a/app-misc/screenie/screenie-1.30.0-r1.ebuild b/app-misc/screenie/screenie-1.30.0-r1.ebuild
new file mode 100644
index 000000000000..cfab17ef48ae
--- /dev/null
+++ b/app-misc/screenie/screenie-1.30.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/screenie/screenie-1.30.0-r1.ebuild,v 1.1 2009/06/08 15:27:49 a3li Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="screen(1) frontend that is designed to be a session handler"
+HOMEPAGE="http://pubwww.hsz-t.ch/~mgloor/screenie.html"
+SRC_URI="http://pubwww.hsz-t.ch/~mgloor/data/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="app-misc/screen"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-CVE-2008-5371.patch"
+}
+
+src_install() {
+ dobin screenie || die "dobin failed"
+ dodoc AUTHORS ChangeLog INSTALL README TODO || die "dodoc failed"
+}