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:
aszlig 2012-11-05 09:45:03 +01:00
parent af2fd342cd
commit 993601a7c5
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -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;