Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 428472 Details for
Bug 577666
sys-auth/polkit-pkla-compat-0.1-r2 fails to build with musl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Adds fixed version to ::musl
0001-sys-auth-polkit-pkla-compat-Ignore-innetgr.patch (text/plain), 4.97 KB, created by
Vic Kerr (wikky)
on 2016-03-17 22:43:33 UTC
(
hide
)
Description:
Adds fixed version to ::musl
Filename:
MIME Type:
Creator:
Vic Kerr (wikky)
Created:
2016-03-17 22:43:33 UTC
Size:
4.97 KB
patch
obsolete
>From 847ddda4acfc95561397f2f2708ca41a2e5c96d9 Mon Sep 17 00:00:00 2001 >From: Wiktor W Brodlo <wiktor@brodlo.net> >Date: Thu, 17 Mar 2016 22:38:42 +0000 >Subject: [PATCH] sys-auth/polkit-pkla-compat: Ignore innetgr() > >--- > sys-auth/polkit-pkla-compat/Manifest | 4 +++ > ...olkit-pkla-compat-0.1-ignore-innetgr-musl.patch | 15 +++++++++ > sys-auth/polkit-pkla-compat/metadata.xml | 8 +++++ > .../polkit-pkla-compat-0.1-r99.ebuild | 38 ++++++++++++++++++++++ > 4 files changed, 65 insertions(+) > create mode 100644 sys-auth/polkit-pkla-compat/Manifest > create mode 100644 sys-auth/polkit-pkla-compat/files/polkit-pkla-compat-0.1-ignore-innetgr-musl.patch > create mode 100644 sys-auth/polkit-pkla-compat/metadata.xml > create mode 100644 sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r99.ebuild > >diff --git a/sys-auth/polkit-pkla-compat/Manifest b/sys-auth/polkit-pkla-compat/Manifest >new file mode 100644 >index 0000000..43201cc >--- /dev/null >+++ b/sys-auth/polkit-pkla-compat/Manifest >@@ -0,0 +1,4 @@ >+AUX polkit-pkla-compat-0.1-ignore-innetgr-musl.patch 518 SHA256 1457ba956317c06b3266f734685cc13af8473069d2889e65b89c9a1749b29117 SHA512 3d9d9748e6550210143271edb885574ce55169755d96c730ba20506d43bc37cc5dd526331782471407d3c770277495341dabbd324d96d3e344bb54b6722467cc WHIRLPOOL 29c6f609c00712beb31ed2662291761bb4e951a2febae76040f053f1a12536f3c46f7955068d8e89b2d3bd8821d2d6aaf6627a786d5b0a8e8eee3a09edf7c1d1 >+DIST polkit-pkla-compat-0.1.tar.xz 291148 SHA256 cbf804dfc235b40f2f7ea694c37d577f1cb5d3042d53063de1753016a46c39af SHA512 968cf547db977731a6c6bb292fa86ef46a2ce8f74d008da62f219c20da8cdde94f6309dccba3be33d0111bfa34609799bdeee4d2464395c8837370d022d425c5 WHIRLPOOL f45db2c04c6dc470bdb15365e00a2483310c7bbf305683128162693c93b05aa49f4e9e33d9db06d784de6db28647b884e7fc9752944b5d14a139c4a01cb7ddcf >+EBUILD polkit-pkla-compat-0.1-r99.ebuild 822 SHA256 25c88d006eb6f6afe069d80a5300d196a47303462a79dc511a815363ccaa4c07 SHA512 f4d04f8bbc697ff31c74910990188b5cbf4a0b2a3f0d5d7cd16b0f339b8e2d2fdbbb2e1bb5ff9133bbef51a2cf79bc21220f9c3759e4036445d35da422fe8712 WHIRLPOOL b6c57db3cfaf1c2df6a836452462f5a60a97c7584cdb0f036d6989d61bfa2cd991f820a666a7aa042f65ec3621726062172d815725b260c3716351268b6b54fc >+MISC metadata.xml 239 SHA256 5d929c534d63615358eacbd035a386109d5deebdc7bb562511b4a6338ee2bbb8 SHA512 ab6b74388bf69a67b0d1f4283475f97eb5a731f31b5c9db4ee50b819a846c77d4ef09f63856e31a68b0bfdf18ee3baa6c76720d4345ccadf154385caaf1033bb WHIRLPOOL bcac6415c046557e53bf04579e077fed4d694dee8f7c0faeecf15f3f036137a2c9f0eaa0c492cecef23a45bd5af2c45542acd26641209d3c9be3108bf1ff09a7 >diff --git a/sys-auth/polkit-pkla-compat/files/polkit-pkla-compat-0.1-ignore-innetgr-musl.patch b/sys-auth/polkit-pkla-compat/files/polkit-pkla-compat-0.1-ignore-innetgr-musl.patch >new file mode 100644 >index 0000000..e5fd005 >--- /dev/null >+++ b/sys-auth/polkit-pkla-compat/files/polkit-pkla-compat-0.1-ignore-innetgr-musl.patch >@@ -0,0 +1,15 @@ >+diff -ru a/src/polkitbackendlocalauthorizationstore.c b/src/polkitbackendlocalauthorizationstore.c >+--- a/src/polkitbackendlocalauthorizationstore.c 2013-05-07 18:23:47.000000000 +0000 >++++ b/src/polkitbackendlocalauthorizationstore.c 2015-09-04 19:35:21.784386332 +0000 >+@@ -787,7 +787,11 @@ >+ >+ for (ll = authorization->netgroup_identities; ll != NULL; ll = ll->next) >+ { >++#ifdef __GLIBC__ >+ if (innetgr ((const gchar *) ll->data, NULL, user_name, NULL)) >++#else >++ if (0) >++#endif >+ break; >+ } >+ } >diff --git a/sys-auth/polkit-pkla-compat/metadata.xml b/sys-auth/polkit-pkla-compat/metadata.xml >new file mode 100644 >index 0000000..c03b663 >--- /dev/null >+++ b/sys-auth/polkit-pkla-compat/metadata.xml >@@ -0,0 +1,8 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> >+<pkgmetadata> >+ <herd>freedesktop</herd> >+ <maintainer> >+ <email>freedesktop-bugs@gentoo.org</email> >+ </maintainer> >+</pkgmetadata> >diff --git a/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r99.ebuild b/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r99.ebuild >new file mode 100644 >index 0000000..3aaa942 >--- /dev/null >+++ b/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r99.ebuild >@@ -0,0 +1,38 @@ >+# Copyright 1999-2014 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Id$ >+ >+EAPI=5 >+ >+inherit eutils >+ >+DESCRIPTION="Rules for polkit to add compatibility with pklocalauthority" >+HOMEPAGE="http://fedorahosted.org/polkit-pkla-compat/" >+SRC_URI="http://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.xz" >+ >+LICENSE="LGPL-2" >+SLOT="0" >+KEYWORDS="amd64 x86" >+IUSE="" >+ >+RDEPEND=">=dev-libs/glib-2.30 >+ >=sys-auth/polkit-0.110" >+DEPEND="${RDEPEND} >+ app-text/docbook-xsl-stylesheets >+ dev-libs/libxslt >+ virtual/pkgconfig" >+ >+DOCS="AUTHORS NEWS README" >+ >+src_prepare() { >+ epatch "${FILESDIR}"/${PN}-0.1-ignore-innetgr-musl.patch >+} >+ >+src_install() { >+ default >+ fowners -R root:polkitd /etc/polkit-1/localauthority >+} >+ >+pkg_postinst() { >+ chown -R root:polkitd "${EROOT}"/etc/polkit-1/localauthority >+} >-- >2.4.10 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 577666
: 428472