diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/sniffers')
-rw-r--r-- | nixpkgs/pkgs/applications/networking/sniffers/ettercap/default.nix | 16 | ||||
-rw-r--r-- | nixpkgs/pkgs/applications/networking/sniffers/wireshark/default.nix | 8 |
2 files changed, 18 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/applications/networking/sniffers/ettercap/default.nix b/nixpkgs/pkgs/applications/networking/sniffers/ettercap/default.nix index dbff491fa807..c548098baa7e 100644 --- a/nixpkgs/pkgs/applications/networking/sniffers/ettercap/default.nix +++ b/nixpkgs/pkgs/applications/networking/sniffers/ettercap/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, cmake, libpcap, libnet, zlib, curl, pcre -, openssl, ncurses, glib, gtk3, atk, pango, flex, bison, geoip +, openssl, ncurses, glib, gtk3, atk, pango, flex, bison, geoip, harfbuzz , pkgconfig }: stdenv.mkDerivation rec { @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake flex bison pkgconfig ]; buildInputs = [ libpcap libnet zlib curl pcre openssl ncurses - glib gtk3 atk pango geoip + glib gtk3 atk pango geoip harfbuzz ]; preConfigure = '' @@ -30,9 +30,19 @@ stdenv.mkDerivation rec { "-DGTK3_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include" ]; + # TODO: Remove after the next release (0.8.4 should work without this): + NIX_CFLAGS_COMPILE = [ "-I${harfbuzz.dev}/include/harfbuzz" ]; + meta = with stdenv.lib; { description = "Comprehensive suite for man in the middle attacks"; - homepage = http://ettercap.github.io/ettercap/; + longDescription = '' + Ettercap is a comprehensive suite for man in the middle attacks. It + features sniffing of live connections, content filtering on the fly and + many other interesting tricks. It supports active and passive dissection + of many protocols and includes many features for network and host + analysis. + ''; + homepage = https://www.ettercap-project.org/; license = licenses.gpl2; platforms = platforms.unix; maintainers = with maintainers; [ pSub ]; diff --git a/nixpkgs/pkgs/applications/networking/sniffers/wireshark/default.nix b/nixpkgs/pkgs/applications/networking/sniffers/wireshark/default.nix index 2da36be90de2..fe84787c21a7 100644 --- a/nixpkgs/pkgs/applications/networking/sniffers/wireshark/default.nix +++ b/nixpkgs/pkgs/applications/networking/sniffers/wireshark/default.nix @@ -10,7 +10,7 @@ assert withQt -> qt5 != null; with stdenv.lib; let - version = "3.2.1"; + version = "3.2.2"; variant = if withQt then "qt" else "cli"; in stdenv.mkDerivation { @@ -20,12 +20,14 @@ in stdenv.mkDerivation { src = fetchurl { url = "https://www.wireshark.org/download/src/all-versions/wireshark-${version}.tar.xz"; - sha256 = "0nz84zyhs4177ljxmv34vgc9kgg7ssxhxa4mssxqwh6nb00697sq"; + sha256 = "0ygdxpz0i4jxp55fg9x4xcan093wycjb66yas073gviz9kpj6naz"; }; cmakeFlags = [ "-DBUILD_wireshark=${if withQt then "ON" else "OFF"}" "-DENABLE_APPLICATION_BUNDLE=${if withQt && stdenv.isDarwin then "ON" else "OFF"}" + # Fix `extcap` and `plugins` paths. See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=16444 + "-DCMAKE_INSTALL_LIBDIR=lib" ]; nativeBuildInputs = [ @@ -100,7 +102,7 @@ in stdenv.mkDerivation { ''; meta = with stdenv.lib; { - homepage = https://www.wireshark.org/; + homepage = "https://www.wireshark.org/"; description = "Powerful network protocol analyzer"; license = licenses.gpl2; |