1 |
betelgeuse 07/12/29 23:38:20 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: linux-wlan-ng-modules-0.2.8-r1.ebuild |
5 |
Log: |
6 |
Add patch to build against kernels later than 2.6.21. Fixes bug #192052. |
7 |
(Portage version: 2.1.4_rc11) |
8 |
|
9 |
Revision Changes Path |
10 |
1.15 net-wireless/linux-wlan-ng-modules/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/linux-wlan-ng-modules/ChangeLog?rev=1.15&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/linux-wlan-ng-modules/ChangeLog?rev=1.15&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/linux-wlan-ng-modules/ChangeLog?r1=1.14&r2=1.15 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-modules/ChangeLog,v |
19 |
retrieving revision 1.14 |
20 |
retrieving revision 1.15 |
21 |
diff -u -r1.14 -r1.15 |
22 |
--- ChangeLog 9 May 2007 16:30:52 -0000 1.14 |
23 |
+++ ChangeLog 29 Dec 2007 23:38:19 -0000 1.15 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-wireless/linux-wlan-ng-modules |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-modules/ChangeLog,v 1.14 2007/05/09 16:30:52 genstef Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-modules/ChangeLog,v 1.15 2007/12/29 23:38:19 betelgeuse Exp $ |
29 |
+ |
30 |
+*linux-wlan-ng-modules-0.2.8-r1 (29 Dec 2007) |
31 |
+ |
32 |
+ 29 Dec 2007; Petteri Räty <betelgeuse@g.o> |
33 |
+ +files/0.2.8-sk_buff-mac.patch, +linux-wlan-ng-modules-0.2.8-r1.ebuild: |
34 |
+ Add patch to build against kernels later than 2.6.21. Fixes bug #192052. |
35 |
|
36 |
*linux-wlan-ng-modules-0.2.8 (09 May 2007) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.8-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.8-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.8-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: linux-wlan-ng-modules-0.2.8-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.8-r1.ebuild,v 1.1 2007/12/29 23:38:19 betelgeuse Exp $ |
51 |
|
52 |
inherit eutils linux-mod |
53 |
|
54 |
MY_PN=${PN/-modules/} |
55 |
MY_P=${MY_PN}-${PV} |
56 |
S=${WORKDIR}/${MY_P} |
57 |
|
58 |
DESCRIPTION="Kernel modules for Prism2/2.5/3 based 802.11b USB wireless LAN products" |
59 |
HOMEPAGE="http://linux-wlan.org" |
60 |
SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.bz2" |
61 |
|
62 |
LICENSE="|| ( GPL-2 MPL-1.1 )" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~ppc ~x86" |
65 |
|
66 |
IUSE="debug" |
67 |
|
68 |
BUILD_TARGETS="default" |
69 |
BUILD_PARAMS="WLAN_SRC=${S}/src" |
70 |
|
71 |
DEPEND="!<net-wireless/linux-wlan-ng-0.2.2" |
72 |
|
73 |
CONFIG_CHECK="WIRELESS_EXT" |
74 |
|
75 |
pkg_setup() { |
76 |
# We have to put this to the global scope inside the function or it will be |
77 |
# reset between functions because the ebuild is sourced many times. |
78 |
|
79 |
MODULE_NAMES="p80211(net/wireless:${S}/src/p80211)" |
80 |
MODULE_NAMES="${MODULE_NAMES} prism2_usb(net/wireless:${S}/src/prism2/driver)" |
81 |
|
82 |
linux-mod_pkg_setup |
83 |
} |
84 |
|
85 |
config_by_usevar() { |
86 |
local config=${3} |
87 |
[[ -z ${config} ]] && config=${S}/default.config |
88 |
|
89 |
if use ${2}; then |
90 |
echo "${1}=y" >> ${config} |
91 |
else |
92 |
echo "${1}=n" >> ${config} |
93 |
fi |
94 |
} |
95 |
|
96 |
src_unpack() { |
97 |
unpack ${A} |
98 |
cd "${S}" |
99 |
|
100 |
epatch "${FILESDIR}/${MY_PN}-0.2.5-sandbox.patch" |
101 |
epatch "${FILESDIR}/0.2.8-sk_buff-mac.patch" |
102 |
|
103 |
local config=${S}/default.config |
104 |
cp "${S}/config.in" "${config}" || die |
105 |
|
106 |
cat > "${config}" <<-EOF |
107 |
TARGET_ROOT_ON_HOST="${D}" |
108 |
LINUX_SRC="${KERNEL_DIR}" |
109 |
FIRMWARE_DIR=/lib/firmware/ |
110 |
PRISM2_PCI=n |
111 |
PRISM2_PLX=n |
112 |
PRISM2_PCMCIA=n |
113 |
PRISM2_USB=y |
114 |
EOF |
115 |
|
116 |
config_by_usevar WLAN_DEBUG debug |
117 |
|
118 |
sed -i -e "s:dep modules:modules:" "${S}/src/p80211/Makefile" |
119 |
} |
120 |
|
121 |
src_compile() { |
122 |
set_arch_to_kernel |
123 |
emake default_config || die "emake default_config failed" |
124 |
set_arch_to_portage |
125 |
|
126 |
cd "${S}/src/mkmeta" |
127 |
emake || die "emake mkmeta failed" |
128 |
|
129 |
linux-mod_src_compile |
130 |
} |
131 |
|
132 |
pkg_postinst() { |
133 |
linux-mod_pkg_postinst |
134 |
|
135 |
einfo "Support for pci, plx and pcmcia drivers has been removed in" |
136 |
einfo "revision. For pci, plx and pcmcia drivers try for example" |
137 |
einfo "the hostap-driver or orinoco drivers. They both work with the" |
138 |
einfo "standard wireless tools." |
139 |
einfo "" |
140 |
einfo "If they do not work, please report this to betelgeuse@g.o." |
141 |
} |
142 |
|
143 |
|
144 |
|
145 |
-- |
146 |
gentoo-commits@g.o mailing list |