Bugzilla – Bug 947
lib/eventlog/eventlog.c uses _PATH_SUDO_SENDMAIL unconditionally
Last modified: 2020-12-17 15:00:12 MST
Hi! Sudo 1.9.4 can no longer be built without ‘--with-sendmail’ or with ‘--without-sendmail’: ./eventlog.c:94:5: error: ‘_PATH_SUDO_SENDMAIL’ undeclared here (not in a function); did you mean ‘_PATH_SENDMAIL’? _PATH_SUDO_SENDMAIL, /* mailerpath */ ^~~~~~~~~~~~~~~~~~~ _PATH_SENDMAIL make[1]: *** [Makefile:218: eventlog.lo] Error 1 Like plugins/sudoers/defaults.c, lib/eventlog/eventlog.c should guard against this with an #ifdef _PATH_SUDO_SENDMAIL. Thanks for sudo! T
Thanks for the report, fixed by https://www.sudo.ws/repos/sudo/rev/41db1aad85bb
Fixed in sudo 1.9.4p1