summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/exim
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-07-23 19:18:43 +0200
committerlassulus <lass@aidsballs.de>2016-07-23 19:18:43 +0200
commit18469388a6f8f255b8094d002b3c176dab81b845 (patch)
treee20360734f2b7a96454098d7754ddc1bf3788e93 /krebs/5pkgs/exim
parent83090eb4a1f98614671ea3bdb48315cf5be5585c (diff)
k 5 exim: add pam support
Diffstat (limited to 'krebs/5pkgs/exim')
-rw-r--r--krebs/5pkgs/exim/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/krebs/5pkgs/exim/default.nix b/krebs/5pkgs/exim/default.nix
index 0918e308d..835970555 100644
--- a/krebs/5pkgs/exim/default.nix
+++ b/krebs/5pkgs/exim/default.nix
@@ -1,4 +1,4 @@
-{ coreutils, fetchurl, db, openssl, pcre, perl, pkgconfig, stdenv }:
+{ coreutils, fetchurl, db, openssl, pam, pcre, perl, pkgconfig, stdenv }:
stdenv.mkDerivation rec {
name = "exim-4.87";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "1jbxn13shq90kpn0s73qpjnx5xm8jrpwhcwwgqw5s6sdzw6iwsbl";
};
- buildInputs = [ coreutils db openssl pcre perl pkgconfig ];
+ buildInputs = [ coreutils db openssl pam pcre perl pkgconfig ];
preBuild = ''
sed '
@@ -24,6 +24,7 @@ stdenv.mkDerivation rec {
s:^# \(SUPPORT_TLS\)=.*:\1=yes:
s:^# \(USE_OPENSSL_PC=openssl\)$:\1:
s:^# \(LOG_FILE_PATH=syslog\)$:\1:
+ s:^# \(SUPPORT_PAM\)=.*:\1=yes\nEXTRALIBS=-lpam:
s:^# \(HAVE_IPV6=yes\)$:\1:
s:^# \(CHOWN_COMMAND\)=.*:\1=${coreutils}/bin/chown:
s:^# \(CHGRP_COMMAND\)=.*:\1=${coreutils}/bin/chgrp: