postfix: build with tlsrpt support
Adds support for TLSRPT (RFC8460) error reporting. https://www.postfix.org/TLSRPT_README.html
This commit is contained in:
parent
9e46b1f514
commit
5abc715019
@ -26,6 +26,8 @@
|
||||
libmysqlclient,
|
||||
withSQLite ? false,
|
||||
sqlite,
|
||||
withTLSRPT ? true,
|
||||
libtlsrpt,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -48,6 +50,7 @@ let
|
||||
"-DHAS_LDAP"
|
||||
"-DUSE_LDAP_SASL"
|
||||
]
|
||||
++ lib.optional withTLSRPT "-DUSE_TLSRPT"
|
||||
);
|
||||
auxlibs = lib.concatStringsSep " " (
|
||||
[
|
||||
@ -62,6 +65,7 @@ let
|
||||
++ lib.optional withMySQL "-lmysqlclient"
|
||||
++ lib.optional withSQLite "-lsqlite3"
|
||||
++ lib.optional withLDAP "-lldap"
|
||||
++ lib.optional withTLSRPT "-ltlsrpt"
|
||||
);
|
||||
|
||||
in
|
||||
@ -90,7 +94,8 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optional withPgSQL libpq
|
||||
++ lib.optional withMySQL libmysqlclient
|
||||
++ lib.optional withSQLite sqlite
|
||||
++ lib.optional withLDAP openldap;
|
||||
++ lib.optional withLDAP openldap
|
||||
++ lib.optional withTLSRPT libtlsrpt;
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
hardeningEnable = [ "pie" ];
|
||||
|
Loading…
x
Reference in New Issue
Block a user