diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-04-25 10:13:13 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-04-25 10:13:13 +0000 |
commit | f3382c43d549981550ea4896f6457d96be71b8ee (patch) | |
tree | f5271fb8e415192ab9b371db943521e46bc60fcc /sys-auth/polkit | |
parent | Initial version. (diff) | |
download | gentoo-2-f3382c43d549981550ea4896f6457d96be71b8ee.tar.gz gentoo-2-f3382c43d549981550ea4896f6457d96be71b8ee.tar.bz2 gentoo-2-f3382c43d549981550ea4896f6457d96be71b8ee.zip |
Add patches for CVE-2011-1485, remove vulnerable 0.100 version
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/polkit')
-rw-r--r-- | sys-auth/polkit/ChangeLog | 8 | ||||
-rw-r--r-- | sys-auth/polkit/polkit-0.101-r1.ebuild (renamed from sys-auth/polkit/polkit-0.100.ebuild) | 22 |
2 files changed, 20 insertions, 10 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog index 047bea7a23ac..171cce46f03c 100644 --- a/sys-auth/polkit/ChangeLog +++ b/sys-auth/polkit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-auth/polkit # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.42 2011/03/22 21:12:38 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.43 2011/04/25 10:13:13 nirbheek Exp $ + +*polkit-0.101-r1 (25 Apr 2011) + + 25 Apr 2011; Nirbheek Chauhan <nirbheek@gentoo.org> -polkit-0.100.ebuild, + +polkit-0.101-r1.ebuild: + Add patches for CVE-2011-1485, remove vulnerable 0.100 version 22 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> polkit-0.99-r1.ebuild: ppc/ppc64 stable wrt #354509 diff --git a/sys-auth/polkit/polkit-0.100.ebuild b/sys-auth/polkit/polkit-0.101-r1.ebuild index 484a3866b50c..2ecb28266a48 100644 --- a/sys-auth/polkit/polkit-0.100.ebuild +++ b/sys-auth/polkit/polkit-0.101-r1.ebuild @@ -1,37 +1,41 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.100.ebuild,v 1.2 2011/02/23 14:05:34 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.101-r1.ebuild,v 1.1 2011/04/25 10:13:13 nirbheek Exp $ -EAPI="3" +EAPI=3 inherit eutils pam DESCRIPTION="Policy framework for controlling privileges for system-wide services" HOMEPAGE="http://hal.freedesktop.org/docs/polkit/" -SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz" +SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz + mirror://gentoo/${P}-CVE-2011-1485.tar.xz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" IUSE="debug doc examples gtk +introspection kde nls pam" -RDEPEND=">=dev-libs/glib-2.25.12 +RDEPEND=">=dev-libs/glib-2.28 dev-libs/expat introspection? ( >=dev-libs/gobject-introspection-0.6.2 ) pam? ( virtual/pam )" DEPEND="${RDEPEND} - !!>=sys-auth/policykit-0.92 - !<sys-auth/policykit-0.92 + !!sys-auth/policykit dev-libs/libxslt app-text/docbook-xsl-stylesheets dev-util/pkgconfig >=dev-util/intltool-0.36 doc? ( >=dev-util/gtk-doc-1.13 )" PDEPEND=">=sys-auth/consolekit-0.4[policykit] - gtk? ( || ( >=gnome-extra/polkit-gnome-0.96-r1 lxde-base/lxpolkit ) ) + gtk? ( || ( >=gnome-extra/polkit-gnome-0.101 lxde-base/lxpolkit ) ) kde? ( || ( sys-auth/polkit-kde-agent sys-auth/polkit-kde ) )" src_prepare() { - epatch "${FILESDIR}"/${PN}-0.96-getcwd.patch + default + + # http://lists.freedesktop.org/archives/polkit-devel/2011-April/000349.html + # Not needed for next release + epatch "${WORKDIR}/polkit-0.101-CVE-2011-1485/"*.patch } src_configure() { @@ -56,7 +60,7 @@ src_install() { emake DESTDIR="${D}" install || die dodoc docs/TODO HACKING NEWS README - find "${D}" -name '*.la' -exec rm -f '{}' + + find "${D}" -name '*.la' -exec rm -f {} + # We disable example compilation above, and handle it here if use examples; then |