Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gnometesting.git;a=commitdiff;h=f60e33a5077e615b35fccd75c87d1e1ab00461dd

commit f60e33a5077e615b35fccd75c87d1e1ab00461dd
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Fri Feb 25 18:33:49 2011 +0100

wicd-1.7.0-3-x86_64
*keep only systemd support

diff --git a/source/xapps-extra/wicd/FrugalBuild 
b/source/xapps-extra/wicd/FrugalBuild
index d7d9f61..d028576 100644
--- a/source/xapps-extra/wicd/FrugalBuild
+++ b/source/xapps-extra/wicd/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=wicd
pkgver=1.7.0
-pkgrel=2
+pkgrel=3
pkgdesc="A wired and wireless network manager for Linux"
depends=('dbus-python' 'pygtk' 'dhcp' 'dhcpcd' 'wireless_tools' 
'wpa_supplicant'\
'ethtool' 'python>=2.7' 'urwid' 'python-wpactrl' 'python-iwscan')
@@ -14,9 +14,8 @@ _F_gnome_iconcache="y"
_F_gnome_desktop="y"
_F_sourceforge_realname="wicd-stable"
Finclude sourceforge gnome-scriptlet
-source=($source rc.wicd wicd.service deopcopy.diff)
+source=($source wicd.service deopcopy.diff)
sha1sums=('76d9c0ad7b020ff1abac5c92c301739a04d5595e' \
-          '09c87f876e24b42ad1512277256b01638a182db9' \
'682d90437dadd5e7043f9d82c98bd9dab3985582' \
'90c81ca12ef5cf7ebca6fed700af45a3af226645')

@@ -26,7 +25,6 @@ build() {
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
Fmkdir lib/systemd/system/
Finstall 0644 wicd.service /lib/systemd/system/wicd.service
Fbuild_gnome_scriptlet
diff --git a/source/xapps-extra/wicd/rc.wicd b/source/xapps-extra/wicd/rc.wicd
deleted file mode 100644
index 0c87809..0000000
--- a/source/xapps-extra/wicd/rc.wicd
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-# (c) 2008 bouleetbil <bouleet...@frogdev.info>
-# 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
-               /usr/sbin/wicd -k
-               ok $?
-       else
-               ok 999
-       fi
-}
-
-rc_exec $1
diff --git a/source/xapps-extra/wicd/wicd.install 
b/source/xapps-extra/wicd/wicd.install
index 4260aa4..89237d4 100644
--- a/source/xapps-extra/wicd/wicd.install
+++ b/source/xapps-extra/wicd/wicd.install
@@ -1,6 +1,5 @@
post_install()
{
-       chkconfig --add rc.wicd
systemctl daemon-reload >/dev/null 2>&1
systemctl enable wicd.service >/dev/null 2>&1
}
@@ -15,7 +14,6 @@ pre_remove()
{
systemctl stop wicd.service >/dev/null 2>&1
systemctl disable wicd.service >/dev/null 2>&1
-       chkconfig --del rc.wicd
}

post_remove()
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to