--- fso-gpsd-0.8.orig/debian/fso-gpsd.init +++ fso-gpsd-0.8/debian/fso-gpsd.init @@ -0,0 +1,65 @@ +#! /bin/sh +# +# fso-gpsd +# Init.d file for the fso-gpsd +# +# Heavily based on the template file written by Miquel van +# Smoorenburg and modified for Debian +# by Ian Murdock , version 1.9. +# +### BEGIN INIT INFO +# Provides: fso-gpsd +# Required-Start: $remote_fs dbus frameworkd +# Required-Stop: $remote_fs dbus frameworkd +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Starts the fso gspd compatibility daemon +# Description: This init script starts the gpsd compatibility daemon +# for systems running the fso-frameworkd server. +### END INIT INFO + +set -e + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/fso-gpsd +NAME=fso-gpsd +DESC="freesmartphone.org GPSD compatibility daemon" +PIDDIR=/var/run/ +PIDFILE=${PIDDIR}/${NAME}.pid +DAEMON_OPTS="-S localhost:gpsd -P $PIDFILE" + + +# Gracefully exit if the package has been removed (but not purged). +[ -x "$DAEMON" ] || exit 0 + + +# Load the VERBOSE setting and other rcS variables +. /lib/init/vars.sh + +# Define LSB log_* functions. +. /lib/lsb/init-functions + + +case "$1" in + start) + [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" + start-stop-daemon --oknodo --start --quiet --pidfile ${PIDFILE} \ + --exec $DAEMON -- $DAEMON_OPTS + [ "$VERBOSE" != no ] && log_end_msg $? + ;; + stop) + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" + start-stop-daemon --oknodo --stop --quiet --pidfile ${PIDFILE} + [ "$VERBOSE" != no ] && log_end_msg $? + ;; + restart|force-reload) + $0 stop + $0 start + ;; + *) + log_success_msg "Usage: $0 {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- fso-gpsd-0.8.orig/debian/control +++ fso-gpsd-0.8/debian/control @@ -0,0 +1,20 @@ +Source: fso-gpsd +Section: misc +Priority: extra +Maintainer: Debian freesmartphone.org Team +Uploaders: Joachim Breitner , Luca Capello +Build-Depends: debhelper (>= 7), libdbus-1-dev, libglib2.0-dev, libdbus-glib-1-dev, help2man +Standards-Version: 3.8.1 +Vcs-Git: git://git.debian.org/git/pkg-fso/fso-gpsd.git +Vcs-Browser: http://git.debian.org/?p=pkg-fso/fso-gpsd.git;a=summary + +Package: fso-gpsd +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, dbus, fso-frameworkd (>= 0.8.4.3-1) +Description: gpsd subset compatibility daemon for the freesmarpthone.org frameworkd + The fso-gpsd daemon provides a functional subset of gpsd interface to client + applications, while using the services of the freesmartphone.org frameworkd + daemon. + . + This package is an addition to the freesmartphone.org software stack and is + targeted for smartphones. --- fso-gpsd-0.8.orig/debian/copyright +++ fso-gpsd-0.8/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Joachim Breitner on +Tue, 26 Aug 2008 22:34:11 +0200 + +It was downloaded from git://git.freesmartphone.org/fso-gpsd.git + +The following copyrights apply to the fso-gpsd sourcecode: + * Copyright © 2008 Sascha Wessel + +For the Debian packaging: + * Copyright © 2008-2009 Joachim Breitner + * Copyright © 2009 Luca Capello + +The fso-gpsd source and the Debian package are distributed under the +following license: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + +On Debian systems, the complete text of the GNU General Public License can +be found in /usr/share/common-licenses/GPL-2 file. --- fso-gpsd-0.8.orig/debian/compat +++ fso-gpsd-0.8/debian/compat @@ -0,0 +1 @@ +7 --- fso-gpsd-0.8.orig/debian/changelog +++ fso-gpsd-0.8/debian/changelog @@ -0,0 +1,94 @@ +fso-gpsd (0.8-3.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/control (Closes: #559483): + + Drop 'Provides: gpsd' + + Acknowledge in the description that fso-gpsd provides only a subset + of the gpsd interface + + -- Gilles Filippini Tue, 15 Dec 2009 23:27:07 +0100 + +fso-gpsd (0.8-3) unstable; urgency=low + + * Upload to unstable. + * Move to team maintenance: Debian freesmartphone.org Team + http://pkg-fso.alioth.debian.org + * debian/control: + + Standards-Version to 3.8.1. + + add myself to Uploaders:. + + use freesmartphone.org instead of the FSO acronym. + + Build-Depends: on help2man for manpage generation. + * debian/copyright: + + use freesmartphone.org Git repository as source. + + update Debian copyright assignment to 2009. + + add myself for the Debian packaging. + * debian/fso-gpsd.init: + + add frameworkd to LSB Required-Start:/-Stop: dependencies. + + move `set -e` at the beginning. + + better value for DESC variable. + + use PIDDIR and PIDFILE variables. + + use test brackets to check if the package has been removed + but not purged (and add a useful comment). + + use VERBOSE variable and LSB log_* functions to control output. + + add --oknodo to start case (Standards-Version 3.8.1). + + simplify restart/force-reload case. + + do not hardcode path for usage output. + + fix indentation. + * debian/rules: + + generate the manpage, thanks to lintian (this unfortunately + required a more verbose rules file). + * debian/watch: + + new file, thanks to lintian. + + -- Luca Capello Fri, 29 May 2009 00:44:41 +0200 + +fso-gpsd (0.8-2) pkg-fso; urgency=low + + * only listen on local host + + -- Joachim Breitner Tue, 09 Dec 2008 21:43:41 +0100 + +fso-gpsd (0.8-1) pkg-fso; urgency=low + + * New upstream release + + -- Joachim Breitner Mon, 08 Dec 2008 23:21:25 +0100 + +fso-gpsd (0.7-1) pkg-fso; urgency=low + + * New upstream release + * Added VCS headers + * Requires frameworkd milestone4 or higher + + -- Joachim Breitner Tue, 18 Nov 2008 17:40:25 +0100 + +fso-gpsd (0.6-1) pkg-fso; urgency=low + + * New upstream release + * Fixed package name in debian/copyright + + -- Joachim Breitner Wed, 22 Oct 2008 21:02:05 +0200 + +fso-gpsd (0.5-1) pkg-fso; urgency=low + + * New upstream release + + -- Joachim Breitner Sat, 06 Sep 2008 20:25:34 +0200 + +fso-gpsd (0.4-1) pkg-fso; urgency=low + + * New upstream release + + -- Joachim Breitner Thu, 04 Sep 2008 15:08:08 +0200 + +fso-gpsd (0.3-1) pkg-fso; urgency=low + + * New upstream release, now with a dash! + + -- Joachim Breitner Thu, 28 Aug 2008 18:00:23 +0200 + +fsogpsd (0.1-1) pkg-fso; urgency=low + + * Initial release. + + -- Joachim Breitner Tue, 26 Aug 2008 22:34:11 +0200 --- fso-gpsd-0.8.orig/debian/rules +++ fso-gpsd-0.8/debian/rules @@ -0,0 +1,38 @@ +#!/usr/bin/make -f + + +build: build-stamp +build-stamp: + dh build + touch build-stamp + +clean: + rm -f build-stamp + rm -f install-stamp + dh clean + +install: build install-stamp +install-stamp: + # Run this first + dh install --until dh_auto_install + + # generate the manpage, thanks to lintian + help2man -N -v -V \ + -n "gpsd compatibility daemon for the freesmarpthone.org frameworkd" \ + -S "freesmartphone.org" \ + -o debian/fso-gpsd.1 \ + ./fso-gpsd + dh_installman debian/fso-gpsd.1 + + # continue with automatic installation + dh install --after dh_auto_install + touch install-stamp + +binary-arch: install + dh binary-arch + +binary-indep: install + dh binary-indep + +binary: binary-arch binary-indep + --- fso-gpsd-0.8.orig/debian/watch +++ fso-gpsd-0.8/debian/watch @@ -0,0 +1 @@ +# Upstream does not have any tarball, thus no need for a watch file.