-
Notifications
You must be signed in to change notification settings - Fork 41
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
BSD support #94
BSD support #94
Conversation
(the most recent commit to bsd-support branch) to test[1]. The port builds fine and passes runtime tests. 1. CESNET/ipfixcol2#94 (comment)
Everything builds and runs fine on FreeBSD 14.0-STABLE as far as I was able to test. |
…on systems where it doesn't exist
…plicitly include cerrno
Co-authored-by: Michal Sedlak <[email protected]>
… does not exist on BSD
As is, the ipfixcol2 symbols wouldn't be getting exported and all plugins would fail with undefined reference errors when trying to access them.
…BSD compatible way
So far the daemon runs fine, log files are stored and readable, and the plugins which I was able to test seem to work fine. The port of libfds is ready for submission, but it will be nice to incorporate this patch[1] in future releases of this library if it won't break Linux builds. |
Thank you for your testing efforts, I appreciate it. We have been a bit too busy with other projects lately, but I am still keeping an eye on this. |
I just wanted to let you know, that after half a year, after a few rebuilds and updates of the underlying OS and software, the daemon still runs fine and does the job as intended. I still hope that BSD-related patches will get merged into the main branch and that a new release will be created, but if you don't plan to merge BSD patches soon, perhaps it's the right time to create a port for FreeBSD and base it on bsd-support branch, since the software is reliable and does the job fine. |
Thanks for the feedback, the fixes are now part of the main branch. |
Thank you for merging the branches. I will prepare the port for the FreeBSD ports tree and submit it next week, but it will be easier to base it on the tag instead of hooking it on the commit hash. Do you plan a new release soon? |
Thank you for your support. We have just released ipfixcol2 v2.6.0 and libfds v0.6.0 which include the necessary changes for BSD support. |
Thank you very much for your effort in making ipfixcol2 work under FreeBSD. By the end of the week, I will submit the PRs (problem reports) to introduce libfds and ipfixcol2 to the FreeBSD ports tree. I hope they will get accepted and committed soon. I will keep you updated. |
Two new ports have just officially entered the FreeBSD ports tree[1][2]. Now it's time to get ready for more bug reports ;-) |
Modifications to make ipfixcol2 buildable on BSD systems (tested on FreeBSD 15)
Building with Clang is recommended, as GCC seems to cause some issues