diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-06-27 10:06:14 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-06-27 10:06:14 +0000 |
commit | 04caf44556b0cff42101695d271f68ec7a837888 (patch) | |
tree | cf54f54397927811061239edab0e9027db7bc638 /sys-auth | |
parent | sci-libs/netcdf: Only call fortran-2_pkg_setup with USE=fortran, #423797 (diff) | |
download | historical-04caf44556b0cff42101695d271f68ec7a837888.tar.gz historical-04caf44556b0cff42101695d271f68ec7a837888.tar.bz2 historical-04caf44556b0cff42101695d271f68ec7a837888.zip |
Stop installing polkit-backend-1.pc because upstream changed libpolkit-backend-1.la to be noinst_LTLIBRARIES in src/polkitbackend/Makefile.am wrt #423431 by Pim Vullers
Package-Manager: portage-2.2.0_alpha111/cvs/Linux x86_64
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/polkit/ChangeLog | 9 | ||||
-rw-r--r-- | sys-auth/polkit/Manifest | 17 | ||||
-rw-r--r-- | sys-auth/polkit/polkit-0.106-r4.ebuild | 115 |
3 files changed, 132 insertions, 9 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog index 66a2701833a5..a87a6eb41cf0 100644 --- a/sys-auth/polkit/ChangeLog +++ b/sys-auth/polkit/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-auth/polkit # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.88 2012/06/27 10:01:25 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.89 2012/06/27 10:06:14 ssuominen Exp $ + +*polkit-0.106-r4 (27 Jun 2012) + + 27 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> +polkit-0.106-r4.ebuild: + Stop installing polkit-backend-1.pc because upstream changed + libpolkit-backend-1.la to be noinst_LTLIBRARIES in + src/polkitbackend/Makefile.am wrt #423431 by Pim Vullers 27 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> polkit-0.106-r3.ebuild: Redefine libprivdir in install for multilib-strict wrt #423381 by Michael diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest index f922e4d6e337..63811105a4ce 100644 --- a/sys-auth/polkit/Manifest +++ b/sys-auth/polkit/Manifest @@ -8,16 +8,17 @@ EBUILD polkit-0.104-r1.ebuild 3548 RMD160 e056d1186192d865a610ebe1250e8adf9250ee EBUILD polkit-0.105.ebuild 2194 RMD160 7f46dccee0326480a5c1c2fd276df48553abd630 SHA1 f41f0393be142066d39d52994f7f29f52c336f2c SHA256 15339d2d61f350eec88ad0fd90cec401df45106fc2ee52ee7b8b051103a5279e EBUILD polkit-0.106-r2.ebuild 2944 RMD160 692481f847aff6601a3468e938bff3334698ef8c SHA1 4fe3ae9cea9a1494d9575ede92197ee1b4301682 SHA256 f17b750e069cff665a55072c6a3ef964ddb7a37864f1d9f49e1bfc3b67aae0bb EBUILD polkit-0.106-r3.ebuild 3170 RMD160 2cd485c3de6e1b879bea0b18f4b68fb11cd87c9f SHA1 0ad0731aba7e43a0f2ac3e126dba8221d729e852 SHA256 776b4985b9695dd8af083b552420d5114bae795bf4dd34e7f5ef47a3bcfaedeb -MISC ChangeLog 11956 RMD160 3cc01a5f71a0da514ab6963c612f4eacd54aab2f SHA1 77706fc4585aaf59639cce1930d7b4981223cc18 SHA256 50bdce0e422d4f60f6a071a3ca64d253e371f6c94e16bc748420746ce7b5ab99 +EBUILD polkit-0.106-r4.ebuild 3232 RMD160 d23f76f02200dde1bc171ff73b23d5738cb53673 SHA1 b4252503536faef0c922c7ee853bc444e1f91f56 SHA256 d4c05dd3f34770675e8f8f9382b3266e95e8bf28cbee966abb0d8529a22a14de +MISC ChangeLog 12243 RMD160 202ba35e198dd76d44f69018706e8190ee3a19d4 SHA1 269467e1673a984e74ed04910495b8be1ec95ca1 SHA256 4e16d0b7febc7f90671461ece174921e08b0e3f567953104dcf2f156e1f8de9d MISC metadata.xml 516 RMD160 0c65650680494cadd548ec430b11facf2cc28912 SHA1 092816617aa2ab7a9047298b6752b82bbab33520 SHA256 be8c8239fecd14fd1a9c1dee11ccb98b1188aceacf6ea58233a0f958ab648aba -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBAgAGBQJP6tjuAAoJEEdUh39IaPFNQwoH/23VLXBAzAyAwLCteazWNZDR -mqqgBwrgFOhgUgiYJUFLJ93H2YscuES/GPBClALYASTCYVhe9l2+xcjJgiahxV2o -pmsTczRbbzv75mYBAcd2XshqEeCJ4A1HhEtqE9pF6oR4nKi+WYq8H9jX6u7sXx5r -vM4L0TzGQQvyNyXqKnLUhXMA/hEV95O8AVRI71vpECbtkJ6Tu2JYvxKldC7ubCHv -nHY7kJuSFrUnk6tAegpb3Ke9CjMt9Z2y/He2lPJDyPl9iIcqdbnV2aWlr74ZRaMP -DSaaB0a5lU4SanMITNfjhSgIFp48zKJctTaMLpy9qY2BYjb4XJZL9NAZW4Z7ZtA= -=aUOi +iQEcBAEBAgAGBQJP6tnfAAoJEEdUh39IaPFNsmEH/0n1TPT79cHM4RLYECgA5oLl +Y2IT2f4DIgbPBQtOrRX6a4XMDhmC/nOppyKpHGNSfNqtT4NxbqB3mcI3hYGyR5Ed +y3v+5U91nq4vUxgrSpJp481mC3FHU1yU6062dzk+1G5dWd5f3BH/R2aQhg2fhHIp +xvqmIP+Bx/pfyPaPyUo0NX9LB0ipHs7FXdrX/gw4l/8TyouWJbZ0dkCdgEqISTr9 +pW8JGsA2qos8HiWiDVnWmr4OYnzVeLRsxP3KqmWh8xic02kN6tEknRf1nTpgb1Bw +zQI57BWRy2HioMB7em7Ao956X43pfafO+6gn3H1AB4VEHXhq7xL3z69HarOL/0M= +=C+zn -----END PGP SIGNATURE----- diff --git a/sys-auth/polkit/polkit-0.106-r4.ebuild b/sys-auth/polkit/polkit-0.106-r4.ebuild new file mode 100644 index 000000000000..52283f63af00 --- /dev/null +++ b/sys-auth/polkit/polkit-0.106-r4.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.106-r4.ebuild,v 1.1 2012/06/27 10:06:14 ssuominen 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 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug examples gtk +introspection kde nls pam systemd" + +RDEPEND=">=dev-lang/spidermonkey-1.8.5 + >=dev-libs/glib-2.32 + >=dev-libs/expat-2 + introspection? ( >=dev-libs/gobject-introspection-1 ) + pam? ( + sys-auth/pambase + virtual/pam + ) + 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] )" + +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 '/unix-group/s:wheel:adm:' 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() { + local myconf="--with-authfw=shadow" + use pam && \ + myconf="--with-authfw=pam --with-pam-module-dir=$(getpam_mod_dir) --with-pam-include=system-local-login" + + econf \ + --localstatedir="${EPREFIX}"/var \ + --disable-static \ + $(use_enable debug verbose-mode) \ + --enable-man-pages \ + --disable-gtk-doc \ + $(use_enable systemd libsystemd-login) \ + $(use_enable introspection) \ + --disable-examples \ + $(use_enable nls) \ + --with-os-type=gentoo \ + "$(systemd_with_unitdir)" \ + ${myconf} +} + +src_install() { + emake \ + DESTDIR="${D}" \ + libprivdir="${EPREFIX}"/usr/$(get_libdir)/polkit-1 \ + 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 + rm -f "${ED}"/usr/lib*/pkgconfig/polkit-backend-1.pc #423431 + + # Required for polkitd on hardened/PaX due to spidermonkey's JIT + pax-mark mr "${ED}"/usr/$(get_libdir)/polkit-1/polkitd +} + +pkg_postinst() { + chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d + chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1 + + echo + ewarn "The default administrator unix-group was changed from \"wheel\" to" + ewarn "\"adm\", see *-default.rules in /etc/polkit-1/rules.d" + ewarn "Users of unix-group \"adm\" can run, for example, \"pkexec /bin/sh\"" + ewarn "to gain root shell without root password." + ewarn "For more information, see http://bugs.gentoo.org/401513" +} |