1 --- foremost-1.3/config.c.orig 2006-12-06 17:38:01.234697000 +0100
2 +++ foremost-1.3/config.c 2006-12-06 17:40:06.004697000 +0100
5 /*Can't find a conf in the current directory
6 * So lets try the /usr/local/etc*/
8 - set_config_file(s, "/Program Files/foremost/foremost.conf");
10 - set_config_file(s, "/usr/local/etc/foremost.conf");
12 + set_config_file(s, DEFAULT_SYSTEM_CONFIG_FILE);
13 if ((f = fopen(get_config_file(s), "r")) == NULL)
15 print_error(s, get_config_file(s), strerror(errno));
16 --- foremost-1.3/main.h.orig 2006-12-06 17:37:56.114697000 +0100
17 +++ foremost-1.3/main.h 2006-08-26 09:02:14.000000000 +0200
20 #define DEFAULT_MODE mode_none
21 #define DEFAULT_CONFIG_FILE "foremost.conf"
22 +#ifndef DEFAULT_SYSTEM_CONFIG_FILE
24 +#define DEFAULT_SYSTEM_CONFIG_FILE "/Program Files/foremost/foremost.conf"
26 +#define DEFAULT_SYSTEM_CONFIG_FILE "/etc/foremost.conf"
29 #define DEFAULT_OUTPUT_DIRECTORY "output"
30 #define AUDIT_FILE_NAME "audit.txt"
31 #define FOREMOST_DIVIDER "------------------------------------------------------------------"
32 --- foremost-1.5.6/Makefile~ 2009-05-06 05:56:16.000000000 +0200
33 +++ foremost-1.5.6/Makefile 2010-02-01 11:24:20.000000000 +0100
35 # Where we get installed
37 MAN = /usr/share/man/man8
40 # Setup for compiling and cross-compiling for Windows
41 # The CR_ prefix refers to cross compiling from OSX to Windows
42 CR_CC = $(CR_BASE)/gcc