UPDATE: net/snort 2.9.16

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

UPDATE: net/snort 2.9.16

Lawrence Teo-7
This updates Snort to 2.9.16.

https://blog.snort.org/2020/04/snort-29160-has-been-released.html

Upstream has a daq 2.0.7 release too, where the only change is the
addition of a daq.vcxproj file for 64-bit Windows.  But their distfile
still ships with the configure script generated for daq-2.0.6, causing
the build to fail.  I think they did not generate a new configure from
the 2.0.7 configure.ac.

However, for our purposes there is no functional change between
daq-2.0.6 and daq-2.0.7, so I did not spend too much time trying to make
it work since snort-2.9.16 builds and runs just fine with daq-2.0.6.

ok?

snort-2.9.16.diff (21K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: net/snort 2.9.16

Stuart Henderson
On 2020/05/18 23:52, Lawrence Teo wrote:
>  lib/pkgconfig/snort.pc
>  lib/snort_dynamicengine/
> -lib/snort_dynamicengine/libsf_engine.a
> +@static-lib lib/snort_dynamicengine/libsf_engine.a
>  @comment lib/snort_dynamicengine/libsf_engine.la
> -lib/snort_dynamicengine/libsf_engine.so
> +@so lib/snort_dynamicengine/libsf_engine.so

Just noticed this in the diff - are these static libraries doing anything
useful? These look like they should just be dlopen() modules which could
be dropped with LIBTOOL_FLAGS=--tag=disable-static.

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: net/snort 2.9.16

Lawrence Teo-7
On Thu, May 21, 2020 at 11:06:19AM +0100, Stuart Henderson wrote:

> On 2020/05/18 23:52, Lawrence Teo wrote:
> >  lib/pkgconfig/snort.pc
> >  lib/snort_dynamicengine/
> > -lib/snort_dynamicengine/libsf_engine.a
> > +@static-lib lib/snort_dynamicengine/libsf_engine.a
> >  @comment lib/snort_dynamicengine/libsf_engine.la
> > -lib/snort_dynamicengine/libsf_engine.so
> > +@so lib/snort_dynamicengine/libsf_engine.so
>
> Just noticed this in the diff - are these static libraries doing anything
> useful? These look like they should just be dlopen() modules which could
> be dropped with LIBTOOL_FLAGS=--tag=disable-static.
Thank you for the note.  Here's a new diff that drops those static
libraries with the LIBTOOL_FLAGS you suggested.  As far as I can tell
from my tests, those static libraries are not needed.

snort-2.9.16-20200522-0116.diff (20K) Download Attachment