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.4.4030.20090529.ebuild
Date: Mon, 01 Jun 2009 16:46:56
Message-Id: E1MBAf0-0006fU-NS@stork.gentoo.org
1 pva 09/06/01 16:46:54
2
3 Modified: ChangeLog
4 Added: madwifi-ng-0.9.4.4030.20090529.ebuild
5 Log:
6 Bump to most recent svn snapshot for 0.9.4 branch. Fixes build problems with 2.6.29, bug #262761, thank Tobias Kral, Draco Levanah, Ivan Kukharchuk and other guys, that helped us.
7 (Portage version: 2.2_rc33/cvs/Linux i686)
8
9 Revision Changes Path
10 1.67 net-wireless/madwifi-ng/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/ChangeLog?rev=1.67&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/ChangeLog?rev=1.67&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/ChangeLog?r1=1.66&r2=1.67
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v
19 retrieving revision 1.66
20 retrieving revision 1.67
21 diff -u -r1.66 -r1.67
22 --- ChangeLog 1 Jun 2009 13:56:56 -0000 1.66
23 +++ ChangeLog 1 Jun 2009 16:46:54 -0000 1.67
24 @@ -1,6 +1,14 @@
25 # ChangeLog for net-wireless/madwifi-ng
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.66 2009/06/01 13:56:56 pva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.67 2009/06/01 16:46:54 pva Exp $
29 +
30 +*madwifi-ng-0.9.4.4030.20090529 (01 Jun 2009)
31 +
32 + 01 Jun 2009; Peter Volkov <pva@g.o>
33 + +madwifi-ng-0.9.4.4030.20090529.ebuild:
34 + Bump to most recent svn snapshot for 0.9.4 branch. Fixes build problems
35 + with 2.6.29, bug #262761, thank Tobias Kral, Draco Levanah, Ivan
36 + Kukharchuk and other guys, that helped us.
37
38 01 Jun 2009; Peter Volkov <pva@g.o> -madwifi-ng-0.9.3.1.ebuild,
39 -madwifi-ng-0.9.3.2.ebuild, -files/madwifi-2.6.22.patch:
40
41
42
43 1.1 net-wireless/madwifi-ng/madwifi-ng-0.9.4.4030.20090529.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4030.20090529.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4030.20090529.ebuild?rev=1.1&content-type=text/plain
47
48 Index: madwifi-ng-0.9.4.4030.20090529.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4030.20090529.ebuild,v 1.1 2009/06/01 16:46:54 pva Exp $
53
54 EAPI="2"
55
56 inherit linux-mod versionator
57
58 MY_PN=${PN/-ng/}
59 MY_PV=$(get_version_component_range 1-3)
60 MY_REV=$(get_version_component_range 4)
61 MY_DATE=$(get_version_component_range 5)
62 MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
63 S=${WORKDIR}/${MY_P}
64
65 DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
66 HOMEPAGE="http://www.madwifi-project.org/"
67 SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz"
68
69 LICENSE="atheros-hal
70 || ( BSD GPL-2 )"
71 SLOT="0"
72 KEYWORDS="~amd64 ~ppc ~x86"
73 IUSE="injection"
74
75 RDEPEND="!net-wireless/madwifi-old
76 net-wireless/wireless-tools
77 ~net-wireless/madwifi-ng-tools-${PV}"
78
79 pkg_setup() {
80 CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL"
81 kernel_is lt 2 6 29 && CONFIG_CHECK="${CONFIG_CHECK} KMOD"
82 ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
83 ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions"
84 ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
85 ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
86 BUILD_TARGETS="all"
87 MODULESD_ATH_PCI_DOCS="README"
88 linux-mod_pkg_setup
89
90 MODULE_NAMES='ath_hal(net:"${S}"/ath_hal)
91 wlan(net:"${S}"/net80211)
92 wlan_acl(net:"${S}"/net80211)
93 wlan_ccmp(net:"${S}"/net80211)
94 wlan_tkip(net:"${S}"/net80211)
95 wlan_wep(net:"${S}"/net80211)
96 wlan_xauth(net:"${S}"/net80211)
97 wlan_scan_sta(net:"${S}"/net80211)
98 wlan_scan_ap(net:"${S}"/net80211)
99 ath_rate_amrr(net:"${S}"/ath_rate/amrr)
100 ath_rate_onoe(net:"${S}"/ath_rate/onoe)
101 ath_rate_sample(net:"${S}"/ath_rate/sample)
102 ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
103 ath_pci(net:"${S}"/ath)'
104
105 BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
106 }
107
108 src_prepare() {
109 use injection && epatch "${FILESDIR}"/${PN}-injection-r3925.patch
110 for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
111 convert_to_m "${S}/${dir}/Makefile"
112 done
113 }
114
115 src_install() {
116 linux-mod_src_install
117 dodoc README THANKS SNAPSHOT || die
118 }
119
120 pkg_postinst() {
121 local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
122
123 linux-mod_pkg_postinst
124
125 einfo
126 einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
127 einfo "module."
128 einfo
129 einfo "The type of the created interface can be controlled through the 'autocreate'"
130 einfo "module parameter."
131 einfo
132 einfo "As of net-wireless/madwifi-ng-0.9.3 rate control module selection is done at"
133 einfo "module load time via the 'ratectl' module parameter."
134
135 elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
136 elog "# No AR5007 support in this release;"
137 elog "experimental support is available for i386 (32bit) in #1679"
138 elog "# No AR5008 support in this release; support is available in trunk "
139 elog "No, we will not apply the patch from 1679, if you must, please do so
140 in an overlay on your system. That is upstreams ticket 1679, not Gentoo's."
141 }