2013-12-18 00:51:37 +08:00
|
|
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
2010-10-04 08:02:25 +08:00
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgname=libxfont
|
2014-06-27 20:02:33 +08:00
|
|
|
pkgver=1.4.7
|
|
|
|
pkgrel=1
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgdesc="X11 font rasterisation library"
|
2013-12-18 00:51:37 +08:00
|
|
|
arch=(x86_64)
|
2010-03-14 23:48:48 +08:00
|
|
|
url="http://xorg.freedesktop.org/"
|
|
|
|
license=('custom')
|
2011-02-26 21:24:15 +08:00
|
|
|
depends=('freetype2' 'libfontenc' 'xproto' 'fontsproto')
|
|
|
|
makedepends=('xorg-util-macros' 'xtrans')
|
2010-03-14 23:48:48 +08:00
|
|
|
options=('!libtool')
|
2014-05-15 04:44:21 +08:00
|
|
|
source=(${url}/archive/individual/lib/libXfont-${pkgver}.tar.bz2
|
2014-06-27 20:02:33 +08:00
|
|
|
CVE-2014-209-210-211.patch
|
|
|
|
fix-for-fontsproto213.patch)
|
|
|
|
sha1sums=('77f60d0a2190cb36c07c2217693f46d5e8942ca2'
|
|
|
|
'028e2ca692f6f847322bf00a9361d5a324396e95'
|
|
|
|
'5495cd81d0d7ef7773c8f214ad50d21e258afed3')
|
2014-05-15 04:44:21 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "${srcdir}/libXfont-${pkgver}"
|
2014-06-27 20:02:33 +08:00
|
|
|
patch -Np1 -i ../fix-for-fontsproto213.patch
|
2014-05-15 04:44:21 +08:00
|
|
|
# fix CVE-2014-209 CVE-2014-210 CVE-2014-211 - merged upstream
|
|
|
|
patch -Np1 -i ../CVE-2014-209-210-211.patch
|
|
|
|
}
|
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/libXfont-${pkgver}"
|
2011-02-26 21:24:15 +08:00
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-static
|
|
|
|
make
|
2013-12-18 00:51:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/libXfont-${pkgver}"
|
2011-02-26 21:24:15 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2014-06-27 20:02:33 +08:00
|
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|
2014-06-27 20:02:33 +08:00
|
|
|
|