snort/snort.patch

Fri, 07 Sep 2012 19:08:07 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 07 Sep 2012 19:08:07 +0200
changeset 667
9dacbd1d1aa2
permissions
-rw-r--r--

Correct build configuration in Solaris subdir, correct english grammar,
remove irrelevant strip notice, introduce custom CFLAG logic, facilitate
use of Solaris Studio compiler with needed build configuration
adjustments, conditionally build 64 bit position independent code,
and accommodate tun(7) in newer Solaris releases by renaming driver
and module from conflicting 'tun' to 'vtun'. These changes include
some nonstandard 'I give up' logic causing out of tree builds by
manipulating the PATH, for example.

     1 Index: src/snort.h
     2 --- src/snort.h.orig	2009-09-14 21:12:14 +0200
     3 +++ src/snort.h	2009-09-19 09:27:59 +0200
     4 @@ -92,7 +92,7 @@
     5  #define RF_ANY_FLAGS  0x20
     7  #ifndef WIN32
     8 -# define DEFAULT_LOG_DIR            "/var/log/snort"
     9 +# define DEFAULT_LOG_DIR            "@l_prefix@/var/snort"
    10  # define DEFAULT_DAEMON_ALERT_FILE  "alert"
    11  #else
    12  # define DEFAULT_LOG_DIR            "log"

mercurial