powerdns: 4.2.3 -> 4.3.1

This commit is contained in:
Aaron Andersen 2020-10-14 20:01:42 -04:00
parent abcdffb6a2
commit 603f0dcae8

View File

@ -1,29 +1,28 @@
{ stdenv, fetchurl, pkgconfig, nixosTests { stdenv, fetchurl, pkgconfig, nixosTests
, boost, libyamlcpp, libsodium, sqlite, protobuf, openssl, systemd , boost, libyamlcpp, libsodium, sqlite, protobuf, openssl, systemd
, mysql57, postgresql, lua, openldap, geoip, curl, opendbx, unixODBC , mysql57, postgresql, lua, openldap, geoip, curl, unixODBC
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "powerdns"; pname = "powerdns";
version = "4.2.3"; version = "4.3.1";
src = fetchurl { src = fetchurl {
url = "https://downloads.powerdns.com/releases/pdns-${version}.tar.bz2"; url = "https://downloads.powerdns.com/releases/pdns-${version}.tar.bz2";
sha256 = "1vf03hssk9rfhvhzfc5ca2r4ly67wq0czr0ysvdrk8pnb0yk6yfi"; sha256 = "0if27znz528sir52y9i4gcfhdsym7yxiwjgffy9lpscf1426q56m";
}; };
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 openssl systemd libyamlcpp libsodium curl unixODBC openssl systemd
]; ];
# nix destroy with-modules arguments, when using configureFlags # nix destroy with-modules arguments, when using configureFlags
preConfigure = '' preConfigure = ''
configureFlagsArray=( configureFlagsArray=(
"--with-modules=bind gmysql geoip godbc gpgsql gsqlite3 ldap lua mydns opendbx pipe random remote" "--with-modules=bind gmysql geoip godbc gpgsql gsqlite3 ldap lua2 pipe random remote"
--with-sqlite3 --with-sqlite3
--with-socketdir=/var/lib/powerdns
--with-libcrypto=${openssl.dev} --with-libcrypto=${openssl.dev}
--with-libsodium --with-libsodium
--enable-tools --enable-tools