summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-01-09 14:46:01 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-01-09 14:46:01 +0000
commit22a4d9cad9663c996172b3c2b3de41683ca28fa0 (patch)
treecfcb57d3d4b381cf69f26054145f5aa9afc5d835 /net-misc/xsupplicant/files
parentMarked stable on sparc wrt security bug #74704. (Manifest recommit) (diff)
downloadgentoo-2-22a4d9cad9663c996172b3c2b3de41683ca28fa0.tar.gz
gentoo-2-22a4d9cad9663c996172b3c2b3de41683ca28fa0.tar.bz2
gentoo-2-22a4d9cad9663c996172b3c2b3de41683ca28fa0.zip
Version bump + development version. Fixes bug #44737 and bug #61981.
Diffstat (limited to 'net-misc/xsupplicant/files')
-rw-r--r--net-misc/xsupplicant/files/digest-xsupplicant-1.01
-rw-r--r--net-misc/xsupplicant/files/digest-xsupplicant-1.0.11
-rw-r--r--net-misc/xsupplicant/files/xsupplicant.conf.d12
-rwxr-xr-xnet-misc/xsupplicant/files/xsupplicant.init.d40
4 files changed, 54 insertions, 0 deletions
diff --git a/net-misc/xsupplicant/files/digest-xsupplicant-1.0 b/net-misc/xsupplicant/files/digest-xsupplicant-1.0
new file mode 100644
index 000000000000..31c427b739f2
--- /dev/null
+++ b/net-misc/xsupplicant/files/digest-xsupplicant-1.0
@@ -0,0 +1 @@
+MD5 7ec518a316139268827e3e4e9acaf174 xsupplicant-1.0.tar.gz 534071
diff --git a/net-misc/xsupplicant/files/digest-xsupplicant-1.0.1 b/net-misc/xsupplicant/files/digest-xsupplicant-1.0.1
new file mode 100644
index 000000000000..999b07ed11bf
--- /dev/null
+++ b/net-misc/xsupplicant/files/digest-xsupplicant-1.0.1
@@ -0,0 +1 @@
+MD5 0346ce9aaa73613d3c5acdf96f0e1ef2 xsupplicant-1.0.1.tar.gz 637728
diff --git a/net-misc/xsupplicant/files/xsupplicant.conf.d b/net-misc/xsupplicant/files/xsupplicant.conf.d
new file mode 100644
index 000000000000..b75da5cec5f4
--- /dev/null
+++ b/net-misc/xsupplicant/files/xsupplicant.conf.d
@@ -0,0 +1,12 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/xsupplicant/files/xsupplicant.conf.d,v 1.1 2005/01/09 14:46:01 brix Exp $
+
+# List of interfaces
+INTERFACES="eth1"
+
+# Common arguments to all xsupplicant instances
+ARGS=""
+
+# Interface specific arguments
+#ARGS_eth1=""
diff --git a/net-misc/xsupplicant/files/xsupplicant.init.d b/net-misc/xsupplicant/files/xsupplicant.init.d
new file mode 100755
index 000000000000..17177867e39d
--- /dev/null
+++ b/net-misc/xsupplicant/files/xsupplicant.init.d
@@ -0,0 +1,40 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/xsupplicant/files/xsupplicant.init.d,v 1.1 2005/01/09 14:46:01 brix Exp $
+
+depend() {
+ use wpa_supplicant
+ before net
+}
+
+checkconfig() {
+ if [ ! -f /etc/xsupplicant.conf ]; then
+ eerror "Configuration file /etc/xsupplicant.conf not found"
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+
+ ebegin "Starting xsupplicant"
+
+ for IFACE in $INTERFACES; do
+ ebegin " ${IFACE}"
+
+ eval ARGS_IFACE=\"\$\{ARGS_$IFACE\}\"
+
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/xsupplicant \
+ -- -i${IFACE} -c/etc/xsupplicant.conf ${ARGS} ${ARGS_IFACE}
+ eend ${?}
+ done
+}
+
+stop() {
+ ebegin "Stopping xsupplicant"
+
+ start-stop-daemon --stop --quiet --exec /usr/sbin/xsupplicant
+ eend ${?}
+}
+