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)
Tue, Apr 21, 12:09 AM
Unknown Object (File)
Sun, Apr 19, 3:52 AM
Unknown Object (File)
Sat, Apr 18, 10:28 AM
Unknown Object (File)
Thu, Apr 16, 8:44 PM
Unknown Object (File)
Wed, Apr 15, 11:13 AM
Unknown Object (File)
Sat, Apr 11, 4:17 PM
Unknown Object (File)
Mon, Mar 30, 8:15 AM
Unknown Object (File)
Mar 22 2026, 7:27 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
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