[arch-commits] CVS update of extra/x11-libs/libxfont (PKGBUILD)

Alexander Baldeck alexander at archlinux.org
Fri Jan 18 10:15:49 UTC 2008


    Date: Friday, January 18, 2008 @ 05:15:49
  Author: alexander
    Path: /home/cvs-extra/extra/x11-libs/libxfont

Modified: PKGBUILD (1.15 -> 1.16)

* fix CVE-2008-0006


----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)


Index: extra/x11-libs/libxfont/PKGBUILD
diff -u extra/x11-libs/libxfont/PKGBUILD:1.15 extra/x11-libs/libxfont/PKGBUILD:1.16
--- extra/x11-libs/libxfont/PKGBUILD:1.15	Sat Sep 22 14:06:12 2007
+++ extra/x11-libs/libxfont/PKGBUILD	Fri Jan 18 05:15:49 2008
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.15 2007/09/22 18:06:12 alexander Exp $
+# $Id: PKGBUILD,v 1.16 2008/01/18 10:15:49 alexander Exp $
 # Maintainer: Alexander Baldeck <alexander at archlinux.org>
 # Contributor: Jan de Groot <jgc at archlinux.org>
 pkgname=libxfont
 pkgver=1.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc="X11 font rasterisation library"
 arch=(i686 x86_64)
 url="http://xorg.freedesktop.org/"
@@ -11,14 +11,17 @@
 depends=('libfontenc' 'freetype2>=2.3.4' 'fontsproto')
 makedepends=('pkgconfig' 'xtrans' 'fontcacheproto' 'xproto')
 options=('!libtool')
-source=(${url}/releases/individual/lib/libXfont-${pkgver}.tar.bz2)
+source=(${url}/releases/individual/lib/libXfont-${pkgver}.tar.bz2 \
+        ftp://ftp.freedesktop.org/pub/xorg/X11R7.3/patches/xorg-libXfont-1.3.1-pcf-parser.diff)
 
 build() {
   cd ${startdir}/src/libXfont-${pkgver}
+  patch -Np1 -i ${startdir}/src/xorg-libXfont-1.3.1-pcf-parser.diff || return 1
   ./configure --prefix=/usr --sysconfdir=/etc \
               --build=${CHOST} --host=${CHOST}
   make || return 1
   make DESTDIR=${startdir}/pkg install || return 1
   install -D -m644 COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
 }
-md5sums=('b2f396b62633819bbdd9748383876e21')
+md5sums=('b2f396b62633819bbdd9748383876e21'
+         'f6ea1bae4c5fb279e679fece589eaab6')




More information about the arch-commits mailing list