aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gksu
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-05-23 05:33:26 +0800
committerpav <pav@FreeBSD.org>2006-05-23 05:33:26 +0800
commit946e77922851a18c4cdecc57ec990320f2c08178 (patch)
treec751ae38dd73f0e1952e94239d68f8725e7334bd /sysutils/gksu
parent59696008b3df1b5a967a1a73f95d6bdc6c11219b (diff)
downloadfreebsd-ports-gnome-946e77922851a18c4cdecc57ec990320f2c08178.tar.gz
freebsd-ports-gnome-946e77922851a18c4cdecc57ec990320f2c08178.tar.zst
freebsd-ports-gnome-946e77922851a18c4cdecc57ec990320f2c08178.zip
- Update to 1.3.7
PR: ports/97608 Submitted by: Boris B. Samorodov <bsam@ipt.ru> (maintainer)
Diffstat (limited to 'sysutils/gksu')
-rw-r--r--sysutils/gksu/Makefile2
-rw-r--r--sysutils/gksu/distinfo6
-rw-r--r--sysutils/gksu/files/patch-gksu_gksu.c32
-rw-r--r--sysutils/gksu/pkg-plist2
4 files changed, 22 insertions, 20 deletions
diff --git a/sysutils/gksu/Makefile b/sysutils/gksu/Makefile
index 8a2d73b30842..3d6179d4458a 100644
--- a/sysutils/gksu/Makefile
+++ b/sysutils/gksu/Makefile
@@ -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/
diff --git a/sysutils/gksu/distinfo b/sysutils/gksu/distinfo
index c66ca22d88fc..eac1107a1ce2 100644
--- a/sysutils/gksu/distinfo
+++ b/sysutils/gksu/distinfo
@@ -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
diff --git a/sysutils/gksu/files/patch-gksu_gksu.c b/sysutils/gksu/files/patch-gksu_gksu.c
index d4fc2a6f56c0..5df2cac05bd4 100644
--- a/sysutils/gksu/files/patch-gksu_gksu.c
+++ b/sysutils/gksu/files/patch-gksu_gksu.c
@@ -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);
}
diff --git a/sysutils/gksu/pkg-plist b/sysutils/gksu/pkg-plist
index 556aa6f90954..153f085576cd 100644
--- a/sysutils/gksu/pkg-plist
+++ b/sysutils/gksu/pkg-plist
@@ -14,7 +14,9 @@ share/locale/pt_BR/LC_MESSAGES/gksu.mo
share/locale/ru/LC_MESSAGES/gksu.mo
share/locale/cs/LC_MESSAGES/gksu.mo
share/locale/fr/LC_MESSAGES/gksu.mo
+share/locale/gl/LC_MESSAGES/gksu.mo
share/locale/hu/LC_MESSAGES/gksu.mo
+share/locale/it/LC_MESSAGES/gksu.mo
share/locale/nb/LC_MESSAGES/gksu.mo
share/locale/nl/LC_MESSAGES/gksu.mo
share/locale/pl/LC_MESSAGES/gksu.mo