From patchwork Thu Feb 21 17:44:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Fr=C3=B6berg?= X-Patchwork-Id: 222384 X-Patchwork-Delegate: patrickdepinguin+buildroot@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id C5F262C0099 for ; Fri, 22 Feb 2013 04:45:07 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8CE3410BA71; Thu, 21 Feb 2013 17:44:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BSOPeNFcarZw; Thu, 21 Feb 2013 17:44:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 68EC2103A8D; Thu, 21 Feb 2013 17:44:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 44A568F753 for ; Thu, 21 Feb 2013 17:45:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9FAE48CD35 for ; Thu, 21 Feb 2013 17:44:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 51ZmSVollavj for ; Thu, 21 Feb 2013 17:44:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.petroprogram.com (mail.petroprogram.com [194.89.34.74]) by whitealder.osuosl.org (Postfix) with ESMTPS id B06D88C81C for ; Thu, 21 Feb 2013 17:44:56 +0000 (UTC) Received: from localhost.fi (unknown [194.89.34.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: stefan.froberg@petroprogram.com) by mail.petroprogram.com (Postfix) with ESMTPSA id 4F0D4422D8; Thu, 21 Feb 2013 19:36:25 +0200 (EET) From: =?UTF-8?q?Stefan=20Fr=C3=B6berg?= To: buildroot@busybox.net Date: Thu, 21 Feb 2013 19:44:31 +0200 Message-Id: <1361468671-9589-1-git-send-email-stefan.froberg@petroprogram.com> X-Mailer: git-send-email 1.7.7.6 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] polkit: bump to version 0.104 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Polkit 0.104. Also some minor configuration fixes and patch to enable building with uClibc. Signed-off-by: Stefan Fröberg Acked-by: "Yann E. MORIN" --- package/polkit/polkit-0.104-uclibc-netgroup.patch | 41 +++++++++++++++++++++ package/polkit/polkit.mk | 6 ++- 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100755 package/polkit/polkit-0.104-uclibc-netgroup.patch diff --git a/package/polkit/polkit-0.104-uclibc-netgroup.patch b/package/polkit/polkit-0.104-uclibc-netgroup.patch new file mode 100755 index 0000000..423cc5d --- /dev/null +++ b/package/polkit/polkit-0.104-uclibc-netgroup.patch @@ -0,0 +1,41 @@ +uClibc netgroup fix + +Upstream-Status: Pending +URL: http://repository.timesys.com/buildsources/p/polkit/polkit-0.104/polkit-0.104-uclibc-netgroup.patch + +--- polkit-0.104/src/polkitbackend/polkitbackendlocalauthorizationstore.c 2012-01-09 16:50:27.573369343 -0500 ++++ polkit-0.104/src/polkitbackend/polkitbackendlocalauthorizationstore.c 2012-01-09 16:34:25.749095408 -0500 +@@ -725,6 +725,7 @@ + break; + } + ++#if !defined(__UCLIBC__) + /* if no identity specs matched and identity is a user, match against netgroups */ + if (ll == NULL && POLKIT_IS_UNIX_USER (identity)) + { +@@ -739,6 +740,7 @@ + break; + } + } ++#endif + + if (ll == NULL) + continue; +--- polkit-0.104/src/polkitbackend/polkitbackendlocalauthority.c 2012-01-09 16:50:41.703369211 -0500 ++++ polkit-0.104/src/polkitbackend/polkitbackendlocalauthority.c 2012-01-09 16:34:11.324619300 -0500 +@@ -698,6 +698,7 @@ + GList *ret; + + ret = NULL; ++#if !defined(__UCLIBC__) + name = polkit_unix_netgroup_get_name (POLKIT_UNIX_NETGROUP (group)); + + if (setnetgrent (name) == 0) +@@ -739,6 +740,7 @@ + + out: + endnetgrent (); ++#endif + return ret; + } + diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk index 54782dd..71f7365 100644 --- a/package/polkit/polkit.mk +++ b/package/polkit/polkit.mk @@ -4,7 +4,7 @@ # ############################################################# -POLKIT_VERSION = 0.103 +POLKIT_VERSION = 0.104 POLKIT_SITE = http://www.freedesktop.org/software/polkit/releases/ POLKIT_LICENSE = GPLv2 POLKIT_LICENSE_FILES = COPYING @@ -18,6 +18,8 @@ POLKIT_CONF_OPT = \ --with-authfw=shadow \ --with-os-type=unknown \ --disable-man-pages \ - --disable-examples + --disable-examples \ + --localstatedir=/var \ + --libexecdir=/usr/lib/polkit-1 $(eval $(autotools-package))