munge: 0.5.11 -> 0.5.12, fix for Linux
This commit is contained in:
parent
eb28340bac
commit
fc2819d998
@ -1,31 +1,33 @@
|
|||||||
{ stdenv, fetchFromGitHub, gnused, perl, libgcrypt, zlib, bzip2 }:
|
{ stdenv, fetchFromGitHub, autoreconfHook, gawk, gnused, libgcrypt, zlib, bzip2 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "munge-0.5.11";
|
name = "munge-0.5.12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dun";
|
owner = "dun";
|
||||||
repo = "munge";
|
repo = "munge";
|
||||||
rev = "${name}";
|
rev = "${name}";
|
||||||
sha256 = "02847p742nq3cb8ayf5blrdicybq72nfsnggqkxr33cpppmsfwg9";
|
sha256 = "1wvkc63bqclpm5xmp3rn199x3jqd99255yicyydgz83cixp7wdbh";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gnused perl libgcrypt zlib bzip2 ];
|
nativeBuildInputs = [ autoreconfHook gawk gnused ];
|
||||||
|
buildInputs = [ libgcrypt zlib bzip2 ];
|
||||||
|
|
||||||
preConfigure = ''
|
preAutoreconf = ''
|
||||||
# Remove the install-data stuff, since it tries to write to /var
|
# Remove the install-data stuff, since it tries to write to /var
|
||||||
sed -i '505,511d' src/etc/Makefile.in
|
substituteInPlace src/Makefile.am --replace "etc \\" "\\"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = ''
|
description = ''
|
||||||
An authentication service for creating and validating credentials
|
An authentication service for creating and validating credentials
|
||||||
'';
|
'';
|
||||||
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
license = licenses.lgpl3;
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
maintainers = [ maintainers.rickynils ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user