mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
aff1f4ab94
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
23 lines
583 B
Nix
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;
|
|
};
|
|
}
|