summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-03-15 12:17:38 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-03-15 12:17:38 +0000
commit1b40ed855718dae5c774732d611278f99b65f6c6 (patch)
tree4d5520f976c760a33c2f65cca92a8458ed77f217 /sys-auth
parentSkip broken ~ dev-libs/glib-2.38 releases wrt #501330. Remove /var/run direct... (diff)
downloadhistorical-1b40ed855718dae5c774732d611278f99b65f6c6.tar.gz
historical-1b40ed855718dae5c774732d611278f99b65f6c6.tar.bz2
historical-1b40ed855718dae5c774732d611278f99b65f6c6.zip
USE="jit" to determine which pax-mark, if any, should be applied wrt #485910
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/polkit/ChangeLog7
-rw-r--r--sys-auth/polkit/Manifest13
-rw-r--r--sys-auth/polkit/polkit-0.112-r2.ebuild113
3 files changed, 128 insertions, 5 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog
index 07dc861b4dfe..4a8f98faf0c3 100644
--- a/sys-auth/polkit/ChangeLog
+++ b/sys-auth/polkit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-auth/polkit
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.167 2014/03/11 20:08:55 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.168 2014/03/15 12:17:34 ssuominen Exp $
+
+*polkit-0.112-r2 (15 Mar 2014)
+
+ 15 Mar 2014; Samuli Suominen <ssuominen@gentoo.org> +polkit-0.112-r2.ebuild:
+ USE="jit" to determine which pax-mark, if any, should be applied wrt #485910
11 Mar 2014; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Cleanup due #239126
diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest
index 0674e4823eb4..c08e53fe3005 100644
--- a/sys-auth/polkit/Manifest
+++ b/sys-auth/polkit/Manifest
@@ -6,13 +6,18 @@ DIST polkit-0.110.tar.gz 1390215 SHA256 8e5c5044bb968643b7fa379f287fb10582615df7
DIST polkit-0.112.tar.gz 1429240 SHA256 d695f43cba4748a822fbe864dd32c4887c5da1c71694a47693ace5e88fcf6af6 SHA512 e4ad1bd287b38e5650cb94b1897a959b2ceaa6c19b4478ba872eacb13b58758fd42f6ab1718976162d823d850cd5c99b3ccadf1b57d75dea7790101422029d5f WHIRLPOOL af5dd0a17b7356302b0319e80565d6ac916128dfc85b6e2711147f3de86651f11fe8d08f3d6067d7abd24e263be92403f9d8f46935ba93db571e386a603a038a
EBUILD polkit-0.110.ebuild 3042 SHA256 77f25cf950072a856731546f040c41fdb6b4e5bf4a9da2aacfdeee8b85d68860 SHA512 8c1555692406becc97eae07b2feb55c63915fcbc91688b6d80527c64b44e58624c806ada9c06efddb96acefc5ce5ac8ecef220594716a942ad651a018aefc8fa WHIRLPOOL ad47215ffcee4ecdddf1d1a5a6a24941462e927f673202ef055c72afd3f5165e2011b853dbbec19e40546143ce23177ec139ed9fb796353fb9935a731b89da3a
EBUILD polkit-0.112-r1.ebuild 3040 SHA256 fa0211ef17a16016dddbb8e6e4530034f49d7665d3e7c5094bbf16927ee1431b SHA512 fc7da1136af4bd0cfd20ba6416a0e35b91623f00314dfb5ee3cd8c671af509eb7b9e10db31db08d649fd917af21105338ac91dea80f8996115678326fb7e1b1f WHIRLPOOL 4acc9be45f8b1703b458aa490cad31d49903706937579ddecf62b3c0b8dfc10a177f685b16bf90fe6ad6f00c96c9fac6621eb8d06eb9f96434240938e349389e
+EBUILD polkit-0.112-r2.ebuild 3190 SHA256 e2c854d1b7ca2aa4b0e836671db7c15f1b8432c0b648c2634fa750c33231609e SHA512 af0465fdeacc33fc6cca1c15f9b01c473dc2a14c302bd81f5590634ed434d71c86a5718482d0aa94a8cc89bf403184049d79b6f97857f16e34338815a48d2d93 WHIRLPOOL fd22e252357c223d3f785f50cdb8a90ad453401c4a13e8351ba88586c5e2633e37ee9eb3823e4280f3eb7022630c1f9896b459389e2d4edc45e4f4995d391f2d
EBUILD polkit-0.112.ebuild 2718 SHA256 ed56fdbb139eae6304b74d0057eed45cc1c9db8168d41e3b4a03363b03aecbb2 SHA512 3b3afb0f2662e75974f8a94f4cb52fc3ef78182570fd7d8cbd0e428d4865caf5cf6e74badaf8be5179348a4412932ab9420d615b03c28264631ca8becbc4845e WHIRLPOOL 1cf1ecf228d086e93e6237a779c2133024b127c5f9c5e0eaa25b226021836013d6e36b25b4fc3effad6c9e465abcd232fe9fe623e7b03811f6440e346e0f1903
-MISC ChangeLog 22897 SHA256 f53c7b67ea38f1ae86d6fbef9b729ff6c2d451730bb6edf21d2d1768c6f8ff5f SHA512 ce828e5cb5bd61a59f76ac5e9d93fa25fb0f9bcb2664ec6260c99eee943fe2e5b3b4282e860078fdc72509495b0485e9d9b1e89a4fb3eecfc66c8a27dd2dcf9e WHIRLPOOL 94eceb5c64a0e4bd418a384ff28f0dfa86b90ad49b43c95f751175177fc693e2373c35167fce50fad78060243fc8acf9477b577fbc69c9d43a88a2cb67448e87
+MISC ChangeLog 23092 SHA256 bc1fcf8261007ece6993b08b804c20d6d2be402575a788aad34cc23422e1816a SHA512 bfe390be98e14c057be25aeb49cf02bfba10eabd96212f268d9e47d7a9009abc7bbba943b9fdaa7cb012cc5c8e411b5339a1ff1ae362d4e235f2e688afe8c0e7 WHIRLPOOL fb7516f48cac7e25df5e39938e5f75d960f84c71165d8863e9eec2c8edcbb7aacc4864bff32b4b02a038b9d8a467863b67ecb4018c904cb4deb96dfb5e14bbef
MISC metadata.xml 412 SHA256 f12605336e182eef78a21078888b0404266ffc6a3663b068f438d45bf3fc7fba SHA512 c14e818acb3c7b1a56842ffc8dced5754c281ec2708d547ff1d13241f401597f7fc5489e30f11c858a118fe0136827628282167dc84b74beef84bb65893461d4 WHIRLPOOL 27c37c7c4924681eceb0063716865b16a3f187ecf979347863f847c12f7e96f44412b200bc10abdfe5b784360f3db57674bc23f57faf490722c12d016194ab64
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlMfbVgACgkQCaWpQKGI+9SNPgCfR8yLmYr/UvB4vEiHXfw58IrZ
-T5wAnRRuqM2P5R9Gv9jfH2pF4Zw++DHv
-=YQ9b
+iQEcBAEBCAAGBQJTJEPxAAoJEEdUh39IaPFN7w4H/jGRWpCfanTqdtGnrtvMtWAq
+ZdvMm0Yib1W/y5SzBULVzOtry49YJ+BNCDi7Al7NpvbFNf64zsyRYiLLxsucQ3V8
+t7c6KmMs9MSFTYtaI3TW3qkj/3MVrvA5Wymqc2epMAGIPIvSX+NN2m4I+WgwYbOC
+lo/6dOVR+n4puRdQdDWJYFkG46PJDIattdFq/QFXbFDPfGqKrNrX2C/A8EABShZK
+cmhMwIXo914FRfQ4DDYNda97ufnpm42CjWL1KTZfnfQ/+FSG1AJwZjuZ22oh6V0+
+MvxYnXwbUQVsk/kck1xhr+FhPpaHpVCt9nguvXlJ+Mi3vhy0psf9jcCVdUoGLKA=
+=fP/y
-----END PGP SIGNATURE-----
diff --git a/sys-auth/polkit/polkit-0.112-r2.ebuild b/sys-auth/polkit/polkit-0.112-r2.ebuild
new file mode 100644
index 000000000000..ea0a1ed9bea2
--- /dev/null
+++ b/sys-auth/polkit/polkit-0.112-r2.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.112-r2.ebuild,v 1.1 2014/03/15 12:17:34 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 jit kde nls pam selinux systemd"
+
+RDEPEND="ia64? ( =dev-lang/spidermonkey-1.8.5*[-debug] )
+ mips? ( =dev-lang/spidermonkey-1.8.5*[-debug] )
+ !ia64? ( !mips? ( dev-lang/spidermonkey:17[-debug,jit=] ) )
+ >=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 )
+ !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) \
+ $(if use ia64 || use mips; then echo --with-mozjs=mozjs185; else echo --with-mozjs=mozjs-17.0; fi) \
+ "$(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'
+ local m=''
+ # Only used when USE="jit" is enabled for 'dev-lang/spidermonkey:17' wrt #485910
+ has_version 'dev-lang/spidermonkey:17[jit]' && m='m'
+ # ia64 and mips uses spidermonkey-1.8.5 which requires different pax-mark flags
+ use ia64 && m='mr'
+ use mips && m='mr'
+ pax-mark ${m} ${f}
+}
+
+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
+}