3 # Generate windows packages
10 ./unix2dos.pl ossec.conf > ossec-win.conf
11 ./unix2dos.pl help.txt > help_win.txt
12 ./unix2dos.pl ../../etc/internal_options.conf > internal_options-win.conf
13 ./unix2dos.pl ../../LICENSE > LICENSE.txt
14 ./unix2dos.pl ../../active-response/win/route-null.cmd > route-null.cmd
15 ./unix2dos.pl ../../active-response/win/restart-ossec.cmd > restart-ossec.cmd
17 # Going to the source dir
28 if [ "X${source}" = "X" ]; then
30 elif [ "X${dest}" = "X" ]; then
32 echo "cp -pr ${source} ${WINPKG}/${dest}"
33 cp -pr ${source} "${WINPKG}/${dest}"
35 echo "Error copying ${source} to ${WINPKG}/${dest}"
44 rm ${WINPKG}/os_crypto/md5/main.c
45 rm ${WINPKG}/os_crypto/blowfish/main.c
46 rm ${WINPKG}/os_crypto/sha1/main.c
47 rm ${WINPKG}/os_crypto/md5_sha1/main.c
48 rm ${WINPKG}/shared/rules_op.c