2011-09-22 12:28:56 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-04-14 15:17:10 +01:00
|
|
|
name = "pdnsd-1.2.9a-par";
|
2011-09-22 12:28:56 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-04-14 15:17:10 +01:00
|
|
|
url = http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-1.2.9a-par.tar.gz;
|
|
|
|
sha256 = "0yragv5zk77a1hfkpnsh17vvsw8b14d6mzfng4bb7i58rb83an5v";
|
2011-09-22 12:28:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i 's/.*(cachedir).*/:/' Makefile.in
|
|
|
|
'';
|
|
|
|
|
2016-02-12 10:44:08 +00:00
|
|
|
configureFlags = [ "--enable-ipv6" ];
|
|
|
|
|
2017-03-06 20:19:20 +00:00
|
|
|
# fix ipv6 on darwin
|
|
|
|
CPPFLAGS = "-D__APPLE_USE_RFC_3542";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2011-09-22 12:28:56 +01:00
|
|
|
description = "Permanent DNS caching";
|
2017-03-06 20:19:20 +00:00
|
|
|
homepage = http://members.home.nl/p.a.rombouts/pdnsd;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [viric];
|
2011-09-22 12:28:56 +01:00
|
|
|
};
|
|
|
|
}
|