dnsmasq: 2.75 -> 2.76 (security)

Fixes CVE-2015-8899.

+7 -6
+7 -6
pkgs/tools/networking/dnsmasq/default.nix
··· 11 11 ]); 12 12 in 13 13 stdenv.mkDerivation rec { 14 - name = "dnsmasq-2.75"; 14 + name = "dnsmasq-2.76"; 15 15 16 16 src = fetchurl { 17 17 url = "http://www.thekelleys.org.uk/dnsmasq/${name}.tar.xz"; 18 - sha256 = "1wa1d4if9q6k3hklv8xi06a59k3aqb7pik8rhi2l53i99hflw334"; 18 + sha256 = "15lzih6671gh9knzpl8mxchiml7z5lfqzr7jm2r0rjhrxs6nk4jb"; 19 19 }; 20 20 21 21 preBuild = '' ··· 30 30 ]; 31 31 32 32 postBuild = optionalString stdenv.isLinux '' 33 - make -C contrib/wrt 33 + make -C contrib/lease-tools 34 34 ''; 35 35 36 36 # XXX: Does the systemd service definition really belong here when our NixOS ··· 39 39 install -Dm644 trust-anchors.conf $out/share/dnsmasq/trust-anchors.conf 40 40 '' + optionalString stdenv.isLinux '' 41 41 install -Dm644 dbus/dnsmasq.conf $out/etc/dbus-1/system.d/dnsmasq.conf 42 - install -Dm755 contrib/wrt/dhcp_lease_time $out/bin/dhcp_lease_time 43 - install -Dm755 contrib/wrt/dhcp_release $out/bin/dhcp_release 42 + install -Dm755 contrib/lease-tools/dhcp_lease_time $out/bin/dhcp_lease_time 43 + install -Dm755 contrib/lease-tools/dhcp_release $out/bin/dhcp_release 44 + install -Dm755 contrib/lease-tools/dhcp_release6 $out/bin/dhcp_release6 44 45 45 46 mkdir -p $out/share/dbus-1/system-services 46 47 cat <<END > $out/share/dbus-1/system-services/uk.org.thekelleys.dnsmasq.service ··· 61 62 homepage = http://www.thekelleys.org.uk/dnsmasq/doc.html; 62 63 license = licenses.gpl2; 63 64 platforms = with platforms; linux ++ darwin; 64 - maintainers = with maintainers; [ eelco ]; 65 + maintainers = with maintainers; [ eelco fpletz ]; 65 66 }; 66 67 }