pwdutils: Use GnuTLS instead of OpenSSL.

svn path=/nixpkgs/trunk/; revision=21300
This commit is contained in:
Ludovic Courtès 2010-04-24 21:02:42 +00:00
parent 8e905083ae
commit 9534d10db6
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, pam, openssl, libnscd}: { stdenv, fetchurl, pam, gnutls, libnscd }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pwdutils-3.2.6"; name = "pwdutils-3.2.6";
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "1pyawvv9x0hiachn1mb257s6hm92dh1ykczgp7ik8z6jl020z3n7"; sha256 = "1pyawvv9x0hiachn1mb257s6hm92dh1ykczgp7ik8z6jl020z3n7";
}; };
buildInputs = [pam openssl libnscd]; buildInputs = [ pam gnutls libnscd ];
patchPhase = patchPhase =
'' for i in src/tst-* '' for i in src/tst-*
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
configurePhase = configurePhase =
'' ./configure --prefix="$out" --exec-prefix="$out/bin" \ '' ./configure --prefix="$out" --exec-prefix="$out/bin" \
--libdir="$out/lib" --disable-static \ --libdir="$out/lib" --disable-static \
--disable-ldap --disable-ldap --enable-gnutls
''; '';
# FIXME: The test suite seems to make assumptions that don't hold in Nix # FIXME: The test suite seems to make assumptions that don't hold in Nix

View File

@ -6358,7 +6358,7 @@ let
}; };
pwdutils = import ../os-specific/linux/pwdutils { pwdutils = import ../os-specific/linux/pwdutils {
inherit fetchurl stdenv pam openssl libnscd; inherit fetchurl stdenv pam gnutls libnscd;
}; };
qemu_kvm = import ../os-specific/linux/qemu-kvm { qemu_kvm = import ../os-specific/linux/qemu-kvm {