I wasn't interested on depending on mailx just because of a script so I decided to hack up something around it.
Created attachment 147893 [details, diff]
let me start by an ebuild patch. It features some cosmetic changes and notably goes back to using use_enable and use_with thanks to my next patch.
Created attachment 147894 [details, diff]
Here is the configure patch making previous use of use_enable and use_with possible. It makes the ebuild readable again ;)
Created attachment 147896 [details]
the complete aide.cron script modified to not depend on mailx but rather the commonly found sendmail interface (which I use with the default ssmtp on gentoo).
You might want to check what provides tempfile though but other than that, I think it's really an improvment over the original script. I've been using it daily for months.
Created attachment 147897 [details, diff]
and finally the aide.cron patch against the in tree version if you feel to give easier review :)
Hope this makes sense and TIA for reviewing this stuff.
in cvs except cron setting.