tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dnsmasq: 2.75 -> 2.76 (security)
Fixes CVE-2015-8899.
Franz Pletz
9 years ago
033e593a
22c14161
+7
-6
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
dnsmasq
default.nix
+7
-6
pkgs/tools/networking/dnsmasq/default.nix
···
11
11
]);
12
12
in
13
13
stdenv.mkDerivation rec {
14
14
-
name = "dnsmasq-2.75";
14
14
+
name = "dnsmasq-2.76";
15
15
16
16
src = fetchurl {
17
17
url = "http://www.thekelleys.org.uk/dnsmasq/${name}.tar.xz";
18
18
-
sha256 = "1wa1d4if9q6k3hklv8xi06a59k3aqb7pik8rhi2l53i99hflw334";
18
18
+
sha256 = "15lzih6671gh9knzpl8mxchiml7z5lfqzr7jm2r0rjhrxs6nk4jb";
19
19
};
20
20
21
21
preBuild = ''
···
30
30
];
31
31
32
32
postBuild = optionalString stdenv.isLinux ''
33
33
-
make -C contrib/wrt
33
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
42
-
install -Dm755 contrib/wrt/dhcp_lease_time $out/bin/dhcp_lease_time
43
43
-
install -Dm755 contrib/wrt/dhcp_release $out/bin/dhcp_release
42
42
+
install -Dm755 contrib/lease-tools/dhcp_lease_time $out/bin/dhcp_lease_time
43
43
+
install -Dm755 contrib/lease-tools/dhcp_release $out/bin/dhcp_release
44
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
64
-
maintainers = with maintainers; [ eelco ];
65
65
+
maintainers = with maintainers; [ eelco fpletz ];
65
66
};
66
67
}