A new release version 1.3.7 of sysutils/gksu is out. Changes: 2006-04-03 Gustavo Noronha Silva <kov@> * Release 1.3.7 * man/gksu.1: - fixed typo, patch by Nicolas Fransois <nicolas.francois@centraliens.net> 2006-03-29 Gustavo Noronha Silva <kov@> * gksu-migrate-conf.sh: - remove bash3.0isms, enhance the code that gets the values from the config file to be more robust and work on more possibilities 2006-03-28 Gustavo Noronha Silva <kov@> * gksu/gksu.c: - applied (modified) patch by Gabor Kelemen <kelemeng@> to make the help string a better citizen * configure.ac: - added gl to ALL_LINGUAS 2006-01-07 Gustavo Noronha Silva <kov@> * configure.ac: - added it to ALL_LINGUAS 2005-11-23 Gustavo Noronha Silva <kov@> * gksu{,exec}.desktop.in: - modified based on a patch by Thierry Moisan <thierryn@videotron.ca> to be compliant with the desktop spec (passes desktop-file-validate); thanks to Michael Vogt for forwarding the patch Fix: WBR -- bsam--Sn78doeIU0BBNzvpUpi8wchgqQWf7RkdeYc8uKi09KPIjPQS Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" Index: Makefile =================================================================== RCS file: /home/ncvs/ports/sysutils/gksu/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- Makefile 23 Feb 2006 10:39:08 -0000 1.11 +++ Makefile 22 May 2006 12:42:32 -0000 @@ -6,7 +6,7 @@ # PORTNAME= gksu -PORTVERSION= 1.3.6 +PORTVERSION= 1.3.7 CATEGORIES= sysutils MASTER_SITES= http://people.debian.org/~kov/gksu/gksu/ Index: distinfo =================================================================== RCS file: /home/ncvs/ports/sysutils/gksu/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- distinfo 14 Nov 2005 23:43:15 -0000 1.2 +++ distinfo 22 May 2006 12:42:32 -0000 @@ -1,3 +1,3 @@ -MD5 (gksu-1.3.6.tar.gz) = 1c082d2037dd7090d899b633f9258b19 -SHA256 (gksu-1.3.6.tar.gz) = d273e82919e9d61a56c7da7ffc95351aded7701de4fe8a127c5d73135690f0dc -SIZE (gksu-1.3.6.tar.gz) = 607022 +MD5 (gksu-1.3.7.tar.gz) = 15031e06ebb482f8aa1515499212eeaf +SHA256 (gksu-1.3.7.tar.gz) = 8e3b0a51bacbb7172246ae91d1e232863a2da0d8a9393a74de909d91211a6b6d +SIZE (gksu-1.3.7.tar.gz) = 620451 Index: files/patch-gksu_gksu.c =================================================================== RCS file: /home/ncvs/ports/sysutils/gksu/files/patch-gksu_gksu.c,v retrieving revision 1.1 diff -u -r1.1 patch-gksu_gksu.c --- files/patch-gksu_gksu.c 14 Nov 2005 23:43:15 -0000 1.1 +++ files/patch-gksu_gksu.c 22 May 2006 12:42:32 -0000 @@ -1,6 +1,6 @@ ---- gksu/gksu.c.orig Wed Oct 26 14:50:43 2005 -+++ gksu/gksu.c Tue Nov 15 00:28:41 2005 -@@ -499,6 +499,7 @@ +--- gksu/gksu.c.orig Wed Mar 29 06:18:28 2006 ++++ gksu/gksu.c Mon May 22 16:29:36 2006 +@@ -513,6 +513,7 @@ pid_t test_lock(const char* fname) { @@ -8,7 +8,7 @@ int FD = open(fname, 0); if(FD < 0) { if(errno == ENOENT) { -@@ -509,7 +510,6 @@ +@@ -523,7 +524,6 @@ return(-1); } } @@ -16,7 +16,7 @@ fl.l_type = F_WRLCK; fl.l_whence = SEEK_SET; fl.l_start = 0; -@@ -529,6 +529,7 @@ +@@ -543,6 +543,7 @@ int get_lock(const char *File) { @@ -24,9 +24,9 @@ int FD = open(File,O_RDWR | O_CREAT | O_TRUNC,0640); if (FD < 0) { -@@ -546,13 +547,13 @@ +@@ -560,13 +561,13 @@ fcntl(FD,F_SETFD, FD_CLOEXEC); - + // Aquire a write lock - struct flock fl; fl.l_type = F_WRLCK; @@ -39,16 +39,16 @@ if (errno == ENOLCK) { g_warning(_("Not using locking for nfs mounted lock file %s"), File); -@@ -561,7 +562,7 @@ - return dup(0); // Need something for the caller to close - } - +@@ -575,7 +576,7 @@ + return dup(0); // Need something for the caller to close + } + - int Tmp = errno; + Tmp = errno; close(FD); errno = Tmp; return -1; -@@ -759,6 +760,7 @@ +@@ -773,6 +774,7 @@ GtkWidget *dialog = GTK_WIDGET(data); int retvalue = 0; @@ -56,7 +56,7 @@ if (prompt) gksuui_dialog_set_prompt (GKSUUI_DIALOG(dialog), prompt); -@@ -782,7 +784,6 @@ +@@ -796,7 +798,6 @@ g_free (msg); } @@ -64,15 +64,15 @@ if (grab) lock = grab_keyboard_and_mouse (dialog); retvalue = gtk_dialog_run (GTK_DIALOG(dialog)); -@@ -1206,6 +1207,7 @@ +@@ -1220,6 +1221,7 @@ if (print_pass) { + int lock = 0; if (!gksuui_dialog_get_message (GKSUUI_DIALOG(dialog))) { - gchar *msg = -@@ -1216,7 +1218,6 @@ + gchar *msg = +@@ -1230,7 +1232,6 @@ g_free (msg); }
State Changed From-To: open->closed Committed, thanks!