summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-05-15 23:02:33 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-05-15 23:02:33 +0000
commit88c2b06576cddf5d69765694c89658146a0431db (patch)
treebdc2425b5e7f93efd085a7adcef746b6132451e2 /sys-auth/polkit
parentInstall docs. Introduce USE=example to install example programs. #466828 (diff)
downloadhistorical-88c2b06576cddf5d69765694c89658146a0431db.tar.gz
historical-88c2b06576cddf5d69765694c89658146a0431db.tar.bz2
historical-88c2b06576cddf5d69765694c89658146a0431db.zip
Version bump by "okias" from Freenode
Package-Manager: portage-2.2.0_alpha174/cvs/Linux x86_64 RepoMan-Options: --force Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-auth/polkit')
-rw-r--r--sys-auth/polkit/ChangeLog7
-rw-r--r--sys-auth/polkit/Manifest20
-rw-r--r--sys-auth/polkit/polkit-0.111.ebuild112
3 files changed, 129 insertions, 10 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog
index 46825b1723dd..73db7057c8bf 100644
--- a/sys-auth/polkit/ChangeLog
+++ b/sys-auth/polkit/ChangeLog
@@ -1,6 +1,11 @@
# 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.141 2013/03/19 20:39:23 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.142 2013/05/15 23:02:22 ssuominen Exp $
+
+*polkit-0.111 (15 May 2013)
+
+ 15 May 2013; Samuli Suominen <ssuominen@gentoo.org> +polkit-0.111.ebuild:
+ Version bump by "okias" from Freenode
19 Mar 2013; Samuli Suominen <ssuominen@gentoo.org> -polkit-0.107-r1.ebuild,
-files/polkit-0.107-fallback.patch:
diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest
index b7a94dde03bf..59a6fc38b3ad 100644
--- a/sys-auth/polkit/Manifest
+++ b/sys-auth/polkit/Manifest
@@ -3,17 +3,19 @@ Hash: SHA256
AUX polkit-0.110-W_define.patch 810 SHA256 75a47bbf04e328a8622996d40128752c6951ce434c404cca87ad3838b848874b SHA512 e17cb4867c0d16c04e4d68dfb95eb58f27cf64e1b8c6b36fa24c876c78bee990bb07a08bb7c335e333797075911639b8c6049909e7948bc86fd07e1abce2be88 WHIRLPOOL 74610ba53eb185f3963fe6dfdddcb2eb4aaa4bf23057939dcfde0d4ada296c7f904a2d45e470a0f0cdae9919c6f51512ee45ea7cb623eb3367439abeac2cb538
DIST polkit-0.110.tar.gz 1390215 SHA256 8e5c5044bb968643b7fa379f287fb10582615df760ad2f1cb84be6e19fafe6e8 SHA512 f2630a84c21216edfc69f56092ba1b127b7765dcf4fe29a7f2f81d7163c11c643a931b215847a3fc6434c482cf12a48fef2f0e2c007d587c8bbb2fbca74eda67 WHIRLPOOL 1a4928733cdab6c9dfa186643959f15d395f6d6cba0a3790a9716282d331ceed3e962e58dc39ed2c40474238fc4d4c9e54662b20d0055059c512d42eed85631b
+DIST polkit-0.111.tar.gz 1396389 SHA256 02ae544547211b687818c97bcbf19bf6b8b5be7fda93000525a8765c7bed1ea1 SHA512 88eb1dfad25244020632f964219a382f7b7f7efc00cf563c66f9c6e6ef72af3c7198602be751aa8f0845b5b4f928d003e8041e1c92533beb9d00c38a7688b2d0 WHIRLPOOL dc3941e3de2767b766e4b984475485c743de113fe7b6fe1e6d89acff1a113bdb825366bc214a02aa07fdd148337ff11614a37ca450743910c4953979f99f4604
EBUILD polkit-0.110.ebuild 3131 SHA256 4732f21b969cb8f66dd2f5e26ed5325758c757340ebea9e68d444391e643e93e SHA512 b285af96f181665aa13b6fff8f2f8fa09c911ef8b50f5a15b7856af7d251099c5670da763832a1d81025888083263019cb7bdd72648a8efcb5c4fb2bb0325a16 WHIRLPOOL 4ada5cbc533c29eed476799458cce402b152cd1933f8c3af007047276b601bede72b612cd2f979c3c23aa51e37471bd7dd5c43cd891edc7f1fece0c6698d2e80
-MISC ChangeLog 19506 SHA256 d01864071b378623fb126606afe17c661fc7d208aca8d9b5d1e82a47a9e10b04 SHA512 1bc9fa4e72242e221af6fb239c94d401c096a946d40a5ac9ec3a207d5225ff24c4f484ea14ef8fb7973daf84f61f52ca5b28e957217e9b26b5894515ca91c73b WHIRLPOOL 4f5e534f8dfab5436f2333fda7bede711a1efeca6f3374ed1fac3754e5516c15ca1335fd0ac93deb3c0191446ebd669ed5782ae3e6814c3dba03ebaf7030e7d3
+EBUILD polkit-0.111.ebuild 2958 SHA256 44470b63ad465011de420ada1cee66a489928063002b054b2a2646e06373076e SHA512 d53a7f7fbae213e32a4069536b47a6e222743f15f698b820ad1caba60fcc245c398fde41e112a6abaff0c748d9af4d91e80b1673f1f6d76a40a8fff0eefc0abe WHIRLPOOL 5dc37d08a52dad2fc8ee6165332b1701253dd287cd884d8b165ec00b62afe62147e2eecadcf229e380c6c64e3c83264d1fb93fd4a758d2254fe524de1899e25b
+MISC ChangeLog 19652 SHA256 39094cc940d879ae6ae73e474c792fcde6cac5939483d0a77d9ff947ea545076 SHA512 2d081c9cf082979af0250fc33ccac91180aceff1d0b48156ce7a6232af9707edabd47b6ba0edac56a7c53798477927f70c11bdd728943319323c594fba139408 WHIRLPOOL dd85bc04a6ce4eeac3e06a26dfba5e7134b3e059e1016f96881ba43489d7fa8a565d081bde74eba263ee3315d2247deb959091e3351cac868b52e059f215f63d
MISC metadata.xml 516 SHA256 be8c8239fecd14fd1a9c1dee11ccb98b1188aceacf6ea58233a0f958ab648aba SHA512 293585c3b4c95b76af687f398645982d84d583e3cbf039a181c67c9710a899dad34cba9ff43f7be03a00d7552f42f0ac0a2a997c3ce7c9b80097a43f501001d4 WHIRLPOOL 4caf1316226570bec927b20957e420217a490c91013154b84f56fddf50cd5b525ccd0fd736a305ef5bc772cca734aadd8fec757238021b3e05046b503468e1a5
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iQEbBAEBCAAGBQJRSMzaAAoJEEdUh39IaPFNaboH90BiFdTjxrE5IsTv3HrMwkjI
-weZvTQ2b0JE2+dE8F8T3bsqCctX8EGvmiYlbkTmCHR5iU1DYeaa9Raurg+kuGmpZ
-r3OZtOIPZrQv+69mjSK44uEtTuhNoMHoSgPxY9dFRX33KmqrWcRmYXVFZUB2EWjr
-sAzJ10SbZN0c6mhMMP8X9GSI3RpbbY8oDHF//t/E1OMr/PYuAQewDPUOl7JC/O/C
-6ZN1d+oSxtfZ0hgeIBOP2LTa8ztrJxJLgr/c/vmoIeHH1LsHHvthQhrvpCRhZyga
-7TLnDl83XydZ3rXvP1oGPSY1caKKH9PUewxlPofLy46Yjro6X6Vqo/Sn3Lz6mA==
-=ReZv
+iQEcBAEBCAAGBQJRlBO7AAoJEEdUh39IaPFNPVcH+wYq5m69xnXx7vmrVLAnuvXz
+h74ZbBqzRn5YkSDVS/CknyVr9AyX4hdaFXnClhg+aapHGvoYPYMKHM9yacJF7d2J
+FksVyexX11Ung3r+Eb4595PGFSs4elfPqV1PBauaxHYtiY5l4sn49WMliyiJmdjW
+njJ+eX1eWbSWvHQv1ybkpC4UJsf8DoTs07xj5h2OGKwFzrFHMz2eljvd9yZZ4rGL
+zwtbKoSZww9pkLuGeL7eZ2BGW8jlc6ooj+AqYap+8n1Ip5PyXrHJdz1ZP6EQ14+k
+IhAdGXQ6dUEV1d3sdrLQZEGFH40XZeFkx6lrPeBm8jqOVl6V+X5Ua89tDwbRiOw=
+=Ttfq
-----END PGP SIGNATURE-----
diff --git a/sys-auth/polkit/polkit-0.111.ebuild b/sys-auth/polkit/polkit-0.111.ebuild
new file mode 100644
index 000000000000..de03de1269a9
--- /dev/null
+++ b/sys-auth/polkit/polkit-0.111.ebuild
@@ -0,0 +1,112 @@
+# 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.111.ebuild,v 1.1 2013/05/15 23:02:22 ssuominen Exp $
+
+EAPI=5
+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 ~s390 ~sh ~sparc ~x86"
+IUSE="examples gtk +introspection kde nls pam selinux systemd"
+
+RDEPEND="|| ( >=dev-lang/spidermonkey-17 =dev-lang/spidermonkey-1.8.5*[-debug] )
+ >=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[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() {
+ sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513
+}
+
+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}
+ elif has_version '<dev-lang/spidermonkey-1.8.7'; then
+ pax-mark mr ${f}
+ fi
+}
+
+src_install() {
+ 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
+}