Tree
- Tree:
d71cf5918facca4088e9c4d3a1ec047e0455c5cb
- Date:
- Message:
- work around missing LOGIN_NAME_MAX Both Linux and OpenBSD have LOGIN_NAME_MAX available when including limits.h, FreeBSD, Darwin and possibly others don't. FreeBSD (and maybe Darwin) have MAXLOGNAME, so try to use that if available. Otherwise use _POSIX_LOGIN_NAME_MAX, but only has a fallback since it has a lower value (9 at the time of writing). If everything fails, use 32 which is what OpenBSD use by default; OpenSMTPd also defaults to it. (compat copied from kamid.)
README.md
# gmid website/capsule These are the sources for the gmid website and Gemini capsule. Unlike gmid itself, to build the site you'll need OpenBSD' make (on linux `bmake` *may* work.)