bluez: 5.43 -> 5.47 for CVE-2017-1000250

Fixes #29289.
This commit is contained in:
Franz Pletz 2017-09-18 20:21:36 +02:00
parent e1372646aa
commit dadb16a57f
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -5,11 +5,11 @@
assert stdenv.isLinux; assert stdenv.isLinux;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "bluez-5.43"; name = "bluez-5.47";
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/bluetooth/${name}.tar.xz"; url = "mirror://kernel/linux/bluetooth/${name}.tar.xz";
sha256 = "05cdnpz0w2lwq2x5ba87q1h2wgb4lfnpbnbh6p7499hx59fw1j8n"; sha256 = "1j22hfjz0fp4pgclgz9mfcwjbr4wqgah3gd2qhfg4r6msmybyxfg";
}; };
pythonPath = with pythonPackages; pythonPath = with pythonPackages;
@ -36,6 +36,7 @@ stdenv.mkDerivation rec {
"--localstatedir=/var" "--localstatedir=/var"
"--enable-library" "--enable-library"
"--enable-cups" "--enable-cups"
"--enable-pie"
"--with-dbusconfdir=$(out)/etc" "--with-dbusconfdir=$(out)/etc"
"--with-dbussystembusdir=$(out)/share/dbus-1/system-services" "--with-dbussystembusdir=$(out)/share/dbus-1/system-services"
"--with-dbussessionbusdir=$(out)/share/dbus-1/services" "--with-dbussessionbusdir=$(out)/share/dbus-1/services"
@ -53,7 +54,6 @@ stdenv.mkDerivation rec {
# FIXME: Move these into a separate package to prevent Bluez from # FIXME: Move these into a separate package to prevent Bluez from
# depending on Python etc. # depending on Python etc.
postInstall = '' postInstall = ''
cp ./attrib/gatttool $out/bin/gatttool
mkdir -p $test/test mkdir -p $test/test
cp -a test $test cp -a test $test
pushd $test/test pushd $test/test