diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-05-31 09:30:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-05-31 09:30:47 +0000 |
commit | b83414a37ae782cd07ba66c11633c023de41f836 (patch) | |
tree | 1eedc0cfcc6d3090813705723dc373a0fadc3322 /main/libxdmcp | |
parent | f2c98ea4d2edb92fabe3356ead4bb5d90f4d0687 (diff) | |
download | aports-b83414a37ae782cd07ba66c11633c023de41f836.tar.bz2 aports-b83414a37ae782cd07ba66c11633c023de41f836.tar.xz |
main/libxcmcp: build against libbsd (CVE-2017-2625)
Use arc4random_buf from libbsd
ref #6968
Diffstat (limited to 'main/libxdmcp')
-rw-r--r-- | main/libxdmcp/APKBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/main/libxdmcp/APKBUILD b/main/libxdmcp/APKBUILD index d7a3ef1581..a7d8e743c0 100644 --- a/main/libxdmcp/APKBUILD +++ b/main/libxdmcp/APKBUILD @@ -1,24 +1,23 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxdmcp pkgver=1.1.2 -pkgrel=2 +pkgrel=3 pkgdesc="X11 Display Manager Control Protocol library" url="http://xorg.freedesktop.org/" arch="all" license="MIT" depends= -makedepends="xproto" +makedepends="xproto libbsd-dev" subpackages="$pkgname-dev $pkgname-doc" source="http://xorg.freedesktop.org/releases/individual/lib/libXdmcp-$pkgver.tar.bz2" -_builddir="$srcdir/libXdmcp-$pkgver" - -prepare() { - cd "$_builddir" -} +builddir="$srcdir/libXdmcp-$pkgver" +# secfixes: +# 1.1.2-r3: +# - CVE-2017-2625 build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -32,6 +31,4 @@ package() { cd "$srcdir"/libXdmcp-$pkgver make -j1 DESTDIR="$pkgdir" install || return 1 } -md5sums="18aa5c1279b01f9d18e3299969665b2e libXdmcp-1.1.2.tar.bz2" -sha256sums="81fe09867918fff258296e1e1e159f0dc639cb30d201c53519f25ab73af4e4e2 libXdmcp-1.1.2.tar.bz2" sha512sums="f96005934b8bc752059106f8caf7df0574f5ef3c7a83bd797497b56ca556a7ff4dc1d28195e421259e82ea027b5c738094add3ec107a22544c9070725d8d46bb libXdmcp-1.1.2.tar.bz2" |