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)
Thu, Aug 14, 8:39 PM
Unknown Object (File)
Thu, Aug 14, 8:02 AM
Unknown Object (File)
Sat, Aug 9, 3:36 AM
Unknown Object (File)
Thu, Aug 7, 4:20 AM
Unknown Object (File)
Tue, Jul 29, 11:59 AM
Unknown Object (File)
Sun, Jul 27, 3:48 PM
Unknown Object (File)
Jul 10 2025, 9:02 PM
Unknown Object (File)
Jul 4 2025, 10:03 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
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