aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/networking/dnsmasq
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2016-07-10 02:44:39 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2016-07-10 10:48:10 +0200
commit033e593a4f88276a6dbbc115bd987d5ac43589d9 (patch)
tree6dc9658385ba9797f8136a556e8833429567f35c /pkgs/tools/networking/dnsmasq
parent22c141619242d6d86b924723ea91e1c0fc3bf0bf (diff)
dnsmasq: 2.75 -> 2.76 (security)
Fixes CVE-2015-8899.
Diffstat (limited to 'pkgs/tools/networking/dnsmasq')
-rw-r--r--pkgs/tools/networking/dnsmasq/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/tools/networking/dnsmasq/default.nix b/pkgs/tools/networking/dnsmasq/default.nix
index 63720faf7078..6b47e0cae840 100644
--- a/pkgs/tools/networking/dnsmasq/default.nix
+++ b/pkgs/tools/networking/dnsmasq/default.nix
@@ -11,11 +11,11 @@ let
]);
in
stdenv.mkDerivation rec {
- name = "dnsmasq-2.75";
+ name = "dnsmasq-2.76";
src = fetchurl {
url = "http://www.thekelleys.org.uk/dnsmasq/${name}.tar.xz";
- sha256 = "1wa1d4if9q6k3hklv8xi06a59k3aqb7pik8rhi2l53i99hflw334";
+ sha256 = "15lzih6671gh9knzpl8mxchiml7z5lfqzr7jm2r0rjhrxs6nk4jb";
};
preBuild = ''
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
];
postBuild = optionalString stdenv.isLinux ''
- make -C contrib/wrt
+ make -C contrib/lease-tools
'';
# XXX: Does the systemd service definition really belong here when our NixOS
@@ -39,8 +39,9 @@ stdenv.mkDerivation rec {
install -Dm644 trust-anchors.conf $out/share/dnsmasq/trust-anchors.conf
'' + optionalString stdenv.isLinux ''
install -Dm644 dbus/dnsmasq.conf $out/etc/dbus-1/system.d/dnsmasq.conf
- install -Dm755 contrib/wrt/dhcp_lease_time $out/bin/dhcp_lease_time
- install -Dm755 contrib/wrt/dhcp_release $out/bin/dhcp_release
+ install -Dm755 contrib/lease-tools/dhcp_lease_time $out/bin/dhcp_lease_time
+ install -Dm755 contrib/lease-tools/dhcp_release $out/bin/dhcp_release
+ install -Dm755 contrib/lease-tools/dhcp_release6 $out/bin/dhcp_release6
mkdir -p $out/share/dbus-1/system-services
cat <<END > $out/share/dbus-1/system-services/uk.org.thekelleys.dnsmasq.service
@@ -61,6 +62,6 @@ stdenv.mkDerivation rec {
homepage = http://www.thekelleys.org.uk/dnsmasq/doc.html;
license = licenses.gpl2;
platforms = with platforms; linux ++ darwin;
- maintainers = with maintainers; [ eelco ];
+ maintainers = with maintainers; [ eelco fpletz ];
};
}