projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 2.7
[ossec-hids.git]
/
src
/
Makeall
diff --git
a/src/Makeall
b/src/Makeall
index
f129cb4
..
71a11c6
100755
(executable)
--- a/
src/Makeall
+++ b/
src/Makeall
@@
-40,7
+40,7
@@
LIBS="os_xml os_regex os_net os_crypto"
# Shares sources
SOURCES="shared config"
# Binaries
# Shares sources
SOURCES="shared config"
# Binaries
-BINARIES="os_maild os_dbd os_csyslogd agentlessd os_execd analysisd logcollector remoted client-agent addagent util rootcheck syscheckd monitord"
+BINARIES="os_maild os_dbd os_csyslogd agentlessd os_execd analysisd logcollector remoted client-agent addagent util rootcheck syscheckd monitord os_auth"
ROOTCHECKBIN="rootcheck"
DIRECTORIES="" # Directories to make
ROOTCHECKBIN="rootcheck"
DIRECTORIES="" # Directories to make
@@
-63,14
+63,21
@@
if [ "X${ARGV}" = "Xall" -o "X${ARGV}" = "Xrootcheck" -o "X${ARGV}" = "Xlibs" ];
ls /usr/include/openssl/opensslconf.h > /dev/null 2>&1
if [ $? = 0 ]; then
echo "DEXTRA=-DUSE_OPENSSL" >> Config.OS
ls /usr/include/openssl/opensslconf.h > /dev/null 2>&1
if [ $? = 0 ]; then
echo "DEXTRA=-DUSE_OPENSSL" >> Config.OS
+ echo "OPENSSLCMD=-lssl -lcrypto" >> Config.OS
fi
# Checking for inotify
if [ "X$OS" = "XLinux" ]; then
fi
# Checking for inotify
if [ "X$OS" = "XLinux" ]; then
- ls /usr/include/sys/inotify.h > /dev/null 2>&1
- if [ $? = 0 ]; then
+ #ls /usr/include/sys/inotify.h > /dev/null 2>&1
+ #if [ $? = 0 ]; then
+ # echo "EEXTRA=-DUSEINOTIFY" >> Config.OS
+ #fi
+
+ if [ -e /usr/include/sys/inotify.h ]; then
echo "EEXTRA=-DUSEINOTIFY" >> Config.OS
echo "EEXTRA=-DUSEINOTIFY" >> Config.OS
- fi
+ elif [ -e /usr/include/x86_64-linux-gnu/sys/inotify.h ]; then
+ echo "EEXTRA=-DUSEINOTIFY" >> Config.OS
+ fi
fi
fi