Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349324 - net-libs/daq - "dev-libs/libdnet: Need pic USE flag to support IPQ and NFQ DAQ modules in Snort"
Summary: net-libs/daq - "dev-libs/libdnet: Need pic USE flag to support IPQ and NFQ DA...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-21 21:45 UTC by Bill B
Modified: 2011-09-27 20:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill B 2010-12-21 21:45:30 UTC
"The issue with Gentoo and the IPQ and NFQ DAQs is that the current
ebuild for libdnet does not compile with PIC so we get relocation
errors when we try to build those DAQs. We need to get the libdnet
package maintainer to roll a package with the PIC USE flag before I
can add IPQ and NFQ support to the DAQ ebuild."

Of the five DAQ types available for use, the IPQ and NFQ are closest to pre Snort 2.9 usage, but are not available due to the above.
Thanks


Reproducible: Always

Actual Results:  
Due to limitations of libdnet in this instance, the ebuild for DAQ (dependency of Snort) does not support IPQ and NFQ
Comment 1 Jason Wallace 2010-12-21 22:14:07 UTC
This is correct. IPQ and NFQ require libdnet to be built with PIC in order for these snort DAQ modules to be built.

I'll post some actual output later when I get back from vacation (~Jan 3).
Comment 2 Jason Wallace 2010-12-21 22:24:29 UTC
Per the README file in the latest DAQ tarball available on the Snort website:

<quote>
Also, libdnet is required for IPQ and NFQ DAQs.  If you get a relocation error
trying to build those DAQs, you may need to reinstall libdnet and configure it
with something like this:

    ./configure "CFLAGS=-fPIC -g -O2"
</quote>
Comment 3 Jason Wallace 2011-09-27 17:49:09 UTC
This can be closed. This issue was resolved with the daq-0.6.1 ebuild committed to portage last week.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-09-27 20:19:50 UTC
Thanks. Also, reassigning since the problem was fixed in daq, not libdnet.