summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2006-02-03 00:58:09 +0000
committerCarsten Lohrke <carlo@gentoo.org>2006-02-03 00:58:09 +0000
commitf94ed026d8aeb184ab19b69c87cbe9e177c76657 (patch)
treef51280e57224d165ccbfce5bae0848635b2fce71 /kde-base/kpdf/kpdf-3.4.3-r4.ebuild
parentRemove stale version; port over to modular X. (diff)
downloadgentoo-2-f94ed026d8aeb184ab19b69c87cbe9e177c76657.tar.gz
gentoo-2-f94ed026d8aeb184ab19b69c87cbe9e177c76657.tar.bz2
gentoo-2-f94ed026d8aeb184ab19b69c87cbe9e177c76657.zip
xpdf heap based buffer overflow, #121375
(Portage version: 2.0.54)
Diffstat (limited to 'kde-base/kpdf/kpdf-3.4.3-r4.ebuild')
-rw-r--r--kde-base/kpdf/kpdf-3.4.3-r4.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/kde-base/kpdf/kpdf-3.4.3-r4.ebuild b/kde-base/kpdf/kpdf-3.4.3-r4.ebuild
new file mode 100644
index 000000000000..b90242c96cbd
--- /dev/null
+++ b/kde-base/kpdf/kpdf-3.4.3-r4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kpdf/kpdf-3.4.3-r4.ebuild,v 1.1 2006/02/03 00:54:13 carlo Exp $
+
+KMNAME=kdegraphics
+MAXKDEVER=$PV
+KM_DEPRANGE="$PV $MAXKDEVER"
+inherit kde-meta
+
+DESCRIPTION="kpdf, a kde pdf viewer based on xpdf"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="nodrm"
+KMEXTRA="kfile-plugins/pdf"
+
+DEPEND=">=media-libs/freetype-2.0.5
+ media-libs/t1lib"
+RDEPEND="${DEPEND}
+ || ( >=app-text/poppler-bindings-0.4.3-r1
+ <app-text/xpdf-3.01-r4 )" # kfile-plugins/pdf depends on "pdfinfo"
+
+PATCHES="${FILESDIR}/post-3.4.3-kdegraphics-CAN-2005-3193.diff
+ ${FILESDIR}/post-3.4.3-kdegraphics-CVE-2006-0301.diff"
+
+pkg_setup() {
+ if ! built_with_use app-text/poppler-bindings qt; then
+ eerror "This package requires app-text/poppler-bindings compiled with Qt support."
+ eerror "Please reemerge app-text/poppler-bindings with USE=\"qt\"."
+ die "Please reemerge app-text/poppler-bindings with USE=\"qt\"."
+ fi
+}
+
+src_compile() {
+ myconf="${myconf} $(use_enable !nodrm kpdf-drm)"
+
+ kde-meta_src_compile
+}