Created attachment 250493 [details] improved FreeBSD compatibility Add GNU grep and GNU sed as optional dependency and use them (only) when found. This will fix some compatibility issues regarding syntas. Also the database test script is adapted to make it find the postgres DB's in default FreeBSD location.
Today the Lynis author suggested to fix this upstream making this freebsd portpatch obsolete. Still investigating that before I close this bug.
Thanks a lot, I'll have a look!
Database tests regarding PostgreSQL have been fixed upstream. GNU solution has been partly fixed upstream. But not in this release yet anyway, so for lynis portversion 3.1.1 I still regard this portpatch as applicable.