Browse Source

* debian/gpsd.config:

- Ask for USB autodetection if the Daemon is started at boot.
* debian/NEWS.Debian debian/gpsd.README.Debian:
  - Deleting files, no extra information included anymore.

git-svn-id: https://ssl.recluse.de/svn/debian/packages/gpsd/trunk@523 9c2cd6cd-4e54-406b-9ece-f07a8ab7d216
tags/debian/2.37-6
bzed 13 years ago
parent
commit
4d01114bfc
5 changed files with 13 additions and 59 deletions
  1. +0
    -14
      debian/NEWS.Debian
  2. +5
    -1
      debian/changelog
  3. +0
    -42
      debian/gpsd.README.Debian
  4. +7
    -1
      debian/gpsd.config
  5. +1
    -1
      debian/gpsd.postinst

+ 0
- 14
debian/NEWS.Debian View File

@@ -1,14 +0,0 @@
gpsd (2.34.dfsg-1) unstable; urgency=low

* As the automatic discovery of USB GPS devices resulted in trouble for
everybody who is using a 'normal' usb to serial converter, it was
disabled by default. An example gpsd.rules file is provided in
/usr/share/doc/gpsd/examples. Please modify it to suit your needs and
install it into /etc/udev/rules.d.
As long as there's no proper way to discover if there was really a GPS
device attached, this will stay disabled by default.

* gpsd was moved to /usr/sbin, as this is a rather a system daemon than a
tool for the normal user. Please update your scripts if necessary.

-- Bernd Zeimetz <bernd@bzed.de> Sun, 14 Oct 2007 13:14:28 +0200

+ 5
- 1
debian/changelog View File

@@ -5,6 +5,8 @@ gpsd (2.37-1) UNRELEASED; urgency=low
- Adding question about USB autodetection. The file was reviewed and
corrected on debian-l10n-english@lists.debian.org - thanks to
Christian Perrier, MJ Ray and Justin B Rye.
* debian/gpsd.config:
- Ask for USB autodetection if the Daemon is started at boot.
* debian/hotplug.wrappper:
- Exit gracefully if hotplugging is disabled in /etc/default/gpsd.
* debian/rules:
@@ -14,8 +16,10 @@ gpsd (2.37-1) UNRELEASED; urgency=low
(Closes: #455036).
* debian/gpsd.examples:
- Deleting file, the example udev rules are installed by default now.
* debian/NEWS.Debian debian/gpsd.README.Debian:
- Deleting files, no extra information included anymore.

-- Bernd Zeimetz <bzed@debian.org> Sat, 15 Mar 2008 15:37:17 +0100
-- Bernd Zeimetz <bzed@debian.org> Sat, 15 Mar 2008 16:24:33 +0100

gpsd (2.37~rc1-1) unstable; urgency=low



+ 0
- 42
debian/gpsd.README.Debian View File

@@ -1,42 +0,0 @@
gpsd for Debian
---------------

There are three different ways to run gpsd:

- from the command line

Since gpsd expects to be started as root (see below for details), the gpsd
binary is located in /usr/sbin and is most likely not in the search PATH of
normal users.

- as a service

The debian package provides a SysV style init script, /etc/init.d/gpsd, to
start gpsd at boot time. Run 'dpkg-reconfigure gpsd' to configure the
service.

- through the udev interface

Although this is disabled by default, as it resulted in too much trouble for
users of 'normal' usb <> serial converters, you can enable this feature by
installing `/usr/share/doc/gpsd/examples/gpsd.rules' in `/etc/udev/rules.d'.
Especially if you're using other usb <> serial converters, too, you want to
configure the file to suit your needs before installing it.

gpsd expects to be started as root. It needs root rights to open a shared
memory segment to communicate with NTPd, and to open a control socket for
device management if you have chosen this option. After startup, gpsd drops
its privileges to the UID of 'nobody' and the GID of the group owning the
first GPS device it is supposed to open. See gpsd(8) for a more detailed
explanation.

If you do not want to interface gpsd with ntpd, and not use a device control
socket, there is no downside to starting gpsd as a unprivileged user/group.
Make this user/group has r/w rights on the device the GPS is attached to.


To keep the dependencies small, the client programs have been moved to a
separate package, `gpsd-clients'. The python modules and programs are
available in the `python-gps' package.

-- Bernd Zeimetz <bernd@bzed.de> Sun, 14 Oct 2007 13:14:28 +0200

+ 7
- 1
debian/gpsd.config View File

@@ -15,6 +15,9 @@ if [ -s /etc/default/gpsd ] ; then
if [ -n "$DEVICES" ] ; then
db_set gpsd/device "$DEVICES"
fi
if [ -n "$USBAUTO" ]; then
db_set gpsd/autodetection "$USBAUTO"
fi
fi

db_input medium gpsd/start_daemon || true
@@ -30,5 +33,8 @@ if [ "x$START" = "xtrue" ] ; then

db_input medium gpsd/daemon_options || true
db_go

db_input medium gpsd/autodetection || true
db_go
fi


+ 1
- 1
debian/gpsd.postinst View File

@@ -24,7 +24,7 @@ if [ "$1" = "configure" ] ; then

cat <<EOF > /etc/default/gpsd
# Default settings for gpsd.
# Please do not edit this file directly - use `dpkg-reconfigure gpsd' to
# Please do not edit this file directly - use \`dpkg-reconfigure gpsd' to
# change the options.
DAEMON_OPTS="$OPTS"
DEVICES="$DEVICES"


Loading…
Cancel
Save