summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2008-08-15 14:16:05 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2008-08-15 14:16:05 +0000
commit13f2042b59d9c7ef17c257c2318e39b37ffd1bd4 (patch)
treec38d2793adee3814e9a42588c3e87be9b0c23d45 /gnome-extra
parentLincvs removed from tree (diff)
downloadgentoo-2-13f2042b59d9c7ef17c257c2318e39b37ffd1bd4.tar.gz
gentoo-2-13f2042b59d9c7ef17c257c2318e39b37ffd1bd4.tar.bz2
gentoo-2-13f2042b59d9c7ef17c257c2318e39b37ffd1bd4.zip
Fix for CVE-2008-3533. Bug #234079
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo x86_64, RepoMan options: --force)
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/yelp/ChangeLog11
-rw-r--r--gnome-extra/yelp/files/yelp-2.22.1-format-string.patch12
-rw-r--r--gnome-extra/yelp/yelp-2.20.0-r1.ebuild65
-rw-r--r--gnome-extra/yelp/yelp-2.22.1-r11.ebuild74
-rw-r--r--gnome-extra/yelp/yelp-2.22.1-r2.ebuild76
5 files changed, 237 insertions, 1 deletions
diff --git a/gnome-extra/yelp/ChangeLog b/gnome-extra/yelp/ChangeLog
index 747a1249f96e..9dd631e74501 100644
--- a/gnome-extra/yelp/ChangeLog
+++ b/gnome-extra/yelp/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for gnome-extra/yelp
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp/ChangeLog,v 1.192 2008/08/12 14:04:24 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp/ChangeLog,v 1.193 2008/08/15 14:16:04 dang Exp $
+
+*yelp-2.22.1-r11 (15 Aug 2008)
+*yelp-2.22.1-r2 (15 Aug 2008)
+*yelp-2.20.0-r1 (15 Aug 2008)
+
+ 15 Aug 2008; Daniel Gryniewicz <dang@gentoo.org>
+ +files/yelp-2.22.1-format-string.patch, +yelp-2.20.0-r1.ebuild,
+ +yelp-2.22.1-r2.ebuild, +yelp-2.22.1-r11.ebuild:
+ Fix for CVE-2008-3533. Bug #234079
12 Aug 2008; Raúl Porcel <armin76@gentoo.org> yelp-2.22.1-r1.ebuild:
alpha/ia64/sparc stable wrt #229709
diff --git a/gnome-extra/yelp/files/yelp-2.22.1-format-string.patch b/gnome-extra/yelp/files/yelp-2.22.1-format-string.patch
new file mode 100644
index 000000000000..e490677529b6
--- /dev/null
+++ b/gnome-extra/yelp/files/yelp-2.22.1-format-string.patch
@@ -0,0 +1,12 @@
+diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN yelp-2.22.1.orig/src/yelp-window.c yelp-2.22.1/src/yelp-window.c
+--- yelp-2.22.1.orig/src/yelp-window.c 2008-04-07 14:16:39.000000000 -0400
++++ yelp-2.22.1/src/yelp-window.c 2008-08-07 10:57:10.000000000 -0400
+@@ -1154,7 +1154,7 @@ window_error (YelpWindow *window, gchar
+ GTK_BUTTONS_OK,
+ title);
+ gtk_message_dialog_format_secondary_markup
+- (GTK_MESSAGE_DIALOG (dialog), message);
++ (GTK_MESSAGE_DIALOG (dialog), "%s", message);
+ gtk_dialog_run (GTK_DIALOG (dialog));
+
+ gtk_widget_destroy (dialog);
diff --git a/gnome-extra/yelp/yelp-2.20.0-r1.ebuild b/gnome-extra/yelp/yelp-2.20.0-r1.ebuild
new file mode 100644
index 000000000000..22128aa5be7e
--- /dev/null
+++ b/gnome-extra/yelp/yelp-2.20.0-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp/yelp-2.20.0-r1.ebuild,v 1.1 2008/08/15 14:16:04 dang Exp $
+
+inherit gnome2 eutils
+
+DESCRIPTION="Help browser for GNOME"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="beagle xulrunner"
+
+RDEPEND=">=gnome-base/gconf-2
+ >=app-text/gnome-doc-utils-0.11.1
+ >=x11-libs/gtk+-2.10
+ >=gnome-base/gnome-vfs-2
+ >=gnome-base/libglade-2
+ >=gnome-base/libgnome-2.14
+ >=gnome-base/libgnomeui-2.14
+ >=dev-libs/libxml2-2.6.5
+ >=dev-libs/libxslt-1.1.4
+ >=x11-libs/startup-notification-0.8
+ >=dev-libs/glib-2
+ >=dev-libs/dbus-glib-0.71
+ beagle? ( =app-misc/beagle-0.2* )
+ !xulrunner? ( =www-client/mozilla-firefox-2* )
+ xulrunner? ( =net-libs/xulrunner-1.8* )
+ sys-libs/zlib
+ app-arch/bzip2
+ >=app-text/rarian-0.5
+ >=app-text/scrollkeeper-9999"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ >=dev-util/pkgconfig-0.9"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # Fix format string. Bug #234079
+ epatch "${FILESDIR}"/${PN}-2.22.1-format-string.patch
+
+ # strip stupid options in configure, see bug #196621
+ sed -i 's|$AM_CFLAGS -pedantic -ansi|$AM_CFLAGS|' configure
+}
+
+pkg_setup() {
+ G2CONF="${G2CONF} --enable-man --enable-info"
+
+ if use beagle; then
+ G2CONF="${G2CONF} --with-search=beagle"
+ else
+ G2CONF="${G2CONF} --with-search=basic"
+ fi
+
+ if use xulrunner; then
+ G2CONF="${G2CONF} --with-gecko=xulrunner"
+ else
+ G2CONF="${G2CONF} --with-gecko=firefox"
+ fi
+}
diff --git a/gnome-extra/yelp/yelp-2.22.1-r11.ebuild b/gnome-extra/yelp/yelp-2.22.1-r11.ebuild
new file mode 100644
index 000000000000..7510cc528c88
--- /dev/null
+++ b/gnome-extra/yelp/yelp-2.22.1-r11.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp/yelp-2.22.1-r11.ebuild,v 1.1 2008/08/15 14:16:04 dang Exp $
+
+EAPI=1
+
+inherit eutils autotools gnome2
+
+DESCRIPTION="Help browser for GNOME"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="beagle lzma"
+
+RDEPEND=">=gnome-base/gconf-2
+ >=app-text/gnome-doc-utils-0.11.1
+ >=x11-libs/gtk+-2.10
+ >=gnome-base/gnome-vfs-2
+ >=gnome-base/libglade-2
+ >=gnome-base/libgnome-2.14
+ >=gnome-base/libgnomeui-2.14
+ >=dev-libs/libxml2-2.6.5
+ >=dev-libs/libxslt-1.1.4
+ >=x11-libs/startup-notification-0.8
+ >=dev-libs/glib-2
+ >=dev-libs/dbus-glib-0.71
+ beagle? ( || ( >=dev-libs/libbeagle-0.3.0 =app-misc/beagle-0.2* ) )
+ net-libs/xulrunner:1.9
+ sys-libs/zlib
+ app-arch/bzip2
+ lzma? ( app-arch/lzma-utils )
+ >=app-text/rarian-0.7
+ >=app-text/scrollkeeper-9999"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ >=dev-util/pkgconfig-0.9"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # patch to work with >=libbeagle-0.3, bug #215026
+ epatch "${FILESDIR}"/yelp-2.22-with-beagle-0.3.patch
+
+ # Patch format string. Bug #234079
+ epatch "${FILESDIR}"/yelp-2.22.1-format-string.patch
+
+ # Use xulrunner 1.9. Bug #204632
+ epatch "${FILESDIR}"/${P}-xulrunner-1.9.patch
+
+ # patch to fix parallel make, see bug #217250
+ sed -e "s/install-exec-local:/install-exec-hook:/" -i src/Makefile.am
+
+ intltoolize --force --automake || die "intltoolize failed"
+ eautoreconf
+
+ # strip stupid options in configure, see bug #196621
+ sed -i 's|$AM_CFLAGS -pedantic -ansi|$AM_CFLAGS|' configure
+}
+
+pkg_setup() {
+ # FIXME: Add patch to make lzma-utils not automagic and use_enable here
+ G2CONF="${G2CONF} --with-gecko=libxul"
+
+ if use beagle; then
+ G2CONF="${G2CONF} --with-search=beagle"
+ else
+ G2CONF="${G2CONF} --with-search=basic"
+ fi
+}
diff --git a/gnome-extra/yelp/yelp-2.22.1-r2.ebuild b/gnome-extra/yelp/yelp-2.22.1-r2.ebuild
new file mode 100644
index 000000000000..7ddaf23edd17
--- /dev/null
+++ b/gnome-extra/yelp/yelp-2.22.1-r2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp/yelp-2.22.1-r2.ebuild,v 1.1 2008/08/15 14:16:04 dang Exp $
+
+inherit eutils autotools gnome2
+
+DESCRIPTION="Help browser for GNOME"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ~ppc64 sparc x86 ~x86-fbsd"
+IUSE="beagle lzma xulrunner"
+
+RDEPEND=">=gnome-base/gconf-2
+ >=app-text/gnome-doc-utils-0.11.1
+ >=x11-libs/gtk+-2.10
+ >=gnome-base/gnome-vfs-2
+ >=gnome-base/libglade-2
+ >=gnome-base/libgnome-2.14
+ >=gnome-base/libgnomeui-2.14
+ >=dev-libs/libxml2-2.6.5
+ >=dev-libs/libxslt-1.1.4
+ >=x11-libs/startup-notification-0.8
+ >=dev-libs/glib-2
+ >=dev-libs/dbus-glib-0.71
+ beagle? ( || ( >=dev-libs/libbeagle-0.3.0 =app-misc/beagle-0.2* ) )
+ !xulrunner? ( =www-client/mozilla-firefox-2* )
+ xulrunner? ( =net-libs/xulrunner-1.8* )
+ sys-libs/zlib
+ app-arch/bzip2
+ lzma? ( app-arch/lzma-utils )
+ >=app-text/rarian-0.7
+ >=app-text/scrollkeeper-9999"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ >=dev-util/pkgconfig-0.9"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # patch to work with >=libbeagle-0.3, bug #215026
+ epatch "${FILESDIR}"/yelp-2.22-with-beagle-0.3.patch
+
+ # Patch format string. Bug #234079
+ epatch "${FILESDIR}"/yelp-2.22.1-format-string.patch
+
+ # patch to fix parallel make, see bug #217250
+ sed -e "s/install-exec-local:/install-exec-hook:/" -i src/Makefile.am
+
+ intltoolize --force --automake || die "intltoolize failed"
+ eautoreconf
+
+ # strip stupid options in configure, see bug #196621
+ sed -i 's|$AM_CFLAGS -pedantic -ansi|$AM_CFLAGS|' configure
+}
+
+pkg_setup() {
+ # FIXME: Add patch to make lzma-utils not automagic and use_enable here
+ G2CONF="${G2CONF} --enable-man --enable-info"
+
+ if use beagle; then
+ G2CONF="${G2CONF} --with-search=beagle"
+ else
+ G2CONF="${G2CONF} --with-search=basic"
+ fi
+
+ if use xulrunner; then
+ G2CONF="${G2CONF} --with-gecko=xulrunner"
+ else
+ G2CONF="${G2CONF} --with-gecko=firefox"
+ fi
+}