summaryrefslogtreecommitdiff
path: root/security/tripwire/patches/patch-ab
blob: c64ddaa6f95f7c363c38475e57cc123800edee1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
$NetBSD: patch-ab,v 1.4 2003/05/01 21:47:43 jmmv Exp $

NetBSD and Solaris specific paths for tripwire.

--- include/config.h	1994/07/15 11:02:52	1.5
+++ include/config.h	1998/11/17 14:40:02
@@ -17,7 +17,7 @@
  ***	file that corresponds with your operating system.
  ***/
 
-#include "../configs/conf-svr4.h"
+#include "../configs/conf-@LOWER_OPSYS@.h"
 
 #ifdef TW_TYPE32
 typedef TW_TYPE32 int32;
@@ -102,9 +102,8 @@
 # define DATABASE_PATH   "/usr/local/adm/tcheck/databases"
 #endif
 */
-
-#define CONFIG_PATH     "/tmp/genek"
-#define DATABASE_PATH   "/tmp/genek"
+# define CONFIG_PATH     "@PKG_SYSCONFDIR@"
+# define DATABASE_PATH   "@PKG_SYSCONFDIR@/databases"
 
 /******* name of Tripwire files **************************************
  *
@@ -121,7 +120,7 @@
  *
  *********************************************************************/
 
-#define CONFIG_FILE 	"tw.config"
+#define CONFIG_FILE 	"tripwire.conf"
 #define DATABASE_FILE	"tw.db_@"
 
 /******* Default ignore mask ****************************************