mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
libgssglue: init at 0.4
This commit is contained in:
parent
903a7e2f94
commit
4434843d9c
2 changed files with 31 additions and 0 deletions
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 ];
|
||||
};
|
||||
}
|
|
@ -9195,6 +9195,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