Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89804 - Rename capi init script, make capi a virtual dependency
Summary: Rename capi init script, make capi a virtual dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-20 06:26 UTC by Martin von Gagern
Modified: 2005-04-24 22:05 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2005-04-20 06:26:36 UTC
I'm experimenting with the mISDN driver, so I frequently exchange the fritzcapi driver and this mISDN driver. For the latter I wrote an init script that simply loads the needed modules. I also have some special pppd init script that needs some kind of capi layer.

IMHO it would be a clean solution to have /etc/init.d/capi renamed to capi4k or something like this, and introduce a new virtual dependency "capi" that could also be provided by mISDN.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2005-04-20 06:38:55 UTC
currently I have an ebuild in testing for misdn:

http://genstef.homelinux.org/misdn-20050409.ebuild

and for files/: http://genstef.homelinux.org/misdn.modulesd

the modulesd file cares for that the modules are loaded in the right order.

It should work to just add your driver name to capi.conf and have /etc/init.d/capi load the module then, good luck :)
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2005-04-20 13:34:02 UTC
I will take care of misdn, please dont commit it yet.
Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2005-04-20 13:39:00 UTC
i agree, two init-scripts are NOT the solution we want to have. Even the current is mostly a hack. But we're still working on this issue and we get better and better. ;)

mISDN doesn't need it's own init-script. It works pretty w/o.

But it would be nice to test Stefan's ebuild and then give us feedback. It's not the final solution, but it should work.
Comment 4 Stefan Briesenick (RETIRED) gentoo-dev 2005-04-24 16:52:59 UTC
net-dialup/misdn is in portage now. Please test it and give us feedback. Thanks!
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2005-04-24 22:05:36 UTC
and there is also a capi init-script modification to make working with mISDN easy.
Upgrade to the new capi4k-utils -r1 and uncomment the appropriate mISDN driver in your capi.conf, no more problems with module autoload :)