Page MenuHomeFreeBSD

check/delete-old: Fix /bin/rmail removal condition
ClosedPublic

Authored by dchagin on Jul 21 2022, 4:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 22, 7:27 AM
Unknown Object (File)
Wed, Mar 18, 5:23 AM
Unknown Object (File)
Fri, Mar 6, 3:55 PM
Unknown Object (File)
Feb 11 2026, 6:24 AM
Unknown Object (File)
Feb 8 2026, 4:37 AM
Unknown Object (File)
Feb 8 2026, 12:03 AM
Unknown Object (File)
Jan 31 2026, 11:03 AM
Unknown Object (File)
Jan 14 2026, 10:56 AM
Subscribers

Details

Summary

When WITHOUT_SENDMAIL is enabled and WITHOUT_MAILWRAPPER is disabled
we install /bin/rmail as a link to the /usr/sbin/mailwrapper.
Ensure make delete-old does not unlink /bin/rmail in that case.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46503
Build 43392: arc lint + arc unit

Event Timeline

corresponding case in usr.sbin/mailwrapper/Makefile

.if ${MK_MAILWRAPPER} != "no" && ${MK_SENDMAIL} == "no"
SYMLINKS+=      ..${BINDIR}/mailwrapper /bin/rmail
.endif
This revision is now accepted and ready to land.Jul 21 2022, 4:26 PM