GNU Inetutils 1.7.

svn path=/nixpkgs/trunk/; revision=19005
This commit is contained in:
Ludovic Courtès 2009-12-16 22:56:44 +00:00
parent 28eef7beaa
commit 9ba4676ae1
2 changed files with 19 additions and 9 deletions

View File

@ -1,13 +1,19 @@
{stdenv, fetchurl}: { stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "inetutils-1.6"; name = "inetutils-1.7";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/inetutils/${name}.tar.gz"; url = "mirror://gnu/inetutils/${name}.tar.gz";
sha256 = "1pjv2h8mwbyjrw75xn1k1z7ps4z4y0x6ljizwrzkh83n7d3xjaq5"; sha256 = "09v9nycqpc3j7bsi5aj4hm8gxw1xgxr4lz14brnzv0i80qqxjb7p";
}; };
buildInputs = [ ncurses /* for `talk' */ ];
configureFlags = "--with-ncurses-include-dir=${ncurses}/include";
doCheck = true;
postInstall = '' postInstall = ''
# XXX: These programs are normally installed setuid but since it # XXX: These programs are normally installed setuid but since it
# fails, they end up being non-executable, hence this hack. # fails, they end up being non-executable, hence this hack.
@ -17,13 +23,17 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "GNU Inetutils, a collection of common network programs"; description = "GNU Inetutils, a collection of common network programs";
longDescription = '' longDescription =
GNU Inetutils is a collection of common network programs, '' The GNU network utilities suite provides the
including telnet, FTP, RSH, rlogin and TFTP clients and servers, following tools: ftp(d), hostname, ifconfig, inetd, logger, ping, rcp,
among others. rexec(d), rlogin(d), rsh(d), syslogd, talk(d), telnet(d), tftp(d),
traceroute, uucpd, and whois.
''; '';
homepage = http://www.gnu.org/software/inetutils/; homepage = http://www.gnu.org/software/inetutils/;
license = "GPLv3+"; license = "GPLv3+";
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu;
}; };
} }

View File

@ -861,7 +861,7 @@ let
}; };
inetutils = import ../tools/networking/inetutils { inetutils = import ../tools/networking/inetutils {
inherit fetchurl stdenv; inherit fetchurl stdenv ncurses;
}; };
iodine = import ../tools/networking/iodine { iodine = import ../tools/networking/iodine {