Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84908 - freebsd-usbin useflag and not only patch
Summary: freebsd-usbin useflag and not only patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on: 84898
Blocks: 84907
  Show dependency tree
 
Reported: 2005-03-11 14:37 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-04-12 10:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
freebsd-usbin patch (freebsd-usbin.patch,11.07 KB, patch)
2005-03-11 14:37 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
Updated freebsd-usbin patch (freebsd-usbin.patch,11.91 KB, patch)
2005-03-16 06:06 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-11 14:37:04 UTC
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
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-11 14:37:38 UTC
Created attachment 53219 [details, diff]
freebsd-usbin patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-16 06:06:43 UTC
Created attachment 53622 [details, diff]
Updated freebsd-usbin patch
Comment 3 Otavio Piske (RETIRED) gentoo-dev 2005-03-23 11:25:19 UTC
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.
Comment 4 Otavio Piske (RETIRED) gentoo-dev 2005-03-29 16:37:34 UTC
It's in cvs now.