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

commit 5e3f942832fa3f85f82f7848b35b6137b058efcc
Author: Miklos Vajna <[email protected]>
Date:   Sun Dec 2 11:49:24 2012 +0100

gpsd-2.96bis-6-x86_64

- drop sysv support

diff --git a/source/xlib-extra/gpsd/FrugalBuild 
b/source/xlib-extra/gpsd/FrugalBuild
index 343fd07..ed18334 100644
--- a/source/xlib-extra/gpsd/FrugalBuild
+++ b/source/xlib-extra/gpsd/FrugalBuild
@@ -3,16 +3,15 @@

pkgname=gpsd
pkgver=2.96bis
-pkgrel=5
+pkgrel=6
pkgdesc="GPS daemon and library to support USB/serial GPS devices"
archs=('i686' 'x86_64')
groups=('xlib-extra')
Finclude berlios
-source=($source rc.$pkgname $pkgname $pkgname.service)
+source=($source $pkgname $pkgname.service)
depends=('lesstif' 'libxaw>=1.0.5' 'python>=2.7')
backup=('etc/sysconfig/gpsd')
sha1sums=('cf123255f9ec54d018642cf230cd05826e507a9e' \
-          'ec737984e550495119edf316d9efffc5770d2bba' \
'51300b76fcfea5eb63aa6c31d4a408b419c40692' \
'43ab62520f5b2aca0d44eba10bf89661b79c104e')
options=('force')
@@ -28,7 +27,6 @@ build() {
install -m755 gpsd.hotplug "$Fdestdir/etc/hotplug/usb/gpsd" || Fdie
mkdir -p $Fdestdir/var/run/gpsd
Ffile /etc/sysconfig/gpsd
-       Frcd2 gpsd
# remove /var/run for new systemd
Frm /var/run
# systemd tmpfiles
diff --git a/source/xlib-extra/gpsd/rc.gpsd b/source/xlib-extra/gpsd/rc.gpsd
deleted file mode 100644
index 1995237..0000000
--- a/source/xlib-extra/gpsd/rc.gpsd
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/bash
-
-# (c) 2009 bouleetbil <[email protected]>
-# rc.sppechd for FrugalWare
-# distributed under GPL License
-# description: gpsd is a service daemon that mediates access to a GPS sensor
-
-# chkconfig: 2345 44 66
-# description:  Starts and stops gpsd
-
-source /lib/initscripts/functions
-
-TEXTDOMAIN=speechd
-TEXTDOMAINDIR=/lib/initscripts/messages
-source /lib/initscripts/functions
-daemon=$"gpsd"
-
-# Source gpsd configuration
-if [ -f /etc/sysconfig/gpsd ] ; then
-       . /etc/sysconfig/gpsd
-fi
-
-actions=(start stop)
-NAME=gpsd
-DAEMON=/usr/sbin/$NAME
-PID=`pidof /usr/sbin/gpsd`
-
-rc_start()
-{
-       start_msg
-       if [ -z "$(eval $pid)" ]; then
-               [ -z "$PID" ] && $DAEMON ${GPSD_OPTS} ${GPS_DEV}
-               ok $?
-       else
-               ok 999
-       fi
-}
-
-rc_stop()
-{
-       stop_msg
-       if [ ! -z "$(eval $pid)" ] ;then
-               kill $(eval $pid) 2>/dev/null 1>/dev/null
-               rm -f /var/run/$PID.pid &>/dev/null
-               ok $?
-       else
-               ok 999
-       fi
-}
-
-rc_exec $1
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to