Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
snort292
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 23
[-]
[+]
Changed
snort.spec
@@ -61,6 +61,8 @@ %define ipv6spp 0 %{?_with_ipv6spp:%define ipv6spp 1} +%define debug 0 +%{?_with_debug:%define debug 1} # If not inline then we'll conflict with it %define conflicts snort-inline @@ -99,6 +101,7 @@ %define mysql 1 %define postgresql 1 %define ipv6spp 1 + %define debug 1 %define release 1 %endif @@ -324,6 +327,9 @@ CFLAGS="$RPM_OPT_FLAGS" export AM_CFLAGS="-g -O2" SNORT_BASE_CONFIG="--prefix=%{_prefix} \ + %if %{debug} + --enable-gdb --enable-debug --enable-debug-msgs \ + %endif --bindir=%{_sbindir} \ --sysconfdir=%{_sysconfdir}/snort \ --with-libpcap-includes=%{_includedir} \