X-Git-Url: http://gitweb/?a=blobdiff_plain;f=expat%2FPkgfile;h=205129857d5e0b72b02d4f5a37ee924f7b04711e;hb=5575dd1e29a842116d880d965576ed1028cd442d;hp=1e6f8220e663c22754aae12e6fa79451fa69076b;hpb=ebf700c6bbb8b4a016c85c9174cbe97c12d886c3;p=attic%2Fports%2Fopt-cross.git diff --git a/expat/Pkgfile b/expat/Pkgfile index 1e6f822..2051298 100644 --- a/expat/Pkgfile +++ b/expat/Pkgfile @@ -1,19 +1,22 @@ # Description: A fast, non-validating, stream-oriented XML parsing library # URL: http://expat.sourceforge.net/ # Maintainer: Juergen Daubert, jue at crux dot nu -# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org +# Arch Maintainer System Team devel at crux-arm dot nu # Depends on: name=expat version=2.0.1 -release=1 -source=(http://dl.sourceforge.net/$name/$name-$version.tar.gz) +release=2 +source=(http://dl.sourceforge.net/$name/$name-$version.tar.gz \ + expat-CVE-2009-3560.patch expat-CVE-2009-3720.patch) build() { - cd $name-$version - ./configure --build=$CHOST \ - --host=$CTARGET \ - --prefix=/usr - make - make prefix=$PKG/usr install + cd $name-$version + patch -p0 -d lib -i $SRC/expat-CVE-2009-3560.patch + patch -p0 -d lib -i $SRC/expat-CVE-2009-3720.patch + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr + make + make prefix=$PKG/usr install }