-
Notifications
You must be signed in to change notification settings - Fork 1
Zeek 6.0 compatibility and updates #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This is the version taken straight from the zeek-aux repository.
This is needed for Zeek 6.1 and later.
This has been the suggested way for plugins to do since Zeek 3.2. Closes napatech#1
Generally, using `zeek-config` from an installation tree should be preferred if possible.
Squelches the following warning: CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (NAPATECH) does not match the name of the calling package (Napatech). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindNapatech.cmake:31 (find_package_handle_standard_args) CMakeLists.txt:7 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.
|
Hi @awelzel, Thanks for taking your time to work on this, and yes it does work now. The only issue still is that you cant use zkg to install the package as for whatever reason, it still configures the package with old --bro-dist option. However this is not related to this project but rather zkg itself. Thank you for this ! |
94afd9f to
ed9d578
Compare
Do not use --bro-dist (or --zeek-dist), but do allow the user to configure the Napatech installation directory.
ed9d578 to
30805b3
Compare
I've pushed a follow-up to remove the |
@stachdude - could you see if these changes work for you? I do not have a Napatech card readily available, but downloading/installing the SDK compiles and loads it at least for me against the latest Zeek master branch:
Hope you can figure out the rest :-)
Main part are the include paths, but I updated some of the configure/build infrastructure. See the individual commits.