mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00: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
624 B
Nix
23 lines
624 B
Nix
{ stdenv, fetchurl, pkgconfig, libdaemon, bison, flex, check }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "radvd-2.12";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.litech.org/radvd/dist/${name}.tar.xz";
|
|
sha256 = "0yvlzzdxz2h5fm7grbf1xfs8008bzcdjpficm2cf52g771rffw5h";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig libdaemon bison flex check ];
|
|
|
|
hardeningEnable = [ "pie" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.litech.org/radvd/;
|
|
description = "IPv6 Router Advertisement Daemon";
|
|
platforms = platforms.linux;
|
|
license = licenses.bsdOriginal;
|
|
maintainers = with maintainers; [ wkennington fpletz ];
|
|
};
|
|
}
|