diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-07-13 08:03:42 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-07-13 08:03:42 +0000 |
commit | 75bb5216e53dc11644e0d02b7c6a238f1ba1f6bd (patch) | |
tree | 1592f6986048e80d3ccf0df5f81b9ffd257c6bae /sys-auth/polkit | |
parent | Initial commit. Ebuild based on the one provided by Sergey Popov in bug #4263... (diff) | |
download | historical-75bb5216e53dc11644e0d02b7c6a238f1ba1f6bd.tar.gz historical-75bb5216e53dc11644e0d02b7c6a238f1ba1f6bd.tar.bz2 historical-75bb5216e53dc11644e0d02b7c6a238f1ba1f6bd.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'sys-auth/polkit')
-rw-r--r-- | sys-auth/polkit/ChangeLog | 7 | ||||
-rw-r--r-- | sys-auth/polkit/Manifest | 18 | ||||
-rw-r--r-- | sys-auth/polkit/polkit-0.107.ebuild | 106 |
3 files changed, 122 insertions, 9 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog index 3720cdf7f9c5..ec0883867eba 100644 --- a/sys-auth/polkit/ChangeLog +++ b/sys-auth/polkit/ChangeLog @@ -1,6 +1,11 @@ # 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.98 2012/07/07 08:24:53 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.99 2012/07/13 08:03:42 ssuominen Exp $ + +*polkit-0.107 (13 Jul 2012) + + 13 Jul 2012; Samuli Suominen <ssuominen@gentoo.org> +polkit-0.107.ebuild: + Version bump. 07 Jul 2012; Samuli Suominen <ssuominen@gentoo.org> -polkit-0.106-r5.ebuild, -polkit-0.106-r6.ebuild: diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest index 29cd0ed0d772..29a2e190b450 100644 --- a/sys-auth/polkit/Manifest +++ b/sys-auth/polkit/Manifest @@ -4,19 +4,21 @@ Hash: SHA1 DIST polkit-0.104.tar.gz 1416583 SHA256 6b0a13d8381e4a7b7e37c18a54595191b50757e0fcd186cd9918e9ad0f18c7f9 SHA512 c6e74b4601eed0208d400dcf1ddbfc65a61583f32bef22d71afc5a415eb59d6a97f4ba62e8d0c9f38a082dea2b8c5401ac0889a00adcf9e0545e4847cf437cce WHIRLPOOL 94fe0f7545762465794c5efeed80cdf6be44918bc454b3e2189f9dd4cdcfdaba0c25e9ec7e6daf6419d72071bbbe24d468b1d1ece2f0998b9a63476c73fcd45a DIST polkit-0.105.tar.gz 1431080 SHA256 8fdc7cc8ba4750fcce1a4db9daa759c12afebc7901237e1c993c38f08985e1df SHA512 7c0f84b9639814b4690e42b570285ff2018a5ea4cfd7216d9abf44c84ece6592c530f2d6211511c1346963daf4f135e9fa79d1b2f592b454115950991b5e4bc3 WHIRLPOOL 08e5832499ccbd9cd5ec5319d49b66251ed9e21dbc10ea244a27392dc069f6b1329c4d810126a98713478ce6fd738857b6d882cad5f90f75708a7a4525de481a DIST polkit-0.106.tar.gz 1381428 SHA256 4005076a67aaa182872c1e316939fcb0ba74a89298e6330d72cfdac6624c984e SHA512 e0de7eecc677fa53b0d37aa8d5ee748ad936b6772291f7f6436d0a2f401e6bb5f5f8778cd670d19f785414bc975c4ac88724ab17f2e640cb569abbf385ff8104 WHIRLPOOL 989e3303beb9a4682e9b703bcaecca952b03ce017dec206cc508c8476d6ec79577d144252b99f4252066e6191f6bd006c59ad81b93f7b1fc9e466ad2b7e39b55 +DIST polkit-0.107.tar.gz 1383089 SHA256 c826973db2b226dc8f807af5143f7b8be5d0270f46c0c1241a83b067db9d8311 SHA512 87cf7dddf76a092d7f63e72e6a5eb57b9c137699be46d849b5ea64add30a400cc7be87d0962933e48784576cee350a736b560b2856e7758d7767b06984909559 WHIRLPOOL 985287ff599ff03787f5c53ddf629dc7aafc5f4fbc238d3e47e07b0a5b4c0766045dbdd30d9fb433608be113b7ca2240d9908e02847e293cdbba2191efe7ae37 EBUILD polkit-0.104-r1.ebuild 3599 SHA256 a4c259b6a560da465278a4a1aba930e8abf1eade4a82adc239e078d8975f6709 SHA512 ef6ca06a26cd0809e7207b8daeb24ea1a6da160ebe23711374cf6b7fe86ae5a3da07b2333a075b4c8e86bcebcc64168beb1b0d4677f24a98e4a90940b647b4ad WHIRLPOOL bc9e1653dc7c58ede295463dd5034ab3ae6e61277af0f83c3ce3431910afbdf4a014309957a3e413948b2c5400a77ff73596cf97a60a878e5ea6bf17eb672e8e EBUILD polkit-0.105.ebuild 2241 SHA256 4ec832b243b7623a289ba38cee2576e6cda162d9fb3ad1afb995ae797968cfb8 SHA512 74e6c80fc00858962242a28e9af92c4208f5b688a11f160a59994ade42946de93fa1e413ef8b58fe15a9cdfb9136ffdef3a1cffe73b05576a9f6676f79e9e12b WHIRLPOOL e27762fe5375fa397756ce5049f0a440d09ea7f1e92d167345c005435e974b432790de1332ad164f4700950d2080e588447fe13086ec255bd32836c2f0a827b6 EBUILD polkit-0.106-r7.ebuild 2967 SHA256 42fe874f206867cc21aa66c5729c4a04923bd666f8f4e672feac64b51c781103 SHA512 94e9057707567273b025d3ab806d50f0f850fa1adaa453f592e6b462af960e7005c466e22a13b51ea703e3df9171981532385d34fe1c12daa894ddb0642c715f WHIRLPOOL 737a333385377832a90caae1ba78c8642897c2dcc0f62e228c486a329f351632b44ffae95d292cb9fa1d6070dfc2321d838c4a5b1fd4ee48630f5cbab88cbb91 -MISC ChangeLog 13984 SHA256 14ce36a2b6126f720899e065f42a47fa0534fd347d86408cf6af165051dce22c SHA512 dc8e9117fe952a6babfd191bc98f6f7bb530dd5bd77cf745dd68d9795a6e04d9fa5eeaeac3f0710dd50b88d85c5b4e8dd941a02efe9f4eec140e676dbe0713ee WHIRLPOOL 73cf2c6120d3ecb36b33bdc6a49db8e8883018f60d1773234e51228802f19d61b01499b0ee71100aabc4be7a1cc8891bdf0c9e13336f79aaa8732296c8d3aa44 +EBUILD polkit-0.107.ebuild 2902 SHA256 aa052c2f83c1c98ed4aa6fe036c788cf9740184aae425c6a054e9daf75fd7826 SHA512 ae74ba2a3885b0277b705ee599acc8ebc2db622cd9e91a3549de64cc7a3bb15d51f65e722654df1116af3e7e9c977f8c3054268681b057f4a618dca229d7635c WHIRLPOOL 08e6a744c7769298431c7284a16b77581d8caeb46dd7ba5481291d53b341e43b1193c9ca2578e6d6240533c5ef4394b240b7da83321a2b5b6b0e1af52c7b6694 +MISC ChangeLog 14106 SHA256 3c50982a57e9faeb31ea732c3a5830db1e621a0fc065b39fef9d31cb0ab94066 SHA512 d9ad3e6e609b50b8b74af2d0ca771e8cf8c9a9a9f6eb68eebdf73a40cd95843e29e13824e523312e3da74e8de09914a2bf113d4ef145b40b542ed51c2d49a4c2 WHIRLPOOL 12a0b64c146173a70545d7c59ae418a7b899ea9ba2a856d207898323da87e2c676289cc68169145627d452e00d257ee61b305596698619b163b7760776dba510 MISC metadata.xml 516 SHA256 be8c8239fecd14fd1a9c1dee11ccb98b1188aceacf6ea58233a0f958ab648aba SHA512 293585c3b4c95b76af687f398645982d84d583e3cbf039a181c67c9710a899dad34cba9ff43f7be03a00d7552f42f0ac0a2a997c3ce7c9b80097a43f501001d4 WHIRLPOOL 4caf1316226570bec927b20957e420217a490c91013154b84f56fddf50cd5b525ccd0fd736a305ef5bc772cca734aadd8fec757238021b3e05046b503468e1a5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBAgAGBQJP9/D/AAoJEEdUh39IaPFNVroH/0wbv46LSrpOhz8XdUXKld+E -1YFGYY84jWH/BkL3QhQLg8YNEsGmV22iwTfqq5VmnpOp8Ty8ynaRAjimT/smohKg -wKu8D5ItK7kTkE4vOalUYwcTdBT9auvhetC8S+t0akUnuA4BnwsMfBmgNGUumUxt -JnO4D1ADWO3GnPNyMrfzoPPpRGSrQ/FR6hqKIQtcl8JX1rVtjI7b99uIomdEWU0C -ZTb354W9VHR1iDCqFZPT1s2VpH+pMuE7Szc+RYk10vYPjZN/k1plCu6rZB6tQ83W -FK6wMpNteZvOQoNNVuXOatfZLlrWbQq1m6Mm8Pz9+Cv3mD5VeNtanB9Ih76U7pk= -=a4tR +iQEcBAEBAgAGBQJP/9TsAAoJEEdUh39IaPFNZ1oH/1msFUibK8r86bVBr8N6okWU +y8Gooi7OdaoiEsMANydElRCBHc+Wm74d3BrsO+3bO8td6XMg97At0GQyF2AFm7GB +tN68005SahyQ4aS70p7T6tZ5yElANxJQh8GEv5gsKWvWIvVIbRufeHt0WsnSboJO +T944eEbgVdozostiVIkPnZyUTEgthg1g92MfKGLig/JHWeQkzjIzc/nLEbtkFmLN +l0FAwJPxdMOSFmNXa5JqVFa9JzoYauyxvYG7qod6+xo9rWBZyOtZvJYQGuw+yCFP +6tLrSDPj38+KkFqqSn1q0ZVWPg25YbvrAkTp3I47pNHaqDqhTdKVN9IPxgIN5uM= +=a7KU -----END PGP SIGNATURE----- diff --git a/sys-auth/polkit/polkit-0.107.ebuild b/sys-auth/polkit/polkit-0.107.ebuild new file mode 100644 index 000000000000..88f6ef409368 --- /dev/null +++ b/sys-auth/polkit/polkit-0.107.ebuild @@ -0,0 +1,106 @@ +# 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.107.ebuild,v 1.1 2012/07/13 08:03:42 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="examples gtk +introspection kde nls pam selinux systemd" + +RESTRICT="multilib-strict" #424423 + +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 + ) + 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] )" + +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 + 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_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 + + # Required for polkitd on hardened/PaX due to spidermonkey's JIT + if has_version '<dev-lang/spidermonkey-1.8.7'; then + pax-mark mr "${ED}"/usr/lib/polkit-1/polkitd + elif has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then + pax-mark m "${ED}"/usr/lib/polkit-1/polkitd + fi +} + +pkg_postinst() { + chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d + chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1 +} |