I've seen some strange new dependencies upon an emerge rsync, but this one doesn't even make sense. liblockfile maybe, but mailx? Why does a log rotator need a graphical mail client? Or for that matter even if it did require it, why would it be important enough to be required by default? This may seem like a silly little thing, but it contributes to bloat, and getting away from bloat is one of gentoo's biggest draws.
http://packages.debian.org/unstable/admin/logrotate.html Check that out. IF you have a work-around, please do let me know
Now that's unsettling. Sorry, but I don't have a workaround to the logrotate developers being on crack at this time. :-P I wonder if the dependency can be disabled/stripped out...
Target, do me a favour and unmerge mailx, then create a symlink /bin/mail to point to /usr/bin/mail which should be provided by ssmtp or postfix or something, and see if it works. If it does, we're in busines.
I didn't have mailx to begin with, but I also don't have a /usr/bin/mail. Would it care if it's just a symlink to a dummy file?
well, as far as I know, logrotate likes to e-mail reports to the system administrator. Please have a look closely to see if it is an optional thing, but I doubt it. I will also have a look.
It bears noting that I've never had mailx (or any mail program for that matter) linked to /bin/mail or /usr/bin/mail, and logrotate has never sent me email for any reason. I'd figure the mailing feature can be and has been disabled in previous versions, or it just doesn't do anything if you don't have mailx. That's fine with me, though. Is there a -mailx USE switch?
I'm not sure about the USE flag. Exploring existing ones to see if any are applicable. but the -r1 release has no dependency on mailx, just a note in pkg_setup()
mailx is not a GUI mail client. It's a version of the BSD command line mail app.. blutgens@athlon blutgens $ emerge search mailx [ Results for search key : mailx ] [ Applications found : 1 ] * net-mail/mailx Latest version Available: 8.1.1.11 Latest version Installed: [ Not Installed ] Homepage: http://www.debian.org Description: The /bin/mail program, which is used to send mail via shell scripts. Just install the silly thing, it's teeny. The DEPEND stays.