2020-08-20 17:08:02 +00:00
|
|
|
{ fetchFromGitHub
|
2021-01-15 22:18:51 +00:00
|
|
|
, lib, stdenv
|
2020-08-20 17:08:02 +00:00
|
|
|
, perl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "doona";
|
|
|
|
version = "unstable-2019-03-08";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wireghoul";
|
|
|
|
repo = pname;
|
|
|
|
rev = "master";
|
|
|
|
sha256 = "0x9irwrw5x2ia6ch6gshadrlqrgdi1ivkadmr7j4m75k04a7nvz1";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp -r ${src}/bedmod $out/bin/bedmod
|
|
|
|
cp ${src}/doona.pl $out/bin/doona
|
|
|
|
chmod +x $out/bin/doona
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00:00
|
|
|
homepage = "https://github.com/wireghoul/doona";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Fork of the Bruteforce Exploit Detector Tool (BED)";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "doona";
|
2020-08-20 17:08:02 +00:00
|
|
|
longDescription = ''
|
|
|
|
A fork of the Bruteforce Exploit Detector Tool (BED).
|
|
|
|
BED is a program which is designed to check daemons for potential buffer overflows, format string bugs etc.
|
|
|
|
'';
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-08-20 17:08:02 +00:00
|
|
|
maintainers = with maintainers; [ pamplemousse ];
|
|
|
|
};
|
|
|
|
}
|