2008-02-21 18:58:11 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-01-30 23:38:02 +00:00
|
|
|
name = "inetutils-1.6";
|
|
|
|
|
2008-02-21 18:58:11 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/inetutils/${name}.tar.gz";
|
2009-01-30 23:38:02 +00:00
|
|
|
sha256 = "1pjv2h8mwbyjrw75xn1k1z7ps4z4y0x6ljizwrzkh83n7d3xjaq5";
|
2008-02-21 18:58:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
# XXX: These programs are normally installed setuid but since it
|
|
|
|
# fails, they end up being non-executable, hence this hack.
|
|
|
|
chmod +x $out/bin/{ping,ping6,rcp,rlogin,rsh}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2009-01-30 23:38:02 +00:00
|
|
|
description = "GNU Inetutils, a collection of common network programs";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GNU Inetutils is a collection of common network programs,
|
|
|
|
including telnet, FTP, RSH, rlogin and TFTP clients and servers,
|
|
|
|
among others.
|
|
|
|
'';
|
|
|
|
|
2008-02-21 18:58:11 +00:00
|
|
|
homepage = http://www.gnu.org/software/inetutils/;
|
|
|
|
license = "GPLv3+";
|
|
|
|
};
|
|
|
|
}
|