fix problem with umlaut in date string when pre-decoding the log message

only works for German months!
Fix the client status exit code to reflect the status of the ossec client processes.
Fix win32 OS detection

This starts to add support for 2012. Change the log message to be
more flexible with what it spits back out to the user after the
checkVista() function is run.

Although this helps with 2012 detection it is not perfect. With the
addition of Windows 8.1/2012 R2 the documentation provided by
Microsoft indicates that the GetVersionEx APIs have been deprecated.
This means that if you are on an 8.1 machine and run GetVersionEx it
will return the Windows 8 version (6.2.0.0). In order to get the
correct version you must target your application for Windows 8.1.

I am just trying to fix installations on 2012 and 2012 R2 so this
code works well enough for now but should be revisited at some point
so that it will work with future Windows versions.
Add to .gitignore

Added temporary vim files and left over files from patches being run.
Add better version handling to win32ui

The delimiter of just '-' (no spaces) was not as strict as it could
be making adding things like releases to the version file, 2.7.1-1
for example not possible. This makes the delimiter " - " (with spaces)
which allows for that type of flexibility.
Add install date to win32ui

This adds the install date to the lower right status area in the
win32ui. It also gets rid of the sizegrip that was getting added
by the status data area. It gave the impression that the window
could be resized which it can't. It also took up space in the
status area.
Fix win32 setup log message

When installing the win32 agent it does a call to checkVista() which
logs a message. The problem is no name is set so (null) is placed
where the executable name should be. This sets the name so that
the executable name is displayed instead of (null).
Fix permissions and privilege detection

When using the win32ui to change the server IP or import the
authentication key the permissions on ossec.conf and client.keys
were not set correctly resulting in any system user being able to
read the contents of these files.

This brought on some additional problems where the win32ui was unable
to properly detect if it was running with Administrative privileges.
The previous logic would attempt to read/write a .test file in the
OSSEC directory but thanks to a mixture of UAC redirection, an
unsigned binary and not requiring Administrative privileges these
tests would always pass. That means the win32ui would be able to run
without Administrative privileges.

This solution still isn't the best. It would be better if proper
win32 APIs were used to set permissions and determine if the win32ui
was started with the proper privileges. This is just an iterim
solution to get something out the door.
Fix comment in src/win32/ui/common.c
Free install_date pointer
Fix win32ui messages

These messages were a little all over the place with their style
and what they were saying. This my attempt at cleaning them up a
bit so they are a little more clear and cleaner in their presentation.
Merge pull request #1 from ossec/master

Pull in changes
Adding a new sshd rule for bad packet lengths
Merge pull request #105 from joshgarnett/master

Adding a new sshd rule for bad packet lengths
Merge pull request #95 from awiddersheim/add_to_gitignore

Add to .gitignore
Merge pull request #93 from pdrakeweb/client-status-exit-code

Fix the client status exit code
better way to fix the problem with umlaut in date string when pre-decoding the log message

still only works for German months!
Merge branch 'master' into fix-umlaute
Remove os_auth from win-files.txt

After commit 75a91043 the os_auth daemon no longer gets made during builds on NIX based systems so copying over the files is no longer necessary.
Merge pull request #99 from awiddersheim/fix_win32_setup_message

Fix win32 setup log message