ports/security/samhain/files/patch-config.h.in
Nikolai Lifanov be652c1097 add ports for Samhain Intrusion Detection System
Samhain is an open source file integrity and host-based intrusion
detection system for Linux and Unix. It can run as a daemon process,
and and thus can remember file changes - contrary to a tool that runs
from cron, if a file is modified you will get only one report, while
subsequent checks of that file will ignore the modification as it is
already reported (unless the file is modified again).

Samhain can optionally be used as client/server system to provide
centralized monitoring for multiple host. Logging to a (MySQL or
PostgreSQL) database is supported.

PR:		214623
Submitted by:	Nikola Kolev <koue@chaosophia.net>
2017-03-12 17:07:23 +00:00

15 lines
357 B
C

--- config.h.in.orig 2016-11-16 12:14:22 UTC
+++ config.h.in
@@ -349,7 +349,11 @@
#undef HAVE_UINT64_T
/* Define if you have utmpx.h. */
-#undef HAVE_UTMPX_H
+#define HAVE_UTMPX_H
+
+#define UTMPX_FILE "/var/log/utx.active"
+
+#define WTMPX_FILE "/var/log/utx.log"
/* Define if your struct utmpx has ut_xtime. */
#undef HAVE_UTXTIME