summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-03-19 20:39:30 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-03-19 20:39:30 +0000
commit33f7ce2196d5ffa81833fca0f68e1e892554bbf5 (patch)
tree3ae48df81cfbf104fcbeb425adcc871de8baf436 /sys-auth/polkit
parentStable for sh, wrt bug #452688 (diff)
downloadhistorical-33f7ce2196d5ffa81833fca0f68e1e892554bbf5.tar.gz
historical-33f7ce2196d5ffa81833fca0f68e1e892554bbf5.tar.bz2
historical-33f7ce2196d5ffa81833fca0f68e1e892554bbf5.zip
old
Package-Manager: portage-2.2.0_alpha166/cvs/Linux x86_64 Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-auth/polkit')
-rw-r--r--sys-auth/polkit/ChangeLog6
-rw-r--r--sys-auth/polkit/Manifest27
-rw-r--r--sys-auth/polkit/files/polkit-0.107-fallback.patch47
-rw-r--r--sys-auth/polkit/polkit-0.107-r1.ebuild122
4 files changed, 14 insertions, 188 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog
index 96637b964f19..46825b1723dd 100644
--- a/sys-auth/polkit/ChangeLog
+++ b/sys-auth/polkit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-auth/polkit
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.140 2013/03/19 20:35:29 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.141 2013/03/19 20:39:23 ssuominen Exp $
+
+ 19 Mar 2013; Samuli Suominen <ssuominen@gentoo.org> -polkit-0.107-r1.ebuild,
+ -files/polkit-0.107-fallback.patch:
+ old
19 Mar 2013; Agostino Sarubbo <ago@gentoo.org> polkit-0.110.ebuild:
Stable for sh, wrt bug #452688
diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest
index fb13200c9b25..b7a94dde03bf 100644
--- a/sys-auth/polkit/Manifest
+++ b/sys-auth/polkit/Manifest
@@ -1,28 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
-AUX polkit-0.107-fallback.patch 1849 SHA256 ec59771ea95ac45656bc80bd94ab695990068eded68a340b386f6296f40d2c28 SHA512 bfdb551fd670911d40da6dee227c276e1f4da85cf5ca2f9e230d84b876c6185840ce1a4e8e1165d4da67839b27c97d7af27c18dcd08a29f75937b3556e730d9b WHIRLPOOL b5f08a4512eb0ecc2f420255b666b65c2ca64e14103b8afccfc1735cbdf8bea5d2b7a7a22c8933cf978027bc9f115bb7cc700645001c08c14bef5ad9a842279d
AUX polkit-0.110-W_define.patch 810 SHA256 75a47bbf04e328a8622996d40128752c6951ce434c404cca87ad3838b848874b SHA512 e17cb4867c0d16c04e4d68dfb95eb58f27cf64e1b8c6b36fa24c876c78bee990bb07a08bb7c335e333797075911639b8c6049909e7948bc86fd07e1abce2be88 WHIRLPOOL 74610ba53eb185f3963fe6dfdddcb2eb4aaa4bf23057939dcfde0d4ada296c7f904a2d45e470a0f0cdae9919c6f51512ee45ea7cb623eb3367439abeac2cb538
-DIST polkit-0.107.tar.gz 1383089 SHA256 c826973db2b226dc8f807af5143f7b8be5d0270f46c0c1241a83b067db9d8311 SHA512 87cf7dddf76a092d7f63e72e6a5eb57b9c137699be46d849b5ea64add30a400cc7be87d0962933e48784576cee350a736b560b2856e7758d7767b06984909559 WHIRLPOOL 985287ff599ff03787f5c53ddf629dc7aafc5f4fbc238d3e47e07b0a5b4c0766045dbdd30d9fb433608be113b7ca2240d9908e02847e293cdbba2191efe7ae37
DIST polkit-0.110.tar.gz 1390215 SHA256 8e5c5044bb968643b7fa379f287fb10582615df760ad2f1cb84be6e19fafe6e8 SHA512 f2630a84c21216edfc69f56092ba1b127b7765dcf4fe29a7f2f81d7163c11c643a931b215847a3fc6434c482cf12a48fef2f0e2c007d587c8bbb2fbca74eda67 WHIRLPOOL 1a4928733cdab6c9dfa186643959f15d395f6d6cba0a3790a9716282d331ceed3e962e58dc39ed2c40474238fc4d4c9e54662b20d0055059c512d42eed85631b
-EBUILD polkit-0.107-r1.ebuild 3277 SHA256 c73ffcd0f77699ba89f8627731c84c72772e56f5fcd9a655e48d072becd82e9c SHA512 b8711503b9ca7333842d588cf3e039e51aecb71496602d5de3e9f1d9f6eaad5c277a81edd69722cb336328e70490309bb9e60d0066c2a72b4c57d43c346692db WHIRLPOOL ca68db3ffacc8f93fd5be6ceb2c4730750173527f61b1671b5145f04f1e47d02b34461ec37b56e9a61daa05fd0d8886500a34a15de6637ec698d07507ded2638
EBUILD polkit-0.110.ebuild 3131 SHA256 4732f21b969cb8f66dd2f5e26ed5325758c757340ebea9e68d444391e643e93e SHA512 b285af96f181665aa13b6fff8f2f8fa09c911ef8b50f5a15b7856af7d251099c5670da763832a1d81025888083263019cb7bdd72648a8efcb5c4fb2bb0325a16 WHIRLPOOL 4ada5cbc533c29eed476799458cce402b152cd1933f8c3af007047276b601bede72b612cd2f979c3c23aa51e37471bd7dd5c43cd891edc7f1fece0c6698d2e80
-MISC ChangeLog 19376 SHA256 9f42522349aeea5dd97c6dfcd5f50d11a50a992298d7864283e8b209c973a282 SHA512 4bde8d1fff6ad1a3fdb16c5e0c1ca93c8dddc9a6a569fa6c5209f29b5255267d94fb098fc060d022352b28977d016fd067828edcaf1bae3c45a4b575e7a17a3d WHIRLPOOL 65c63f406cd5054ca5fd684002abc0bc0d0c0a6e8746b43f9af344edba222323e4d15dd4f7b9bfdf2b3f5d80fed005b7966a30239bd7d006096f0bb3897c342c
+MISC ChangeLog 19506 SHA256 d01864071b378623fb126606afe17c661fc7d208aca8d9b5d1e82a47a9e10b04 SHA512 1bc9fa4e72242e221af6fb239c94d401c096a946d40a5ac9ec3a207d5225ff24c4f484ea14ef8fb7973daf84f61f52ca5b28e957217e9b26b5894515ca91c73b WHIRLPOOL 4f5e534f8dfab5436f2333fda7bede711a1efeca6f3374ed1fac3754e5516c15ca1335fd0ac93deb3c0191446ebd669ed5782ae3e6814c3dba03ebaf7030e7d3
MISC metadata.xml 516 SHA256 be8c8239fecd14fd1a9c1dee11ccb98b1188aceacf6ea58233a0f958ab648aba SHA512 293585c3b4c95b76af687f398645982d84d583e3cbf039a181c67c9710a899dad34cba9ff43f7be03a00d7552f42f0ac0a2a997c3ce7c9b80097a43f501001d4 WHIRLPOOL 4caf1316226570bec927b20957e420217a490c91013154b84f56fddf50cd5b525ccd0fd736a305ef5bc772cca734aadd8fec757238021b3e05046b503468e1a5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCgAGBQJRSMuBAAoJELp701BxlEWfBikP/A/NFeI0f00Tf+iIZ8AvFdLJ
-wu5xS541tabbN9xRbZi/VWPNTICpLKXYH5WOrlnFbfDsLah+PF5Su31u1GxTqcqk
-Bx/av1NRiHQz13FN2oRzfIGRs0xz3iALVUFWRHa4SVaxX1s2HABOycfAgiXocDGf
-azgBW4Nih8B/YN0XnMqaUfIHUJUQE3bI4e+8S7ilpJdYykGB7JnxpLtme+zO2Y7G
-AEkKEG9hTWifBdpnanRKq2xpBHR9S40fUTgEB3DBkiK7EUsVtVqeuSfdYNBFKjOi
-G7/qnC0e4xJ/eILT6ST2DTDaj4Z2a5+vYRLByLXpOEKYmqvJyW4p8meR7PkEQ9Aw
-XbLyzgfcSPXf7yocDaViiRXck1hoH+9sejM/V0nP0bKT/f88N/gLGco9IOHKs88c
-siUlo9P6UuqEhfda6Y7tzvlvg7lNbVgH2HAUJUb3uei2gTiq0WcsTcge72Qkbas+
-+apx3uBPI9DiLJGfOvUG/oMAsbOKRSN5D0MhNFYI/z4mlmqmN2YMy3KLmjUvMRUB
-3o4ytu0Z7a+UpYfvCCAqDIgP+ZjmKa/yXPLURrjUUf0C2fGwdU9Xvgx76QbAfgMy
-aNxE9nmbepXQknJGgNxq+05OJlTT6fMVZAjo8CiplNUxQYIYGKlQ8faA/9ECPUGh
-5bwAxUhYn2CFKArVkWye
-=c9xW
+iQEbBAEBCAAGBQJRSMzaAAoJEEdUh39IaPFNaboH90BiFdTjxrE5IsTv3HrMwkjI
+weZvTQ2b0JE2+dE8F8T3bsqCctX8EGvmiYlbkTmCHR5iU1DYeaa9Raurg+kuGmpZ
+r3OZtOIPZrQv+69mjSK44uEtTuhNoMHoSgPxY9dFRX33KmqrWcRmYXVFZUB2EWjr
+sAzJ10SbZN0c6mhMMP8X9GSI3RpbbY8oDHF//t/E1OMr/PYuAQewDPUOl7JC/O/C
+6ZN1d+oSxtfZ0hgeIBOP2LTa8ztrJxJLgr/c/vmoIeHH1LsHHvthQhrvpCRhZyga
+7TLnDl83XydZ3rXvP1oGPSY1caKKH9PUewxlPofLy46Yjro6X6Vqo/Sn3Lz6mA==
+=ReZv
-----END PGP SIGNATURE-----
diff --git a/sys-auth/polkit/files/polkit-0.107-fallback.patch b/sys-auth/polkit/files/polkit-0.107-fallback.patch
deleted file mode 100644
index d6f99c43db7f..000000000000
--- a/sys-auth/polkit/files/polkit-0.107-fallback.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From fa04223240d46641b0773dbf9f7d72f529046bea Mon Sep 17 00:00:00 2001
-From: David Zeuthen <zeuthen@gmail.com>
-Date: Tue, 18 Sep 2012 18:47:06 +0000
-Subject: Fall back to authenticating as uid 0 if the list of admin identities is empty
-
-For example, this can happen if the wheel group has no members. This
-was reported in Red Hat bug 834494, see
-
- https://bugzilla.redhat.com/show_bug.cgi?id=834494
-
-Signed-off-by: David Zeuthen <zeuthen@gmail.com>
----
-diff --git a/src/polkitbackend/polkitbackendinteractiveauthority.c b/src/polkitbackend/polkitbackendinteractiveauthority.c
-index 1d4a555..3bd2f0b 100644
---- a/src/polkitbackend/polkitbackendinteractiveauthority.c
-+++ b/src/polkitbackend/polkitbackendinteractiveauthority.c
-@@ -1293,15 +1293,11 @@ polkit_backend_interactive_authority_get_admin_identities (PolkitBackendInteract
- PolkitDetails *details)
- {
- PolkitBackendInteractiveAuthorityClass *klass;
-- GList *ret;
-+ GList *ret = NULL;
-
- klass = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_CLASS (authority);
-
-- if (klass->get_admin_identities == NULL)
-- {
-- ret = g_list_prepend (NULL, polkit_unix_user_new (0));
-- }
-- else
-+ if (klass->get_admin_identities != NULL)
- {
- ret = klass->get_admin_identities (authority,
- caller,
-@@ -2257,6 +2253,10 @@ authentication_agent_initiate_challenge (AuthenticationAgent *agent,
- }
- }
-
-+ /* Fall back to uid 0 if no users are available (rhbz #834494) */
-+ if (user_identities == NULL)
-+ user_identities = g_list_prepend (NULL, polkit_unix_user_new (0));
-+
- session = authentication_session_new (agent,
- cookie,
- subject,
---
-cgit v0.9.0.2-2-gbebe
diff --git a/sys-auth/polkit/polkit-0.107-r1.ebuild b/sys-auth/polkit/polkit-0.107-r1.ebuild
deleted file mode 100644
index 60aaa4ff5b11..000000000000
--- a/sys-auth/polkit/polkit-0.107-r1.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.107-r1.ebuild,v 1.15 2013/01/06 18:20:05 armin76 Exp $
-
-EAPI=4
-inherit eutils multilib pam pax-utils systemd user
-
-DESCRIPTION="Policy framework for controlling privileges for system-wide services"
-HOMEPAGE="http://www.freedesktop.org/wiki/Software/polkit"
-SRC_URI="http://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 ~sh sparc x86"
-IUSE="examples gtk +introspection kde nls pam selinux systemd"
-
-RDEPEND=">=dev-lang/spidermonkey-1.8.5-r1
- >=dev-libs/glib-2.32
- >=dev-libs/expat-2
- introspection? ( >=dev-libs/gobject-introspection-1 )
- pam? (
- sys-auth/pambase
- virtual/pam
- )
- selinux? ( sec-policy/selinux-policykit )
- systemd? ( sys-apps/systemd )"
-DEPEND="${RDEPEND}
- app-text/docbook-xml-dtd:4.1.2
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
- dev-util/intltool
- virtual/pkgconfig"
-PDEPEND="
- gtk? ( || (
- >=gnome-extra/polkit-gnome-0.105
- lxde-base/lxpolkit
- ) )
- kde? ( sys-auth/polkit-kde-agent )
- pam? (
- systemd? ( sys-auth/pambase[systemd] )
- !systemd? ( sys-auth/pambase[consolekit] )
- )
- !systemd? ( >=sys-auth/consolekit-0.4.5_p2012[policykit] )"
-
-QA_MULTILIB_PATHS="
- usr/lib/polkit-1/polkit-agent-helper-1
- usr/lib/polkit-1/polkitd"
-
-pkg_setup() {
- local u=polkitd
- local g=polkitd
- local h=/var/lib/polkit-1
-
- enewgroup ${g}
- enewuser ${u} -1 -1 ${h} ${g}
- esethome ${u} ${h}
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-fallback.patch
- sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513
- has_version ">=dev-lang/spidermonkey-1.8.7" && { sed -i -e '/mozjs/s:185:187:g' configure || die; }
-}
-
-src_configure() {
- econf \
- --localstatedir="${EPREFIX}"/var \
- --disable-static \
- --enable-man-pages \
- --disable-gtk-doc \
- $(use_enable systemd libsystemd-login) \
- $(use_enable introspection) \
- --disable-examples \
- $(use_enable nls) \
- "$(systemd_with_unitdir)" \
- --with-authfw=$(usex pam pam shadow) \
- $(use pam && echo --with-pam-module-dir="$(getpam_mod_dir)") \
- --with-os-type=gentoo
-}
-
-src_compile() {
- default
-
- # Required for polkitd on hardened/PaX due to spidermonkey's JIT
- local f='src/polkitbackend/.libs/polkitd test/polkitbackend/.libs/polkitbackendjsauthoritytest'
- if has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then
- pax-mark m ${f}
- else
- pax-mark mr ${f}
- fi
-}
-
-src_install() {
- if has multilib-strict ${FEATURES}; then
- ewarn
- ewarn "Possible broken flag multilib-strict in FEATURES detected."
- ewarn "Your build will likely fail to install wrt bug #424423."
- ewarn "This is a bug in the Package Manager instead of polkit."
- ewarn
- fi
-
- emake DESTDIR="${D}" install
-
- dodoc docs/TODO HACKING NEWS README
-
- fowners -R polkitd:root /{etc,usr/share}/polkit-1/rules.d
-
- diropts -m0700 -o polkitd -g polkitd
- keepdir /var/lib/polkit-1
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins src/examples/{*.c,*.policy*}
- fi
-
- prune_libtool_files
-}
-
-pkg_postinst() {
- chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d
- chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1
-}