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 ../../etc/local_internal_options-win.conf > local_internal_options-win.conf
14 ./unix2dos.pl ../../LICENSE > LICENSE.txt
15 ./unix2dos.pl ../../active-response/win/route-null.cmd > route-null.cmd
16 ./unix2dos.pl ../../active-response/win/restart-ossec.cmd > restart-ossec.cmd
18 # Going to the source dir
29 if [ "X${source}" = "X" ]; then
31 elif [ "X${dest}" = "X" ]; then
33 echo "cp -pr ${source} ${WINPKG}/${dest}"
34 cp -pr ${source} "${WINPKG}/${dest}"
36 echo "Error copying ${source} to ${WINPKG}/${dest}"
44 # Final cleanup, -f will ignore if files do not exist
45 rm -f ${WINPKG}/os_crypto/md5/main.c
46 rm -f ${WINPKG}/os_crypto/blowfish/main.c
47 rm -f ${WINPKG}/os_crypto/sha1/main.c
48 rm -f ${WINPKG}/os_crypto/md5_sha1/main.c
49 rm -f ${WINPKG}/shared/rules_op.c