blob: 713a8032417be74d1b1f04e0aa3ab38436f66ef8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxrandr
pkgver=1.3.2
pkgrel=1
pkgdesc="X11 RandR extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="xproto randrproto libx11-dev libxext-dev libxrender-dev"
makedepends="$depends_dev libtool autoconf automake util-macros"
source="http://xorg.freedesktop.org/releases/individual/lib/libXrandr-$pkgver.tar.bz2
CVE-2013-1986-1.patch
CVE-2013-1986-2.patch
CVE-2013-1986-3.patch
CVE-2013-1986-4.patch
"
_builddir="$srcdir"/libXrandr-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
libtoolize --force && aclocal && autoheader && autoconf \
&& automake --add-missing
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="92473da2fccf5fac665be4fa4f2037fa libXrandr-1.3.2.tar.bz2
d5ef9db626af5fe41f2dc2bd707f0e6d CVE-2013-1986-1.patch
9ecaa507114e318be01e9b8d480ce91b CVE-2013-1986-2.patch
a5b4094938415ac7e21e7a73b8f3e130 CVE-2013-1986-3.patch
03ee896864d2e5818de89f93e23070be CVE-2013-1986-4.patch"
|