gss: Modernize
This commit is contained in:
parent
44aad3817f
commit
473628b220
@ -1,4 +1,8 @@
|
|||||||
{ fetchurl, stdenv, shishi }:
|
{ stdenv, fetchurl
|
||||||
|
|
||||||
|
# Optional Dependencies
|
||||||
|
, shishi ? null
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gss-1.0.2";
|
name = "gss-1.0.2";
|
||||||
@ -10,22 +14,22 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ shishi ];
|
buildInputs = [ shishi ];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--${if shishi != null then "enable" else "disable"}-kereberos5"
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
# Fixup .la files
|
||||||
description = "Generic Security Service";
|
postInstall = stdenv.lib.optionalString (shishi != null) ''
|
||||||
|
sed -i 's,\(-lshishi\),-L${shishi}/lib \1,' $out/lib/libgss.la
|
||||||
longDescription =
|
'';
|
||||||
'' GSS is an implementation of the Generic Security Service Application
|
|
||||||
Program Interface (GSS-API). GSS-API is used by network servers to
|
|
||||||
provide security services, e.g., to authenticate SMTP/IMAP clients
|
|
||||||
against SMTP/IMAP servers.
|
|
||||||
'';
|
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.gnu.org/software/gss/;
|
homepage = http://www.gnu.org/software/gss/;
|
||||||
license = stdenv.lib.licenses.gpl3Plus;
|
description = "Generic Security Service";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
maintainers = [ stdenv.lib.maintainers.bjg ];
|
maintainers = with maintainers; [ bjg wkennington ];
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user