Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 209966

Summary: net-dialup/capi4k-utils shouldn't depend on sys-apps/hotplug
Product: Gentoo Linux Reporter: Jakub Moc (RETIRED) <jakub>
Component: New packagesAssignee: Stefan Briesenick (RETIRED) <sbriesen>
Status: RESOLVED FIXED    
Severity: normal CC: net-dialup, notordoktor, udev-bugs
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 145809    

Description Jakub Moc (RETIRED) gentoo-dev 2008-02-13 10:30:19 UTC
Completely useless with any udev version in the tree; please remove this dependency.

Also, if you need to blacklist something, that goes to /etc/modprobe.d and not /etc/hotplug/blacklist; looks like this needs quite a couple of udev fixes to use udev rules instead as well.
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2008-02-13 11:22:41 UTC
I already have a "almost working" udev capi4k-utils in my local overlay. Still needs some work for the USB stuff. I will release it asap.
Comment 2 Matthias Schwarzott gentoo-dev 2008-08-20 09:37:28 UTC
ping, any news here?
Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2008-08-31 22:03:07 UTC
sorry, was on holiday.
Comment 4 Doktor Notor 2010-02-28 19:11:29 UTC
Hello, just coming here from a bug where a user has hotplug still installed on his system. Maybe he's victim of this bitrot in the tree. This package looks like an excellent candidate for treecleaners. 

RDEPEND="usb? ( sys-apps/hotplug )

# install USB hotplug stuff
    if use usb; then
        insinto /etc/hotplug/blacklist.d
        newins "${FILESDIR}/capi.blacklist" capi
        insinto /etc/hotplug/usb
        newins "${FILESDIR}/capi.usermap" capi.usermap
        exeinto /etc/hotplug/usb
        newexe "${FILESDIR}/capi.hotplug" capi
    fi

Mind you, hotplug hasn't been doing anything at all since like 3 years-old udev releases, meaning the usb functionality is completely broken if it needs some custom udev rules like the above stuff suggests.

Comment 5 Doktor Notor 2010-02-28 19:18:40 UTC
Precisely, this has been FUBARed since udev-103-r1. 

udev-103-r1 (15 Jan 2007)

  15 Jan 2007; Matthias Schwarzott <zzam@gentoo.org>
  +files/udev.rules-103-r1, +udev-103-r1.ebuild:
  Remove old cdrom-rules, solving Bug #158060. Disable calling hotplugd for
  compatibility to remove co-existance problems for firmware loading and more,
  Bug #147006 and Bug #145809.
Comment 6 Stefan Briesenick (RETIRED) gentoo-dev 2010-07-21 14:04:31 UTC
fixed with -r4.