@@ -0,0 +1,41 @@
1+{ stdenv, fetchurl, libpcap, bison, flex, cyrus_sasl, tcp_wrappers, pkgconfig, perl }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "argus-clients";
5+ version = "3.0.8.2";
6+ name = "${pname}-${version}";
7+
8+ src = fetchurl {
9+ url = "http://qosient.com/argus/src/${name}.tar.gz";
10+ sha256 = "1c9vj6ma00gqq9h92fg71sxcsjzz912166sdg90ahvnmvmh3l1rj";
11+ };
12+
13+ patchPhase = ''
14+ for file in ./examples/*/*.pl; do
15+ substituteInPlace $file \
16+ --subst-var-by PERLBIN ${perl}/bin/perl
17+ done
18+ '';
19+
20+ configureFlags = "--with-perl=${perl}/bin/perl";
21+
22+ buildInputs = [ libpcap pkgconfig bison cyrus_sasl tcp_wrappers flex ];
23+
24+ meta = with stdenv.lib; {
25+ description = "Clients for ARGUS";
26+ longDescription = ''Clients for Audit Record Generation and
27+ Utilization System (ARGUS). The Argus Project is focused on developing all
28+ aspects of large scale network situtational awareness derived from
29+ network activity audit. Argus, itself, is next-generation network
30+ flow technology, processing packets, either on the wire or in
31+ captures, into advanced network flow data. The data, its models,
32+ formats, and attributes are designed to support Network
33+ Operations, Performance and Security Management. If you need to
34+ know what is going on in your network, right now or historically,
35+ you will find Argus a useful tool. '';
36+ homepage = http://qosient.com/argus;
37+ license = licenses.gpl2Plus;
38+ maintainers = with maintainers; [ leenaars ];
39+ platforms = platforms.linux;
40+ };
41+}