* [Buildroot] [PATCH] polkit: bump to version 0.104
@ 2013-02-21 17:44 Stefan Fröberg
2013-02-21 21:26 ` Yann E. MORIN
2013-02-24 3:37 ` Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Stefan Fröberg @ 2013-02-21 17:44 UTC (permalink / raw)
To: buildroot
Polkit 0.104.
Also some minor configuration fixes and patch to enable building
with uClibc.
Signed-off-by: Stefan Fr?berg <stefan.froberg@petroprogram.com>
---
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))
--
1.7.7.6
^ permalink raw reply related [flat|nested] 4+ messages in thread* [Buildroot] [PATCH] polkit: bump to version 0.104
2013-02-21 17:44 [Buildroot] [PATCH] polkit: bump to version 0.104 Stefan Fröberg
@ 2013-02-21 21:26 ` Yann E. MORIN
2013-02-24 3:37 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2013-02-21 21:26 UTC (permalink / raw)
To: buildroot
Stefan, All,
On Thursday 21 February 2013 Stefan Fr?berg wrote:
> Polkit 0.104.
^^^
Useless line.
> Also some minor configuration fixes and patch to enable building
> with uClibc.
>
> Signed-off-by: Stefan Fr?berg <stefan.froberg@petroprogram.com>
> ---
> 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
Can't you use:
POLKIT_PATCH = URL-to-patch
Otherwise:
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread* [Buildroot] [PATCH] polkit: bump to version 0.104
2013-02-21 17:44 [Buildroot] [PATCH] polkit: bump to version 0.104 Stefan Fröberg
2013-02-21 21:26 ` Yann E. MORIN
@ 2013-02-24 3:37 ` Thomas Petazzoni
2013-02-24 11:14 ` Stefan Fröberg
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2013-02-24 3:37 UTC (permalink / raw)
To: buildroot
Dear Stefan Fr?berg,
On Thu, 21 Feb 2013 19:44:31 +0200, Stefan Fr?berg wrote:
> package/polkit/polkit-0.104-uclibc-netgroup.patch | 41 +++++++++++++++++++++
We no longer want to have the version in the patch file names. So it
should be "polkit-uclibc-netgroup.patch".
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] polkit: bump to version 0.104
2013-02-24 3:37 ` Thomas Petazzoni
@ 2013-02-24 11:14 ` Stefan Fröberg
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Fröberg @ 2013-02-24 11:14 UTC (permalink / raw)
To: buildroot
Dear Thomas
24.2.2013 5:37, Thomas Petazzoni kirjoitti:
> Dear Stefan Fr?berg,
>
> On Thu, 21 Feb 2013 19:44:31 +0200, Stefan Fr?berg wrote:
>
>> package/polkit/polkit-0.104-uclibc-netgroup.patch | 41 +++++++++++++++++++++
> We no longer want to have the version in the patch file names. So it
> should be "polkit-uclibc-netgroup.patch".
>
> Best regards,
>
> Thomas
Ok.
I think I will wait that patch download mechanisms and just point it to
that
http://repository.timesys.com/buildsources/p/polkit/polkit-0.104/polkit-0.104-uclibc-netgroup.patch
in next update.
BTW, I have a question about two of those configure switches I added to
this patch and have been bugging me:
1 )
This is ok right?
--localstatedir=/var
I mean, without this switch I have seen some packages to install some
crazy location like /usr/var
2 )
Witch would be more correct ?
--libexecdir=/usr/lib/polkit-1
or
--libexecdir=/usr/libexec/polkit-1
?
What does the standards say about this ?
Regards
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-24 11:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-21 17:44 [Buildroot] [PATCH] polkit: bump to version 0.104 Stefan Fröberg
2013-02-21 21:26 ` Yann E. MORIN
2013-02-24 3:37 ` Thomas Petazzoni
2013-02-24 11:14 ` Stefan Fröberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox