@@ -0,0 +1,27 @@
1+{ stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux }:
2+stdenv.mkDerivation rec {
3+ name = "aide-${version}";
4+ version = "0.16a2";
5+
6+ src = fetchurl {
7+ url = "mirror://sourceforge/aide/devel/0.16a2/aide-${version}.tar.gz";
8+ sha256 = "11qvp6l2x4ajq9485lmg722gfdikh8r2wqfw17m0jm68df0m295m";
9+ };
10+
11+ buildInputs = [ flex bison libmhash zlib acl attr libselinux ];
12+
13+
14+ configureFlags = [
15+ "--with-posix-acl"
16+ "--with-selinux"
17+ "--with-xattr"
18+ ];
19+
20+ meta = with stdenv.lib; {
21+ homepage = "http://aide.sourceforge.net/";
22+ description = "Advanced Intrusion Detection Environment (AIDE) is a file and directory integrity checker";
23+ license = licenses.free;
24+ maintainers = [ maintainers.tstrobel ];
25+ platforms = platforms.linux;
26+ };
27+}