screen: Enable PAM support by default.
I hope noone is unhappy with enabling PAM bu default. Whover doesn't want PAM to take care of authentication can still use the "password" configuration directive. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
af2fd342cd
commit
993601a7c5
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, ncurses}:
|
||||
{ stdenv, fetchurl, ncurses, pam }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "screen-4.0.3";
|
||||
|
@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
preConfigure = ''
|
||||
configureFlags="--enable-telnet --infodir=$out/share/info --mandir=$out/share/man"
|
||||
configureFlags="--enable-telnet --enable-pam --infodir=$out/share/info --mandir=$out/share/man"
|
||||
sed -i -e "s|/usr/local|/non-existent|g" -e "s|/usr|/non-existent|g" configure Makefile.in */Makefile.in
|
||||
'';
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
buildInputs = [ ncurses pam ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue