diff options
Diffstat (limited to 'sys-auth/polkit')
-rw-r--r-- | sys-auth/polkit/ChangeLog | 8 | ||||
-rw-r--r-- | sys-auth/polkit/Manifest | 19 | ||||
-rw-r--r-- | sys-auth/polkit/polkit-0.106-r1.ebuild | 4 | ||||
-rw-r--r-- | sys-auth/polkit/polkit-0.106-r2.ebuild | 104 |
4 files changed, 123 insertions, 12 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog index 3d61f8125805..cc19ad7b193a 100644 --- a/sys-auth/polkit/ChangeLog +++ b/sys-auth/polkit/ChangeLog @@ -1,6 +1,12 @@ # 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.81 2012/06/17 08:29:19 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.82 2012/06/17 13:44:23 ssuominen Exp $ + +*polkit-0.106-r2 (17 Jun 2012) + + 17 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> +polkit-0.106-r2.ebuild: + Revision bump to chown /var/lib/polkit-1 because diropts has no effect on + existing directories. 17 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> -polkit-0.106.ebuild: old diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest index 6faeb1332183..463a2ccbb047 100644 --- a/sys-auth/polkit/Manifest +++ b/sys-auth/polkit/Manifest @@ -6,17 +6,18 @@ DIST polkit-0.105.tar.gz 1431080 RMD160 cd1100ee69a308d620e437d34e471580bb6dcf5a DIST polkit-0.106.tar.gz 1381428 RMD160 6fa79aaa4e67e072d16860f1a242b053cc311bc3 SHA1 665624f5d69876ec5833f7952290188ca594aac0 SHA256 4005076a67aaa182872c1e316939fcb0ba74a89298e6330d72cfdac6624c984e EBUILD polkit-0.104-r1.ebuild 3548 RMD160 e056d1186192d865a610ebe1250e8adf9250eed7 SHA1 1a7cec206005fdb8985fc308f16bbe6f76b45c34 SHA256 a038cdfd2381bd5ddbd6cf4feef8a3aaa126b4e80a6205979538c9ebcbf0b9a0 EBUILD polkit-0.105.ebuild 2194 RMD160 7f46dccee0326480a5c1c2fd276df48553abd630 SHA1 f41f0393be142066d39d52994f7f29f52c336f2c SHA256 15339d2d61f350eec88ad0fd90cec401df45106fc2ee52ee7b8b051103a5279e -EBUILD polkit-0.106-r1.ebuild 2823 RMD160 de6ab6e621ae0452e53427f2ae4ebcf6bb97f910 SHA1 7c0efa8b6c6ccffc878d777f23a3e8b8387bc16e SHA256 1fd2dcf151cb3fdac84a8583a4751547553a0ef02b147c4e9a28f6c50ceb6228 -MISC ChangeLog 10825 RMD160 85bdcaea206a66e0ea0accba4a1456a41c2111bf SHA1 e95766845858a6009fe4957278c9385355d33de6 SHA256 506db8d5fb9fefa896b7de1a7218a5d65c10a943ec6c74ad6b2356b68798d199 +EBUILD polkit-0.106-r1.ebuild 2861 RMD160 387c11652a5bc964754369fe989605b0413a221d SHA1 bed00dee08ce66882a8472d81f8a01fe59f724c5 SHA256 491eafbac5941b21da11923d43689f57bdc0bae283c16185c39c6e4620f8fd1b +EBUILD polkit-0.106-r2.ebuild 2861 RMD160 034ff8d26362ce6db66b71bfde70ab69435a0fc8 SHA1 aedd9c01e2519cad6280ef23d1d81bca1a91ee67 SHA256 e140e37520ec753e6f523188e69ea8e730613f2ec66c07e72a1e6f6324d00743 +MISC ChangeLog 11037 RMD160 b77ff4669a93e6eafcab4e0d5b6a88f492f22c4b SHA1 ccdd4ee1e9db1ccbe8f0f12bd4e453f85fbac317 SHA256 98b764c1772a05932bad0f66754cadaa2c73cc6dfe035e2f340fa6ad4bbe5383 MISC metadata.xml 516 RMD160 0c65650680494cadd548ec430b11facf2cc28912 SHA1 092816617aa2ab7a9047298b6752b82bbab33520 SHA256 be8c8239fecd14fd1a9c1dee11ccb98b1188aceacf6ea58233a0f958ab648aba -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBAgAGBQJP3ZRaAAoJEEdUh39IaPFNnU8H/iM7HnwpZFG89EjY8zDtyLs8 -IDoo5b0ob0dRy08G0OJTCR3WCdEGztpGa8o/uhRGWUeDzBJah0F0/ZcbREg2NY48 -92BdlDlnDPQAviZ9Z5JxUOAoxtrqtHkI9TjX5AjOEtvzSNDYUjVhD/CHMDl+YOH0 -wI2+KzCpYXOVLn9hmK03p7gsx5EmlUZVA4mGRMfYv1rVMVch0BJkYJDCKcjC8A2j -QCpAlhxCeuRL1jdoneHd1DTp/HVUUwAqfT9nKP6aQ/r9ABn3StOt8hK3TJBOmRJw -38/ffZ0FurbZoQKIPn+g7nm+aNYrPUL2q1DGpuFsOIFaLN0UOX2Oy07bCKSuNFE= -=ZwIK +iQEcBAEBAgAGBQJP3d4zAAoJEEdUh39IaPFNc3sH/j4W3Hm+aPn4J0l6Htq+iASn +vpzpzsF9xSol60b0S7xwdiKWnaY9bXtZMqzpFXAagqrZn20nlVOhsWwmDQeTdX1L +BCiVV+aW3Ht57DdwvuWUENkSQec71Vb9AzsQM/ThTJiWEADo9bOlPCChl0nxCxWo +gJiffu6DVFxS1shEs29o10+pNzAS1GxWCNHI8ly5laJiy6jzdzrcCVIN3c4cPtGP +ISh/9m2vYs5JtKbLlxwzGE8HLQhn2eHaOlanOujizSDykYDe7MSPP64djKuQwPq0 +LV4vAdbxP+JTNjMFXINgIe+5AQ7XqZnAo770HyJYuOPn+ca8XcOHUkZvrKY3G/8= +=JfGj -----END PGP SIGNATURE----- diff --git a/sys-auth/polkit/polkit-0.106-r1.ebuild b/sys-auth/polkit/polkit-0.106-r1.ebuild index be15402854f2..67eb9461d86a 100644 --- a/sys-auth/polkit/polkit-0.106-r1.ebuild +++ b/sys-auth/polkit/polkit-0.106-r1.ebuild @@ -1,6 +1,6 @@ # 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-r1.ebuild,v 1.1 2012/06/17 08:20:29 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.106-r1.ebuild,v 1.2 2012/06/17 13:44:23 ssuominen Exp $ EAPI=4 inherit eutils pam systemd user @@ -88,8 +88,8 @@ src_install() { } pkg_postinst() { - # fowners bug? chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d + chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1 echo ewarn "If home directory of unix-user \"polkitd\" is set to /dev/null, run:" diff --git a/sys-auth/polkit/polkit-0.106-r2.ebuild b/sys-auth/polkit/polkit-0.106-r2.ebuild new file mode 100644 index 000000000000..92fae90c0cff --- /dev/null +++ b/sys-auth/polkit/polkit-0.106-r2.ebuild @@ -0,0 +1,104 @@ +# 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-r2.ebuild,v 1.1 2012/06/17 13:44:23 ssuominen Exp $ + +EAPI=4 +inherit eutils pam 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 ) + !systemd? ( + >=sys-auth/consolekit-0.4.5_p2012[policykit] + pam? ( sys-auth/pambase[consolekit] ) + )" + +DOCS="docs/TODO HACKING NEWS README" + +pkg_setup() { + enewgroup polkitd + enewuser polkitd -1 -1 /var/lib/polkit-1 polkitd +} + +src_prepare() { + sed -i -e '/unix-group/s:wheel:adm:' src/polkitbackend/*-default.rules || die #401513 +} + +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() { + default + + fowners -R polkitd:root /{etc,usr/share}/polkit-1/rules.d + + prune_libtool_files + + 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 +} + +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 "If home directory of unix-user \"polkitd\" is set to /dev/null, run:" + ewarn "# usermod -d /var/lib/polkit-1 polkitd" + + 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" +} |