mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 09:58:50 +03:00
3cb531f828
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/powerdns/versions. These checks were done: - built on NixOS - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/pdns_control passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/pdnsutil passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/zone2sql passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/zone2json passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/dnsgram passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/dnsreplay passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/dnsscan passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/dnsscope passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/dnswasher passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/dumresp passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/pdns_notify passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/nproxy passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/nsec3dig passed the binary check. - Warning: no invocation of /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/saxfr had a zero exit code or showed the expected version - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/stubquery passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/ixplore passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/sdig passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/calidns passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/dnsbulktest passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/dnstcpbench passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/zone2ldap passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/dnspcap2protobuf passed the binary check. - /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3/bin/pdns_server passed the binary check. - 22 of 23 passed binary check by having a zero exit code. - 20 of 23 passed binary check by having the new version present in output. - found 4.1.3 with grep in /nix/store/yacb209ny3gi3p0bg2n4hamp39b9dqxi-powerdns-4.1.3 - directory tree listing: https://gist.github.com/4e2a99ca3fe4bbb630b7cbd39e96db37 - du listing: https://gist.github.com/9722c4085ca5ddbe661816db86a84a6f
53 lines
1.4 KiB
Nix
53 lines
1.4 KiB
Nix
{ stdenv, fetchurl, pkgconfig
|
|
, boost, libyamlcpp, libsodium, sqlite, protobuf, botan2
|
|
, mysql57, postgresql, lua, openldap, geoip, curl, opendbx, unixODBC
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "powerdns-${version}";
|
|
version = "4.1.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://downloads.powerdns.com/releases/pdns-${version}.tar.bz2";
|
|
sha256 = "1bh1qdgw415ax542123b6isri1jh4mbf2i9i1yffkfk0xmyv79cs";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [
|
|
boost mysql57.connector-c postgresql lua openldap sqlite protobuf geoip
|
|
libyamlcpp libsodium curl opendbx unixODBC botan2
|
|
];
|
|
|
|
patches = [
|
|
# checksum type not found, maybe a dependency is to old?
|
|
./skip-sha384-test.patch
|
|
];
|
|
|
|
# nix destroy with-modules arguments, when using configureFlags
|
|
preConfigure = ''
|
|
configureFlagsArray=(
|
|
"--with-modules=bind gmysql geoip godbc gpgsql gsqlite3 ldap lua mydns opendbx pipe random remote"
|
|
--with-sqlite3
|
|
--with-socketdir=/var/lib/powerdns
|
|
--enable-libsodium
|
|
--enable-botan
|
|
--enable-tools
|
|
--disable-dependency-tracking
|
|
--disable-silent-rules
|
|
--enable-reproducible
|
|
--enable-unit-tests
|
|
)
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Authoritative DNS server";
|
|
homepage = https://www.powerdns.com;
|
|
platforms = platforms.linux;
|
|
# cannot find postgresql libs on macos x
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.mic92 ];
|
|
};
|
|
}
|