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
F132616916: D35874.id108391.diff
Sat, Oct 18, 11:27 AM
Unknown Object (File)
Mon, Oct 13, 12:40 PM
Unknown Object (File)
Mon, Oct 13, 12:40 PM
Unknown Object (File)
Mon, Oct 13, 12:40 PM
Unknown Object (File)
Mon, Oct 13, 12:05 AM
Unknown Object (File)
Mon, Oct 6, 4:59 AM
Unknown Object (File)
Sep 2 2025, 9:37 PM
Unknown Object (File)
Aug 22 2025, 11:08 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