diff options
Diffstat (limited to 'community/hostapd')
-rw-r--r-- | community/hostapd/PKGBUILD | 12 | ||||
-rw-r--r-- | community/hostapd/hostapd | 35 | ||||
-rw-r--r-- | community/hostapd/hostapd.conf.d | 2 |
3 files changed, 2 insertions, 47 deletions
diff --git a/community/hostapd/PKGBUILD b/community/hostapd/PKGBUILD index 5c00b8aac..a85b6d751 100644 --- a/community/hostapd/PKGBUILD +++ b/community/hostapd/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 85915 2013-03-08 23:40:40Z foutrelis $ +# $Id: PKGBUILD 90673 2013-05-13 14:26:11Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=hostapd pkgver=2.0 -pkgrel=3 +pkgrel=6 pkgdesc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator" arch=('i686' 'x86_64' 'mips64el') url="http://w1.fi/hostapd/" @@ -23,13 +23,9 @@ backup=('etc/hostapd/hostapd.conf' install=hostapd.install source=(http://w1.fi/releases/$pkgname-$pkgver.tar.gz config - hostapd - hostapd.conf.d hostapd.service) md5sums=('ba22e639bc57aa4035d2ea8ffa9bbbee' '5d7ee10b04e33f22c37be56a4c33dddb' - 'd570327c385f34a4af24d3a0d61cea19' - 'f169534b0f59b341f6df1a21e0344511' 'a0a16879eed5e4e41ae6b225a4809955') build() { @@ -41,10 +37,6 @@ build() { } package() { - # RC script - install -D hostapd "$pkgdir/etc/rc.d/hostapd" - install -Dm644 hostapd.conf.d "$pkgdir/etc/conf.d/hostapd" - # Systemd unit install -Dm644 hostapd.service "$pkgdir/usr/lib/systemd/system/hostapd.service" diff --git a/community/hostapd/hostapd b/community/hostapd/hostapd deleted file mode 100644 index b4709d7bf..000000000 --- a/community/hostapd/hostapd +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions -. /etc/conf.d/hostapd - -case "$1" in - start) - stat_busy "Starting hostapd" - /usr/bin/hostapd -B -P ${HOSTAPD_PID} ${HOSTAPD_CONF} &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - add_daemon hostapd - fi - ;; - stop) - stat_busy "Stopping hostapd" - [ -f ${HOSTAPD_PID} ] && kill `cat ${HOSTAPD_PID}` &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - rm_daemon hostapd - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac diff --git a/community/hostapd/hostapd.conf.d b/community/hostapd/hostapd.conf.d deleted file mode 100644 index 7a7bbc806..000000000 --- a/community/hostapd/hostapd.conf.d +++ /dev/null @@ -1,2 +0,0 @@ -HOSTAPD_PID="/var/run/hostapd.pid" -HOSTAPD_CONF="/etc/hostapd/hostapd.conf" |