2018-04-11 02:14:56 +00:00
|
|
|
{ stdenv, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "openbsm";
|
|
|
|
version = "1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = lib.toUpper (builtins.replaceStrings ["." "-"] ["_" "_"] "${pname}-${version}");
|
2018-04-11 02:14:56 +00:00
|
|
|
sha256 = "0b98359hd8mm585sh145ss828pg2y8vgz38lqrb7nypapiyqdnd1";
|
|
|
|
};
|
|
|
|
|
2018-09-10 11:00:00 +00:00
|
|
|
patches = lib.optional stdenv.isDarwin [ ./bsm-add-audit_token_to_pid.patch ];
|
2018-05-11 09:35:42 +00:00
|
|
|
|
2019-06-22 16:03:58 +00:00
|
|
|
configureFlags = [ "ac_cv_file__usr_include_mach_audit_triggers_defs=no" ];
|
|
|
|
|
2018-04-11 02:14:56 +00:00
|
|
|
meta = {
|
2019-11-17 08:43:55 +00:00
|
|
|
description = "An implementation of Sun's Basic Security Module (BSM) security audit API and file format";
|
|
|
|
homepage = "http://www.openbsm.org/";
|
2018-04-11 02:14:56 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ matthewbauer ];
|
2018-08-09 10:33:28 +00:00
|
|
|
license = lib.licenses.bsd2;
|
2018-04-11 02:14:56 +00:00
|
|
|
};
|
|
|
|
}
|