summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-02-04 21:43:54 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-02-04 21:43:54 +0000
commitbf4ea1b61bb6229a8d5d581a55affc50a23a43e3 (patch)
tree8a9d17e815c72836a8ff731dde40cbc1ca921102 /app-text/pdftohtml/pdftohtml-0.36-r3.ebuild
parentYah, I tested it this time as the CROSSCOMPILE variable detection was still b... (diff)
downloadgentoo-2-bf4ea1b61bb6229a8d5d581a55affc50a23a43e3.tar.gz
gentoo-2-bf4ea1b61bb6229a8d5d581a55affc50a23a43e3.tar.bz2
gentoo-2-bf4ea1b61bb6229a8d5d581a55affc50a23a43e3.zip
Bug #78629, more xpdf security problems.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-text/pdftohtml/pdftohtml-0.36-r3.ebuild')
-rw-r--r--app-text/pdftohtml/pdftohtml-0.36-r3.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/app-text/pdftohtml/pdftohtml-0.36-r3.ebuild b/app-text/pdftohtml/pdftohtml-0.36-r3.ebuild
new file mode 100644
index 000000000000..57a88e7e4f0e
--- /dev/null
+++ b/app-text/pdftohtml/pdftohtml-0.36-r3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdftohtml/pdftohtml-0.36-r3.ebuild,v 1.1 2005/02/04 21:43:54 robbat2 Exp $
+
+inherit eutils
+
+DESCRIPTION="pdftohtml is a utility which converts PDF files into HTML and XML formats"
+HOMEPAGE="http://${PN}.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc ~amd64 ~ppc64"
+IUSE=""
+DEPEND="virtual/libc sys-devel/gcc"
+RDEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ EPATCH_OPTS="-d ${S}/xpdf -p0" epatch ${FILESDIR}/xpdf-CESA-2004-007-xpdf2-newer.diff
+ EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/xpdf-goo-sizet.patch
+ EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/xpdf2-underflow.patch
+ EPATCH_OPTS="-d ${S}/xpdf -p0" epatch ${FILESDIR}/pdftohtml-xpdf-3.00pl2-CAN-2004-1125.patch
+ EPATCH_OPTS="-d ${S}/xpdf -p0" epatch ${FILESDIR}/xpdf-3.00pl3-keylength.patch
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ dobin pdftohtml
+ dodoc AUTHORS BUGS CHANGES COPYING README pdf2xml.dtd
+}