Am 18.10.22 um 11:57 schrieb Stuart Henderson:
On 2022/10/16 14:51, Alexander A. Klimov wrote:
Hello OpenBSD devs!
Hello Michel!
I'd like OpenBSD to have a package of Michel's software "F3".
https://github.com/AltraMayor/f3
Today I checked out the snapshot ports tree, but didn't find F3 even there,
nor anything in the ports@ archive.
Is anyone of you (going to) porting it in the near future?
If no, I'm gonna give it a try.
I'm looking forward to hear from you.
Best,
A/K
I've attached a skeleton port for it, but it needs more work, OpenBSD
doesn't have posix_fadvise() or clock_nanosleep().
There is some code to emulate posix_fadvise for MacOS but it uses various
fcntl(2) commands that we don't have.
As you already mentioned, F3 includes MacOS support which emulates
missing stuff present on other *nixes. I've submitted patches which do
the same for OpenBSD:
https://github.com/AltraMayor/f3/pull/186
Ideally Michel accepts them and I'll continue with the Security
Recommendations of the Porting Guide.