ossec-hids: make.sh (NEW) [dcid]

8 views
Skip to first unread message

OSSEC CVS

unread,
Jun 12, 2009, 10:25:00 AM6/12/09
to osse...@ossec.net

Module name: ossec-hids
Changes by: dcid 09/06/12 11:24:58

Added files:
make.sh

Log message:
Description: Adding make to compile Windows from Linux.
Reviewed by: dcid
Bug:

--- NEW FILE: make.sh ---
echo Making windows agent

i586-mingw32msvc-windres -i icofile.rc -o icon.o
i586-mingw32msvc-gcc -o ossec-agent.exe -Wall -DARGV0=\"ossec-agent\" -DCLIENT -DWIN32 -DOSSECHIDS icon.o os_regex/*.c os_net/*.c os_xml/*.c zlib-1.2.3/*.c config/*.c shared/*.c os_execd/*.c os_crypto/blowfish/*.c os_crypto/md5/*.c os_crypto/sha1/*.c os_crypto/md5_sha1/*.c os_crypto/shared/*.c rootcheck/*.c *.c -Iheaders/ -I./ -lwsock32
i586-mingw32msvc-gcc -o ossec-rootcheck.exe -Wall -DARGV0=\"ossec-rootcheck\" -DCLIENT -DWIN32 icon.o os_regex/*.c os_net/*.c os_xml/*.c config/*.c shared/*.c win_service.c rootcheck/*.c -Iheaders/ -I./ -lwsock32
i586-mingw32msvc-gcc -o manage_agents.exe -Wall -DARGV0=\"ossec-agent\" -DCLIENT -DWIN32 -DMA os_regex/*.c zlib-1.2.3/*.c os_zlib.c shared/*.c os_crypto/blowfish/*.c os_crypto/md5/*.c os_crypto/shared/*.c addagent/*.c -Iheaders/ -I./ -lwsock32
i586-mingw32msvc-gcc -o setup-windows.exe -Wall os_regex/*.c -DARGV0=\"setup-windows\" -DCLIENT -DWIN32 win_service.c shared/file_op.c shared/debug_op.c setup/setup-win.c setup/setup-shared.c -Iheaders/ -I./ -lwsock32
i586-mingw32msvc-gcc -o setup-syscheck.exe -Wall os_regex/*.c os_xml/*.c setup/setup-syscheck.c setup/setup-shared.c -I./ -Iheaders/
i586-mingw32msvc-gcc -o service-start.exe -Wall icon.o os_regex/*.c setup/service-start.c -I./
i586-mingw32msvc-gcc -o service-stop.exe -Wall os_regex/*.c setup/service-stop.c -I./
i586-mingw32msvc-gcc -o setup-iis.exe -Wall os_regex/*.c setup/setup-iis.c -I./
i586-mingw32msvc-gcc -o add-localfile.exe -Wall os_regex/*.c setup/add-localfile.c -I./

cd ui
sh ./make.sh

makensis ui.nsi
makensis ossec-installer.nsi

OSSEC CVS

unread,
Jun 12, 2009, 10:34:06 AM6/12/09
to osse...@ossec.net
Module name: ossec-hids
Changes by: dcid 09/06/12 11:34:04

Modified files:
make.sh win-files.txt

Log message:
Description: A few more fixes for Windows cross-compilation.
Reviewed by: dcid
Bug:

Index: make.sh
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/win32/make.sh,v
diff -u -r1.1 -r1.2
--- make.sh 12 Jun 2009 14:24:57 -0000 1.1
+++ make.sh 12 Jun 2009 14:34:03 -0000 1.2
@@ -13,6 +13,7 @@

cd ui
sh ./make.sh
+cd ../

makensis ui.nsi
makensis ossec-installer.nsi

Index: win-files.txt
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/win32/win-files.txt,v
diff -u -r1.34 -r1.35
--- win-files.txt 12 Jun 2009 14:24:17 -0000 1.34
+++ win-files.txt 12 Jun 2009 14:34:03 -0000 1.35
@@ -65,6 +65,7 @@
win32/service-stop.c setup/service-stop.c
win32/LICENSE.txt LICENSE.txt
win32/route-null.cmd route-null.cmd
+win32/restart-ossec.cmd restart-ossec.cmd
win32/favicon.ico favicon.ico
win32/icofile.rc icofile.rc
win32/ui ui

Reply all
Reply to author
Forward
0 new messages