Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/wpa_supplicant: ChangeLog wpa_supplicant-0.7.3-r5.ebuild
Date: Tue, 02 Aug 2011 21:19:38
Message-Id: 20110802211928.34F992004C@flycatcher.gentoo.org
1 mgorny 11/08/02 21:19:28
2
3 Modified: ChangeLog wpa_supplicant-0.7.3-r5.ebuild
4 Log:
5 Fix systemd service target. Thanks to Tom Gundersen for explaining this.
6
7 (Portage version: 2.2.0_alpha49_p5/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.164 net-wireless/wpa_supplicant/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.164&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?rev=1.164&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog?r1=1.163&r2=1.164
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v
19 retrieving revision 1.163
20 retrieving revision 1.164
21 diff -u -r1.163 -r1.164
22 --- ChangeLog 24 Jul 2011 11:10:19 -0000 1.163
23 +++ ChangeLog 2 Aug 2011 21:19:28 -0000 1.164
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-wireless/wpa_supplicant
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.163 2011/07/24 11:10:19 gurligebis Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.164 2011/08/02 21:19:28 mgorny Exp $
29 +
30 + 02 Aug 2011; Michał Górny <mgorny@g.o>
31 + wpa_supplicant-0.7.3-r5.ebuild, files/wpa_supplicant.service,
32 + files/wpa_supplicant_at.service:
33 + Fix systemd service target. Thanks to Tom Gundersen for explaining this.
34
35 24 Jul 2011; <gurligebis@g.o> wpa_supplicant-0.7.3-r2.ebuild,
36 wpa_supplicant-0.7.3-r5.ebuild:
37
38
39
40 1.4 net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r5.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r5.ebuild?rev=1.4&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r5.ebuild?rev=1.4&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r5.ebuild?r1=1.3&r2=1.4
45
46 Index: wpa_supplicant-0.7.3-r5.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r5.ebuild,v
49 retrieving revision 1.3
50 retrieving revision 1.4
51 diff -u -r1.3 -r1.4
52 --- wpa_supplicant-0.7.3-r5.ebuild 24 Jul 2011 11:10:19 -0000 1.3
53 +++ wpa_supplicant-0.7.3-r5.ebuild 2 Aug 2011 21:19:28 -0000 1.4
54 @@ -1,6 +1,6 @@
55 # Copyright 1999-2011 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r5.ebuild,v 1.3 2011/07/24 11:10:19 gurligebis Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r5.ebuild,v 1.4 2011/08/02 21:19:28 mgorny Exp $
59
60 EAPI="2"
61
62 @@ -252,7 +252,7 @@
63 keepdir /var/run/wpa_supplicant
64 fi
65
66 - # SystemD stuff
67 + # systemd stuff
68 systemd_dounit "${FILESDIR}"/wpa_supplicant.service
69 systemd_newunit "${FILESDIR}"/wpa_supplicant_at.service 'wpa_supplicant@.service' || die
70 }
71 @@ -277,4 +277,17 @@
72 einfo "madwifi-old, madwifi-ng or madwifi-ng-tools."
73 einfo "You should re-emerge ${PN} after upgrading these packages."
74 fi
75 +
76 + # Mea culpa, feel free to remove that after some time --mgorny.
77 + local fn
78 + for fn in wpa_supplicant{,@wlan0}.service; do
79 + if [[ -e "${ROOT}"/etc/systemd/system/network.target.wants/${fn} ]]
80 + then
81 + ebegin "Moving ${fn} to multi-user.target"
82 + mv "${ROOT}"/etc/systemd/system/network.target.wants/${fn} \
83 + "${ROOT}"/etc/systemd/system/multi-user.target.wants/
84 + eend ${?} \
85 + "Please try to re-enable ${fn}"
86 + fi
87 + done
88 }