summaryrefslogtreecommitdiff
path: root/community/connman
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-01 00:05:33 -0800
committerroot <root@rshg054.dnsready.net>2013-03-01 00:05:33 -0800
commit5ae40a63ab4c6838234db5a9da1e99d8bc27875d (patch)
treedea7d338ac603743f5a323dc8f82b76bdbf5ab2e /community/connman
parentb56d5949c9b0c3b40a942cd83f71e4420473435b (diff)
Fri Mar 1 00:05:33 PST 2013
Diffstat (limited to 'community/connman')
-rw-r--r--community/connman/PKGBUILD15
-rwxr-xr-xcommunity/connman/connmand-daemon44
2 files changed, 5 insertions, 54 deletions
diff --git a/community/connman/PKGBUILD b/community/connman/PKGBUILD
index c9091f03d..ead2ff768 100644
--- a/community/connman/PKGBUILD
+++ b/community/connman/PKGBUILD
@@ -1,9 +1,9 @@
-#$Id: PKGBUILD 83726 2013-02-04 18:08:38Z dwallace $
+#$Id: PKGBUILD 85296 2013-02-28 15:31:09Z dwallace $
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: Lucas De Marchi <lucas.de.marchi@gmail.com>
pkgname=connman
-pkgver=1.11
+pkgver=1.12
pkgrel=1
pkgdesc="Wireless LAN network manager"
url="http://connman.net/"
@@ -15,11 +15,9 @@ optdepends=('bluez: Support for Bluetooth devices'
'wpa_supplicant: For WiFi devices')
makedepends=('bluez' 'wpa_supplicant' 'openconnect' 'openvpn')
options=('!libtool')
-source=('connmand-daemon'
- "http://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+source=("http://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'allow_group_network.diff')
-md5sums=('88ece7cbf1d0d289545ce4f8553fdab8'
- '73f1f93ce503ee80dcc8c9bdda2c3426'
+md5sums=('41e5bbc603d031459df4ff243b8318f0'
'a8d22ee089fb0ed725130d16ad393047')
build() {
@@ -40,9 +38,6 @@ build() {
}
package(){
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
- install -Dm755 "$srcdir"/connmand-daemon "$pkgdir"/etc/rc.d/connmand
+ make -C "${srcdir}/${pkgname}-${pkgver}" DESTDIR="${pkgdir}" install
install -Dm755 "$srcdir/$pkgname-$pkgver/client/${pkgname}ctl" "$pkgdir/usr/sbin/${pkgname}ctl"
}
diff --git a/community/connman/connmand-daemon b/community/connman/connmand-daemon
deleted file mode 100755
index aff1ddeb2..000000000
--- a/community/connman/connmand-daemon
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-DESC="Connection Manager"
-NAME="connmand"
-ARGS=""
-DAEMON="/usr/sbin/$NAME"
-
-PID=`pidof -o %PPID ${DAEMON}`
-case "$1" in
- start)
- stat_busy "Starting ${DESC}"
- if [ -z "$PID" ]; then
- ${DAEMON} ${ARGS}
- fi
- if [ ! -z "$PID" -o $? -gt 0 ]; then
- stat_fail
- else
- add_daemon ${NAME}
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping ${DESC}"
- [ ! -z "$PID" ] && killall ${DAEMON} &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon ${NAME}
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
- ;;
-esac
-exit 0