aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ossec-hids/makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ossec-hids/makefile.patch')
-rw-r--r--testing/ossec-hids/makefile.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/ossec-hids/makefile.patch b/testing/ossec-hids/makefile.patch
new file mode 100644
index 00000000000..e6fb7046fea
--- /dev/null
+++ b/testing/ossec-hids/makefile.patch
@@ -0,0 +1,24 @@
+diff --git a/src/Makefile b/src/Makefile
+index b684b82..3414312 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -12,7 +12,7 @@ LUA_ENABLE?=no
+ MAXAGENTS?=2048
+ REUSE_ID?=no
+ # XXX Becareful NO EXTRA Spaces here
+-PREFIX?=/var/ossec
++PREFIX=$(DESTDIR)/var/ossec
+ PG_CONFIG?=pg_config
+ MY_CONFIG?=mysql_config
+ PRELUDE_CONFIG?=libprelude-config
+@@ -22,8 +22,8 @@ OSSEC_USER_MAIL?=ossecm
+ OSSEC_USER_REM?=ossecr
+
+ INSTALL_CMD?=install -m $(1) -o $(2) -g $(3)
+-INSTALL_LOCALTIME?=yes
+-INSTALL_RESOLVCONF?=yes
++INSTALL_LOCALTIME=no
++INSTALL_RESOLVCONF=no
+
+ USE_PRELUDE?=no
+ USE_ZEROMQ?=no