Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

connman: bump version to 0.84

  • Loading branch information...
commit d7d9d2b34b7df0869ad622815b572b09b9188685 1 parent 72ecd78
@lucasdemarchi authored
View
36 connman/0001-notifier-Return-offline-as-global-state-if-offline-m.patch
@@ -0,0 +1,36 @@
+From bfd6e7c7618a29bc95c344d17ea9c15d70932ec2 Mon Sep 17 00:00:00 2001
+From: Marcel Holtmann <marcel@holtmann.org>
+Date: Mon, 30 Apr 2012 01:35:23 +0200
+Subject: [PATCH] notifier: Return offline as global state if offline mode is
+ enabled
+
+---
+ src/notifier.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/notifier.c b/src/notifier.c
+index b328a2a..55cea74 100644
+--- a/src/notifier.c
++++ b/src/notifier.c
+@@ -106,15 +106,15 @@ connman_bool_t __connman_notifier_is_connected(void)
+
+ static const char *evaluate_notifier_state(void)
+ {
++ if ( __connman_technology_get_offlinemode() == TRUE)
++ return "offline";
++
+ if (notifier_is_online() == TRUE)
+ return "online";
+
+ if (__connman_notifier_is_connected() == TRUE)
+ return "ready";
+
+- if ( __connman_technology_get_offlinemode() == TRUE)
+- return "offline";
+-
+ return "idle";
+ }
+
+--
+1.7.10
+
View
33 connman/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Lucas De Marchi <lucas.de.marchi@gmail.com>
pkgname=connman
-pkgver=0.83
+pkgver=0.84
pkgrel=1
pkgdesc="Wireless LAN network manager"
url="http://connman.net/"
@@ -14,26 +14,27 @@ 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"
- "allow_group_network.diff"
- )
+source=(connmand-daemon
+ http://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+ allow_group_network.diff
+ 0001-notifier-Return-offline-as-global-state-if-offline-m.patch
+ )
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/allow_group_network.diff || return 1
-# for i in ${srcdir}/00*.patch; do
-# patch -Np1 -i $i || return 1
-# done
+ for i in ${srcdir}/00*.patch; do
+ patch -Np1 -i $i || return 1
+ done
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --enable-threads \
- --enable-openconnect \
- --enable-openvpn \
- --enable-polkit \
- --enable-client
+ --enable-threads \
+ --enable-openconnect \
+ --enable-openvpn \
+ --enable-polkit \
+ --enable-client
make || return 1
make DESTDIR=${pkgdir} install || return 1
@@ -41,7 +42,7 @@ build() {
install -Dm755 $srcdir/connmand-daemon $pkgdir/etc/rc.d/connmand
}
-
md5sums=('88ece7cbf1d0d289545ce4f8553fdab8'
- '3047a26768d54068e58392c87a2dbbd3'
- 'a8d22ee089fb0ed725130d16ad393047')
+ '26ab7977681777ba32e035725c8c004e'
+ 'a8d22ee089fb0ed725130d16ad393047'
+ 'f73e4c66cc5bfb74f7cdc14b84358dfc')
Please sign in to comment.
Something went wrong with that request. Please try again.