Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
A kind email reached me (not naming names here unless they want to claim credit) suggesting a ./configure test that defines HAVE_PLEDGE, and then wrapping the pledge() invocation in that #ifdef HAVE_PLEDGE check, pointing me at rpki-client-portable as an example of this pattern.
It looks like this is the same check for pledge/define HAVE_PLEDGE/guard the pledge invocation pattern is used in Brian Callahan's OpenED portable version of OpenBSD's ed(1).
You can use oconfigure for that, and many other OpenBSD-related tests and shims.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.