[99209] trunk/dports/x11/libgksu12
ryandesign at macports.org
ryandesign at macports.org
Mon Oct 29 14:30:16 PDT 2012
Revision: 99209
http://trac.macports.org//changeset/99209
Author: ryandesign at macports.org
Date: 2012-10-29 14:30:16 -0700 (Mon, 29 Oct 2012)
Log Message:
-----------
libgksu12: update to 1.3.8; fix livecheck
Modified Paths:
--------------
trunk/dports/x11/libgksu12/Portfile
trunk/dports/x11/libgksu12/files/patch-libgksu.diff
Modified: trunk/dports/x11/libgksu12/Portfile
===================================================================
--- trunk/dports/x11/libgksu12/Portfile 2012-10-29 21:25:08 UTC (rev 99208)
+++ trunk/dports/x11/libgksu12/Portfile 2012-10-29 21:30:16 UTC (rev 99209)
@@ -3,7 +3,7 @@
PortSystem 1.0
name libgksu12
-version 1.3.7
+version 1.3.8
platforms darwin
categories x11 devel
license {LGPL GPL-2+}
@@ -17,8 +17,10 @@
homepage http://www.nongnu.org/gksu/
master_sites http://people.debian.org/~kov/gksu/old_stuff/libgksu1.2/
distname libgksu1.2-${version}
-checksums md5 9ee0808e8e24254cfc9f834a55093d06
+checksums rmd160 a1843f578c479b5281d0d0eeabd11baffd34d440 \
+ sha256 7da12cd310d38f25962bd69590bdfa58ae436e6f97955220b371c7573561a49e
+
depends_lib port:gtk2
depends_build port:pkgconfig
@@ -33,3 +35,7 @@
configure.args-delete --disable-gtk-doc
configure.args-append --enable-gtk-doc
}
+
+livecheck.type regex
+livecheck.url [lindex ${master_sites} 0]
+livecheck.regex libgksu1.2-(\[0-9.\]+)${extract.suffix}
Modified: trunk/dports/x11/libgksu12/files/patch-libgksu.diff
===================================================================
--- trunk/dports/x11/libgksu12/files/patch-libgksu.diff 2012-10-29 21:25:08 UTC (rev 99208)
+++ trunk/dports/x11/libgksu12/files/patch-libgksu.diff 2012-10-29 21:30:16 UTC (rev 99209)
@@ -20,8 +20,8 @@
noinst_HEADERS = defines.h
---- libgksu/gksu-context.c.orig 2005-11-18 01:18:02.000000000 +0100
-+++ libgksu/gksu-context.c 2007-06-18 01:40:33.000000000 +0200
+--- libgksu/gksu-context.c.orig 2006-04-30 16:08:30.000000000 -0500
++++ libgksu/gksu-context.c 2012-10-29 16:26:11.000000000 -0500
@@ -23,7 +23,7 @@
#include <unistd.h>
#include <string.h>
@@ -31,7 +31,7 @@
#include <pwd.h>
#include <sys/types.h>
#include <sys/wait.h>
-@@ -633,7 +633,7 @@
+@@ -650,7 +650,7 @@
{
gchar **cmd = g_malloc (sizeof(gchar*)*7);
@@ -40,16 +40,16 @@
if (context->login_shell)
{
cmd[i] = g_strdup ("-"); i++;
-@@ -654,7 +654,7 @@
+@@ -671,7 +671,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++)
-@@ -791,7 +791,7 @@
+@@ -808,7 +808,7 @@
{
gchar **cmd = g_malloc (sizeof(gchar*)*7);
@@ -58,10 +58,10 @@
if (context->login_shell)
{
cmd[i] = g_strdup ("-"); i++;
-@@ -813,7 +813,7 @@
+@@ -830,7 +830,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));
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121029/9d8432b4/attachment.html>
More information about the macports-changes
mailing list