Commit b83414a3 authored by Natanael Copa's avatar Natanael Copa

main/libxcmcp: build against libbsd (CVE-2017-2625)

Use arc4random_buf from libbsd

ref #6968
parent f2c98ea4
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment