Merge pull request #100061 from aanderse/powerdns

powerdns: update configure flags
This commit is contained in:
Aaron Andersen 2020-10-12 22:24:53 -04:00 committed by GitHub
commit 5872b64795
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig { stdenv, fetchurl, pkgconfig, nixosTests
, boost, libyamlcpp, libsodium, sqlite, protobuf, botan2, openssl , boost, libyamlcpp, libsodium, sqlite, protobuf, openssl, systemd
, mysql57, postgresql, lua, openldap, geoip, curl, opendbx, unixODBC , mysql57, postgresql, lua, openldap, geoip, curl, opendbx, unixODBC
}: }:
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ buildInputs = [
boost mysql57.connector-c postgresql lua openldap sqlite protobuf geoip boost mysql57.connector-c postgresql lua openldap sqlite protobuf geoip
libyamlcpp libsodium curl opendbx unixODBC botan2 openssl libyamlcpp libsodium curl opendbx unixODBC openssl systemd
]; ];
# nix destroy with-modules arguments, when using configureFlags # nix destroy with-modules arguments, when using configureFlags
@ -25,19 +25,23 @@ stdenv.mkDerivation rec {
--with-sqlite3 --with-sqlite3
--with-socketdir=/var/lib/powerdns --with-socketdir=/var/lib/powerdns
--with-libcrypto=${openssl.dev} --with-libcrypto=${openssl.dev}
--enable-libsodium --with-libsodium
--enable-botan
--enable-tools --enable-tools
--disable-dependency-tracking --disable-dependency-tracking
--disable-silent-rules --disable-silent-rules
--enable-reproducible --enable-reproducible
--enable-unit-tests --enable-unit-tests
--enable-systemd
) )
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;
doCheck = true; doCheck = true;
passthru.tests = {
nixos = nixosTests.powerdns;
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Authoritative DNS server"; description = "Authoritative DNS server";
homepage = "https://www.powerdns.com"; homepage = "https://www.powerdns.com";