Refactoring calendar(1) (was: svn commit: r365984 - head/usr.bin/calendar/calendars)

Greg Balfour greg.bal4 at gmail.com
Mon Sep 28 04:25:34 UTC 2020


On Thu, Sep 24, 2020 at 09:07:08AM +1000, Greg 'groggy' Lehey wrote:
>
> While I have your attention, does anybody think that the -a option of
> calendar(1) is worth keeping?  It goes through *all* calendar files on
> a system and mails them to the owner.  It has the interesting side
> effect (we wouldn't want to call it a bug) that root gets three copies
> (one each for root, toor and daemon).  I can't see anything useful
> there that a per-user cron job can't do.

I actually use the -a option.  But it hasn't fully worked since 10.0-RELEASE.
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205580
Still present in 12.2-BETA2.

I maintain a local set of patches that solves this bug, but it requires the
installation of the tradcpp port/package so I've never shared them, but
would if someone wants them.


More information about the freebsd-arch mailing list