3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/telnet/default.nix
Franz Pletz aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00

23 lines
583 B
Nix

{stdenv, fetchurl, ncurses}:
stdenv.mkDerivation {
name = "telnet-1.2";
src = fetchurl {
#url = ftp://ftp.suse.com/pub/people/kukuk/ipv6/telnet-bsd-1.2.tar.bz2; # broken
url = mirror://gentoo/distfiles/telnet-bsd-1.2.tar.bz2;
sha256 = "0cs7ks22dhcn5qfjv2vl6ikhw93x68gg33zdn5f5cxgg81kx5afn";
};
hardeningDisable = [ "format" ];
buildInputs = [ncurses];
meta = {
description = "A client and daemon for the Telnet protocol";
homepage = ftp://ftp.suse.com/pub/people/kukuk/ipv6/;
license = "BSD";
platforms = stdenv.lib.platforms.gnu;
};
}