# 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
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
- 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
- fi
+ elif [ -e /usr/include/x86_64-linux-gnu/sys/inotify.h ]; then
+ echo "EEXTRA=-DUSEINOTIFY" >> Config.OS
+ fi
fi