summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2012-10-09 00:32:28 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2012-10-09 00:32:28 +0200
commitee5833d1ebde36a016418810009d313a2438bf0b (patch)
treeef1b8eaceb0484b991ab030c1eea3c08ab1d7f28
parent36b46912bbd2d5f8e2544f56e536f536a6405f32 (diff)
downloadeurephia-ee5833d1ebde36a016418810009d313a2438bf0b.tar.gz
eurephia-ee5833d1ebde36a016418810009d313a2438bf0b.tar.xz
eurephia-ee5833d1ebde36a016418810009d313a2438bf0b.zip
SQLite: Move default installation path from /etc/openvpn to /var/lib/eurephia
Using /var/lib is more appropriate for the kind of database file eurephia uses and will also avoid other security restrictions on hardened installations as well. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
-rwxr-xr-xconfigure2
-rw-r--r--database/sqlite/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 1759944..287be22 100755
--- a/configure
+++ b/configure
@@ -33,7 +33,7 @@ EUREPHIADM_XSLT="${XSLTPATH}/eurephiadm"
EUREPHIADM_XSLT_SET=0
MANDIR="${PREFIX}/share/man"
MANDIR_SET=0
-SQLITE3PREFIX="/etc/openvpn"
+SQLITE3PREFIX="/var/lib/eurephia"
#
# Misc functions
diff --git a/database/sqlite/CMakeLists.txt b/database/sqlite/CMakeLists.txt
index 4034a78..a0a2dc8 100644
--- a/database/sqlite/CMakeLists.txt
+++ b/database/sqlite/CMakeLists.txt
@@ -23,7 +23,7 @@ INCLUDE(CheckIncludeFile)
INCLUDE(CheckLibraryExists)
# Parameters the SQLite3 driver needs
-SET(SQLITE3PREFIX "/etc/openvpn" CACHE STRING "Install prefix for the eurephia SQLite3 database")
+SET(SQLITE3PREFIX "/var/lib/eurephia" CACHE STRING "Install prefix for the eurephia SQLite3 database")
#
# Check for the SQLite3 library