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)
Mon, Nov 17, 8:53 PM
Unknown Object (File)
Tue, Oct 28, 12:20 PM
Unknown Object (File)
Fri, Oct 24, 9:54 PM
Unknown Object (File)
Oct 20 2025, 2:33 AM
Unknown Object (File)
Oct 19 2025, 7:40 AM
Unknown Object (File)
Oct 18 2025, 11:27 AM
Unknown Object (File)
Oct 13 2025, 12:40 PM
Unknown Object (File)
Oct 13 2025, 12:40 PM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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