nixpkgs/pkgs/tools/networking/argus-clients/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
1.6 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, libpcap, bison, flex, cyrus_sasl, tcp_wrappers, pkg-config, perl, libtirpc, libnsl }:
2016-08-10 21:02:04 +00:00
stdenv.mkDerivation rec {
pname = "argus-clients";
2022-03-23 05:09:23 +00:00
version = "3.0.8.3";
2016-08-10 21:02:04 +00:00
src = fetchurl {
url = "http://qosient.com/argus/src/${pname}-${version}.tar.gz";
2022-03-23 05:09:23 +00:00
sha256 = "sha256-uNTvi6zbrYHAivQMPkhlNCoqRW9GOkgKvCf3mInds80=";
2016-08-10 21:02:04 +00:00
};
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ];
postPatch = ''
2016-08-10 21:02:04 +00:00
for file in ./examples/*/*.pl; do
substituteInPlace $file \
--subst-var-by PERLBIN ${perl}/bin/perl
done
'';
2018-07-25 21:44:21 +00:00
configureFlags = [ "--with-perl=${perl}/bin/perl" ];
2016-08-10 21:02:04 +00:00
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libpcap bison cyrus_sasl tcp_wrappers flex libnsl ];
2016-08-10 21:02:04 +00:00
meta = with lib; {
2016-08-10 21:02:04 +00:00
description = "Clients for ARGUS";
longDescription = ''Clients for Audit Record Generation and
Utilization System (ARGUS). The Argus Project is focused on developing all
aspects of large scale network situtational awareness derived from
network activity audit. Argus, itself, is next-generation network
flow technology, processing packets, either on the wire or in
captures, into advanced network flow data. The data, its models,
formats, and attributes are designed to support Network
Operations, Performance and Security Management. If you need to
know what is going on in your network, right now or historically,
you will find Argus a useful tool. '';
homepage = "http://qosient.com/argus";
2016-08-10 21:02:04 +00:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ leenaars ];
platforms = platforms.linux;
};
}