From a4d86ed8292d61d6f62c1f747ca52dfea74d5d7b Mon Sep 17 00:00:00 2001 From: kwm Date: Tue, 15 May 2012 20:47:08 +0000 Subject: Update to 0.105. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16745 df743ca5-7f9a-e211-a948-0013205c9059 --- sysutils/polkit/Makefile | 14 ++++++------- sysutils/polkit/distinfo | 4 ++-- sysutils/polkit/files/patch-Makefile.in | 11 +++++++++++ ...lkitbackend_polkitbackendinteractiveauthority.c | 11 +++++++++++ ...src_polkitbackend_polkitbackendlocalauthority.c | 23 ++++++++++++++++++++++ sysutils/polkit/pkg-descr | 2 +- sysutils/polkit/pkg-plist | 2 ++ 7 files changed, 57 insertions(+), 10 deletions(-) create mode 100644 sysutils/polkit/files/patch-Makefile.in create mode 100644 sysutils/polkit/files/patch-src_polkitbackend_polkitbackendinteractiveauthority.c create mode 100644 sysutils/polkit/files/patch-src_polkitbackend_polkitbackendlocalauthority.c (limited to 'sysutils') diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile index 70cfaf884..1965831cf 100644 --- a/sysutils/polkit/Makefile +++ b/sysutils/polkit/Makefile @@ -3,13 +3,13 @@ # Whom: Koop Mast # # $FreeBSD$ -# $MCom: ports/sysutils/polkit/Makefile,v 1.14 2011/08/07 13:45:50 kwm Exp $ +# $MCom: ports/sysutils/polkit/Makefile,v 1.15 2012/01/26 00:39:27 ahze Exp $ # PORTNAME= polkit -PORTVERSION= 0.103 +PORTVERSION= 0.105 CATEGORIES= sysutils gnome -MASTER_SITES= http://hal.freedesktop.org/releases/ +MASTER_SITES= http://www.freedesktop.org/software/polkit/releases/ MAINTAINER= gnome@FreeBSD.org COMMENT= Framework for controlling access to system-wide components @@ -30,9 +30,9 @@ CONFIGURE_ARGS= --disable-gtk-doc \ --with-os-type=freebsd \ --enable-introspection \ --localstatedir=/var -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" \ - GTKDOC="false" +CONFIGURE_ENV= GTKDOC="false" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib .if defined(NO_INSTALL_MANPAGES) CONFIGURE_ARGS+=--disable-man-pages @@ -41,7 +41,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1/dtd/catalog:${PORTSDIR}/text xsltproc:${PORTSDIR}/textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl -MAN1= pkaction.1 pkcheck.1 pkexec.1 +MAN1= pkaction.1 pkcheck.1 pkexec.1 pkttyagent.1 MAN8= pklocalauthority.8 polkit.8 polkitd.8 .endif diff --git a/sysutils/polkit/distinfo b/sysutils/polkit/distinfo index 2193a629e..bd125cce1 100644 --- a/sysutils/polkit/distinfo +++ b/sysutils/polkit/distinfo @@ -1,2 +1,2 @@ -SHA256 (polkit-0.103.tar.gz) = 36607c8ce576980ee55bd12bab1944f13217eb8e9d04ab56022545861ece3bc5 -SIZE (polkit-0.103.tar.gz) = 1065419 +SHA256 (polkit-0.105.tar.gz) = 8fdc7cc8ba4750fcce1a4db9daa759c12afebc7901237e1c993c38f08985e1df +SIZE (polkit-0.105.tar.gz) = 1431080 diff --git a/sysutils/polkit/files/patch-Makefile.in b/sysutils/polkit/files/patch-Makefile.in new file mode 100644 index 000000000..665c13c7d --- /dev/null +++ b/sysutils/polkit/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2012-05-15 22:09:33.000000000 +0200 ++++ Makefile.in 2012-05-15 22:10:16.000000000 +0200 +@@ -292,7 +292,7 @@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = actions data src docs po test ++SUBDIRS = actions data src docs po + NULL = + EXTRA_DIST = \ + HACKING \ diff --git a/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendinteractiveauthority.c b/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendinteractiveauthority.c new file mode 100644 index 000000000..76a08f711 --- /dev/null +++ b/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendinteractiveauthority.c @@ -0,0 +1,11 @@ +--- src/polkitbackend/polkitbackendinteractiveauthority.c.orig 2012-05-15 21:52:38.000000000 +0200 ++++ src/polkitbackend/polkitbackendinteractiveauthority.c 2012-05-15 21:52:49.000000000 +0200 +@@ -279,7 +279,7 @@ + static volatile GQuark domain = 0; + + /* Force registering error domain */ +- domain = POLKIT_ERROR; domain; ++ domain = POLKIT_ERROR; + + priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority); + diff --git a/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendlocalauthority.c b/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendlocalauthority.c new file mode 100644 index 000000000..f4a57022e --- /dev/null +++ b/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendlocalauthority.c @@ -0,0 +1,23 @@ +--- src/polkitbackend/polkitbackendlocalauthority.c.orig 2012-05-15 21:52:35.000000000 +0200 ++++ src/polkitbackend/polkitbackendlocalauthority.c 2012-05-15 21:53:07.000000000 +0200 +@@ -700,11 +700,7 @@ + ret = NULL; + name = polkit_unix_netgroup_get_name (POLKIT_UNIX_NETGROUP (group)); + +- if (setnetgrent (name) == 0) +- { +- g_warning ("Error looking up net group with name %s: %s", name, g_strerror (errno)); +- goto out; +- } ++ setnetgrent (name); + + for (;;) + { +@@ -737,7 +733,6 @@ + + ret = g_list_reverse (ret); + +- out: + endnetgrent (); + return ret; + } diff --git a/sysutils/polkit/pkg-descr b/sysutils/polkit/pkg-descr index 9746a6470..4f0b6a299 100644 --- a/sysutils/polkit/pkg-descr +++ b/sysutils/polkit/pkg-descr @@ -1,4 +1,4 @@ PolicyKit is a framework for defining policy for system-wide components and for desktop pieces to configure it. It is used by HAL. -WWW: http://www.freedesktop.org/wiki/Software/PolicyKit +WWW: http://www.freedesktop.org/wiki/Software/polkit diff --git a/sysutils/polkit/pkg-plist b/sysutils/polkit/pkg-plist index c6513bea3..e30e9a7d7 100644 --- a/sysutils/polkit/pkg-plist +++ b/sysutils/polkit/pkg-plist @@ -2,6 +2,7 @@ bin/pk-example-frobnicate bin/pkaction bin/pkcheck bin/pkexec +bin/pkttyagent @unexec if cmp -s %D/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf %D/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf.dist; then rm -f %D/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf ; fi etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf.dist @exec [ -f %B/org.freedesktop.PolicyKit1.conf ] || cp %B/%f %B/org.freedesktop.PolicyKit1.conf @@ -26,6 +27,7 @@ include/polkit-1/polkit/polkitsystembusname.h include/polkit-1/polkit/polkittemporaryauthorization.h include/polkit-1/polkit/polkittypes.h include/polkit-1/polkit/polkitunixgroup.h +include/polkit-1/polkit/polkitunixnetgroup.h include/polkit-1/polkit/polkitunixprocess.h include/polkit-1/polkit/polkitunixsession.h include/polkit-1/polkit/polkitunixuser.h -- cgit v1.2.3