diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-19 16:51:52 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-19 16:51:52 +0000 |
commit | 0b69d92ac9462016bab5aff964d90754b4ac0a47 (patch) | |
tree | f90657e4e5d0a71a5fb95d06f297d081968e886f /sys-auth | |
parent | Add ~ia64, wrt bug #412489 (diff) | |
download | historical-0b69d92ac9462016bab5aff964d90754b4ac0a47.tar.gz historical-0b69d92ac9462016bab5aff964d90754b4ac0a47.tar.bz2 historical-0b69d92ac9462016bab5aff964d90754b4ac0a47.zip |
Version bump. Fix PaX marking logic wrt #444446 by Maxim Kammerer
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64
RepoMan-Options: --force
Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/polkit/ChangeLog | 7 | ||||
-rw-r--r-- | sys-auth/polkit/Manifest | 18 | ||||
-rw-r--r-- | sys-auth/polkit/polkit-0.109.ebuild | 118 |
3 files changed, 141 insertions, 2 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog index ceb5e5402dee..67617cbd7dc7 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.117 2012/12/18 13:34:45 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.118 2012/12/19 16:51:47 ssuominen Exp $ + +*polkit-0.109 (19 Dec 2012) + + 19 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> +polkit-0.109.ebuild: + Version bump. Fix PaX marking logic wrt #444446 by Maxim Kammerer 18 Dec 2012; Agostino Sarubbo <ago@gentoo.org> polkit-0.107-r1.ebuild: Stable for ia64, wrt bug #436666 diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest index 435bed98bb69..51491c513f0f 100644 --- a/sys-auth/polkit/Manifest +++ b/sys-auth/polkit/Manifest @@ -1,9 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX polkit-0.107-fallback.patch 1849 SHA256 ec59771ea95ac45656bc80bd94ab695990068eded68a340b386f6296f40d2c28 SHA512 bfdb551fd670911d40da6dee227c276e1f4da85cf5ca2f9e230d84b876c6185840ce1a4e8e1165d4da67839b27c97d7af27c18dcd08a29f75937b3556e730d9b WHIRLPOOL b5f08a4512eb0ecc2f420255b666b65c2ca64e14103b8afccfc1735cbdf8bea5d2b7a7a22c8933cf978027bc9f115bb7cc700645001c08c14bef5ad9a842279d DIST polkit-0.104.tar.gz 1416583 SHA256 6b0a13d8381e4a7b7e37c18a54595191b50757e0fcd186cd9918e9ad0f18c7f9 SHA512 c6e74b4601eed0208d400dcf1ddbfc65a61583f32bef22d71afc5a415eb59d6a97f4ba62e8d0c9f38a082dea2b8c5401ac0889a00adcf9e0545e4847cf437cce WHIRLPOOL 94fe0f7545762465794c5efeed80cdf6be44918bc454b3e2189f9dd4cdcfdaba0c25e9ec7e6daf6419d72071bbbe24d468b1d1ece2f0998b9a63476c73fcd45a DIST polkit-0.107.tar.gz 1383089 SHA256 c826973db2b226dc8f807af5143f7b8be5d0270f46c0c1241a83b067db9d8311 SHA512 87cf7dddf76a092d7f63e72e6a5eb57b9c137699be46d849b5ea64add30a400cc7be87d0962933e48784576cee350a736b560b2856e7758d7767b06984909559 WHIRLPOOL 985287ff599ff03787f5c53ddf629dc7aafc5f4fbc238d3e47e07b0a5b4c0766045dbdd30d9fb433608be113b7ca2240d9908e02847e293cdbba2191efe7ae37 DIST polkit-0.108.tar.gz 1389367 SHA256 2877c15f56abe43609f6ece54ee0bfea169ca6d7b271b17296b14d751eab23a6 SHA512 e28c83347dd3da55ad5018b318a333e57f2bfdc232289f7e351969809be7cac476a9b960b654ca585d077b8c1b9fa1b01f8f6050b29e0c5db720d6dd604dff58 WHIRLPOOL 814bc8b670814737899f3f1cd3e644bdb13b3b3d4fc755360a30da96c17218faf8646171cbe1866014c998959aab1a0189719204ca853061aed2ea21f7c952ca +DIST polkit-0.109.tar.gz 1390339 SHA256 805d5c75e2adf18fd6622f0b1ea733759fb29d9d4afe8e16adbff5b84ded2ae2 SHA512 c98410d737c7ef50c2a97e5394327225b8669b7b4ee5ae6c141d234799190d6471c0be1144033d7f866131d980af9ef6be32204bcf3d5a948eda1aad709d289e WHIRLPOOL 7e0baae8d7b411deedc71a0be3a5cebaac3a320747ae4b7d611fc8334d5c9c7583568051dd46c1556942a4fc7403b3e9a57876a64cd0a8a1b7393a11d552e8df EBUILD polkit-0.104-r1.ebuild 3584 SHA256 767fdc3ad4feab305086d16e8d0ddd0bbbd6eb8542e4b5c203b4a189c080092c SHA512 067cf0577781df122afdd47b2e1d70333c34f5a74a14dc6a70360b0ac6197724706e8b51bf9bf45ea6213fe580291d9b8fc6c7e686c3f660ef8b53b302ab2f6d WHIRLPOOL 080cab5a6584d71919a19e740b366bc9838adffda8383af0a50bc80b9f19fe9b0cec844a2cf8438694357e1f7170a842e42ebabdf784cda85c40161ec41bf317 EBUILD polkit-0.107-r1.ebuild 3271 SHA256 c094f136411f2285af0332452ad36bf2e09f2cab0eaf4da5dcec880b26815083 SHA512 cb265968f6d84067b07a49f5217aacdde32d26aa328f2a71416dcaa50e6c7d3fe9f816b6e78a472f7da68b423c6499707ceb59925b6ece71eb3144913c22c12d WHIRLPOOL 9ff054396500a636007ad6f2d4d80373b272f51f37df5dbb1b84428b2d986e249f15eb87be97da6da3025f9f3eb503cd697fde70d208f2dd9dc41dcac99ece87 EBUILD polkit-0.108.ebuild 3093 SHA256 ef3e07ebc5c852b84f7386cc2dfe910858c80631db1931906df055196070cfc7 SHA512 1ad5b712de5634f15c7da9717d00cc6bec11226243b84601e96e0f75d12ffc949ed0043fa6f8527fb85fe39757562ff5c6cb6cfb96293265819697e97478dbb7 WHIRLPOOL da1aecc3c4636f1ba8f7e4d147c947ec5cad65c3a21c5ef2cc40c1ff250251335724ed53a7eab2df002b48f0309528e8b7da2431f5c15133bf9d3e2849821734 -MISC ChangeLog 16435 SHA256 d5052d5902b643b2a6e9272f26a0b0309b21a6e868df35ec20db62a2da966213 SHA512 ee6e704d1e90aa32fec5849d6e0039f7e3ef4fcd26827e0f57c3e60a105bf53e1898576623fa7451e9f4cf4129577e85d6e8e06c74a44a0428268fb57a05eaa0 WHIRLPOOL c15cec2e5b97d969038678c9fa427454eaf994f295462043568c9c1c705b79cffce5ce2443cd3e31a3c5e619a981caaf625af40cf203fa5a534e0b93243e741a +EBUILD polkit-0.109.ebuild 3079 SHA256 081600862a7da78d7fec6fd0a245cf6a36087efc76554b1c7fb01b73b37a9e72 SHA512 7478086fc95c1145ae2e3cb0a475c1ed763f9c1ede75bd354d2c9a07c3b9fa8dfc83d07fd3191bbff9af180b89f54af06f6e66f55e09a7c2dabfc40b8af6621c WHIRLPOOL dd9a706c77882a799daae0494fe8f00ad510e62ac298d1692af6882016090c3bcae0d9be41b40a6f48fbf968c19785131075890c379462c66605fcb3d73dfa44 +MISC ChangeLog 16615 SHA256 cd5bea5878fde93633cca4d1bdcbd98e5d2587570facaed4b8641a5e7f0a3119 SHA512 3fe39d66ab8203bea074bded18de13d9ba9c7d4a5fef47b6dc1c1e93f73c1fa67893a4cbc49dfeb83203588f5c66a4759d89d90d88ec2353883339079ecc22d4 WHIRLPOOL 166c0e4c54c06fced04e679c2ae313fb4a302cff73ccf6bf4ce349bd0db81f885db1a69393f3758d9b1eac51627e5a532a9425e88efb143788250e5ae35f3c8b MISC metadata.xml 516 SHA256 be8c8239fecd14fd1a9c1dee11ccb98b1188aceacf6ea58233a0f958ab648aba SHA512 293585c3b4c95b76af687f398645982d84d583e3cbf039a181c67c9710a899dad34cba9ff43f7be03a00d7552f42f0ac0a2a997c3ce7c9b80097a43f501001d4 WHIRLPOOL 4caf1316226570bec927b20957e420217a490c91013154b84f56fddf50cd5b525ccd0fd736a305ef5bc772cca734aadd8fec757238021b3e05046b503468e1a5 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJQ0fCYAAoJEEdUh39IaPFNyBUH/1z0eonS/X/dmYObtwoFumo1 +tQTbltl2C5qVR9mKmgTCFITSQyT5TYPpb0542FQ/6sobpHp0Ufu8jF7K2FKLZ7Lm +kae/l4iGpmKkWpHhVnl3LvQW6jqTcrmdmjTxhMc6KDMoSbPlJ7DxYckyvZyfa7ui +ba6YXw20ea0HX/TrOpDCqSCU5lXbVzS/s5efdXYVb4sp3NXPWXGqBI7aC0Bbjjmw +9ElEpesfNg/dEZH20K6Dm1kltRD6ubJWW+YqmnlgY3WdxApikojDbt3hSuYDYlef +ljTQw9dyz5MeFs3F/TjmSCPUFb0UURSYBSocCPqKImL5AVnq5Y6/NRXJpVww7GA= +=F62u +-----END PGP SIGNATURE----- diff --git a/sys-auth/polkit/polkit-0.109.ebuild b/sys-auth/polkit/polkit-0.109.ebuild new file mode 100644 index 000000000000..f43ef7d13e78 --- /dev/null +++ b/sys-auth/polkit/polkit-0.109.ebuild @@ -0,0 +1,118 @@ +# 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.109.ebuild,v 1.1 2012/12/19 16:51:47 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 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples gtk +introspection kde nls pam selinux systemd" + +RDEPEND=">=dev-lang/spidermonkey-1.8.5-r2 + >=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] )" + +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 + + if has_version '>=dev-lang/spidermonkey-1.8.7'; then + sed -i \ + -e '/mozjs/s:185:187:g' \ + configure src/polkitbackend/polkitbackendjsauthority.c || die + fi +} + +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 +} |