Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/madwifi-ng: ChangeLog madwifi-ng-0.9.3.1.ebuild madwifi-ng-0.9.3.2.ebuild madwifi-ng-0.9.4-r1.ebuild
Date: Tue, 14 Oct 2008 06:01:15
Message-Id: E1Kpcxz-0007qU-KK@stork.gentoo.org
1 pva 08/10/14 06:01:11
2
3 Modified: ChangeLog madwifi-ng-0.9.3.1.ebuild
4 madwifi-ng-0.9.3.2.ebuild
5 Added: madwifi-ng-0.9.4-r1.ebuild
6 Log:
7 Added workaround for unresolved symbols if CONFIG_MODVERSIONS is set, bug #232099.
8 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-openvz.git-777e816 i686)
9
10 Revision Changes Path
11 1.60 net-wireless/madwifi-ng/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/ChangeLog?rev=1.60&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/ChangeLog?rev=1.60&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/ChangeLog?r1=1.59&r2=1.60
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v
20 retrieving revision 1.59
21 retrieving revision 1.60
22 diff -u -r1.59 -r1.60
23 --- ChangeLog 13 Sep 2008 18:57:04 -0000 1.59
24 +++ ChangeLog 14 Oct 2008 06:01:11 -0000 1.60
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-wireless/madwifi-ng
27 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.59 2008/09/13 18:57:04 pva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.60 2008/10/14 06:01:11 pva Exp $
30 +
31 +*madwifi-ng-0.9.4-r1 (14 Oct 2008)
32 +
33 + 14 Oct 2008; Peter Volkov <pva@g.o> +madwifi-ng-0.9.4-r1.ebuild:
34 + Added workaround for unresolved symbols if CONFIG_MODVERSIONS is set, bug
35 + #232099.
36
37 13 Sep 2008; Peter Volkov <pva@g.o> madwifi-ng-0.9.4.ebuild:
38 Removed app-arch/sharutils from DEPEND as madwifi-ng builds fine without
39
40
41
42 1.8 net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild?rev=1.8&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild?rev=1.8&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild?r1=1.7&r2=1.8
47
48 Index: madwifi-ng-0.9.3.1.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild,v
51 retrieving revision 1.7
52 retrieving revision 1.8
53 diff -u -r1.7 -r1.8
54 --- madwifi-ng-0.9.3.1.ebuild 14 Feb 2008 05:25:13 -0000 1.7
55 +++ madwifi-ng-0.9.3.1.ebuild 14 Oct 2008 06:01:11 -0000 1.8
56 @@ -1,6 +1,6 @@
57 -# Copyright 1999-2007 Gentoo Foundation
58 +# Copyright 1999-2008 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild,v 1.7 2008/02/14 05:25:13 steev Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild,v 1.8 2008/10/14 06:01:11 pva Exp $
62
63 inherit linux-mod
64
65
66
67
68 1.7 net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild
69
70 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild?rev=1.7&view=markup
71 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild?rev=1.7&content-type=text/plain
72 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild?r1=1.6&r2=1.7
73
74 Index: madwifi-ng-0.9.3.2.ebuild
75 ===================================================================
76 RCS file: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild,v
77 retrieving revision 1.6
78 retrieving revision 1.7
79 diff -u -r1.6 -r1.7
80 --- madwifi-ng-0.9.3.2.ebuild 14 Feb 2008 05:25:13 -0000 1.6
81 +++ madwifi-ng-0.9.3.2.ebuild 14 Oct 2008 06:01:11 -0000 1.7
82 @@ -1,6 +1,6 @@
83 -# Copyright 1999-2007 Gentoo Foundation
84 +# Copyright 1999-2008 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild,v 1.6 2008/02/14 05:25:13 steev Exp $
87 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild,v 1.7 2008/10/14 06:01:11 pva Exp $
88
89 inherit linux-mod
90
91
92
93
94 1.1 net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild
95
96 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild?rev=1.1&view=markup
97 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild?rev=1.1&content-type=text/plain
98
99 Index: madwifi-ng-0.9.4-r1.ebuild
100 ===================================================================
101 # Copyright 1999-2008 Gentoo Foundation
102 # Distributed under the terms of the GNU General Public License v2
103 # $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild,v 1.1 2008/10/14 06:01:11 pva Exp $
104
105 inherit linux-mod
106
107 MY_P=${PN/-ng/}-${PV}
108 S="${WORKDIR}"/${MY_P}
109
110 DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
111 HOMEPAGE="http://www.madwifi.org/"
112 SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
113
114 LICENSE="atheros-hal
115 || ( BSD GPL-2 )"
116 SLOT="0"
117 KEYWORDS="~amd64 ~ppc ~x86"
118 IUSE="injection"
119
120 RDEPEND="!net-wireless/madwifi-old
121 net-wireless/wireless-tools
122 ~net-wireless/madwifi-ng-tools-${PV}"
123
124 CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL KMOD"
125 ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
126 ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions"
127 ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
128 ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
129 BUILD_TARGETS="all"
130 MODULESD_ATH_PCI_DOCS="README"
131
132 pkg_setup() {
133 linux-mod_pkg_setup
134
135 MODULE_NAMES='ath_hal(net:"${S}"/ath_hal)
136 wlan(net:"${S}"/net80211)
137 wlan_acl(net:"${S}"/net80211)
138 wlan_ccmp(net:"${S}"/net80211)
139 wlan_tkip(net:"${S}"/net80211)
140 wlan_wep(net:"${S}"/net80211)
141 wlan_xauth(net:"${S}"/net80211)
142 wlan_scan_sta(net:"${S}"/net80211)
143 wlan_scan_ap(net:"${S}"/net80211)
144 ath_rate_amrr(net:"${S}"/ath_rate/amrr)
145 ath_rate_onoe(net:"${S}"/ath_rate/onoe)
146 ath_rate_sample(net:"${S}"/ath_rate/sample)
147 ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
148 ath_pci(net:"${S}"/ath)'
149
150 BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
151 }
152
153 src_unpack() {
154 unpack ${A}
155
156 cd "${S}"
157 epatch "${FILESDIR}"/${PN}-0.9.3-uudecode-gcda-fix.patch
158 if use injection; then epatch "${FILESDIR}"/${PN}-r1886.patch; fi
159 for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
160 convert_to_m "${S}"/${dir}/Makefile
161 done
162 epatch "${FILESDIR}"/madwifi-dfs-ieee80211-skb-update.patch
163 # Workaround our build system, bug #232099 (bug #237618 describes details)
164 touch Module.symvers
165 for ms in ath net80211 ath_hal ath_rate/{amrr,minstrel,onoe,sample}; do
166 ln -s "${S}"/Module.symvers ${ms}
167 done
168 }
169
170 src_install() {
171 linux-mod_src_install
172
173 dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
174 }
175
176 pkg_postinst() {
177 local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
178
179 linux-mod_pkg_postinst
180
181 einfo
182 einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
183 einfo "module."
184 einfo
185 einfo "The type of the created interface can be controlled through the 'autocreate'"
186 einfo "module parameter."
187 einfo
188 einfo "As of net-wireless/madwifi-ng-0.9.3 rate control module selection is done at"
189 einfo "module load time via the 'ratectl' module parameter. USE flags amrr and onoe"
190 einfo "no longer serve any purpose."
191
192 elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
193 elog "# No AR5007 support in this release;"
194 elog "experimental support is available for i386 (32bit) in #1679"
195 elog "# No AR5008 support in this release; support is available in trunk "
196 elog "No, we will not apply the patch from 1679, if you must, please do so
197 in an overlay on your system. That is upstreams ticket 1679, not Gentoo's."
198 }