Merge lp:~noskcaj/ubuntu/vivid/gksu/merge into lp:ubuntu/vivid/gksu
- Vivid (15.04)
- merge
- Merge into vivid
Proposed by
Jackson Doak
Status: | Merged |
---|---|
Merge reported by: | Martin Pitt |
Merged at revision: | not available |
Proposed branch: | lp:~noskcaj/ubuntu/vivid/gksu/merge |
Merge into: | lp:ubuntu/vivid/gksu |
Diff against target: |
372 lines (+195/-32) 12 files modified
.pc/03_sudo(8).patch/man/gksu.1 (+103/-0) .pc/applied-patches (+1/-0) debian/changelog (+47/-0) debian/control (+9/-11) debian/control.in (+8/-9) debian/patches/01_desktop_in.patch (+4/-6) debian/patches/03_sudo(8).patch (+16/-0) debian/patches/series (+2/-0) debian/source/options (+1/-0) debian/watch (+1/-2) gksu.desktop.in (+1/-2) man/gksu.1 (+2/-2) |
To merge this branch: | bzr merge lp:~noskcaj/ubuntu/vivid/gksu/merge |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu branches | Pending | ||
Review via email: mp+244939@code.launchpad.net |
Commit message
Description of the change
Merge from debian
To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote : | # |
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file '.pc/01_desktop_in.patch/.timestamp' |
2 | === added file '.pc/02_format_security.patch/.timestamp' |
3 | === added directory '.pc/03_sudo(8).patch' |
4 | === added file '.pc/03_sudo(8).patch/.timestamp' |
5 | === added directory '.pc/03_sudo(8).patch/man' |
6 | === added file '.pc/03_sudo(8).patch/man/gksu.1' |
7 | --- .pc/03_sudo(8).patch/man/gksu.1 1970-01-01 00:00:00 +0000 |
8 | +++ .pc/03_sudo(8).patch/man/gksu.1 2014-12-17 02:23:03 +0000 |
9 | @@ -0,0 +1,103 @@ |
10 | +.TH GKSU "1" "August 2006" "gksu version 2.0.x" "User Commands" |
11 | +.SH NAME |
12 | +gksu \- GTK+ frontend for su and sudo |
13 | +.SH SYNOPSIS |
14 | +.B gksu |
15 | +.PP |
16 | +.B gksu |
17 | +[\fI-u <user>\fR] [\fIoptions\fR] \fI<command>\fR |
18 | +.PP |
19 | +.B gksudo |
20 | +[\fI-u <user>\fR] [\fIoptions\fR] \fI<command>\fR |
21 | +.SH DESCRIPTION |
22 | +This manual page documents briefly |
23 | +.B gksu |
24 | +and |
25 | +.B gksudo |
26 | +.PP |
27 | +gksu is a frontend to su and gksudo is a frontend to sudo. |
28 | +Their primary purpose is to run graphical commands that need |
29 | +root without the need to run an X terminal emulator and using |
30 | +su directly. |
31 | +.PP |
32 | +Notice that all the magic is done by the underlying library, |
33 | +libgksu. Also notice that the library will decide if it should use su |
34 | +or sudo as backend using the |
35 | +.B /apps/gksu/sudo-mode |
36 | +gconf key, if you call the |
37 | +.B gksu |
38 | +command. You can force the backend by using the |
39 | +.B gksudo |
40 | +command, or by using the \fB\-\-sudo\-mode\fR and \fB\-\-su\-mode\fR |
41 | +options. |
42 | +.PP |
43 | +If no command is given, the |
44 | +.B gksu |
45 | +program will display a small window that allows you to type in a |
46 | +command to be run, and to select what user the program should be run |
47 | +as. The other options are disregarded, right now, in this mode. |
48 | +.SH OPTIONS |
49 | +\fB\-\-debug\fR, \fB\-d\fR |
50 | +.IP |
51 | +Print information on the screen that might be |
52 | +useful for diagnosing and/or solving problems. |
53 | +.HP |
54 | +\fB\-\-user\fR <user>, \fB\-u\fR <user> |
55 | +.IP |
56 | +Call <command> as the specified user. |
57 | +.HP |
58 | +\fB\-\-disable\-grab\fR, \fB\-g\fR |
59 | +.IP |
60 | +Disable the "locking" of the keyboard, mouse, |
61 | +and focus done by the program when asking for |
62 | +password. |
63 | +.HP |
64 | +\fB\-\-prompt\fR, \fB\-P\fR |
65 | +.IP |
66 | +Ask the user if they want to have their keyboard |
67 | +and mouse grabbed before doing so. |
68 | +.HP |
69 | +\fB\-\-preserve\-env\fR, \fB\-k\fR |
70 | +.IP |
71 | +Preserve the current environments, does not set $HOME |
72 | +nor $PATH, for example. |
73 | +.HP |
74 | +\fB\-\-login\fR, \fB\-l\fR |
75 | +.IP |
76 | +Make this a login shell. Beware this may cause |
77 | +problems with the Xauthority magic. Run xhost |
78 | +to allow the target user to open windows on your |
79 | +display! |
80 | +.HP |
81 | +\fB\-\-description\fR <description|file>, \fB\-D\fR <description|file> |
82 | +.IP |
83 | +Provide a descriptive name for the command to |
84 | +be used in the default message, making it nicer. |
85 | +You can also provide the absolute path for a |
86 | +\&.desktop file. The Name key for will be used in |
87 | +this case. |
88 | +.HP |
89 | +\fB\-\-message\fR <message>, \fB\-m\fR <message> |
90 | +.IP |
91 | +Replace the standard message shown to ask for |
92 | +password for the argument passed to the option. |
93 | +Only use this if \fB\-\-description\fR does not suffice. |
94 | +.HP |
95 | +\fB\-\-print\-pass\fR, \fB\-p\fR |
96 | +.IP |
97 | +Ask gksu to print the password to stdout, just |
98 | +like ssh\-askpass. Useful to use in scripts with |
99 | +programs that accept receiving the password on |
100 | +stdin. |
101 | +.PP |
102 | +.HP |
103 | +\fB\-\-su\-mode\fR, \fB\-w\fR |
104 | +.IP |
105 | +Force gksu to use su(1) as its backend for running the programs. |
106 | +.HP |
107 | +\fB\-\-sudo\-mode\fR, \fB\-S\fR |
108 | +.IP |
109 | +Force gksu to use sudo(1) as its backend for running the programs. |
110 | +.SH "SEE ALSO" |
111 | +.BR su (1), |
112 | +.BR sudo (1) |
113 | |
114 | === added file '.pc/50_always_ask.patch/.timestamp' |
115 | === added file '.pc/99_intltool.patch/.timestamp' |
116 | === modified file '.pc/applied-patches' |
117 | --- .pc/applied-patches 2011-11-09 10:24:13 +0000 |
118 | +++ .pc/applied-patches 2014-12-17 02:23:03 +0000 |
119 | @@ -2,3 +2,4 @@ |
120 | 02_format_security.patch |
121 | 50_always_ask.patch |
122 | 99_intltool.patch |
123 | +03_sudo(8).patch |
124 | |
125 | === modified file 'debian/changelog' |
126 | --- debian/changelog 2012-10-02 10:17:37 +0000 |
127 | +++ debian/changelog 2014-12-17 02:23:03 +0000 |
128 | @@ -1,3 +1,50 @@ |
129 | +gksu (2.0.2-9ubuntu1) vivid; urgency=medium |
130 | + |
131 | + * Merge from Debian. Remaining changes: |
132 | + - debian/patches/01_desktop_in.patch: don't display root-terminal |
133 | + menu entry. |
134 | + - debian/patches/50_always_ask.patch: added new '--always-ask-pass' |
135 | + commandline switch. This was renamed from 02_always_ask.patch. |
136 | + |
137 | + -- Jackson Doak <noskcaj@ubuntu.com> Wed, 17 Dec 2014 13:11:20 +1100 |
138 | + |
139 | +gksu (2.0.2-9) unstable; urgency=medium |
140 | + |
141 | + * 01_desktop_in.patch: move from Utilities to System, for consistency |
142 | + with the current GNOME menu. |
143 | + |
144 | + -- Josselin Mouette <joss@debian.org> Fri, 05 Dec 2014 17:56:37 +0100 |
145 | + |
146 | +gksu (2.0.2-8) unstable; urgency=medium |
147 | + |
148 | + * debian/control.in: |
149 | + - make team the maintainer |
150 | + |
151 | + -- Gustavo Noronha Silva <kov@debian.org> Mon, 01 Dec 2014 14:27:16 -0200 |
152 | + |
153 | +gksu (2.0.2-7) unstable; urgency=low |
154 | + |
155 | + * Team upload. |
156 | + |
157 | + [ Josselin Mouette ] |
158 | + * Update repository URL. |
159 | + |
160 | + [ Jackson Doak ] |
161 | + * Update debian/watch |
162 | + * debian/control.in: |
163 | + - Bump standards-version to 3.9.4 (no changes) |
164 | + - Update description. Closes: #613897 |
165 | + - Use canonical URLs |
166 | + * Remove encoding entry from 01_desktop_in.patch |
167 | + * Add 03_sudo(8).patch. Closes: #715285 |
168 | + * Add debian/source/options to allow easier re-building |
169 | + (The current patches create a diff of autoregenerated files) |
170 | + |
171 | + [ Andreas Henriksson ] |
172 | + * Fix malformed patch 01_desktop_in.patch to be valid again. |
173 | + |
174 | + -- Andreas Henriksson <andreas@fatal.se> Thu, 09 Oct 2014 22:45:53 +0200 |
175 | + |
176 | gksu (2.0.2-6ubuntu2) quantal; urgency=low |
177 | |
178 | * Rebuild for new armel compiler default of ARMv5t. |
179 | |
180 | === modified file 'debian/control' |
181 | --- debian/control 2011-11-09 10:24:13 +0000 |
182 | +++ debian/control 2014-12-17 02:23:03 +0000 |
183 | @@ -2,13 +2,12 @@ |
184 | # |
185 | # Modifications should be made to debian/control.in instead. |
186 | # This file is regenerated automatically in the clean target. |
187 | - |
188 | Source: gksu |
189 | Section: admin |
190 | Priority: optional |
191 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
192 | -XSBC-Original-Maintainer: Gustavo Noronha Silva <kov@debian.org> |
193 | -Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Josselin Mouette <joss@debian.org>, Michael Biebl <biebl@debian.org> |
194 | +XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org> |
195 | +Uploaders: Andreas Henriksson <andreas@fatal.se>, Gustavo Noronha Silva <kov@debian.org>, Josselin Mouette <joss@debian.org>, Michael Biebl <biebl@debian.org> |
196 | Build-Depends: cdbs, |
197 | debhelper (>= 8), |
198 | intltool, |
199 | @@ -18,10 +17,10 @@ |
200 | libgksu2-dev (>= 2.0.8), |
201 | libglib2.0-dev (>= 2.16), |
202 | libgconf2-dev |
203 | -Standards-Version: 3.9.2 |
204 | +Standards-Version: 3.9.4 |
205 | Homepage: http://www.nongnu.org/gksu |
206 | -Vcs-Browser: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gksu/ |
207 | -Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/gksu/ |
208 | +Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/attic/gksu/ |
209 | +Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/attic/gksu/ |
210 | |
211 | Package: gksu |
212 | Architecture: any |
213 | @@ -33,9 +32,8 @@ |
214 | libgksu0 |
215 | Provides: gnome-sudo |
216 | Conflicts: gnome-sudo (<= 0.3-1.1) |
217 | -Description: graphical frontend to su |
218 | - gksu is a Gtk+ frontend to /bin/su. It supports login shells |
219 | - and preserving environment when acting as a su frontend. It |
220 | - is useful to menu items or other graphical programs that need |
221 | - to ask a user's password to run another program as another user. |
222 | +Description: graphical front-end to su and sudo |
223 | + This package provides GTK+ front-ends for su (gksu) and sudo (gksudo), |
224 | + allowing users to give a password and run graphical commands as root |
225 | + without needing to invoke su or sudo in a terminal emulator. |
226 | |
227 | |
228 | === modified file 'debian/control.in' |
229 | --- debian/control.in 2011-11-09 10:24:13 +0000 |
230 | +++ debian/control.in 2014-12-17 02:23:03 +0000 |
231 | @@ -2,7 +2,7 @@ |
232 | Section: admin |
233 | Priority: optional |
234 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
235 | -XSBC-Original-Maintainer: Gustavo Noronha Silva <kov@debian.org> |
236 | +XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org> |
237 | Uploaders: @GNOME_TEAM@ |
238 | Build-Depends: cdbs, |
239 | debhelper (>= 8), |
240 | @@ -13,10 +13,10 @@ |
241 | libgksu2-dev (>= 2.0.8), |
242 | libglib2.0-dev (>= 2.16), |
243 | libgconf2-dev |
244 | -Standards-Version: 3.9.2 |
245 | +Standards-Version: 3.9.4 |
246 | Homepage: http://www.nongnu.org/gksu |
247 | -Vcs-Browser: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gksu/ |
248 | -Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/gksu/ |
249 | +Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/attic/gksu/ |
250 | +Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/attic/gksu/ |
251 | |
252 | Package: gksu |
253 | Architecture: any |
254 | @@ -28,9 +28,8 @@ |
255 | libgksu0 |
256 | Provides: gnome-sudo |
257 | Conflicts: gnome-sudo (<= 0.3-1.1) |
258 | -Description: graphical frontend to su |
259 | - gksu is a Gtk+ frontend to /bin/su. It supports login shells |
260 | - and preserving environment when acting as a su frontend. It |
261 | - is useful to menu items or other graphical programs that need |
262 | - to ask a user's password to run another program as another user. |
263 | +Description: graphical front-end to su and sudo |
264 | + This package provides GTK+ front-ends for su (gksu) and sudo (gksudo), |
265 | + allowing users to give a password and run graphical commands as root |
266 | + without needing to invoke su or sudo in a terminal emulator. |
267 | |
268 | |
269 | === modified file 'debian/patches/01_desktop_in.patch' |
270 | --- debian/patches/01_desktop_in.patch 2011-02-23 10:03:03 +0000 |
271 | +++ debian/patches/01_desktop_in.patch 2014-12-17 02:23:03 +0000 |
272 | @@ -1,16 +1,14 @@ |
273 | -diff -Naur gksu-2.0.2.ori//gksu.desktop.in gksu-2.0.2/gksu.desktop.in |
274 | ---- gksu-2.0.2.ori//gksu.desktop.in 1969-12-31 19:00:00.000000000 -0500 |
275 | -+++ gksu-2.0.2/gksu.desktop.in 2011-02-23 10:01:41.000000000 -0500 |
276 | -@@ -0,0 +1,12 @@ |
277 | +--- /dev/null 2010-10-30 06:08:50.107935125 +0200 |
278 | ++++ gksu-2.0.2/gksu.desktop.in 2010-10-30 15:29:53.549770597 +0200 |
279 | +@@ -0,0 +1,11 @@ |
280 | +[Desktop Entry] |
281 | +_Name=Root Terminal |
282 | +_Comment=Opens a terminal as the root user, using gksu to ask for the password |
283 | -+Encoding=UTF-8 |
284 | +Exec=gksu /usr/bin/x-terminal-emulator |
285 | +Icon=gksu-root-terminal |
286 | +StartupNotify=true |
287 | +Terminal=false |
288 | +X-MultipleArgs=false |
289 | +Type=Application |
290 | -+Categories=GTK;Utility;TerminalEmulator; |
291 | ++Categories=GTK;System;TerminalEmulator; |
292 | +NoDisplay=true |
293 | |
294 | === added file 'debian/patches/03_sudo(8).patch' |
295 | --- debian/patches/03_sudo(8).patch 1970-01-01 00:00:00 +0000 |
296 | +++ debian/patches/03_sudo(8).patch 2014-12-17 02:23:03 +0000 |
297 | @@ -0,0 +1,16 @@ |
298 | +Description: Change from sudo(1) to sudo(8) |
299 | +Author: Jackson Doak <noskcaj@ubuntu.com> |
300 | +Bug-Debian: http://bugs.debian.org/715285 |
301 | + |
302 | +--- gksu-2.0.2.orig/man/gksu.1 |
303 | ++++ gksu-2.0.2/man/gksu.1 |
304 | +@@ -97,7 +97,7 @@ Force gksu to use su(1) as its backend f |
305 | + .HP |
306 | + \fB\-\-sudo\-mode\fR, \fB\-S\fR |
307 | + .IP |
308 | +-Force gksu to use sudo(1) as its backend for running the programs. |
309 | ++Force gksu to use sudo(8) as its backend for running the programs. |
310 | + .SH "SEE ALSO" |
311 | + .BR su (1), |
312 | +-.BR sudo (1) |
313 | ++.BR sudo (8) |
314 | |
315 | === modified file 'debian/patches/series' |
316 | --- debian/patches/series 2011-11-09 10:24:13 +0000 |
317 | +++ debian/patches/series 2014-12-17 02:23:03 +0000 |
318 | @@ -2,3 +2,5 @@ |
319 | 02_format_security.patch |
320 | 50_always_ask.patch |
321 | 99_intltool.patch |
322 | +03_sudo(8).patch |
323 | + |
324 | |
325 | === added file 'debian/source/options' |
326 | --- debian/source/options 1970-01-01 00:00:00 +0000 |
327 | +++ debian/source/options 2014-12-17 02:23:03 +0000 |
328 | @@ -0,0 +1,1 @@ |
329 | +extend-diff-ignore = "(^|/)(gksu\.desktop|Makefile)$" |
330 | \ No newline at end of file |
331 | |
332 | === modified file 'debian/watch' |
333 | --- debian/watch 2007-12-05 18:25:19 +0000 |
334 | +++ debian/watch 2014-12-17 02:23:03 +0000 |
335 | @@ -1,3 +1,2 @@ |
336 | version=3 |
337 | -http://people.debian.org/~kov/gksu/gksu-(.*)\.tar\.gz \ |
338 | - debian uupdate |
339 | +http://www.nongnu.org/gksu .*/gksu-(\d.*?)(?:[\.\-]src)?.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)).* |
340 | \ No newline at end of file |
341 | |
342 | === modified file 'gksu.desktop.in' |
343 | --- gksu.desktop.in 2011-11-09 10:24:13 +0000 |
344 | +++ gksu.desktop.in 2014-12-17 02:23:03 +0000 |
345 | @@ -1,12 +1,11 @@ |
346 | [Desktop Entry] |
347 | _Name=Root Terminal |
348 | _Comment=Opens a terminal as the root user, using gksu to ask for the password |
349 | -Encoding=UTF-8 |
350 | Exec=gksu /usr/bin/x-terminal-emulator |
351 | Icon=gksu-root-terminal |
352 | StartupNotify=true |
353 | Terminal=false |
354 | X-MultipleArgs=false |
355 | Type=Application |
356 | -Categories=GTK;Utility;TerminalEmulator; |
357 | +Categories=GTK;System;TerminalEmulator; |
358 | NoDisplay=true |
359 | |
360 | === modified file 'man/gksu.1' |
361 | --- man/gksu.1 2006-11-22 16:37:57 +0000 |
362 | +++ man/gksu.1 2014-12-17 02:23:03 +0000 |
363 | @@ -97,7 +97,7 @@ |
364 | .HP |
365 | \fB\-\-sudo\-mode\fR, \fB\-S\fR |
366 | .IP |
367 | -Force gksu to use sudo(1) as its backend for running the programs. |
368 | +Force gksu to use sudo(8) as its backend for running the programs. |
369 | .SH "SEE ALSO" |
370 | .BR su (1), |
371 | -.BR sudo (1) |
372 | +.BR sudo (8) |
This already got uploaded a while ago without closing the MP: https:/ /launchpad. net/ubuntu/ +source/ gksu/2. 0.2-9ubuntu1