/[gentoo-x86]/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r5.ebuild
Gentoo

Diff of /net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/Attic/wpa_supplicant-0.7.3-r5.ebuild,v 1.3 2011/07/24 11:10:19 gurligebis Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/Attic/wpa_supplicant-0.7.3-r5.ebuild,v 1.4 2011/08/02 21:19:28 mgorny Exp $
4 4
5EAPI="2" 5EAPI="2"
6 6
7inherit eutils toolchain-funcs qt4-r2 systemd multilib 7inherit eutils toolchain-funcs qt4-r2 systemd multilib
8 8
250 insinto /usr/share/dbus-1/system-services 250 insinto /usr/share/dbus-1/system-services
251 doins fi.epitest.hostap.WPASupplicant.service fi.w1.wpa_supplicant1.service || die 251 doins fi.epitest.hostap.WPASupplicant.service fi.w1.wpa_supplicant1.service || die
252 keepdir /var/run/wpa_supplicant 252 keepdir /var/run/wpa_supplicant
253 fi 253 fi
254 254
255 # SystemD stuff 255 # systemd stuff
256 systemd_dounit "${FILESDIR}"/wpa_supplicant.service 256 systemd_dounit "${FILESDIR}"/wpa_supplicant.service
257 systemd_newunit "${FILESDIR}"/wpa_supplicant_at.service 'wpa_supplicant@.service' || die 257 systemd_newunit "${FILESDIR}"/wpa_supplicant_at.service 'wpa_supplicant@.service' || die
258} 258}
259 259
260pkg_postinst() { 260pkg_postinst() {
275 echo 275 echo
276 einfo "This package compiles against the headers installed by" 276 einfo "This package compiles against the headers installed by"
277 einfo "madwifi-old, madwifi-ng or madwifi-ng-tools." 277 einfo "madwifi-old, madwifi-ng or madwifi-ng-tools."
278 einfo "You should re-emerge ${PN} after upgrading these packages." 278 einfo "You should re-emerge ${PN} after upgrading these packages."
279 fi 279 fi
280
281 # Mea culpa, feel free to remove that after some time --mgorny.
282 local fn
283 for fn in wpa_supplicant{,@wlan0}.service; do
284 if [[ -e "${ROOT}"/etc/systemd/system/network.target.wants/${fn} ]]
285 then
286 ebegin "Moving ${fn} to multi-user.target"
287 mv "${ROOT}"/etc/systemd/system/network.target.wants/${fn} \
288 "${ROOT}"/etc/systemd/system/multi-user.target.wants/
289 eend ${?} \
290 "Please try to re-enable ${fn}"
291 fi
292 done
280} 293}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20