1 |
gurligebis 10/09/08 17:34:33 |
2 |
|
3 |
Modified: wpa_supplicant-0.7.2-r3.ebuild |
4 |
wpa_supplicant-0.6.10.ebuild ChangeLog |
5 |
wpa_supplicant-0.6.10-r1.ebuild |
6 |
Added: wpa_supplicant-0.7.3.ebuild |
7 |
Log: |
8 |
Bumping and cleaning up |
9 |
|
10 |
(Portage version: 2.2_rc77/cvs/Linux i686) |
11 |
|
12 |
Revision Changes Path |
13 |
1.2 net-wireless/wpa_supplicant/wpa_supplicant-0.7.2-r3.ebuild |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.2-r3.ebuild?rev=1.2&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.2-r3.ebuild?rev=1.2&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.2-r3.ebuild?r1=1.1&r2=1.2 |
18 |
|
19 |
Index: wpa_supplicant-0.7.2-r3.ebuild |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.2-r3.ebuild,v |
22 |
retrieving revision 1.1 |
23 |
retrieving revision 1.2 |
24 |
diff -u -r1.1 -r1.2 |
25 |
--- wpa_supplicant-0.7.2-r3.ebuild 14 Aug 2010 10:16:52 -0000 1.1 |
26 |
+++ wpa_supplicant-0.7.2-r3.ebuild 8 Sep 2010 17:34:33 -0000 1.2 |
27 |
@@ -1,6 +1,6 @@ |
28 |
# Copyright 1999-2010 Gentoo Foundation |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.2-r3.ebuild,v 1.1 2010/08/14 10:16:52 gurligebis Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.2-r3.ebuild,v 1.2 2010/09/08 17:34:33 gurligebis Exp $ |
32 |
|
33 |
EAPI="2" |
34 |
|
35 |
@@ -206,12 +206,12 @@ |
36 |
fi |
37 |
|
38 |
if has_version ">=sys-apps/openrc-0.5.0"; then |
39 |
- newinitd "$FILESDIR"/${PN}-init.d wpa_supplicant |
40 |
- newconfd "$FILESDIR"/${PN}-conf.d wpa_supplicant |
41 |
+ newinitd "${FILESDIR}/${PN}-init.d" wpa_supplicant |
42 |
+ newconfd "${FILESDIR}/${PN}-conf.d" wpa_supplicant |
43 |
fi |
44 |
|
45 |
exeinto /etc/wpa_supplicant/ |
46 |
- newexe "${FILESDIR}"/wpa_cli.sh wpa_cli.sh |
47 |
+ newexe "${FILESDIR}/wpa_cli.sh" wpa_cli.sh |
48 |
|
49 |
dodoc ChangeLog {eap_testing,todo}.txt README{,-WPS} \ |
50 |
wpa_supplicant.conf || die "dodoc failed" |
51 |
|
52 |
|
53 |
|
54 |
1.8 net-wireless/wpa_supplicant/wpa_supplicant-0.6.10.ebuild |
55 |
|
56 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.6.10.ebuild?rev=1.8&view=markup |
57 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.6.10.ebuild?rev=1.8&content-type=text/plain |
58 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.6.10.ebuild?r1=1.7&r2=1.8 |
59 |
|
60 |
Index: wpa_supplicant-0.6.10.ebuild |
61 |
=================================================================== |
62 |
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.6.10.ebuild,v |
63 |
retrieving revision 1.7 |
64 |
retrieving revision 1.8 |
65 |
diff -u -r1.7 -r1.8 |
66 |
--- wpa_supplicant-0.6.10.ebuild 19 Jul 2010 19:05:02 -0000 1.7 |
67 |
+++ wpa_supplicant-0.6.10.ebuild 8 Sep 2010 17:34:33 -0000 1.8 |
68 |
@@ -1,6 +1,6 @@ |
69 |
# Copyright 1999-2010 Gentoo Foundation |
70 |
# Distributed under the terms of the GNU General Public License v2 |
71 |
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.6.10.ebuild,v 1.7 2010/07/19 19:05:02 josejx Exp $ |
72 |
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.6.10.ebuild,v 1.8 2010/09/08 17:34:33 gurligebis Exp $ |
73 |
|
74 |
EAPI="2" |
75 |
|
76 |
@@ -65,7 +65,7 @@ |
77 |
-e "s:/usr/lib/pkcs11:/usr/$(get_libdir):" \ |
78 |
wpa_supplicant.conf || die |
79 |
|
80 |
- epatch "${FILESDIR}"/dbus_path_fix.patch |
81 |
+ epatch "${FILESDIR}/dbus_path_fix.patch" |
82 |
} |
83 |
|
84 |
src_configure() { |
85 |
@@ -191,12 +191,12 @@ |
86 |
fi |
87 |
|
88 |
if has_version ">=sys-apps/openrc-0.5.0"; then |
89 |
- newinitd "$FILESDIR"/${PN}-init.d wpa_supplicant |
90 |
- newconfd "$FILESDIR"/${PN}-conf.d wpa_supplicant |
91 |
+ newinitd "${FILESDIR}/${PN}-init.d" wpa_supplicant |
92 |
+ newconfd "${FILESDIR}/${PN}-conf.d" wpa_supplicant |
93 |
fi |
94 |
|
95 |
exeinto /etc/wpa_supplicant/ |
96 |
- newexe "${FILESDIR}"/wpa_cli.sh wpa_cli.sh |
97 |
+ newexe "${FILESDIR}/wpa_cli.sh" wpa_cli.sh |
98 |
|
99 |
dodoc ChangeLog {eap_testing,todo}.txt README{,-WPS} \ |
100 |
wpa_supplicant.conf || die "dodoc failed" |
101 |
|
102 |
|
103 |
|
104 |
1.145 net-wireless/wpa_supplicant/ChangeLog |
105 |
|
106 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.145&view=markup |
107 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.145&content-type=text/plain |
108 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?r1=1.144&r2=1.145 |
109 |
|
110 |
Index: ChangeLog |
111 |
=================================================================== |
112 |
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v |
113 |
retrieving revision 1.144 |
114 |
retrieving revision 1.145 |
115 |
diff -u -r1.144 -r1.145 |
116 |
--- ChangeLog 8 Sep 2010 17:23:52 -0000 1.144 |
117 |
+++ ChangeLog 8 Sep 2010 17:34:33 -0000 1.145 |
118 |
@@ -1,6 +1,15 @@ |
119 |
# ChangeLog for net-wireless/wpa_supplicant |
120 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
121 |
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.144 2010/09/08 17:23:52 gurligebis Exp $ |
122 |
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.145 2010/09/08 17:34:33 gurligebis Exp $ |
123 |
+ |
124 |
+*wpa_supplicant-0.7.3 (08 Sep 2010) |
125 |
+ |
126 |
+ 08 Sep 2010; Bjarke Istrup Pedersen <gurligebis@g.o> |
127 |
+ wpa_supplicant-0.6.10.ebuild, wpa_supplicant-0.6.10-r1.ebuild, |
128 |
+ wpa_supplicant-0.7.2-r3.ebuild, +wpa_supplicant-0.7.3.ebuild, |
129 |
+ +files/wpa_supplicant-0.7.3-dbus_path_fix.patch: |
130 |
+ Bumping to 0.7.3 which is the first stable 0.7 from upstream. |
131 |
+ Also cleaning up some mistakes in the remaining ebuilds. |
132 |
|
133 |
08 Sep 2010; Bjarke Istrup Pedersen <gurligebis@g.o> |
134 |
-wpa_supplicant-0.6.9.ebuild, -wpa_supplicant-0.7.1.ebuild, |
135 |
|
136 |
|
137 |
|
138 |
1.2 net-wireless/wpa_supplicant/wpa_supplicant-0.6.10-r1.ebuild |
139 |
|
140 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.6.10-r1.ebuild?rev=1.2&view=markup |
141 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.6.10-r1.ebuild?rev=1.2&content-type=text/plain |
142 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.6.10-r1.ebuild?r1=1.1&r2=1.2 |
143 |
|
144 |
Index: wpa_supplicant-0.6.10-r1.ebuild |
145 |
=================================================================== |
146 |
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.6.10-r1.ebuild,v |
147 |
retrieving revision 1.1 |
148 |
retrieving revision 1.2 |
149 |
diff -u -r1.1 -r1.2 |
150 |
--- wpa_supplicant-0.6.10-r1.ebuild 25 Jul 2010 13:29:03 -0000 1.1 |
151 |
+++ wpa_supplicant-0.6.10-r1.ebuild 8 Sep 2010 17:34:33 -0000 1.2 |
152 |
@@ -1,6 +1,6 @@ |
153 |
# Copyright 1999-2010 Gentoo Foundation |
154 |
# Distributed under the terms of the GNU General Public License v2 |
155 |
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.6.10-r1.ebuild,v 1.1 2010/07/25 13:29:03 alexxy Exp $ |
156 |
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.6.10-r1.ebuild,v 1.2 2010/09/08 17:34:33 gurligebis Exp $ |
157 |
|
158 |
EAPI="2" |
159 |
|
160 |
@@ -65,7 +65,7 @@ |
161 |
-e "s:/usr/lib/pkcs11:/usr/$(get_libdir):" \ |
162 |
wpa_supplicant.conf || die |
163 |
|
164 |
- epatch "${FILESDIR}"/dbus_path_fix.patch |
165 |
+ epatch "${FILESDIR}/dbus_path_fix.patch" |
166 |
|
167 |
if use wimax; then |
168 |
cd "${WORKDIR}/${P}" |
169 |
@@ -196,12 +196,12 @@ |
170 |
fi |
171 |
|
172 |
if has_version ">=sys-apps/openrc-0.5.0"; then |
173 |
- newinitd "$FILESDIR"/${PN}-init.d wpa_supplicant |
174 |
- newconfd "$FILESDIR"/${PN}-conf.d wpa_supplicant |
175 |
+ newinitd "${FILESDIR}/${PN}-init.d" wpa_supplicant |
176 |
+ newconfd "${FILESDIR}/${PN}-conf.d" wpa_supplicant |
177 |
fi |
178 |
|
179 |
exeinto /etc/wpa_supplicant/ |
180 |
- newexe "${FILESDIR}"/wpa_cli.sh wpa_cli.sh |
181 |
+ newexe "${FILESDIR}/wpa_cli.sh" wpa_cli.sh |
182 |
|
183 |
dodoc ChangeLog {eap_testing,todo}.txt README{,-WPS} \ |
184 |
wpa_supplicant.conf || die "dodoc failed" |
185 |
|
186 |
|
187 |
|
188 |
1.1 net-wireless/wpa_supplicant/wpa_supplicant-0.7.3.ebuild |
189 |
|
190 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3.ebuild?rev=1.1&view=markup |
191 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3.ebuild?rev=1.1&content-type=text/plain |
192 |
|
193 |
Index: wpa_supplicant-0.7.3.ebuild |
194 |
=================================================================== |
195 |
# Copyright 1999-2010 Gentoo Foundation |
196 |
# Distributed under the terms of the GNU General Public License v2 |
197 |
# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3.ebuild,v 1.1 2010/09/08 17:34:33 gurligebis Exp $ |
198 |
|
199 |
EAPI="2" |
200 |
|
201 |
inherit eutils toolchain-funcs qt4-r2 |
202 |
|
203 |
DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers" |
204 |
HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/" |
205 |
SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz" |
206 |
LICENSE="|| ( GPL-2 BSD )" |
207 |
|
208 |
SLOT="0" |
209 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" |
210 |
IUSE="dbus debug gnutls eap-sim fasteap madwifi ps3 qt4 readline ssl wps kernel_linux kernel_FreeBSD" |
211 |
|
212 |
RDEPEND="dbus? ( sys-apps/dbus ) |
213 |
kernel_linux? ( |
214 |
eap-sim? ( sys-apps/pcsc-lite ) |
215 |
madwifi? ( || |
216 |
( >net-wireless/madwifi-ng-tools-0.9.3 |
217 |
net-wireless/madwifi-old ) |
218 |
) |
219 |
dev-libs/libnl |
220 |
) |
221 |
!kernel_linux? ( net-libs/libpcap ) |
222 |
qt4? ( x11-libs/qt-gui:4 |
223 |
x11-libs/qt-svg:4 ) |
224 |
readline? ( sys-libs/ncurses sys-libs/readline ) |
225 |
ssl? ( dev-libs/openssl ) |
226 |
!ssl? ( gnutls? ( net-libs/gnutls ) ) |
227 |
!ssl? ( !gnutls? ( dev-libs/libtommath ) )" |
228 |
DEPEND="${RDEPEND} |
229 |
dev-util/pkgconfig" |
230 |
|
231 |
S="${WORKDIR}/${P}/${PN}" |
232 |
|
233 |
pkg_setup() { |
234 |
if use fasteap && (use gnutls || use ssl) ; then |
235 |
die "If you use fasteap, you must build with wpa_supplicant's internal TLS implementation. That is, both 'gnutls' and 'ssl' USE flags must be disabled" |
236 |
fi |
237 |
|
238 |
if use gnutls && use ssl ; then |
239 |
einfo "You have both 'gnutls' and 'ssl' USE flags enabled: defaulting to USE=\"ssl\"" |
240 |
fi |
241 |
} |
242 |
|
243 |
src_prepare() { |
244 |
# net/bpf.h needed for net-libs/libpcap on Gentoo/FreeBSD |
245 |
sed -i \ |
246 |
-e "s:\(#include <pcap\.h>\):#include <net/bpf.h>\n\1:" \ |
247 |
../src/l2_packet/l2_packet_freebsd.c || die |
248 |
|
249 |
# People seem to take the example configuration file too literally (bug #102361) |
250 |
sed -i \ |
251 |
-e "s:^\(opensc_engine_path\):#\1:" \ |
252 |
-e "s:^\(pkcs11_engine_path\):#\1:" \ |
253 |
-e "s:^\(pkcs11_module_path\):#\1:" \ |
254 |
wpa_supplicant.conf || die |
255 |
|
256 |
# Change configuration to match Gentoo locations (bug #143750) |
257 |
sed -i \ |
258 |
-e "s:/usr/lib/opensc:/usr/$(get_libdir):" \ |
259 |
-e "s:/usr/lib/pkcs11:/usr/$(get_libdir):" \ |
260 |
wpa_supplicant.conf || die |
261 |
|
262 |
epatch "${FILESDIR}/${P}-dbus_path_fix.patch" |
263 |
|
264 |
# bug (320097) |
265 |
epatch "${FILESDIR}/do-not-call-dbus-functions-with-NULL-path.patch" |
266 |
} |
267 |
|
268 |
src_configure() { |
269 |
# Toolchain setup |
270 |
echo "CC = $(tc-getCC)" > .config |
271 |
|
272 |
# Basic setup |
273 |
echo "CONFIG_CTRL_IFACE=y" >> .config |
274 |
echo "CONFIG_BACKEND=file" >> .config |
275 |
|
276 |
# Basic authentication methods |
277 |
# NOTE: we don't set GPSK or SAKE as they conflict |
278 |
# with the below options |
279 |
echo "CONFIG_EAP_GTC=y" >> .config |
280 |
echo "CONFIG_EAP_MD5=y" >> .config |
281 |
echo "CONFIG_EAP_OTP=y" >> .config |
282 |
echo "CONFIG_EAP_PAX=y" >> .config |
283 |
echo "CONFIG_EAP_PSK=y" >> .config |
284 |
echo "CONFIG_EAP_TLV=y" >> .config |
285 |
echo "CONFIG_IEEE8021X_EAPOL=y" >> .config |
286 |
echo "CONFIG_PKCS12=y" >> .config |
287 |
echo "CONFIG_PEERKEY=y" >> .config |
288 |
echo "CONFIG_EAP_LEAP=y" >> .config |
289 |
echo "CONFIG_EAP_MSCHAPV2=y" >> .config |
290 |
echo "CONFIG_EAP_PEAP=y" >> .config |
291 |
echo "CONFIG_EAP_TLS=y" >> .config |
292 |
echo "CONFIG_EAP_TTLS=y" >> .config |
293 |
|
294 |
if use dbus ; then |
295 |
echo "CONFIG_CTRL_IFACE_DBUS=y" >> .config |
296 |
fi |
297 |
|
298 |
if use debug ; then |
299 |
echo "CONFIG_DEBUG_FILE=y" >> .config |
300 |
fi |
301 |
|
302 |
if use eap-sim ; then |
303 |
# Smart card authentication |
304 |
echo "CONFIG_EAP_SIM=y" >> .config |
305 |
echo "CONFIG_EAP_AKA=y" >> .config |
306 |
echo "CONFIG_EAP_AKA_PRIME=y" >> .config |
307 |
echo "CONFIG_PCSC=y" >> .config |
308 |
fi |
309 |
|
310 |
if use fasteap ; then |
311 |
echo "CONFIG_EAP_FAST=y" >> .config |
312 |
fi |
313 |
|
314 |
if use readline ; then |
315 |
# readline/history support for wpa_cli |
316 |
echo "CONFIG_READLINE=y" >> .config |
317 |
fi |
318 |
|
319 |
# SSL authentication methods |
320 |
if use ssl ; then |
321 |
echo "CONFIG_TLS=openssl" >> .config |
322 |
echo "CONFIG_SMARTCARD=y" >> .config |
323 |
elif use gnutls ; then |
324 |
echo "CONFIG_TLS=gnutls" >> .config |
325 |
echo "CONFIG_GNUTLS_EXTRA=y" >> .config |
326 |
else |
327 |
echo "CONFIG_TLS=internal" >> .config |
328 |
fi |
329 |
|
330 |
if use kernel_linux ; then |
331 |
# Linux specific drivers |
332 |
echo "CONFIG_DRIVER_ATMEL=y" >> .config |
333 |
#echo "CONFIG_DRIVER_BROADCOM=y" >> .config |
334 |
#echo "CONFIG_DRIVER_HERMES=y" >> .config |
335 |
echo "CONFIG_DRIVER_HOSTAP=y" >> .config |
336 |
echo "CONFIG_DRIVER_IPW=y" >> .config |
337 |
echo "CONFIG_DRIVER_NDISWRAPPER=y" >> .config |
338 |
echo "CONFIG_DRIVER_NL80211=y" >> .config |
339 |
#echo "CONFIG_DRIVER_PRISM54=y" >> .config |
340 |
echo "CONFIG_DRIVER_RALINK=y" >> .config |
341 |
echo "CONFIG_DRIVER_WEXT=y" >> .config |
342 |
echo "CONFIG_DRIVER_WIRED=y" >> .config |
343 |
|
344 |
if use madwifi ; then |
345 |
# Add include path for madwifi-driver headers |
346 |
echo "CFLAGS += -I/usr/include/madwifi" >> .config |
347 |
echo "CONFIG_DRIVER_MADWIFI=y" >> .config |
348 |
fi |
349 |
|
350 |
if use ps3 ; then |
351 |
echo "CONFIG_DRIVER_PS3=y" >> .config |
352 |
fi |
353 |
|
354 |
elif use kernel_FreeBSD ; then |
355 |
# FreeBSD specific driver |
356 |
echo "CONFIG_DRIVER_BSD=y" >> .config |
357 |
fi |
358 |
|
359 |
# Wi-Fi Protected Setup (WPS) |
360 |
if use wps ; then |
361 |
echo "CONFIG_WPS=y" >> .config |
362 |
fi |
363 |
|
364 |
# Enable mitigation against certain attacks against TKIP |
365 |
echo "CONFIG_DELAYED_MIC_ERROR_REPORT=y" >> .config |
366 |
|
367 |
if use qt4 ; then |
368 |
cd "${S}"/wpa_gui-qt4 |
369 |
eqmake4 wpa_gui.pro |
370 |
fi |
371 |
} |
372 |
|
373 |
src_compile() { |
374 |
einfo "Building wpa_supplicant" |
375 |
emake || die "emake failed" |
376 |
|
377 |
if use qt4 ; then |
378 |
cd "${S}"/wpa_gui-qt4 |
379 |
einfo "Building wpa_gui" |
380 |
emake || die "wpa_gui compilation failed" |
381 |
fi |
382 |
} |
383 |
|
384 |
src_install() { |
385 |
dosbin wpa_supplicant || die |
386 |
dobin wpa_cli wpa_passphrase || die |
387 |
|
388 |
# baselayout-1 compat |
389 |
if has_version "<sys-apps/baselayout-2.0.0"; then |
390 |
dodir /sbin |
391 |
dosym /usr/sbin/wpa_supplicant /sbin/wpa_supplicant || die |
392 |
dodir /bin |
393 |
dosym /usr/bin/wpa_cli /bin/wpa_cli || die |
394 |
fi |
395 |
|
396 |
if has_version ">=sys-apps/openrc-0.5.0"; then |
397 |
newinitd "${FILESDIR}/${PN}-init.d" wpa_supplicant |
398 |
newconfd "${FILESDIR}/${PN}-conf.d" wpa_supplicant |
399 |
fi |
400 |
|
401 |
exeinto /etc/wpa_supplicant/ |
402 |
newexe "${FILESDIR}/wpa_cli.sh" wpa_cli.sh |
403 |
|
404 |
dodoc ChangeLog {eap_testing,todo}.txt README{,-WPS} \ |
405 |
wpa_supplicant.conf || die "dodoc failed" |
406 |
|
407 |
doman doc/docbook/*.{5,8} || die "doman failed" |
408 |
|
409 |
if use qt4 ; then |
410 |
into /usr |
411 |
dobin wpa_gui-qt4/wpa_gui || die |
412 |
doicon wpa_gui-qt4/icons/wpa_gui.svg || die "Icon not found" |
413 |
make_desktop_entry wpa_gui "WPA Supplicant Administration GUI" "wpa_gui" "Qt;Network;" |
414 |
fi |
415 |
|
416 |
if use dbus ; then |
417 |
cd "${S}"/dbus |
418 |
insinto /etc/dbus-1/system.d |
419 |
newins dbus-wpa_supplicant.conf wpa_supplicant.conf || die |
420 |
insinto /usr/share/dbus-1/system-services |
421 |
doins fi.epitest.hostap.WPASupplicant.service || die |
422 |
keepdir /var/run/wpa_supplicant |
423 |
fi |
424 |
} |
425 |
|
426 |
pkg_postinst() { |
427 |
einfo "If this is a clean installation of wpa_supplicant, you" |
428 |
einfo "have to create a configuration file named" |
429 |
einfo "/etc/wpa_supplicant/wpa_supplicant.conf" |
430 |
einfo |
431 |
einfo "An example configuration file is available for reference in" |
432 |
einfo "/usr/share/doc/${PF}/" |
433 |
|
434 |
if [[ -e ${ROOT}etc/wpa_supplicant.conf ]] ; then |
435 |
echo |
436 |
ewarn "WARNING: your old configuration file ${ROOT}etc/wpa_supplicant.conf" |
437 |
ewarn "needs to be moved to ${ROOT}etc/wpa_supplicant/wpa_supplicant.conf" |
438 |
fi |
439 |
|
440 |
if use madwifi ; then |
441 |
echo |
442 |
einfo "This package compiles against the headers installed by" |
443 |
einfo "madwifi-old, madwifi-ng or madwifi-ng-tools." |
444 |
einfo "You should re-emerge ${PN} after upgrading these packages." |
445 |
fi |
446 |
} |