From f0e62452e0ad35259216e4380b5367a79da29ff7 Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Thu, 23 Jan 2003 10:10:24 +0000 Subject: [PATCH] Small patch from the developers to handle (an extremely small) vulnerability in pdftops. PR: ports/47211 Submitted by: KOMATSU Shinichiro --- graphics/xpdf/Makefile | 8 ++++++++ graphics/xpdf/distinfo | 1 + 2 files changed, 9 insertions(+) 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