Bug 179348 - Move madwifi headers into madwifi-ng-tools
Bug#: 179348 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: steev@gentoo.org Reported By: dsd@gentoo.org
Component: Ebuilds
URL: 
Summary: Move madwifi headers into madwifi-ng-tools
Keywords:  
Status Whiteboard: 
Opened: 2007-05-21 19:27 0000
Description:   Opened: 2007-05-21 19:27 0000
Currently the madwifi-ng ebuild installs the /usr/include/madwifi headers used
by wpa_supplicant and hostapd. This means that wpa_supplicant has to
conditionally depend on madwifi-ng, which is in itself nasty because madwifi-ng
has dependencies on kernel stuff -- this is an inconvenience when building
release media etc.

I think the headers should be installed by the madwifi-ng-tools ebuild and
wpa_supplicant/hostapd dependencies should be updated.

------- Comment #1 From Gordon Malm 2007-05-22 09:03:17 0000 -------
I just whipped up some patches to do as requested in this bug.  They work for
me with the exception of hostapd-0.5.7-r1.patch which I did not test.

------- Comment #2 From Gordon Malm 2007-05-22 09:04:24 0000 -------
Created an attachment (id=119968) [details]
madwifi-ng-0.9.3-r4.patch

Patch: madwifi-ng-0.9.3-r3.ebuild -> madwifi-ng-0.9.3-r4.ebuild

------- Comment #3 From Gordon Malm 2007-05-22 09:05:20 0000 -------
Created an attachment (id=119970) [details]
madwifi-ng-tools-0.9.3-r1.patch

Patch: madwifi-ng-tools-0.9.3.ebuild -> madwifi-ng-tools-0.9.3-r1.ebuild

------- Comment #4 From Gordon Malm 2007-05-22 09:06:24 0000 -------
Created an attachment (id=119972) [details]
hostapd-0.4.9-r1.patch

Patch: hostapd-0.4.9.ebuild -> hostapd-0.4.9-r1.ebuild

------- Comment #5 From Gordon Malm 2007-05-22 09:07:02 0000 -------
Created an attachment (id=119973) [details]
hostapd-0.5.7-r1.patch

Patch: hostapd-0.5.7.ebuild -> hostapd-0.5.7-r1.ebuild

------- Comment #6 From Gordon Malm 2007-05-22 09:07:34 0000 -------
Created an attachment (id=119975) [details]
wpa_supplicant-0.5.7-r1.patch

Patch: wpa_supplicant-0.5.7.ebuild -> wpa_supplicant-0.5.7-r1.ebuild

------- Comment #7 From Gordon Malm 2007-05-22 09:40:20 0000 -------
In the case of hostapd/wpa_supplicant ebuilds these changes should probably
just go into the existing ebuilds instead of a rather meaningless revbump. 
Only submitted the patches this way for consistency/testing/etc.

------- Comment #8 From Stefan Schweizer 2007-05-23 16:07:52 0000 -------
the madwifi side of things is done.

------- Comment #9 From Togge 2007-05-24 05:31:42 0000 -------
Now madwifi-ng-tools don't emerge due to file collisions with madwifi-ng. A
blocker against older versions?

------- Comment #10 From Gordon Malm 2007-05-24 06:22:47 0000 -------
(In reply to comment #9)
> Now madwifi-ng-tools don't emerge due to file collisions with madwifi-ng. A
> blocker against older versions?
> 

That was left out in the cvs commit.  There is also a format error in the einfo
messages at the end.

------- Comment #11 From Stefan Schweizer 2007-05-24 08:56:35 0000 -------
(In reply to comment #9)
> Now madwifi-ng-tools don't emerge due to file collisions with madwifi-ng. A
> blocker against older versions?


A blocker is a bad thing because most users do not know how to correctly handle
it. Besides it braks automated updates.

Maybe we can remove the conflicting files in preinst?

------- Comment #12 From Stefan Schweizer 2007-06-19 07:54:48 0000 -------
all fixed, thanks.