|
|
|
@ -1,23 +1,17 @@ |
|
|
|
|
{ stdenv, fetchurl, ncurses }: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
name = "inetutils-1.9.2"; |
|
|
|
|
name = "inetutils-1.9.3"; |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "mirror://gnu/inetutils/${name}.tar.gz"; |
|
|
|
|
sha256 = "04wrm0v7l4890mmbaawd6wjwdv08bkglgqhpz0q4dkb0l50fl8q4"; |
|
|
|
|
sha256 = "06dshajjpyi9sxi7qfki9gnp5r3nxvyvf81r81gx0x2qkqzqcxlj"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
buildInputs = [ ncurses /* for `talk' */ ]; |
|
|
|
|
|
|
|
|
|
configureFlags = "--with-ncurses-include-dir=${ncurses}/include"; |
|
|
|
|
|
|
|
|
|
preConfigure = '' |
|
|
|
|
# Fix for building on Glibc 2.16. Won't be needed once the |
|
|
|
|
# gnulib in inetutils is updated. |
|
|
|
|
sed -i '/gets is a security hole/d' lib/stdio.in.h |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
# Test fails with "UNIX socket name too long", probably because our |
|
|
|
|
# $TMPDIR is too long. |
|
|
|
|
#doCheck = true; |
|
|
|
|