Changeset 63931


Ignore:
Timestamp:
Feb 18, 2010, 2:27:55 PM (10 years ago)
Author:
takanori@…
Message:

pTeX:

  • Updated DVIPDFMx to the snapshot 20090708.
  • Updated CMap to the latest one.
  • Added patch for CVE-2009-1284. (Buffer overflow in BibTeX/JBibTeX.)
Location:
trunk/dports/tex/pTeX
Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/pTeX/Portfile

    r61377 r63931  
    44
    55name            pTeX
    6 version         20090703
    7 revision        1
     6version         20100218
    87epoch           ${version}
    98set ver_ptetex3     20080616
    10 set ver_dvipdfmx    20090506
     9set ver_dvipdfmx    20090708
    1110set ver_dvipsk      5.97-p1.7b-20090509
    1211set ver_jsclasses   090222
     
    4544                txfonts-${ver_txfonts}.zip:misc \
    4645                pxfonts-${ver_pxfonts}.zip:misc \
    47                 cmap-gs863.tar.gz:misc
     46                cmap-gs871.tar.gz:misc
    4847patchfiles      patch-1check-archive.sh.diff \
    4948                patch-2extract-src.sh.diff \
     
    5756                tetex-texmf-3.0po.tar.gz        rmd160 a1e87733fa3cbef04e39a690ed8549aeaaddb241 \
    5857                ${distname}${extract.suffix}    rmd160 50bcf8986d1cb5f23e578ba97d7ade20bb05f3a2 \
    59                 dvipdfmx-${ver_dvipdfmx}.tar.gz rmd160 e8b208add8d2e205d426a681fdafacd7a182dd17 \
     58                dvipdfmx-${ver_dvipdfmx}.tar.gz rmd160 41b57a20264a569222f3b59ac023dff427e2fddf \
    6059                dvipsk-${ver_dvipsk}.tar.gz     rmd160 c15135bcd4c01143a921d5eaeadd43247738289e \
    6160                jsclasses-${ver_jsclasses}.zip  rmd160 070ee272072166dccde9c957eb03f0395aa96cfe \
    6261                txfonts-${ver_txfonts}.zip      rmd160 e0881b33012ae10a7557ee773439df62e600e56d \
    6362                pxfonts-${ver_pxfonts}.zip      rmd160 9a2e8df4b779dab2c93704f0716f3d69dcbac6fe \
    64                 cmap-gs863.tar.gz               rmd160 2aa8ccc8e1d83a56026b476b4129238264c2e22c
     63                cmap-gs871.tar.gz               rmd160 1fb4a51914f6b17050d984414e0490d9a5e6edc9
    6564
    6665depends_lib     bin:perl:perl5 \
     
    9190extract.only    ${distname}${extract.suffix}
    9291post-extract {
    93     system "cd ${worksrcpath} && gzip -dc ${distpath}/cmap-gs863.tar.gz | tar --no-same-owner -xf -"
     92    system "cd ${worksrcpath} && gzip -dc ${distpath}/cmap-gs871.tar.gz | tar --no-same-owner -xf -"
    9493}
    9594
    9695post-patch {
    9796    eval copy [glob ${filespath}/archive/*] ${worksrcpath}/archive/
     97    eval copy [glob ${filespath}/security/*] ${worksrcpath}/security/
    9898    foreach f {dvipdfmx-${ver_dvipdfmx}.tar.gz
    9999               dvipsk-${ver_dvipsk}.tar.gz
  • trunk/dports/tex/pTeX/files/patch-1check-archive.sh.diff

    r50820 r63931  
    66 92579eca220d2279787ddb98b5b1e439  archive/config.ps
    77-3429510a849f0736ffa78ce6a5b5a3a7  archive/dvipdfmx-20070409.tar.gz
    8 +dba57b9893f5632662c7d741874f7159  archive/dvipdfmx-20090506.tar.gz
     8+c727370d57633eb58618022516d17b07  archive/dvipdfmx-20090708.tar.gz
    99 92f5fcdf523381c6e30288d0e2c487ab  archive/dvipdfmx-contrib-latex.tar.gz
    1010-02e0b121e2c391efffb46d6485d7899f  archive/dvipsk-5.96-p1.7b.tar.gz
  • trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff

    r53401 r63931  
    11--- ./2extract-src.sh.orig      2008-06-16 13:50:47.000000000 +0900
    2 +++ ./2extract-src.sh   2009-07-03 07:09:18.000000000 +0900
     2+++ ./2extract-src.sh   2010-02-18 22:41:43.000000000 +0900
    33@@ -14,7 +14,6 @@
    44 fi
     
    3434 ## for dvipdfmx
    3535-tarx archive/dvipdfmx-20070409.tar.gz $SRC/texk
    36 +tarx archive/dvipdfmx-20090506.tar.gz $SRC/texk
     36+tarx archive/dvipdfmx-20090708.tar.gz $SRC/texk
    3737 mv $SRC/texk/dvipdfmx-* $SRC/texk/dvipdfmx || exit
    3838-perlprint "s/ cid-x.map\$/ kanjix.map/g;
     
    5656 $CP $SRC/texk/${P}dvipsk/Makefile.in       $SRC/texk/${P}dvipsk/Makefile.in.jp
    5757 $CP $SRC/texk/${P}dvipsk/Makefile.in.tetex $SRC/texk/${P}dvipsk/Makefile.in
    58 @@ -263,7 +256,11 @@
     58@@ -255,6 +248,9 @@
     59 # Fix xpdf integer overflow CVE-2007-3387 (impoted from tetex-3.0-35.fc6)
     60 cpatch security/tetex-3.0-CVE-2007-3387.patch      1 $SRC
     61 
     62+cpatch security/bibtex-CVE-2009-1284.diff          1 $SRC
     63+cpatch security/jbibtex-CVE-2009-1284.diff         1 $SRC
     64+
     65 #exit # uncomment if 'mktemp' command doesn't exist
     66 # Don't use PID for temporary file names in scripts. (impoted from FC4)
     67 cpatch security/tetex-3.0-badscript.patch          1 $SRC
     68@@ -263,7 +258,11 @@
    5969 
    6070 
  • trunk/dports/tex/pTeX/files/patch-7font-search.sh.diff

    r39246 r63931  
    4141-EOF
    4242+$MKDIR $CMAP/ghostscript
    43 +$CP ./cmap-gs863/* $CMAP/ghostscript
     43+$CP ./cmap-gs871/* $CMAP/ghostscript
    4444 
    4545 if test -d /System/Library/Fonts; then # Mac OS X
  • trunk/dports/tex/pTeX/files/patch-md5sum_texsrc.traditional.diff

    r53401 r63931  
    11--- md5sum/texsrc.traditional.orig      2008-06-16 15:02:58.000000000 +0900
    2 +++ md5sum/texsrc.traditional   2009-07-03 07:12:07.000000000 +0900
     2+++ md5sum/texsrc.traditional   2010-02-18 22:56:02.000000000 +0900
    33@@ -72,29 +72,29 @@
    44 aa8bcb252fdfab1e6164e338b6a791ce  ./texk/dvipdfm/ebb.c
     
    7070 5641fcc891193155d3c256de05207f73  ./texk/tetex/texconfig
    7171 c87a7653e7ff3d98faa26d5f6995c6f0  ./texk/tetex/texlinks
     72@@ -291,7 +291,7 @@
     73 6c4e69c3fd5fe3251d85bff4069ad123  ./texk/web2c/ptex/configure
     74 8839a8141c7402536e8ecfec68609814  ./texk/web2c/ptex/jbibextra.c
     75 e76c43343a3925d04dd89d313662391c  ./texk/web2c/ptex/jbibextra.h
     76-e1b15f4509b6d2aa81b2cb16252c2313  ./texk/web2c/ptex/jbibtex.ch
     77+896b957ed679c6663f12960d706b8dd0  ./texk/web2c/ptex/jbibtex.ch
     78 6add19f1b22455bab699ae2cddee28f1  ./texk/web2c/ptex/jbibtex.defines
     79 a54f6f9f2718b634667e99d8f9e2bdf3  ./texk/web2c/ptex/jmpost/Makefile.in
     80 01765754d619176d107ae27e16b815af  ./texk/web2c/ptex/jmpost/configure
    7281@@ -310,7 +310,7 @@
    7382 cc8193b92f3f22160f9f75552c936eb1  ./texk/web2c/ptex/openclose.c
Note: See TracChangeset for help on using the changeset viewer.