Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2005 13:35:31 +0300 (MSK)
From:      "Boris B. Samorodov" <bsam@ipt.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/88983: [patch] sysutils/libgksu: update to new release version 1.3.6
Message-ID:  <200511141035.jAEAZVDS055995@mi.ipt.ru>
Resent-Message-ID: <200511141040.jAEAeHYx070446@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88983
>Category:       ports
>Synopsis:       [patch] sysutils/libgksu: update to new release version 1.3.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 14 10:40:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Boris B. Samorodov
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
InPharmTech, Co. http://www.ipt.ru
>Environment:
System: FreeBSD mi.ipt.ru 6.0-STABLE FreeBSD 6.0-STABLE #0: Wed Nov 2 17:58:38 MSK 2005 bsam@mi.ipt.ru:/usr/obj/usr/src/sys/PROBA1 i386


>Description:
	We have an outdated version of sysutils/libgksu. There are many
	new features and bug fixes since 1.2.5a version:
	http://people.debian.org/~kov/gksu/libgksu1.2/ChangeLog
>How-To-Repeat:
>Fix:
	The patch is relative to the port itself:
	# cd /usr/ports/sysutils
	# patch -p0 < _the_patch_
	<delete libgksu/*.orig libgksu/files/*.orig>
	One file at libgksu/files is zero length and should be removed:
	patch-libgksu_gksu-run-helper.c

--- libgksu.patch begins here ---
diff -ruN libgksu.orig/Makefile libgksu/Makefile
--- libgksu.orig/Makefile	Wed Nov  9 12:51:18 2005
+++ libgksu/Makefile	Mon Nov 14 12:45:15 2005
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	libgksu
-PORTVERSION=	1.2.5a
-PORTREVISION=	3
+PORTVERSION=	1.3.6
 CATEGORIES=	sysutils
 MASTER_SITES=	http://people.debian.org/~kov/gksu/libgksu1.2/
 DISTNAME=	${PORTNAME}1.2-${PORTVERSION}
diff -ruN libgksu.orig/distinfo libgksu/distinfo
--- libgksu.orig/distinfo	Fri Nov  5 09:08:00 2004
+++ libgksu/distinfo	Mon Nov 14 12:45:15 2005
@@ -1,2 +1,3 @@
-MD5 (libgksu1.2-1.2.5a.tar.gz) = 9abc77957b1de93fe58b70ebb626d674
-SIZE (libgksu1.2-1.2.5a.tar.gz) = 561123
+MD5 (libgksu1.2-1.3.6.tar.gz) = b056c9ffe62ee51d2db8f5478afd59e4
+SHA256 (libgksu1.2-1.3.6.tar.gz) = b0291c028646e02dd8535af58ed425480563bd9ccce57d015a27bedcbbbe3203
+SIZE (libgksu1.2-1.3.6.tar.gz) = 588586
diff -ruN libgksu.orig/files/patch-libgksu_gksu-context.c libgksu/files/patch-libgksu_gksu-context.c
--- libgksu.orig/files/patch-libgksu_gksu-context.c	Fri Nov  5 09:08:01 2004
+++ libgksu/files/patch-libgksu_gksu-context.c	Mon Nov 14 13:18:38 2005
@@ -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 +23,13 @@
+@@ -23,9 +24,14 @@
  #include <unistd.h>
  #include <string.h>
  #include <fcntl.h>
@@ -11,6 +11,7 @@
 +#include <sys/ioctl.h>
 +#include <termios.h>
 +#include <libutil.h>
++#include <signal.h>
 +
 +#include <pwd.h>
  #include <sys/wait.h>
diff -ruN libgksu.orig/files/patch-libgksu_gksu-run-helper.c libgksu/files/patch-libgksu_gksu-run-helper.c
--- libgksu.orig/files/patch-libgksu_gksu-run-helper.c	Fri Nov  5 09:08:01 2004
+++ libgksu/files/patch-libgksu_gksu-run-helper.c	Thu Jan  1 03:00:00 1970
@@ -1,15 +0,0 @@
---- libgksu/gksu-run-helper.c.orig	Thu Sep 30 20:40:25 2004
-+++ libgksu/gksu-run-helper.c	Thu Sep 30 19:09:05 2004
-@@ -127,9 +127,9 @@
-     chmod (tmpfilename, S_IRUSR|S_IWUSR);
-     
-     command =
--      g_strdup_printf ("/usr/bin/env -u XAUTHORITY=%s /usr/X11R6/bin/xauth add %s . \"`cat %s.tmp`\" > /dev/null 2>&1; /usr/bin/env -u XAUTHORITY=%s %s",
--		       xauth_file, xauth_display,
--		       xauth_file, xauth_file,
-+      g_strdup_printf ("/bin/sh -c unset XAUTHORITY; /usr/X11R6/bin/xauth add %s . \"`cat %s.tmp`\" > /dev/null 2>&1; /bin/sh -c unset XAUTHORITY; %s",
-+		       xauth_display,
-+		       xauth_file,
- 		       argv[1]);
-     
-     return_code = system (command);
diff -ruN libgksu.orig/pkg-plist libgksu/pkg-plist
--- libgksu.orig/pkg-plist	Thu Dec 16 08:49:25 2004
+++ libgksu/pkg-plist	Mon Nov 14 12:45:15 2005
@@ -9,10 +9,15 @@
 share/locale/da/LC_MESSAGES/libgksu1.2.mo
 share/locale/de/LC_MESSAGES/libgksu1.2.mo
 share/locale/es/LC_MESSAGES/libgksu1.2.mo
-share/locale/no_NB/LC_MESSAGES/libgksu1.2.mo
 share/locale/pt_BR/LC_MESSAGES/libgksu1.2.mo
 share/locale/ru/LC_MESSAGES/libgksu1.2.mo
+share/locale/cs/LC_MESSAGES/libgksu1.2.mo
+share/locale/nl/LC_MESSAGES/libgksu1.2.mo
+share/locale/eu/LC_MESSAGES/libgksu1.2.mo
+share/locale/pl/LC_MESSAGES/libgksu1.2.mo
+share/locale/hu/LC_MESSAGES/libgksu1.2.mo
+share/locale/ro/LC_MESSAGES/libgksu1.2.mo
+share/locale/nb/LC_MESSAGES/libgksu1.2.mo
+share/locale/sk/LC_MESSAGES/libgksu1.2.mo
 @dirrm lib/libgksu1.2
 @dirrm include/libgksu1.2
-@unexec rmdir %D/share/locale/no_NB/LC_MESSAGES 2> /dev/null || true
-@unexec rmdir %D/share/locale/no_NB 2> /dev/null || true
--- libgksu.patch ends here ---

WBR
-- 
bsam

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511141035.jAEAZVDS055995>