ports/97599: [maintainer-update] sysutils/libgksu: upgrade to new release 1.3.8
Boris Samorodov
bsam at ipt.ru
Mon May 22 10:30:19 UTC 2006
>Number: 97599
>Category: ports
>Synopsis: [maintainer-update] sysutils/libgksu: upgrade to new release 1.3.8
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon May 22 10:30:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Boris Samorodov
>Release: FreeBSD 6.1-STABLE i386
>Organization:
InPharmTech, Co. http://www.ipt.ru
>Environment:
System: FreeBSD srv.sem.ipt.ru 6.1-STABLE FreeBSD 6.1-STABLE #2: Wed May 17 23:26:59 MSD 2006 bsam at srv.sem.ipt.ru:/usr/obj/usr/src/sys/SRV i386
>Description:
The new version 1.3.8 of sysutils/libgksu is released.
Changes since 1.3.7:
2006-05-01 Gustavo Noronha Silva <kov@>
* Release 1.3.8
2006-04-16 Gustavo Noronha Silva <kov@>
* libgksu/gksu-context.c:
- patch from Michael Vogt to fix corner condition which
happens when fgets returns badly with a specific app
2006-04-15 Gustavo Noronha Silva <kov@>
* libgksu/gksu-context.c, libgksu/gksu-run-helper.c:
- check for xauth at /usr/bin (Xorg 7.0) and /usr/X11R6/bin
(Xorg 6.9 and XFree86)
2006-01-07 Gustavo Noronha Silva <kov@>
* configure.ac:
- added it to ALL_LINGUAS
2005-12-21 Guilherme de S. Pastore <guilherme.pastore@>
* configure.ac: added sv to ALL_LINGUAS
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/libgksu/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile 23 Feb 2006 10:39:12 -0000 1.8
+++ Makefile 22 May 2006 10:14:47 -0000
@@ -6,8 +6,7 @@
#
PORTNAME= libgksu
-PORTVERSION= 1.3.7
-PORTREVISION= 1
+PORTVERSION= 1.3.8
CATEGORIES= sysutils
MASTER_SITES= http://people.debian.org/~kov/gksu/libgksu1.2/
DISTNAME= ${PORTNAME}1.2-${PORTVERSION}
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/libgksu/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo 28 Nov 2005 05:34:18 -0000 1.3
+++ distinfo 22 May 2006 10:14:47 -0000
@@ -1,3 +1,3 @@
-MD5 (libgksu1.2-1.3.7.tar.gz) = 9ee0808e8e24254cfc9f834a55093d06
-SHA256 (libgksu1.2-1.3.7.tar.gz) = 4957a47f8684a915236a414980ea8ff5e40255ccb885a4135e3365e6ef5c4a50
-SIZE (libgksu1.2-1.3.7.tar.gz) = 588795
+MD5 (libgksu1.2-1.3.8.tar.gz) = 5c0ffa259534829cb4c5772e694282e3
+SHA256 (libgksu1.2-1.3.8.tar.gz) = 7da12cd310d38f25962bd69590bdfa58ae436e6f97955220b371c7573561a49e
+SIZE (libgksu1.2-1.3.8.tar.gz) = 594567
Index: files/patch-libgksu_gksu-context.c
===================================================================
RCS file: /home/ncvs/ports/sysutils/libgksu/files/patch-libgksu_gksu-context.c,v
retrieving revision 1.2
diff -u -r1.2 patch-libgksu_gksu-context.c
--- files/patch-libgksu_gksu-context.c 14 Nov 2005 23:31:54 -0000 1.2
+++ files/patch-libgksu_gksu-context.c 22 May 2006 10:14:47 -0000
@@ -1,6 +1,6 @@
---- libgksu/gksu-context.c.orig Sun Oct 17 21:43:32 2004
-+++ libgksu/gksu-context.c Fri Nov 5 01:01:45 2004
-@@ -23,9 +24,14 @@
+--- libgksu/gksu-context.c.orig Mon May 1 01:08:30 2006
++++ libgksu/gksu-context.c Mon May 22 14:06:23 2006
+@@ -23,9 +23,14 @@
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
@@ -17,7 +17,7 @@
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/select.h>
-@@ -419,6 +423,7 @@
+@@ -455,6 +460,7 @@
gchar *tmp = NULL;
gchar **tmpv = NULL;
gchar *display = NULL;
@@ -25,15 +25,15 @@
/* avoid problems with "network" DISPLAY's */
display = g_strdup (getenv ("DISPLAY"));
-@@ -434,6 +439,7 @@
- "grep 'MIT-MAGIC-COOKIE-1' | "
- "cut -d ' ' -f 5",
+@@ -484,6 +490,7 @@
+ "head -1 | awk '{ print $3 }'",
+ xauth_bin,
context->display);
+
if ((xauth_output = popen (tmp, "r")) == NULL)
{
fprintf (stderr,
-@@ -441,8 +447,8 @@
+@@ -491,8 +498,8 @@
strerror(errno));
return 1;
}
@@ -44,7 +44,7 @@
pclose (xauth_output);
g_free (tmp);
-@@ -637,7 +643,7 @@
+@@ -650,7 +657,7 @@
{
gchar **cmd = g_malloc (sizeof(gchar*)*7);
@@ -53,12 +53,48 @@
if (context->login_shell)
{
cmd[i] = g_strdup ("-"); i++;
-@@ -659,7 +665,7 @@
+@@ -671,7 +678,7 @@
if (execv (cmd[0], cmd) == -1)
{
- fprintf (stderr,
+ fprintf (stderr,
+- _("Unable to run /bin/su: %s"),
++ _("Unable to run /usr/bin/su: %s"),
+ strerror(errno));
+
+ for (i = 0 ; cmd[i] != NULL ; i++)
+@@ -808,7 +815,7 @@
+ {
+ gchar **cmd = g_malloc (sizeof(gchar*)*7);
+
+- cmd[i] = g_strdup ("/bin/su"); i++;
++ cmd[i] = g_strdup ("/usr/bin/su"); i++;
+ if (context->login_shell)
+ {
+ cmd[i] = g_strdup ("-"); i++;
+@@ -830,7 +837,7 @@
+ if (execv (cmd[0], cmd) == -1)
+ {
+ fprintf (stderr,
- _("Unable to run /bin/su: %s"),
+ _("Unable to run /usr/bin/su: %s"),
strerror(errno));
}
+@@ -1097,7 +1104,7 @@
+ argcount = 0;
+
+ /* sudo binary */
+- cmd[argcount] = g_strdup("/usr/bin/sudo");
++ cmd[argcount] = g_strdup("/usr/local/bin/sudo");
+ argcount++;
+
+ /* Make sudo read from STDIN */
+@@ -1276,7 +1283,7 @@
+ argcount = 0;
+
+ /* sudo binary */
+- cmd[argcount] = g_strdup("/usr/bin/sudo");
++ cmd[argcount] = g_strdup("/usr/local/bin/sudo");
+ argcount++;
+
+ if (!context->keep_env)
WBR
--
bsam
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list