Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645542 - net-libs/pf_ring-7.0.0 [new package] library used for fast packet inspection
Summary: net-libs/pf_ring-7.0.0 [new package] library used for fast packet inspection
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-24 08:34 UTC by Wojciech Myrda
Modified: 2018-01-25 08:37 UTC (History)
0 users

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


Attachments
pf_ring-7.0.0.ebuild (pf_ring-7.0.0.ebuild,807 bytes, text/plain)
2018-01-24 08:34 UTC, Wojciech Myrda
Details
pf_ring.patch (pf_ring.patch,628 bytes, patch)
2018-01-24 08:37 UTC, Wojciech Myrda
Details | Diff
pf_ring-7.0.0.ebuild (pf_ring-7.0.0.ebuild,963 bytes, text/plain)
2018-01-25 08:37 UTC, Wojciech Myrda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech Myrda 2018-01-24 08:34:46 UTC
Created attachment 516314 [details]
pf_ring-7.0.0.ebuild

Package is required for packages such as suricata for faster package inspection.
Ebuild itself depends on https://bugs.gentoo.org/366609 which installs appropriate kernel module

I did not know how to fix it for the package to respect user CFLAGS, but other than that it should be ready for the tree as libdir is fixed.
Comment 1 Wojciech Myrda 2018-01-24 08:37:22 UTC
Created attachment 516316 [details, diff]
pf_ring.patch

Fix for hardcoded libdir. Also removes installation of static module. I did not stop generation of static library at compile time as for some reason shared library depended on it at compile and failed without it.
Comment 2 Wojciech Myrda 2018-01-25 08:37:29 UTC
Created attachment 516520 [details]
pf_ring-7.0.0.ebuild

Standard installation script does not create symlink which is required for suricata to start. New ebuild fixes that