snort/snort.patch

Tue, 28 Aug 2012 18:35:40 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 28 Aug 2012 18:35:40 +0200
changeset 575
6e491d7671a4
permissions
-rw-r--r--

Update version, modernize packaging, accommodate libevent version 2 opaque
evbuffer datatype, port Linux style flock(2) to SVR4, include correct
non BSD and non SVR4 headers in DNS and resolving logic, correctly
include a arc4random(3) implementation for platforms lacking it,
conditionally implement the nonstandard MIN(a,b) macro, and use
parallel make for faster SMP and multicore builds.

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

mercurial