[21436] trunk/dports/graphics/xpdf/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Jan 24 22:29:28 PST 2007


Revision: 21436
          http://trac.macosforge.org/projects/macports/changeset/21436
Author:   takanori at macports.org
Date:     2007-01-24 22:29:27 -0800 (Wed, 24 Jan 2007)

Log Message:
-----------
Security fix for CVE-2007-0104.
Patch obtained from: KDE

Modified Paths:
--------------
    trunk/dports/graphics/xpdf/Portfile

Modified: trunk/dports/graphics/xpdf/Portfile
===================================================================
--- trunk/dports/graphics/xpdf/Portfile	2007-01-25 05:06:32 UTC (rev 21435)
+++ trunk/dports/graphics/xpdf/Portfile	2007-01-25 06:29:27 UTC (rev 21436)
@@ -2,7 +2,7 @@
 PortSystem 1.0
 name         xpdf
 version      3.01
-revision     4
+revision     5
 description  Xpdf is a viewer for PDF files.
 long_description \
     Xpdf is a viewer for Portable Document Format \
@@ -27,10 +27,13 @@
     ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
     ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
     http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
-    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ 
+    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
+    kde:security_patches/:kdesec
+distfiles    ${distname}${extract.suffix} \
+	     post-3.5.5-kdegraphics-CVE-2007-0104.diff:kdesec
+checksums    ${distname}${extract.suffix} md5 e004c69c7dddef165d768b1362b44268 \
+	     post-3.5.5-kdegraphics-CVE-2007-0104.diff md5 a690ce46117257609c2b43485ea4d0d7
 
-checksums    md5 e004c69c7dddef165d768b1362b44268
-
 depends_lib	 lib:libX11.6:XFree86 lib:libfreetype.6:freetype \
 		     port:libpaper port:openmotif port:t1lib
 depends_run  path:${prefix}/share/ghostscript/fonts:ghostscript
@@ -41,6 +44,7 @@
     cd ${worksrcpath}
     reinplace "s|/usr/local|${prefix}|g" \
         doc/sample-xpdfrc xpdf/GlobalParams.cc
+    system "patch -p2 < ${distpath}/post-3.5.5-kdegraphics-CVE-2007-0104.diff"
 }
 
 configure.args	\

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070124/d40fac0e/attachment.html


More information about the macports-changes mailing list