Minor bugfix and improvement

Bumped revision to 313

Fix: Enable compilation without error with --enable-ipv6

Fix to spo_syslog_full
Fix: operation_mode parsing (strcasecmp return value)
Fix: defined values (literals instead of 0 and 1) for clarity.
Fix: in complete mode used a } instead of a ] at one place in a output
literal.
Fix: Check for input data in spo_database.c where revision is 0, we do
not log and we print messages
Modified: Replaced WARNING database by INFO database so people are less
alarmed when those pop-up.
Version 2-1.11
Bumped: revision to 315

Fix: enable alert-on-each-packet-in-stream by default, to disable use
     --disable-alert-on-each-packet-in-stream or use
     config disable_alert_on_each_packet_in_stream

Fix: spo_database.c:
      Was never resolved shared object (SO_RULE) signature message.

Fix: Call to GetSigByGidSid now use event revision and generate correct
     Snort Alert [gid:sid:rev] messages.

Fix: spo_syslog_full
     i)  operation_mode complete display ip in doted notation instead
         of host alligned integers for alert_ and log_
     ii) Signature will also by default be prefixed with
         [gid:sid:rev] block
     iii) missing break statement that was causing the output plugin to
          output ALERT AND LOG in complete mode.
updated: platypus plugin renamed to echidna and aligned to the new command and sumbmission protocols.
fixed: add revision param to signature retrieval.
Update spec file (see Feb 2 2012 spec changelog)
Fix staged installs - use DESTDIR.
Added a .gitignore file.

The barnyard2 repo sources exclude all of the files which result from the
run of autogen.sh which is necessary before compilation. As a result,
'git status' is cluttered with automatically generated files. The included
.gitgnore file lets git ignore all those intermediates.

Signed-off-by: Thorsten Fischer <thorsten@froschi.org>
Update Sguil output plugin (spo_sguil.c) to pull ip information from the event data if a packet does not exist for the event
Add code to check return value from unlink()

This patch adds a check to the unlink() call made in util.c, which is
not currently done.  If the return value isn't zero, an error in
unlinking or removing the file has occurred.  This new code adds the
proper check, though I don't know if you want to add a different return
value in case unlink() fails.
alert_unixsock: Allow the path to be configured. Move the configuration into
the structure created for it.
alert_unixsock: Get rid of global alertaddr by connecting to the socket at
startup.  This should allow multiple sockets to be used at the same time.
This also checks the socket name, whereas previously incorrect filenames
were simply ignored.
alert_unixsock: Improve some error messages so it's clear which module they came from.
alert_unixsock: Add a sync mode, which requires the remote end to
acknowledge receipt.  This means in sync mode it requires a SOCK_SEQPACKET
type socket instead of plain SOCK_DGRAM.  It also complains about failures
during sending.
fixed: conflict when cherry picking #51
Add call to PQPing() in dbConnectionStatusPOSTGRESQL()
to fix an issue where the kernel does not tell libpq that the socket is dead.