OBS User unknown 2008-10-23 15:08:07 +00:00 committed by Git OBS Bridge
parent 4e9fe64f2d
commit af1a953412
4 changed files with 32 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 23 15:06:28 CEST 2008 - jreuter@suse.de
- Disable start of gpsd by udev rule by default and add sysconfig
variable to enable it if desired (bnc#432420)
-------------------------------------------------------------------
Thu Apr 24 13:24:50 CEST 2008 - jreuter@suse.de

View File

@ -2,9 +2,16 @@
# spec file for package gpsd (Version 2.37)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -17,7 +24,7 @@ License: BSD 3-Clause
Url: http://gpsd.berlios.de/
Group: Hardware/Other
Version: 2.37
Release: 10
Release: 68
Requires: udev
PreReq: coreutils %fillup_prereq
BuildRequires: gcc-c++ ncurses-devel openmotif openmotif-devel python-devel udev update-desktop-files xmlto
@ -236,6 +243,9 @@ rm -rf %{buildroot}
%{_datadir}/pixmaps/*.xpm
%changelog
* Thu Oct 23 2008 jreuter@suse.de
- Disable start of gpsd by udev rule by default and add sysconfig
variable to enable it if desired (bnc#432420)
* Thu Apr 24 2008 jreuter@suse.de
- Fix RPM group tag for devel package
- Cleanup spec file

View File

@ -1,9 +1,18 @@
## Path: Hardware/GPS
## Description: GPS Daemon
## Description: TCP port number for gpsd to listen on
## Type: integer
## Default: 2947
#
# Use another port for the deamon
#
PORT=
## Description: Start gpsd by udev
## Type: yesno
## Default: no
#
# Whether or not to start gpsd automatically on plugin event
#
STARTBYUDEV="no"

View File

@ -30,6 +30,10 @@ case "$DEVPATH" in
. /etc/sysconfig/gpsd
if [ "$STARTBYUDEV" != "yes" ]; then
exit 1
fi
if [ -n "$PORT" ]; then
options="$options -S $PORT"
else