2021-02-23 17:21:24 +00:00
|
|
|
{ lib, stdenv, fetchurl, libpcap, bison, flex, cyrus_sasl, tcp_wrappers, pkg-config, perl, libtirpc, libnsl }:
|
2016-08-10 22:02:04 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "argus-clients";
|
|
|
|
version = "3.0.8.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://qosient.com/argus/src/${pname}-${version}.tar.gz";
|
2016-08-10 22:02:04 +01:00
|
|
|
sha256 = "1c9vj6ma00gqq9h92fg71sxcsjzz912166sdg90ahvnmvmh3l1rj";
|
|
|
|
};
|
|
|
|
|
2021-02-23 17:21:24 +00:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ];
|
|
|
|
|
|
|
|
postPatch = ''
|
2016-08-10 22:02:04 +01:00
|
|
|
for file in ./examples/*/*.pl; do
|
|
|
|
substituteInPlace $file \
|
|
|
|
--subst-var-by PERLBIN ${perl}/bin/perl
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [ "--with-perl=${perl}/bin/perl" ];
|
2016-08-10 22:02:04 +01:00
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-02-23 17:21:24 +00:00
|
|
|
buildInputs = [ libpcap bison cyrus_sasl tcp_wrappers flex libnsl ];
|
2016-08-10 22:02:04 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-08-10 22:02:04 +01: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. '';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://qosient.com/argus";
|
2016-08-10 22:02:04 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ leenaars ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|