3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/vde2/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

20 lines
489 B
Nix

{ stdenv, fetchurl, openssl, libpcap, python }:
stdenv.mkDerivation rec {
name = "vde2-2.3.2";
src = fetchurl {
url = "mirror://sourceforge/vde/vde2/2.3.1/${name}.tar.gz";
sha256 = "14xga0ib6p1wrv3hkl4sa89yzjxv7f1vfqaxsch87j6scdm59pr2";
};
buildInputs = [ openssl libpcap python ];
hardeningDisable = [ "format" ];
meta = {
homepage = http://vde.sourceforge.net/;
description = "Virtual Distributed Ethernet, an Ethernet compliant virtual network";
};
}