diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/ssh-askpass-fullscreen |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/ssh-askpass-fullscreen')
5 files changed, 162 insertions, 0 deletions
diff --git a/net-misc/ssh-askpass-fullscreen/Manifest b/net-misc/ssh-askpass-fullscreen/Manifest new file mode 100644 index 000000000000..a5bb3b497dd3 --- /dev/null +++ b/net-misc/ssh-askpass-fullscreen/Manifest @@ -0,0 +1,7 @@ +AUX ssh-askpass-fullscreen-1.0-libX11.patch 845 SHA256 2c567b1269cc1ab17fe70fa1802163ca93f60fc9c65017f03aa1ad733ba4f6b7 SHA512 cbf89dba7398f735807f841f4df8534e8918c09e95bca43d4fcfe451e5697194712f723a081830eeccc01e5e389cb8ea319401e80d68365c3763c8294dbd69d7 WHIRLPOOL 9ac5180929bf73cc36ae21d1b2ea2a6c36ed7cdad5727be13a01afc2c09eb49ba5e761267bccd68c61cf7eccf433bceb25fa96efac0631bd660a4e4057ad6ea5 +AUX ssh-askpass-fullscreen.1 2542 SHA256 bde17cd9bcb8b1c6d9cf781118c2ce51f0d5742d57c0ea4944095ff5a34332e4 SHA512 84f28b5603a15a4d283b0980b4bc0dafd0c0eb3b889a579d51dab69577fe57eb0854c30adf358423731d2a2543647e28c1739bca04a77c8217299d6372f8d45e WHIRLPOOL 96f8b7f66cbad880b25f15050708b450972d3886d2df36c69f6f116e347961498e86ad0765f254adb0f4420588dc3cec51db440104e217a5355891fb8ec753e4 +DIST ssh-askpass-fullscreen-1.0.tar.bz2 69301 SHA256 5843f3c580964be64aa40bf20a03d4d7de326fe8957aae213b38c405c5d10b9a SHA512 272b7d8bcbfb997530afcb6c619180b625e6753e1dc86cba30f30fa594cd71ec8bfc522b0fb8aee5842cb7a4532a00fc1e0954def9ac81a1b521360d7140f52b WHIRLPOOL 029b152835dea0f67636f3781cdaf550aa1a3cfb905af233be80a7333606a90a6c635220dc7baf598acd4f4a6b4a66aa07ec4627633c9a0a7ec194a72ef8d2ba +EBUILD ssh-askpass-fullscreen-1.0-r1.ebuild 999 SHA256 95d882553f5a1d090c579d8fa380abc0628df283edaa02cc45931d15a9e7c5c6 SHA512 276ab28a351dce6d24d9aa4cb80fc421b7801295350097a2732f9b3366a969e003a461d009c877fd75f4b413a4d22bd9d8953c8152493e604742bc954e03f998 WHIRLPOOL 2a2d12f0e2c2aa31ca9d745f4fcd6047fb1f6454f9abb62bd96d503c4c81b4a6542ffd8023af44da17dcf84abb376a862d4e9a82d84e6b6229a59784c7373e4c +MISC ChangeLog 2633 SHA256 1f27b28a318ae2dd6730dce8e3685b6e2477bf93430590b01dbe033d41dd0504 SHA512 1449eeacd1b0792c516243c5de661916dcdd60ff9a2166a62306155883ff73ce488c3bc04cac12555152c7172421175eb4ca277412f0928bafb3bd726ecac690 WHIRLPOOL 839c1598953388d59771d0f23f4b17c15c801c23e8617ce93a916d8ef4a2244465d912eced68407d52d4b11120d3ba391f150058f459baa270e6cf18a8e2941c +MISC ChangeLog-2015 5719 SHA256 0e82183b1428bdcc7f6770beece4b91aaa7552c4866699d111912164667708bd SHA512 1790667116119b05688edadba69908ba8716bfe64d1afbe9855bf2f408b54a8c23be8113324d54e727e1d7d137325456df870be5cb567ed104af28115e942b2b WHIRLPOOL a7bff2830dcf46aa3d710db940e1868274cdfd580691fc6d7fac3b0e749a17354e1c3145388d8a1f6b3cb548821022d73c3e65ff92999fa953365f08fe73d21a +MISC metadata.xml 344 SHA256 6f7bb4fce65a2bea198d4386277df69b6f64414153832278d7e837092bb8739c SHA512 26eb499745d0f954b33834ebecef34ba44ad457837ea4c0b0a44e917513aabe6486887124ac5ce47d69c1756f2a00693ced7ed4dabcb35539d047f19deeb33f0 WHIRLPOOL 771e5374aaa1c3f822e33cbdcad858b5445d73ab436c3ed9e8efb15580e7fdd4a9f476c3d338d3b16e1f9979c75c3ad5c234042564828c6a6a66ed0b72c6b0b8 diff --git a/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen-1.0-libX11.patch b/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen-1.0-libX11.patch new file mode 100644 index 000000000000..eadf2639b7a2 --- /dev/null +++ b/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen-1.0-libX11.patch @@ -0,0 +1,27 @@ +From 313871922aefef489115967d634f991edfaad39c Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Fri, 12 Oct 2012 17:10:02 -0400 +Subject: [PATCH] Explicitly link to libX11 for XUngrabServer() + +Prevents underlinking failure when using recent ld.gold and recent +versions of gtk+; see https://bugs.gentoo.org/show_bug.cgi?id=370019 +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 8f46279..01e36dd 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -8,7 +8,7 @@ AC_PROG_CC + AC_CHECK_HEADERS([stdio.h stdlib.h string.h unistd.h]) + AC_CHECK_FUNCS([memset]) + +-PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.10.0],, ++PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.10.0 x11],, + AC_MSG_ERROR([>=GTK+-2.10 is required to compile ${PACKAGE_NAME}] + )) + +-- +1.7.12.3 + diff --git a/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen.1 b/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen.1 new file mode 100644 index 000000000000..86f97cde03cd --- /dev/null +++ b/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen.1 @@ -0,0 +1,79 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH SSH-ASKPASS-FULLSCREEN 1 "May 8 , 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp <n> insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +ssh-askpass-fullscreen \- A simple replacement for ssh-askpass written with gtk2 +.SH SYNOPSIS +.B ssh-askpass-fullscreen + +.SH DESCRIPTION +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP + +.B gnome-ssh-askpass +is a GNOME-based passphrase dialog for use with OpenSSH. It is +intended to be called by the +.B ssh-add(1) +program and not invoked directly. It allows +.B ssh-add(1) +to obtain a passphrase from a user, even if not connected to a terminal +(assuming that an X display is available). This happens auto-matically +in the case where +.B ssh-add +is invoked from one's +.B ~/.xsession or as one of the GNOME startup programs, for example. + +In order to be called automatically by +.B ssh-add, +.B ssh-askpass-fullscreen +should be installed as /usr/bin/ssh-askpass + + +.\" TeX users may be more comfortable with the \fB<whatever>\fP and +.\" \fI<whatever>\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBssh-askpass-fullscreen\fP is a program that... +.SH ENVIRONMENT VARIABLES +The following environment variables are recognized: + +.TP +.IR "GNOME_SSH_ASKPASS_GRAB_SERVER" + Causes gnome-ssh-askpass to grab the X server before +asking for a passphrase. + +.TP +.IR "GNOME_SSH_ASKPASS_GRAB_POINTER" + Causes gnome-ssh-askpass to grab the mouse pointer will be +grabbed too. + +.PP +These may have some benefit to security if you don't trust your X +server. Keyboard is always grabbed. + +.TP + +.SH SEE ALSO +.BR ssh-add (1), +.BR ssh-askpass (1). +.br + +.SH AUTHOR +This manual page was written by Marco Presi (Zufus) <zufus@debian.org>, +for the Debian GNU/Linux system (but may be used by others) and it is +based on that for x11-ssh-askpass by Philip Hands and the one for +gnome-ssh-askpass by Colin Watson <cjwatson@debian.org> diff --git a/net-misc/ssh-askpass-fullscreen/metadata.xml b/net-misc/ssh-askpass-fullscreen/metadata.xml new file mode 100644 index 000000000000..796542559d7d --- /dev/null +++ b/net-misc/ssh-askpass-fullscreen/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> + <upstream> + <remote-id type="github">atj/ssh-askpass-fullscreen</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-1.0-r1.ebuild b/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-1.0-r1.ebuild new file mode 100644 index 000000000000..580ea00be4dc --- /dev/null +++ b/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-1.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools eutils + +DESCRIPTION="A small SSH Askpass replacement written with GTK2" +HOMEPAGE="https://github.com/atj/ssh-askpass-fullscreen" +SRC_URI="mirror://github/atj/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=x11-libs/gtk+-2.10.0:2 + x11-libs/libX11" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + # https://github.com/atj/ssh-askpass-fullscreen/pull/1 + epatch "${FILESDIR}/${P}-libX11.patch" + + # automake-1.13 fix, bug #468764 + sed -i -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' configure.ac || die + + eautoreconf +} + +src_install() { + default + # Automatically display the passphrase dialog - see bug #437764 + echo "SSH_ASKPASS='${EPREFIX}/usr/bin/ssh-askpass-fullscreen'" >> "${T}/99ssh_askpass" \ + || die "envd file creation failed" + doenvd "${T}"/99ssh_askpass || die "doenvd failed" +} |