File tripwire-2.4.3.7-config-dir-location.patch of Package tripwire

diff --git a/src/tw/Makefile.am b/src/tw/Makefile.am
index 1bea795..d426c52 100644
--- a/src/tw/Makefile.am
+++ b/src/tw/Makefile.am
@@ -19,7 +19,7 @@ libtw_a_HEADERS = \
    stdtw.h systeminfo.h textdbviewer.h textreportviewer.h \
    tw.h twerrors.h twinit.h twstrings.h twutil.h
 
-DEFS = @DEFS@ -DCONFIG_DIR=\"$(sysconfdir)\"
+DEFS = @DEFS@ -DCONFIG_DIR=\"$(sysconfdir)/tripwire\"
 CLEANFILES = *.gcno *.gcda
 
 all: $(noinst_LIBRARIES)
diff --git a/src/tw/twstrings.cpp b/src/tw/twstrings.cpp
index f112e8e..ee14533 100644
--- a/src/tw/twstrings.cpp
+++ b/src/tw/twstrings.cpp
@@ -105,7 +105,7 @@ TSS_BeginStringtable(cTW)
     // the current working directory
     TSS_StringEntry(tw::STR_DEF_CFG_FILENAME, _T(CONFIG_DIR "/tw.cfg")),
 #else
-    TSS_StringEntry(tw::STR_DEF_CFG_FILENAME, _T("/etc/tw.cfg")),
+    TSS_StringEntry(tw::STR_DEF_CFG_FILENAME, _T("/etc/tripwire/tw.cfg")),
 #endif
 
     TSS_StringEntry(tw::STR_GET_HELP, _T("Use --help to get help.")), TSS_StringEntry(tw::STR_NEWLINE, _T("\n")),
openSUSE Build Service is sponsored by