summarylogtreecommitdiffstats
path: root/patch-makefile.patch
blob: e3f15a6b9628b4cb03e0732c2fead513d05dbe8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
diff --git a/src/Makefile b/src/Makefile
index 1a3c9bd..b2ddfb1 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -22,13 +22,13 @@ 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
 USE_GEOIP?=no
-USE_INOTIFY=no
+USE_INOTIFY=yes
 USE_PCRE2_JIT=yes
 
 ifneq (${TARGET},winagent)
@@ -399,7 +399,6 @@ install-hybrid: install-server-generic
 install-server: install-server-generic
 
 install-common: build
-	./init/adduser.sh ${OSSEC_USER} ${OSSEC_USER_MAIL} ${OSSEC_USER_REM} ${OSSEC_GROUP} ${PREFIX}
 	$(call INSTALL_CMD,0550,root,${OSSEC_GROUP}) -d ${PREFIX}/
 	$(call INSTALL_CMD,0750,${OSSEC_USER},${OSSEC_GROUP}) -d ${PREFIX}/logs
 	$(call INSTALL_CMD,0660,${OSSEC_USER},${OSSEC_GROUP}) /dev/null ${PREFIX}/logs/ossec.log
@@ -1254,7 +1253,7 @@ ossec-makelists: analysisd/makelists-live.o ${analysisd_live_o} ${format_o} aler
 #### test ##########
 ####################
 
-CFLAGS_TEST = -g -O0 --coverage
+CFLAGS_TEST = -g -O0
 
 LDFLAGS_TEST = -lcheck -lm -pthread -lrt -lsubunit
 
@@ -1265,7 +1264,7 @@ endif #TEST
 
 test_programs = test_os_zlib test_os_xml test_os_regex test_os_crypto test_shared
 
-.PHONY: test run_tests build_tests test_valgrind test_coverage
+.PHONY: test run_tests build_tests test_valgrind
 
 test: build_tests
 	${MAKE} run_tests