1 |
darkside 09/02/26 23:12:48 |
2 |
|
3 |
Modified: ssh-askpass-fullscreen-0.4-fix-grab.patch |
4 |
Added: ssh-askpass-fullscreen.1 |
5 |
Log: |
6 |
Fix compiler warning (thanks to ulm) and QA cleanup of the ebuild: added die message, EAPI-2, style changes |
7 |
(Portage version: 2.1.6.7/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen-0.4-fix-grab.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen-0.4-fix-grab.patch?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen-0.4-fix-grab.patch?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen-0.4-fix-grab.patch?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: ssh-askpass-fullscreen-0.4-fix-grab.patch |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen-0.4-fix-grab.patch,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- ssh-askpass-fullscreen-0.4-fix-grab.patch 25 Feb 2009 22:26:59 -0000 1.1 |
23 |
+++ ssh-askpass-fullscreen-0.4-fix-grab.patch 26 Feb 2009 23:12:48 -0000 1.2 |
24 |
@@ -1,13 +1,23 @@ |
25 |
http://bugs.gentoo.org/260308 |
26 |
|
27 |
---- ssh-askpass-fullscreen-0.4-orig/ssh-askpass-fullscreen.c 2006-01-16 13:49:38.000000000 +0100 |
28 |
-+++ ssh-askpass-fullscreen-0.4/ssh-askpass-fullscreen.c 2009-02-25 22:44:47.000000000 +0100 |
29 |
+--- ssh-askpass-fullscreen-0.4/ssh-askpass-fullscreen.c.orig 2009-02-26 16:48:43.094005225 -0600 |
30 |
++++ ssh-askpass-fullscreen-0.4/ssh-askpass-fullscreen.c 2009-02-26 16:49:59.804007638 -0600 |
31 |
+@@ -44,7 +44,7 @@ |
32 |
+ #include <gtk/gtk.h> |
33 |
+ |
34 |
+ /* XPM */ |
35 |
+-static char *ocean_stripes[] = { |
36 |
++static const char *ocean_stripes[] = { |
37 |
+ /* columns rows colors chars-per-pixel */ |
38 |
+ "64 64 3 1", |
39 |
+ " c #A0A9C1", |
40 |
@@ -247,7 +247,7 @@ |
41 |
- GdkColor color; |
42 |
- gchar *str; |
43 |
+ GdkColor color; |
44 |
+ gchar *str; |
45 |
GdkGrabStatus status; |
46 |
- int grab_tries; |
47 |
+ int grab_tries = 0; |
48 |
const char *failed; |
49 |
|
50 |
- grab_server = (getenv("GNOME_SSH_ASKPASS_GRAB_SERVER") != NULL); |
51 |
+ grab_server = (getenv("GNOME_SSH_ASKPASS_GRAB_SERVER") != NULL); |
52 |
+ |
53 |
|
54 |
|
55 |
|
56 |
1.1 net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen.1 |
57 |
|
58 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen.1?rev=1.1&view=markup |
59 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen.1?rev=1.1&content-type=text/plain |
60 |
|
61 |
Index: ssh-askpass-fullscreen.1 |
62 |
=================================================================== |
63 |
.\" Hey, EMACS: -*- nroff -*- |
64 |
.\" First parameter, NAME, should be all caps |
65 |
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection |
66 |
.\" other parameters are allowed: see man(7), man(1) |
67 |
.TH SSH-ASKPASS-FULLSCREEN 1 "May 8 , 2004" |
68 |
.\" Please adjust this date whenever revising the manpage. |
69 |
.\" |
70 |
.\" Some roff macros, for reference: |
71 |
.\" .nh disable hyphenation |
72 |
.\" .hy enable hyphenation |
73 |
.\" .ad l left justify |
74 |
.\" .ad b justify to both left and right margins |
75 |
.\" .nf disable filling |
76 |
.\" .fi enable filling |
77 |
.\" .br insert line break |
78 |
.\" .sp <n> insert n+1 empty lines |
79 |
.\" for manpage-specific macros, see man(7) |
80 |
.SH NAME |
81 |
ssh-askpass-fullscreen \- A simple replacement for ssh-askpass written with gtk2 |
82 |
.SH SYNOPSIS |
83 |
.B ssh-askpass-fullscreen |
84 |
|
85 |
.SH DESCRIPTION |
86 |
This manual page was written for the Debian distribution |
87 |
because the original program does not have a manual page. |
88 |
.PP |
89 |
|
90 |
.B gnome-ssh-askpass |
91 |
is a GNOME-based passphrase dialog for use with OpenSSH. It is |
92 |
intended to be called by the |
93 |
.B ssh-add(1) |
94 |
program and not invoked directly. It allows |
95 |
.B ssh-add(1) |
96 |
to obtain a passphrase from a user, even if not connected to a terminal |
97 |
(assuming that an X display is available). This happens auto-matically |
98 |
in the case where |
99 |
.B ssh-add |
100 |
is invoked from one's |
101 |
.B ~/.xsession or as one of the GNOME startup programs, for example. |
102 |
|
103 |
In order to be called automatically by |
104 |
.B ssh-add, |
105 |
.B ssh-askpass-fullscreen |
106 |
should be installed as /usr/bin/ssh-askpass |
107 |
|
108 |
|
109 |
.\" TeX users may be more comfortable with the \fB<whatever>\fP and |
110 |
.\" \fI<whatever>\fP escape sequences to invode bold face and italics, |
111 |
.\" respectively. |
112 |
\fBssh-askpass-fullscreen\fP is a program that... |
113 |
.SH ENVIRONMENT VARIABLES |
114 |
The following environment variables are recognized: |
115 |
|
116 |
.TP |
117 |
.IR "GNOME_SSH_ASKPASS_GRAB_SERVER" |
118 |
Causes gnome-ssh-askpass to grab the X server before |
119 |
asking for a passphrase. |
120 |
|
121 |
.TP |
122 |
.IR "GNOME_SSH_ASKPASS_GRAB_POINTER" |
123 |
Causes gnome-ssh-askpass to grab the mouse pointer will be |
124 |
grabbed too. |
125 |
|
126 |
.PP |
127 |
These may have some benefit to security if you don't trust your X |
128 |
server. Keyboard is always grabbed. |
129 |
|
130 |
.TP |
131 |
|
132 |
.SH SEE ALSO |
133 |
.BR ssh-add (1), |
134 |
.BR ssh-askpass (1). |
135 |
.br |
136 |
|
137 |
.SH AUTHOR |
138 |
This manual page was written by Marco Presi (Zufus) <zufus@××××××.org>, |
139 |
for the Debian GNU/Linux system (but may be used by others) and it is |
140 |
based on that for x11-ssh-askpass by Philip Hands and the one for |
141 |
gnome-ssh-askpass by Colin Watson <cjwatson@××××××.org> |