On Mon, Jul 20, 2009 at 1:34 PM, bouleetbil<[email protected]> wrote: > Git-Url: > http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ea08c3358978e20912129e4f25f4573e07a7714e > > commit ea08c3358978e20912129e4f25f4573e07a7714e > Author: bouleetbil <[email protected]> > Date: Mon Jul 20 05:33:30 2009 +0200 > > wicd-1.6.2-1-i686 > *new package > > diff --git a/source/xapps-extra/wicd/FrugalBuild > b/source/xapps-extra/wicd/FrugalBuild > new file mode 100644 > index 0000000..3eb9bde > --- /dev/null > +++ b/source/xapps-extra/wicd/FrugalBuild > @@ -0,0 +1,28 @@ > +# Compiling time: 0 SBU > +# Maintainer: bouleetbil <[email protected]> > + > +pkgname=wicd > +pkgver=1.6.2 > +pkgrel=1 > +pkgdesc="A wired and wireless network manager for Linux" > +depends=('dbus-python' 'pygtk' 'dhcp' 'dhcpcd' 'wireless_tools' > 'wpa_supplicant'\ > + 'ethtool' 'python>=2.6' 'urwid' 'python-wpactrl' 'python-iwscan') > +groups=('xapps-extra') > +archs=('i686' 'x86_64') > +options=('scriptlet') > +_F_gnome_iconcache="y" > +_F_gnome_desktop="y" > +_F_sourceforge_realname="wicd-stable" > +Finclude sourceforge gnome-scriptlet > +source=($source rc.wicd) > +sha1sums=('936a3c6bb05f284afcf5fd03ac0a72b2f212d31f' \ > + 'a3a925a48b0a25e6415ef7cd7b10b6c3e0dc25de') > + > +build() { > + Fcd > + python ./setup.py configure --no-install-init --no-install-docs > --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ > --verbose || Fdie > + python ./setup.py build || Fdie > + Fmakeinstall > + Frcd2 wicd > + Fbuild_gnome_scriptlet > +} > diff --git a/source/xapps-extra/wicd/rc.wicd b/source/xapps-extra/wicd/rc.wicd > new file mode 100644 > index 0000000..434066a > --- /dev/null > +++ b/source/xapps-extra/wicd/rc.wicd > @@ -0,0 +1,42 @@ > +#!/bin/bash > + > +# (c) 2008 bouleetbil <[email protected]> > +# rc.wicd for FrugalWare > +# distributed under GPL License > + > +# chkconfig: 2345 99 02 > +# description: Run wicd daemon > + > +source /lib/initscripts/functions > +TEXTDOMAIN=wicd > +TEXTDOMAINDIR=/lib/initscripts/messages > + > +actions=(restart start status stop) > +daemon="wicd daemon" > + > +pid="pidof /usr/sbin/wicd 2> /dev/null" > + > +rc_start() > +{ > + start_msg > + if [[ "$(eval $pid)" == "" ]] ; then > + /usr/sbin/wicd 2> /dev/null > + ok $? > + else > + ok 999 > + fi > +} > + > +rc_stop() > +{ > + stop_msg > + if [[ "$(eval $pid)" != "" ]] ; then > + killall wicd > + rm -f /var/run/wicd/wicd.pid > + ok $? > + else > + ok 999 > + fi > +} > + > +rc_exec $1
Please excuse my ignorance, but with the addition of wicd mean that changes will be required to gService, FW's GUI service management utility? May you always be Frugal, Russell Dickenson (AKA phayz) _______________________________________________ Frugalware-devel mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-devel
