Merge pull request #31921 from corngood/rdesktop-krb
rdesktop: enable credssp
This commit is contained in:
commit
b4c63c3648
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, openssl, libX11} :
|
||||
{stdenv, fetchurl, openssl, libX11, libgssglue, pkgconfig} :
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
pname = "rdesktop";
|
||||
|
@ -10,12 +10,12 @@ stdenv.mkDerivation (rec {
|
|||
sha256 = "1r7c1rjmw2xzq8fw0scyb453gy9z19774z1z8ldmzzsfndb03cl8";
|
||||
};
|
||||
|
||||
buildInputs = [openssl libX11];
|
||||
nativeBuildInputs = [pkgconfig];
|
||||
buildInputs = [openssl libX11 libgssglue];
|
||||
|
||||
configureFlags = [
|
||||
"--with-ipv6"
|
||||
"--with-openssl=${openssl.dev}"
|
||||
"--disable-credssp"
|
||||
"--disable-smartcard"
|
||||
];
|
||||
|
||||
|
|
29
pkgs/development/libraries/libgssglue/default.nix
Normal file
29
pkgs/development/libraries/libgssglue/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchurl, kerberos }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libgssglue-0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.citi.umich.edu/projects/nfsv4/linux/libgssglue/${name}.tar.gz";
|
||||
sha256 = "0fh475kxzlabwz30wz3bf7i8kfqiqzhfahayx3jj79rba1sily9z";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed s:/etc/gssapi_mech.conf:$out/etc/gssapi_mech.conf: -i src/g_initialize.c
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/etc
|
||||
cat <<EOF > $out/etc/gssapi_mech.conf
|
||||
${kerberos}/lib/libgssapi_krb5.so mechglue_internal_krb5_init
|
||||
EOF
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.citi.umich.edu/projects/nfsv4/linux/;
|
||||
description = "Exports a gssapi interface which calls other random gssapi libraries";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ corngood ];
|
||||
};
|
||||
}
|
|
@ -9214,6 +9214,8 @@ with pkgs;
|
|||
monoSupport = false;
|
||||
};
|
||||
|
||||
libgssglue = callPackage ../development/libraries/libgssglue { };
|
||||
|
||||
libgsystem = callPackage ../development/libraries/libgsystem { };
|
||||
|
||||
libgudev = callPackage ../development/libraries/libgudev { };
|
||||
|
|
Loading…
Reference in a new issue