aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ossec-hids/makefile.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-07-09 07:11:37 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-07-09 07:11:42 +0000
commit841a0b258509a745b79e279404ec092f5d50385c (patch)
tree00777c205393689807cbf8634632991163ad8ba2 /testing/ossec-hids/makefile.patch
parent119a7873e7af9ff2c7ddc0fbfdf59dd2c898c7bf (diff)
downloadaports-841a0b258509a745b79e279404ec092f5d50385c.tar.bz2
aports-841a0b258509a745b79e279404ec092f5d50385c.tar.xz
testing/ossec-hids: added agent, updated APKBUILD, fixes #10235
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 0000000000..e6fb7046fe
--- /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