And here we have the more interesting patch. There are tons of useflags here, as this ebuild is quite big. As for a general notice, here you can disable lpr bind and sendmail to being built. If you disable lpr or sendmail you get your virtual "freed" to install other things like cups or whatever you want. The sendmail dependency on mailbase is for completeness, as every other mta usually depends on it. However, this creates a problem: root@defiant flame # equery b /etc/mail/aliases [ Searching for file(s) /etc/mail/aliases in *... ] net-mail/mailbase-0.00-r8 (/etc/mail/aliases) sys-apps/freebsd-baselayout-0.2-r1 (/etc/mail/aliases) baselayout should drop /etc/mail/aliases. Also if they are the freebsd-specific, mailbase has the gentoo standards ones, eventual misses should be addressed directly in mailbase package, at least to be consistent with gentoo linux. This package also has cron in it (vixie cron to be correct), so I hacked a bit also it. Now it adds a init rcscript called freebsd-cron, and it uses /var/spool/cron instead of just /var/cron (as vixie-cron does on gentoo linux). It also adds a new crontab, which satisfy it dependency on cronbase (as for gentoo linux), which allows /etc/cron.* dirs to be executed as needed. Here we have two problems, the first one is with freebsd-baselayout: root@defiant flame # equery b /etc/crontab [ Searching for file(s) /etc/crontab in *... ] sys-apps/freebsd-usbin-5.3-r1 (/etc/crontab) sys-apps/freebsd-baselayout-0.2-r1 (/etc/crontab) it should drop crontab, as it's usbin now to provide it. The second one is that freebsd has already something like our run-crons (called periodic). Also if not 100% compatible (it misses hourly for example), I think i'll try to implement some kind of "bridge" between them, so that we need only one of those.. maybe a port of periodic under linux could help, as it seems cleaner for me. FWIW, macos also has periodic. And last but not least, this patch also fixes problems with bogus links into /var/tmp/portage and in portage overlay :) HTH, Diego
Created attachment 53219 [details, diff] freebsd-usbin patch
Created attachment 53622 [details, diff] Updated freebsd-usbin patch
I've talked to spb on IRC about freebsd-layout and he said he'll remove this files on the next release of freebsd-baselayout.
It's in cvs now.