Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 645542

Summary: net-libs/pf_ring-7.0.0 [new package] library used for fast packet inspection
Product: Gentoo Linux Reporter: Wojciech Myrda <vojcek>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pf_ring-7.0.0.ebuild
pf_ring.patch
pf_ring-7.0.0.ebuild

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