summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-wireless/wpa_supplicant/ChangeLog6
-rw-r--r--net-wireless/wpa_supplicant/files/wpa_supplicant_at.service11
-rw-r--r--net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r3.ebuild3
3 files changed, 18 insertions, 2 deletions
diff --git a/net-wireless/wpa_supplicant/ChangeLog b/net-wireless/wpa_supplicant/ChangeLog
index 4c6c83a8c857..8bdd6ec732b5 100644
--- a/net-wireless/wpa_supplicant/ChangeLog
+++ b/net-wireless/wpa_supplicant/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/wpa_supplicant
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.157 2011/06/19 15:48:38 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.158 2011/06/19 16:31:51 alexxy Exp $
+
+ 19 Jun 2011; Alexey Shvetsov <alexxy@gentoo.org>
+ wpa_supplicant-0.7.3-r3.ebuild, +files/wpa_supplicant_at.service:
+ Fix systemd handling onece more
19 Jun 2011; Alexey Shvetsov <alexxy@gentoo.org>
wpa_supplicant-0.7.3-r3.ebuild:
diff --git a/net-wireless/wpa_supplicant/files/wpa_supplicant_at.service b/net-wireless/wpa_supplicant/files/wpa_supplicant_at.service
new file mode 100644
index 000000000000..c4ba4d62f3b6
--- /dev/null
+++ b/net-wireless/wpa_supplicant/files/wpa_supplicant_at.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=WPA supplicant daemon (interface-specific version)
+
+# NetworkManager users will probably want the dbus version instead.
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -i%I
+
+[Install]
+Alias=network.target.wants/wpa_supplicant@wlan0.service
diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r3.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r3.ebuild
index 5c7f83da49a7..21c1421df267 100644
--- a/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r3.ebuild
+++ b/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r3.ebuild,v 1.2 2011/06/19 15:48:38 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.7.3-r3.ebuild,v 1.3 2011/06/19 16:31:51 alexxy Exp $
EAPI="2"
@@ -249,6 +249,7 @@ src_install() {
# SystemD stuff
systemd_dounit "${FILESDIR}"/wpa_supplicant.service
+ systemd_newunit "${FILESDIR}"/wpa_supplicant_at.service 'wpa_supplicant@.service' || die
}
pkg_postinst() {