Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=424e70bddfc2604d7a6ce4410739061c21e50407

commit 424e70bddfc2604d7a6ce4410739061c21e50407
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Mon Dec 14 18:53:52 2009 +0000

connman-0.47-1-i686
*new package

diff --git a/source/network-extra/connman/FrugalBuild 
b/source/network-extra/connman/FrugalBuild
new file mode 100644
index 0000000..7ef6909
--- /dev/null
+++ b/source/network-extra/connman/FrugalBuild
@@ -0,0 +1,32 @@
+# Compiling Time: 0.06 SBU
+# Maintainer: bouleetbil <bouleet...@frogdev.info>
+
+pkgname=connman
+pkgver=0.47
+pkgrel=1
+url="http://connman.net/";
+pkgdesc="open source connection manager"
+up2date="Flasttar http://www.kernel.org/pub/linux/network/connman/";
+source=(http://www.kernel.org/pub/linux/network/connman/$pkgname-$pkgver.tar.gz
 rc.connman)
+depends=('wpa_supplicant' 'bluez-utils' 'dhclient' 'policykit' 'udev' 'ppp')
+groups=('network-extra')
+archs=('i686')
+sha1sums=('763c928d516802b1f2a4a161d82ef9ed13a135f5' \
+          '5e37747152eb40a5896ca7d0f084ec15e8b0a59d')
+Fconfopts="$Fconfopts --localstatedir=/var \
+               --enable-loopback \
+               --enable-client \
+               --enable-fake \
+               --enable-datafiles \
+               --disable-udhcp \
+               --disable-iwmx \
+               --disable-iospm"
+
+build() {
+       Fbuild
+       Frcd2 connman
+       Fmkdir usr/bin
+       Fcp $pkgname-$pkgver/client/cm usr/bin
+}
+
+# optimization OK
diff --git a/source/network-extra/connman/rc.connman 
b/source/network-extra/connman/rc.connman
new file mode 100644
index 0000000..42be7c5
--- /dev/null
+++ b/source/network-extra/connman/rc.connman
@@ -0,0 +1,43 @@
+#!/bin/bash
+
+# (c) 2009 bouleetbil <bouleet...@frogdev.info>
+# rc.networkmanager for FrugalWare
+# distributed under GPL License
+
+# chkconfig: 2345 99 02
+# description: Network Manager.
+
+source /lib/initscripts/functions
+TEXTDOMAIN=networkmanager
+TEXTDOMAINDIR=/lib/initscripts/messages
+daemon="connman"
+
+actions=(restart start status stop)
+
+pid="pidof /usr/sbin/connmand 2> /dev/null"
+
+
+rc_start()
+{
+       start_msg
+       if [ -z "$(eval $pid)" ]; then
+               /usr/sbin/connmand -- 2>/dev/null 1>/dev/null
+               ok $?
+       else
+               ok 999
+       fi
+}
+
+rc_stop()
+{
+       stop_msg
+       if [ ! -z "$(eval $pid)" ] ;then
+               killall /usr/sbin/connmand
+               ok $?
+       else
+               ok 999
+       fi
+}
+
+rc_exec $1
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to