summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-02-25 22:26:59 +0000
committerUlrich Müller <ulm@gentoo.org>2009-02-25 22:26:59 +0000
commitafb86ff543a53760229f0c1899c47a359e5ac2e0 (patch)
tree086add877546d08b05848ad6a418ca00b27c209a /net-misc
parentSparc stable, Security Bug #260069. (diff)
downloadgentoo-2-afb86ff543a53760229f0c1899c47a359e5ac2e0.tar.gz
gentoo-2-afb86ff543a53760229f0c1899c47a359e5ac2e0.tar.bz2
gentoo-2-afb86ff543a53760229f0c1899c47a359e5ac2e0.zip
Fix "grab keyboard" problem, bug 260308.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/ssh-askpass-fullscreen/ChangeLog9
-rw-r--r--net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen-0.4-fix-grab.patch13
-rw-r--r--net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-0.4-r2.ebuild42
3 files changed, 63 insertions, 1 deletions
diff --git a/net-misc/ssh-askpass-fullscreen/ChangeLog b/net-misc/ssh-askpass-fullscreen/ChangeLog
index 3d7fd9c3813c..a2644ec90ff7 100644
--- a/net-misc/ssh-askpass-fullscreen/ChangeLog
+++ b/net-misc/ssh-askpass-fullscreen/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/ssh-askpass-fullscreen
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ssh-askpass-fullscreen/ChangeLog,v 1.11 2009/01/23 12:00:02 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ssh-askpass-fullscreen/ChangeLog,v 1.12 2009/02/25 22:26:59 ulm Exp $
+
+*ssh-askpass-fullscreen-0.4-r2 (25 Feb 2009)
+
+ 25 Feb 2009; Ulrich Mueller <ulm@gentoo.org>
+ +files/ssh-askpass-fullscreen-0.4-fix-grab.patch,
+ +ssh-askpass-fullscreen-0.4-r2.ebuild:
+ Fix "grab keyboard" problem, bug 260308.
23 Jan 2009; Raúl Porcel <armin76@gentoo.org>
ssh-askpass-fullscreen-0.4-r1.ebuild:
diff --git a/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen-0.4-fix-grab.patch b/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen-0.4-fix-grab.patch
new file mode 100644
index 000000000000..c3d91f5e1f43
--- /dev/null
+++ b/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen-0.4-fix-grab.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/260308
+
+--- ssh-askpass-fullscreen-0.4-orig/ssh-askpass-fullscreen.c 2006-01-16 13:49:38.000000000 +0100
++++ ssh-askpass-fullscreen-0.4/ssh-askpass-fullscreen.c 2009-02-25 22:44:47.000000000 +0100
+@@ -247,7 +247,7 @@
+ GdkColor color;
+ gchar *str;
+ GdkGrabStatus status;
+- int grab_tries;
++ int grab_tries = 0;
+ const char *failed;
+
+ grab_server = (getenv("GNOME_SSH_ASKPASS_GRAB_SERVER") != NULL);
diff --git a/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-0.4-r2.ebuild b/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-0.4-r2.ebuild
new file mode 100644
index 000000000000..58b7cddc8b9e
--- /dev/null
+++ b/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-0.4-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-0.4-r2.ebuild,v 1.1 2009/02/25 22:26:59 ulm Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A small SSH Askpass replacement written with GTK2."
+HOMEPAGE="https://www.cgabriel.org/software/wiki/SshAskpassFullscreen"
+SRC_URI="http://www.cgabriel.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.0
+ !net-misc/gtk2-ssh-askpass"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-fix-grab.patch"
+ sed -i -e '2 s/$/$\(LDFLAGS\)/' Makefile
+}
+
+src_compile() {
+
+ sed "s:gcc:$(tc-getCC) ${CFLAGS}:g" \
+ -i Makefile
+
+ emake LDFLAGS="${LDFLAGS}" || \
+ die "compile failed"
+}
+
+src_install() {
+ dobin ssh-askpass-fullscreen || die "dobin failed"
+ doenvd "${FILESDIR}"/99ssh_askpass || die "doenvd failed"
+ dodoc README AUTHORS
+ #doman debian/gtk2-ssh-askpass.1
+}