Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370339 - net-misc/networkmanager: fix udev use dependencies
Summary: net-misc/networkmanager: fix udev use dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robert Piasek (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 348472
  Show dependency tree
 
Reported: 2011-06-06 22:02 UTC by William Hubbs
Modified: 2011-06-09 01:41 UTC (History)
4 users (show)

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


Attachments
updated ebuild for networkmanager 0.8.4.0-r1 (networkmanager-0.8.4.0-r1.ebuild,4.17 KB, application/octet-stream)
2011-06-08 15:08 UTC, Trevor Bowen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Hubbs gentoo-dev 2011-06-06 22:02:48 UTC
Udev 171 splits out the extras use flag into separate use flags.

As a result, the ebuilds for this package need the following changes:

sys-fs/udev[extras]

needs to become:

|| ( >=sys-fs/udev-171[useflag] >= sys-fs/udev145[extras] )

"useflag" in this example should be replaced with whatever the use flag
is for udev-171 that your package needs.
This should not require a revbump since we are just modifying use flags.
Comment 1 Trevor Bowen 2011-06-08 15:08:42 UTC
Created attachment 276289 [details]
updated ebuild for networkmanager 0.8.4.0-r1

I was able to build the attached ebuild with only this change:

|| ( >=sys-fs/udev-145[extras] >=sys-fs/udev-171 )

I did not have to require any use flags.  However, some other ebuilds required
gudev, and so I was forced to use gudev too.  

# echo sys-fs/udev gudev >> /etc/portage/package.use

gudev may be required here too.  It's hard for me to tell.  Here's how I built udev:

[ebuild   R   ~] sys-fs/udev-171-r1  USE="acl gudev rule_generator -action_modeswitch -debug -edd -floppy -hwdb (-introspection) -keymap (-selinux) -test" 0 kB
Comment 2 William Hubbs gentoo-dev 2011-06-08 19:34:04 UTC
> || ( >=sys-fs/udev-145[extras] >=sys-fs/udev-171 )

If the correct use flag is gudev, the correct change here is:

|| ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] )

Maintainers, is this correct? Do we need gudev for networkmanager? If so I am willing to make the change and close this bug.
Comment 3 Sebastian Pipping gentoo-dev 2011-06-09 01:41:17 UTC
Dared to touch this myself:

+  09 Jun 2011; Sebastian Pipping <sping@gentoo.org>
+  networkmanager-0.8-r1.ebuild, networkmanager-0.8.1-r6.ebuild,
+  networkmanager-0.8.2-r1.ebuild, networkmanager-0.8.2-r2.ebuild,
+  networkmanager-0.8.2-r6.ebuild, networkmanager-0.8.2-r10.ebuild,
+  networkmanager-0.8.4.0-r1.ebuild:
+  Add >=sys-fs/udev-171[gudev] as an alternative dependency to
+  >=sys-fs/udev-145[extras] (bug #370339)
+