avahi: apply patches for CVE-2017-6519 & CVE-2018-1000845
This commit is contained in:
parent
29cec94d94
commit
87a762269f
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, libdaemon, dbus, perlPackages
|
{ fetchurl, fetchpatch, stdenv, pkgconfig, libdaemon, dbus, perlPackages
|
||||||
, expat, gettext, intltool, glib, libiconv
|
, expat, gettext, intltool, glib, libiconv
|
||||||
, gtk3Support ? false, gtk3 ? null
|
, gtk3Support ? false, gtk3 ? null
|
||||||
, qt4 ? null
|
, qt4 ? null
|
||||||
@ -16,7 +16,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0128n7jlshw4bpx0vg8lwj8qwdisjxi7mvniwfafgnkzzrfrpaap";
|
sha256 = "0128n7jlshw4bpx0vg8lwj8qwdisjxi7mvniwfafgnkzzrfrpaap";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./no-mkdir-localstatedir.patch ];
|
patches = [
|
||||||
|
./no-mkdir-localstatedir.patch
|
||||||
|
(fetchpatch {
|
||||||
|
name ="CVE-2017-6519-CVE-2018-100084.patch";
|
||||||
|
url = https://github.com/lathiat/avahi/commit/e111def44a7df4624a4aa3f85fe98054bffb6b4f.patch;
|
||||||
|
sha256 = "06n7b7kz6xcc35c7xjfc1kj3k2llyjgi09nhy0ci32l1bhacjw0q";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ libdaemon dbus glib expat libiconv ]
|
buildInputs = [ libdaemon dbus glib expat libiconv ]
|
||||||
++ (with perlPackages; [ perl XMLParser ])
|
++ (with perlPackages; [ perl XMLParser ])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user