summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2007-02-10 11:40:43 +0000
committerChristian Heim <phreak@gentoo.org>2007-02-10 11:40:43 +0000
commitc18824d3f9d57504179b573ae8a485c1453ee049 (patch)
tree7269a860c66e9a0182bf87044e584847a338be84 /net-wireless/hostapd/files
parentStable on ppc wrt bug 166029 (diff)
downloadgentoo-2-c18824d3f9d57504179b573ae8a485c1453ee049.tar.gz
gentoo-2-c18824d3f9d57504179b573ae8a485c1453ee049.tar.bz2
gentoo-2-c18824d3f9d57504179b573ae8a485c1453ee049.zip
Version bump, thanks to Conrad Kostecki <ConiKost at gmx.de> in #150769.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'net-wireless/hostapd/files')
-rw-r--r--net-wireless/hostapd/files/digest-hostapd-0.4.7-r22
-rw-r--r--net-wireless/hostapd/files/digest-hostapd-0.4.82
-rw-r--r--net-wireless/hostapd/files/digest-hostapd-0.4.92
-rw-r--r--net-wireless/hostapd/files/digest-hostapd-0.5.22
-rw-r--r--net-wireless/hostapd/files/digest-hostapd-0.5.73
-rw-r--r--net-wireless/hostapd/files/hostapd-0.5.7-conf.d9
-rw-r--r--net-wireless/hostapd/files/hostapd-0.5.7-init.d50
7 files changed, 70 insertions, 0 deletions
diff --git a/net-wireless/hostapd/files/digest-hostapd-0.4.7-r2 b/net-wireless/hostapd/files/digest-hostapd-0.4.7-r2
index 4680e1c2c50f..971e491f101c 100644
--- a/net-wireless/hostapd/files/digest-hostapd-0.4.7-r2
+++ b/net-wireless/hostapd/files/digest-hostapd-0.4.7-r2
@@ -1 +1,3 @@
MD5 b299211691fe8a6840e7adafda351d2b hostapd-0.4.7.tar.gz 288016
+RMD160 0f71232f90e0bfe4ca70611820269353d0679b47 hostapd-0.4.7.tar.gz 288016
+SHA256 51633242467b463c2ae0215028df9ebce8fef459d05cd97dbc4115f88bc3f67a hostapd-0.4.7.tar.gz 288016
diff --git a/net-wireless/hostapd/files/digest-hostapd-0.4.8 b/net-wireless/hostapd/files/digest-hostapd-0.4.8
index 77582646ac24..120d3376f2e5 100644
--- a/net-wireless/hostapd/files/digest-hostapd-0.4.8
+++ b/net-wireless/hostapd/files/digest-hostapd-0.4.8
@@ -1 +1,3 @@
MD5 b8f30f23c04b74f18b2e4e6d8e0ee014 hostapd-0.4.8.tar.gz 290829
+RMD160 91598e15e98f19213be7d2cc349d1d838ce958dc hostapd-0.4.8.tar.gz 290829
+SHA256 4675ae608a9f16e0ac519af2003ef694e7e13a4ecda2fcbe29f12a306e460551 hostapd-0.4.8.tar.gz 290829
diff --git a/net-wireless/hostapd/files/digest-hostapd-0.4.9 b/net-wireless/hostapd/files/digest-hostapd-0.4.9
index 0de1901df547..dc2a52a0420e 100644
--- a/net-wireless/hostapd/files/digest-hostapd-0.4.9
+++ b/net-wireless/hostapd/files/digest-hostapd-0.4.9
@@ -1 +1,3 @@
MD5 3feba72240c24024b44fcd0b66f7c5d2 hostapd-0.4.9.tar.gz 291630
+RMD160 aad20c52edf7b9bf5d22ebb600711815fa826310 hostapd-0.4.9.tar.gz 291630
+SHA256 cdcb40fdad82d766d6098b8fabe093c679b5abd416563d03cf655ed42915c8ef hostapd-0.4.9.tar.gz 291630
diff --git a/net-wireless/hostapd/files/digest-hostapd-0.5.2 b/net-wireless/hostapd/files/digest-hostapd-0.5.2
index 39c3414070a2..a93274e2daa5 100644
--- a/net-wireless/hostapd/files/digest-hostapd-0.5.2
+++ b/net-wireless/hostapd/files/digest-hostapd-0.5.2
@@ -1 +1,3 @@
MD5 b7f4739ca4758798f8dc3b1ea9fd00d0 hostapd-0.5.2.tar.gz 367925
+RMD160 b9baabff282d01f9143cf83bfa6c06983f51d4ae hostapd-0.5.2.tar.gz 367925
+SHA256 2c58c71d7efb0e595e47a5ea352cdda63b389c3e6709347f8adfe438ac9e147d hostapd-0.5.2.tar.gz 367925
diff --git a/net-wireless/hostapd/files/digest-hostapd-0.5.7 b/net-wireless/hostapd/files/digest-hostapd-0.5.7
new file mode 100644
index 000000000000..4bb36555f4ab
--- /dev/null
+++ b/net-wireless/hostapd/files/digest-hostapd-0.5.7
@@ -0,0 +1,3 @@
+MD5 d5113247dc6ee17106e6bc7cb89aa507 hostapd-0.5.7.tar.gz 458451
+RMD160 188b6ca4365bd9e8d76b4b9c0c5a62a7d9f2cb66 hostapd-0.5.7.tar.gz 458451
+SHA256 67dd20255807fbf13e07e8f5c9f089fd1213c63e736b792c979ed34ac8e84da3 hostapd-0.5.7.tar.gz 458451
diff --git a/net-wireless/hostapd/files/hostapd-0.5.7-conf.d b/net-wireless/hostapd/files/hostapd-0.5.7-conf.d
new file mode 100644
index 000000000000..7d05735eb3b4
--- /dev/null
+++ b/net-wireless/hostapd/files/hostapd-0.5.7-conf.d
@@ -0,0 +1,9 @@
+# Space separated List of interfaces which needs to be started before
+# hostapd
+INTERFACES="wlan0"
+
+# Space separated list of configuration files
+CONFIGS="/etc/hostapd/hostapd.conf"
+
+# Extra options to pass to hostapd, see hostapd(8)
+OPTIONS=""
diff --git a/net-wireless/hostapd/files/hostapd-0.5.7-init.d b/net-wireless/hostapd/files/hostapd-0.5.7-init.d
new file mode 100644
index 000000000000..f2e2911f3838
--- /dev/null
+++ b/net-wireless/hostapd/files/hostapd-0.5.7-init.d
@@ -0,0 +1,50 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/hostapd-0.5.7-init.d,v 1.1 2007/02/10 11:40:43 phreak Exp $
+
+opts="start stop reload"
+
+depend() {
+ local iface
+
+ for iface in ${INTERFACES}; do
+ need net.${iface}
+ done
+
+ use logger
+}
+
+checkconfig() {
+ local file
+
+ for file in ${CONFIGS}; do
+ if [[ ! -r ${file} ]]; then
+ eerror "hostapd configuration file (${CONFIG}) not found"
+ return 1
+ fi
+ done
+}
+
+start() {
+ checkconfig || return 1
+
+ ebegin "Starting hostapd"
+ start-stop-daemon --start --exec /usr/sbin/hostapd \
+ -- -B ${OPTIONS} ${CONFIGS}
+ eend ${?}
+}
+
+stop() {
+ ebegin "Stopping hostapd"
+ start-stop-daemon --stop --exec /usr/sbin/hostapd
+ eend ${?}
+}
+
+reload() {
+ checkconfig || return 1
+
+ ebegin "Reloading hostapd configuration"
+ kill -HUP $(pidof /usr/sbin/hostapd) > /dev/null 2>&1
+ eend ${?}
+}