Tree
- Tree:
0b9df7b7c33e1258af78e4d81198e9890df32fca
- 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. See also github issue #1
README.md
# kamid site These are the sources for the website and the gemini capsule. Unlike kamid itself, you need some sort of BSD make to actually build them. `bmake` probably works, dunno, I'm targetting OpenBSD' `make(1)`.