[arch-commits] Commit in hostapd/trunk (PKGBUILD hostapd hostapd.conf.d)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 14:25:45 UTC 2013


    Date: Monday, May 13, 2013 @ 16:25:44
  Author: spupykin
Revision: 90672

upgpkg: hostapd 2.0-6

upd

Modified:
  hostapd/trunk/PKGBUILD
Deleted:
  hostapd/trunk/hostapd
  hostapd/trunk/hostapd.conf.d

----------------+
 PKGBUILD       |   10 +---------
 hostapd        |   35 -----------------------------------
 hostapd.conf.d |    2 --
 3 files changed, 1 insertion(+), 46 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 14:25:31 UTC (rev 90671)
+++ PKGBUILD	2013-05-13 14:25:44 UTC (rev 90672)
@@ -3,7 +3,7 @@
 
 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')
 url="http://w1.fi/hostapd/"
@@ -23,13 +23,9 @@
 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 @@
 }
 
 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"
 

Deleted: hostapd
===================================================================
--- hostapd	2013-05-13 14:25:31 UTC (rev 90671)
+++ hostapd	2013-05-13 14:25:44 UTC (rev 90672)
@@ -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

Deleted: hostapd.conf.d
===================================================================
--- hostapd.conf.d	2013-05-13 14:25:31 UTC (rev 90671)
+++ hostapd.conf.d	2013-05-13 14:25:44 UTC (rev 90672)
@@ -1,2 +0,0 @@
-HOSTAPD_PID="/var/run/hostapd.pid"
-HOSTAPD_CONF="/etc/hostapd/hostapd.conf"




More information about the arch-commits mailing list