summaryrefslogtreecommitdiff
path: root/graphics/xpdf
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2003-01-23 10:10:24 +0000
committerDoug Barton <dougb@FreeBSD.org>2003-01-23 10:10:24 +0000
commitf0e62452e0ad35259216e4380b5367a79da29ff7 (patch)
treef5bbc37bde9a9a5eb2924fef6c46db6017c46ccb /graphics/xpdf
parentupgrade to 0.97 (diff)
Small patch from the developers to handle (an extremely small) vulnerability
in pdftops. PR: ports/47211 Submitted by: KOMATSU Shinichiro <koma2@jiro.c.u-tokyo.ac.jp>
Notes
Notes: svn path=/head/; revision=73853
Diffstat (limited to 'graphics/xpdf')
-rw-r--r--graphics/xpdf/Makefile8
-rw-r--r--graphics/xpdf/distinfo1
2 files changed, 9 insertions, 0 deletions
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile
index 55a5f1e0480c..ea27da1b069c 100644
--- a/graphics/xpdf/Makefile
+++ b/graphics/xpdf/Makefile
@@ -7,11 +7,17 @@
PORTNAME= xpdf
PORTVERSION= 2.01
+PORTREVISION= 1
CATEGORIES= graphics print
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= support/xpdf
+PATCH_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
+ ${MASTER_SITE_TEX_CTAN}
+PATCH_SITE_SUBDIR= support/xpdf
+PATCHFILES= xpdf-2.01-patch1
+
MAINTAINER= DougB@FreeBSD.org
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
@@ -34,6 +40,8 @@ CONFIGURE_ARGS= --with-gzip --enable-opi --with-x \
CONFIGURE_ARGS+= --enable-a4-paper
.endif
+PATCH_DIST_ARGS=-d ${PATCH_WRKSRC}/xpdf --forward --quiet -E ${PATCH_DIST_STRIP}
+
MAN1= pdffonts.1 \
pdfimages.1 \
pdfinfo.1 \
diff --git a/graphics/xpdf/distinfo b/graphics/xpdf/distinfo
index e46bfa2b7621..460e556658bf 100644
--- a/graphics/xpdf/distinfo
+++ b/graphics/xpdf/distinfo
@@ -1 +1,2 @@
MD5 (xpdf-2.01.tar.gz) = 90326075b7bdabe85dc011882365824c
+MD5 (xpdf-2.01-patch1) = f27f2bb23dcf7d68c402c7ba50eae22c