Changeset 18613


Ignore:
Timestamp:
Jul 15, 2006, 8:43:26 AM (14 years ago)
Author:
takanori
Message:

Fixed KDM symlink attack vulnerability (CVE-2006-2449)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/kde/kdebase3/Portfile

    r16916 r18613  
    1 # $Id: Portfile,v 1.7 2006/03/13 09:40:04 takanori Exp $
     1# $Id: Portfile,v 1.8 2006/07/15 08:43:26 takanori Exp $
    22
    33#Synced with Fink, revision 1024
     
    88name            kdebase3
    99version         3.5.1
    10 revision        2
     10revision        3
    1111categories      kde
    1212maintainers     ben@opendarwin.org takanori@opendarwin.org
     
    1515platforms       darwin
    1616master_sites    kde:stable/${version}/src \
     17                kde:security_patches/:security \
    1718                http://ranger.befunk.com/fink/:admin
    1819extract.suffix  .tar.bz2
    1920use_bzip2       yes
    2021distname        kdebase-${version}
    21 distfiles       ${distname}.tar.bz2 ${kdeadmin}.tar.bz2:admin
     22distfiles       ${distname}.tar.bz2 post-3.5.0-kdebase-kdm.diff:security ${kdeadmin}.tar.bz2:admin
    2223depends_build   port:autoconf \
    2324                port:automake
     
    2627
    2728checksums       ${distname}.tar.bz2 md5 484c7b3895ce4f95173f4789571eb1cc \
     29                post-3.5.0-kdebase-kdm.diff md5 9daecff07d57dabba35da247e752916a \
    2830                ${kdeadmin}.tar.bz2 md5 b6115a7310f8e8533af91be02e225d0e
    2931
    3032extract.only ${distname}.tar.bz2
    31 post-extract { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
     33post-extract {
     34                system "cd ${worksrcpath} && cat ${distpath}/post-3.5.0-kdebase-kdm.diff | patch -p0"
     35                system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -"
     36}
    3237
    3338patchfiles      kdebase3-unified.patch
Note: See TracChangeset for help on using the changeset viewer.