Ignore:
Timestamp:
Nov 18, 2011, 11:08:38 PM (8 years ago)
Author:
hum@…
Message:

chasen, chasen-base: downgrade to 2.3.3 due to vulnerability; see http://jvndb.jvn.jp/en/contents/2011/JVNDB-2011-000099.html; add patches for 2.3.3 with clang compiler; fix livecheck.

Location:
trunk/dports/textproc/chasen-base
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/chasen-base/Portfile

    r86585 r87366  
    55
    66name                chasen-base
    7 version             2.4.4
     7version             2.3.3
     8epoch               1
    89categories          textproc japanese
    910platforms           darwin
     
    1819distname            chasen-${version}
    1920
    20 master_sites        sourceforge_jp:chasen-legacy/32224
     21master_sites        sourceforge_jp:chasen-legacy/24339
     22checksums           rmd160  2f2416f82fb0341023314a4672e442fed86207a9 \
     23                    sha256  a91b422398f30c9c6c2d27fdbcc1aeb8e026ded44d6e729fc060d5d18bfaefdb
    2124
    22 checksums           rmd160  ceb4a7c064ba5bf0d356d6db0e64b644b88dbc54 \
    23                     sha256  09e41f681097f87ba6c953d3724c34c1826c3cfa590898a2166fb310a006f932
    24 
    25 patchfiles          patch-configure.diff
     25# chasen-2.3.3-2003082[12].patch are official patches taken from http://chasen.aist-nara.ac.jp/stable/chasen/
     26# see http://chasen.naist.jp/hiki/ChaSen/?%A5%D0%A5%B0%BE%F0%CA%F3
     27patchfiles          chasen-2.3.3.20030821.patch \
     28                    chasen-2.3.3.20030822.patch \
     29                    patch-configure.diff \
     30                    patch-lib.diff \
     31                    patch-mkchadic.diff
    2632
    2733depends_build       port:darts
     
    7682
    7783livecheck.type      regex
    78 livecheck.url       http://sourceforge.jp/projects/chasen-legacy/releases
    79 livecheck.regex     chasen-(\[0-9.a-z\-\]+)\\.tar
     84livecheck.url       ${homepage}
     85livecheck.regex     >chasen-(\[0-9.a-z\-\]+)<
  • trunk/dports/textproc/chasen-base/files/patch-configure.diff

    r86585 r87366  
    1 --- configure.orig      2008-07-23 13:15:55.000000000 +0900
    2 +++ configure   2011-10-02 20:57:04.000000000 +0900
    3 @@ -22780,8 +22780,8 @@
     1--- configure.orig      2003-08-15 13:00:58.000000000 +0900
     2+++ configure   2011-11-18 02:23:20.000000000 +0900
     3@@ -8497,8 +8497,8 @@
     4 fi;
    45 
    56 
    6  
    7 -{ echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
    8 -echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6; }
    9 +{ echo "$as_me:$LINENO: checking for libiconv in -liconv" >&5
    10 +echo $ECHO_N "checking for libiconv in -liconv... $ECHO_C" >&6; }
     7-echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
     8-echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
     9+echo "$as_me:$LINENO: checking for libiconv in -liconv" >&5
     10+echo $ECHO_N "checking for libiconv in -liconv... $ECHO_C" >&6
    1111 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
    1212   echo $ECHO_N "(cached) $ECHO_C" >&6
    1313 else
    14 @@ -22800,11 +22800,11 @@
    15  #ifdef __cplusplus
    16  extern "C"
     14@@ -8514,7 +8514,7 @@
    1715 #endif
     16 /* We use char because int might match the return type of a gcc2
     17    builtin and then its argument prototype would still apply.  */
    1818-char iconv ();
    1919+char libiconv ();
     20 #ifdef F77_DUMMY_MAIN
     21 #  ifdef __cplusplus
     22      extern "C"
     23@@ -8524,7 +8524,7 @@
    2024 int
    2125 main ()
    2226 {
    23 -return iconv ();
    24 +return libiconv ();
     27-iconv ();
     28+libiconv ();
    2529   ;
    2630   return 0;
Note: See TracChangeset for help on using the changeset viewer.