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, May 17, 10:47 PM
Unknown Object (File)
Sun, May 17, 10:47 PM
Unknown Object (File)
Sun, May 17, 10:34 PM
Unknown Object (File)
Mon, May 11, 4:45 PM
Unknown Object (File)
Fri, May 8, 7:59 PM
Unknown Object (File)
Wed, May 6, 1:20 AM
Unknown Object (File)
Fri, May 1, 9:48 PM
Unknown Object (File)
Wed, Apr 29, 3:31 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