summaryrefslogtreecommitdiffstats
path: root/expat/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'expat/Pkgfile')
-rw-r--r--expat/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/expat/Pkgfile b/expat/Pkgfile
new file mode 100644
index 0000000..d044501
--- /dev/null
+++ b/expat/Pkgfile
@@ -0,0 +1,26 @@
+description="A fast, non-validating, stream-oriented XML parsing library."
+packager="Juergen Daubert <jue AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://expat.sourceforge.net/"
+depends=()
+
+name=expat
+version=2.0.1
+release=2
+source=(
+ http://download.sourceforge.net/$name/$name-$version.tar.gz
+ expat-CVE-2009-3560.patch
+ expat-CVE-2009-3720.patch
+)
+build ()
+{
+ 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 \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
+ --prefix=/usr;
+ make;
+ make prefix=$PKG/usr install
+}