--- ofono-0.53.orig/debian/compat +++ ofono-0.53/debian/compat @@ -0,0 +1 @@ +5 --- ofono-0.53.orig/debian/control +++ ofono-0.53/debian/control @@ -0,0 +1,64 @@ +Source: ofono +Section: admin +Priority: optional +Maintainer: Debian Telepathy maintainers +Uploaders: Jonny Lamb +Build-Depends: debhelper (>= 5), + cdbs, + libglib2.0-dev (>= 2.22), + libdbus-glib-1-dev, + libudev-dev, + udev, + libbluetooth-dev (>= 4.30) +Standards-Version: 3.9.1 +Homepage: http://www.ofono.org/ +Vcs-Git: git://git.debian.org/git/pkg-telepathy/ofono.git +Vcs-Browser: http://git.debian.org/?p=pkg-telepathy/ofono.git + +Package: ofono +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, dbus +Recommends: udev +Description: Mobile telephony stack (daemon) + oFono is a stack for mobile telephony devices on Linux. oFono supports + speaking to telephony devices through specific drivers, or with generic + AT commands. + . + oFono also includes a low-level plug-in API for integrating with other + telephony stacks, cellular modems and storage back-ends. The plug-in API + functionality is modeled on public standards, in particular + 3GPP TS 27.007 "AT command set for User Equipment (UE)." + . + This package includes the core daemon. + +Package: ofono-dev +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, libc6-dev | libc-dev +Description: Mobile telephony stack (development files) + oFono is a stack for mobile telephony devices on Linux. oFono supports + speaking to telephony devices through specific drivers, or with generic + AT commands. + . + oFono also includes a low-level plug-in API for integrating with other + telephony stacks, cellular modems and storage back-ends. The plug-in API + functionality is modeled on public standards, in particular + 3GPP TS 27.007 "AT command set for User Equipment (UE)." + . + This package includes the header files for building oFono plugins. + +Package: ofono-dbg +Section: debug +Priority: extra +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ofono (= ${binary:Version}) +Description: Mobile telephony stack (debugging files) + oFono is a stack for mobile telephony devices on Linux. oFono supports + speaking to telephony devices through specific drivers, or with generic + AT commands. + . + oFono also includes a low-level plug-in API for integrating with other + telephony stacks, cellular modems and storage back-ends. The plug-in API + functionality is modeled on public standards, in particular + 3GPP TS 27.007 "AT command set for User Equipment (UE)." + . + This package contains detached debugging symbols for the daemon. --- ofono-0.53.orig/debian/ofono-dev.docs +++ ofono-0.53/debian/ofono-dev.docs @@ -0,0 +1 @@ +AUTHORS --- ofono-0.53.orig/debian/changelog +++ ofono-0.53/debian/changelog @@ -0,0 +1,110 @@ +ofono (0.53-2) unstable; urgency=low + + * debian/ofono.init: Add dbus as a dependency to start and stop. Thanks + to Johannes Schauer for the patch and report. (Closes: #631707) + + -- Jonny Lamb Wed, 24 Aug 2011 15:36:44 +0100 + +ofono (0.53-1) unstable; urgency=low + + * New upstream release. + * debian/control: Add Vcs-* fields. + * Ensure ofono is built with bluetooth support (pass --enable-bluetooth + and add libbluetooth-dev build-dep). + + -- Jonny Lamb Wed, 24 Aug 2011 14:40:25 +0100 + +ofono (0.36-1) unstable; urgency=low + + * New upstream release. + * debian/: Added some files relating to building with git. + * debian/control: + + Adopt the package from Andres. Thanks for your work, dude! + + Upped versioned build-dep on glib. + + Upped Standards-Version. (no changes) + * debinan/ofono.install: Updated. + * debian/rules: Switch to cdbs to be like the rest of the pkg-telepathy + packages. + * debian/ofono.init: Add dependency on $remote_fs in required-start and + required-stop. + * debian/compat: Lower to 5 for misc reasons. + * debian/patches/: Add patch to fix small lintian problem. + + -- Jonny Lamb Mon, 29 Nov 2010 18:14:48 +0000 + +ofono (0.18-1) unstable; urgency=low + + * New upstream release. + + -- Andres Salomon Thu, 18 Feb 2010 03:58:18 +0000 + +ofono (0.9-1) unstable; urgency=low + + * New upstream release. + * Since it runs w/out it, change the udev Depends to a Recommends. + + -- Andres Salomon Mon, 02 Nov 2009 18:46:37 +0000 + +ofono (0.8-1) unstable; urgency=low + + * New upstream release. + * Drop cdbs and use debhelper 7 features instead. + + -- Andres Salomon Sun, 18 Oct 2009 23:54:52 +0000 + +ofono (0.7-1) unstable; urgency=low + + * New upstream release. + * Also build-dep upon udev, as otherwise UDEV_DATADIR is set incorrectly + (closes: #549544). + * Ofono itself should also probably depend upon udev, eh? + + -- Andres Salomon Sun, 04 Oct 2009 15:27:21 +0000 + +ofono (0.6-3) unstable; urgency=low + + * Build-dep upon libudev-dev and enable udev support. + + -- Andres Salomon Sat, 03 Oct 2009 20:22:58 +0000 + +ofono (0.6-2) unstable; urgency=low + + * Add a -dbg package. + + -- Andres Salomon Tue, 29 Sep 2009 20:05:20 +0000 + +ofono (0.6-1) unstable; urgency=low + + * New upstream release. + + -- Andres Salomon Mon, 28 Sep 2009 16:21:52 +0000 + +ofono (0.5-1) unstable; urgency=low + + * New upstream release. + * Be sure to create /var/lib/ofono (for the lulz). + * Silence some lintian warnings. + + -- Andres Salomon Fri, 25 Sep 2009 22:58:23 +0000 + +ofono (0.4-1) unstable; urgency=low + + * New upstream release. + * Update copyright file. + * Include the new modem.conf. + + -- Andres Salomon Thu, 03 Sep 2009 19:51:21 +0000 + +ofono (0.3-1) unstable; urgency=low + + * New upstream release. + * Drop ofonod manpage; merged upstream. + + -- Andres Salomon Sat, 15 Aug 2009 15:55:11 +0000 + +ofono (0.1-1) unstable; urgency=low + + * Initial release. + + -- Andres Salomon Sat, 11 Jul 2009 18:37:48 -0400 + --- ofono-0.53.orig/debian/ofono.init +++ ofono-0.53/debian/ofono.init @@ -0,0 +1,65 @@ +#! /bin/sh + +### BEGIN INIT INFO +# Provides: ofono +# Required-Start: $syslog $remote_fs dbus +# Required-Stop: $syslog $remote_fs dbus +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: oFono Mobile Telephony Daemon +### END INIT INFO + +set -e + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/ofonod +NAME=ofonod +#PIDFILE=/var/run/ofono/$NAME.pid +DESC="oFono Mobile Telephony Daemon" + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +# allow the admin to set DAEMON_OPTS +if [ -f /etc/default/ofono ]; then + . /etc/default/ofono +fi + +do_start() +{ + start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- $DAEMON_OPTS +} + +do_stop() +{ + start-stop-daemon --stop --quiet --oknodo --name $NAME +} + +case "$1" in + start) + log_daemon_msg "Starting $DESC" "$NAME" + do_start + log_end_msg $? + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + log_end_msg $? + ;; + + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + sleep 1 + do_start + log_end_msg $? + ;; + + *) + log_success_msg "Usage: $0 {start|stop|restart|force-reload}" + exit 1 + ;; +esac + +exit 0 --- ofono-0.53.orig/debian/ofono.conf +++ ofono-0.53/debian/ofono.conf @@ -0,0 +1 @@ +debian/tmp/etc/ofono/modem.conf --- ofono-0.53.orig/debian/update-patches.mk +++ ofono-0.53/debian/update-patches.mk @@ -0,0 +1,10 @@ +update-patches: + mkdir -p $(CURDIR)/debian/patches + rm -f $(CURDIR)/debian/patches/*.patch + git format-patch -N -o $(CURDIR)/debian/patches debian-patches ^upstream + for patch in $$(ls $(CURDIR)/debian/patches/*.patch) ; \ + do \ + lines=$$(cat $$patch | wc -l) ; \ + head -n $$(($$lines - 3)) $$patch > $${patch}.chomped ; \ + mv $${patch}.chomped $$patch ; \ + done --- ofono-0.53.orig/debian/README.source +++ ofono-0.53/debian/README.source @@ -0,0 +1,59 @@ +Patches +======= + +This package occasionally uses cdbs simple-patch-system to store +modifications to the upstream source, although in most uploads no patches +are needed. + +To get the fully patched source: make -f debian/rules patch + +To revert to what's in git: make -f debian/rules unpatch + +To add a patch: obtain a diff and put it in debian/patches, or see below + +To remove an existing patch: delete it from debian/patches + +Packaging using git +=================== + +The repository contains an appropriate debian/gbp.conf to build this package +using git-buildpackage. The debian branch contains the latest upstream versions +(for unstable, or experimental while a freeze is in progress). The debian-lenny +branch contains versions targeted for lenny, etc. + +Here's how to build it: + + git clone git://git.debian.org/git/pkg-telepathy/ofono + cd ofono + git checkout debian + git-buildpackage -us -uc + +or for testing/stable branches like debian-lenny: + + git clone git://git.debian.org/git/pkg-telepathy/ofono + cd ofono + git checkout debian-lenny + git-buildpackage -us -uc --git-debian-branch=debian-lenny + +The branch 'upstream' is a copy of the contents of upstream tarballs. To import +upstream tarballs use: + + git checkout debian + git-import-orig ~/ofono-0.x.tar.gz + +The branch 'debian-patches' is 'upstream' plus any patches needed for Debian. +It should be rebased on 'upstream' after each upstream release: + + git checkout debian-patches + git rebase upstream + +The preferred way of adding patches is to cherry pick from an upstream +repository: + + git remote add ofono-upstream \ + git://git.kernel.org/pub/scm/network/ofono/ofono.git + git fetch + git checkout debian-patches + git cherry-pick xxxxxxxxxxxxxx + git checkout debian + fakeroot debian/rules update-patches --- ofono-0.53.orig/debian/watch +++ ofono-0.53/debian/watch @@ -0,0 +1,4 @@ +version=3 +http://www.kernel.org/pub/linux/network/ofono/ofono-(.*)\.tar\.gz \ +debian \ +uupdate --- ofono-0.53.orig/debian/rules +++ ofono-0.53/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f +DEB_AUTO_CLEANUP_RCS := yes + +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/utils.mk + +common-binary-post-install-arch:: list-missing + +DEB_CONFIGURE_EXTRA_FLAGS := --enable-bluetooth + +include $(CURDIR)/debian/update-patches.mk --- ofono-0.53.orig/debian/ofono.docs +++ ofono-0.53/debian/ofono.docs @@ -0,0 +1 @@ +AUTHORS --- ofono-0.53.orig/debian/ofono.dirs +++ ofono-0.53/debian/ofono.dirs @@ -0,0 +1 @@ +/var/lib/ofono --- ofono-0.53.orig/debian/copyright +++ ofono-0.53/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Andres Salomon on +Sat, 11 Jul 2009 18:38:03 -0400. + +It was downloaded from: . + +Upstream Authors: + Denis Kenzior + Marcel Holtmann + Andrzej Zaborowski + Minjun Li + RĂ©mi Denis-Courmont + Aki Niemi + Yang Gu + Andres Salomon + + +Copyright (C) 2008-2009 Intel Corporation +Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) +gdbus/: Copyright (C) 2004-2009 Marcel Holtmann +plugins/g1.c: Copyright (C) 2009 Collabora Ltd + +License: + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License version 2 as published + by the Free Software Foundation. + + This package 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. + + You should have received a copy of the GNU Lesser General Public License + along with this package; if not, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public License +version 2 can be found in `/usr/share/common-licenses/GPL-2'. --- ofono-0.53.orig/debian/ofono-dbg.docs +++ ofono-0.53/debian/ofono-dbg.docs @@ -0,0 +1 @@ +AUTHORS --- ofono-0.53.orig/debian/ofono.install +++ ofono-0.53/debian/ofono.install @@ -0,0 +1,5 @@ +debian/tmp/etc/dbus-1/system.d/* +debian/tmp/usr/sbin/ofonod +debian/tmp/etc/ofono +debian/tmp/lib/udev/rules.d/* +debian/tmp/usr/share/man --- ofono-0.53.orig/debian/ofono.manpages +++ ofono-0.53/debian/ofono.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man8/ofonod.8 --- ofono-0.53.orig/debian/ofono.default +++ ofono-0.53/debian/ofono.default @@ -0,0 +1 @@ +DAEMON_OPTS= --- ofono-0.53.orig/debian/gbp.conf +++ ofono-0.53/debian/gbp.conf @@ -0,0 +1,8 @@ +[DEFAULT] +debian-branch = debian +upstream-branch = upstream +pristine-tar = True + +[git-buildpackage] +tarball-dir = ../tarballs/ +export-dir = ../build-area/ --- ofono-0.53.orig/debian/ofono-dev.install +++ ofono-0.53/debian/ofono-dev.install @@ -0,0 +1 @@ +debian/tmp/usr/include/* --- ofono-0.53.orig/debian/patches/0001-doc-ofonod.8-escape-minus-sign.patch +++ ofono-0.53/debian/patches/0001-doc-ofonod.8-escape-minus-sign.patch @@ -0,0 +1,25 @@ +From 20653ec096bd0e15c09926f8dfc7771bf2036b9a Mon Sep 17 00:00:00 2001 +From: Jonny Lamb +Date: Mon, 29 Nov 2010 18:04:01 +0000 +Subject: [PATCH] doc/ofonod.8: escape minus sign + +I'm a sucker for lintian-cleanliness! + +Signed-off-by: Jonny Lamb +--- + doc/ofonod.8 | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/doc/ofonod.8 b/doc/ofonod.8 +index 7bb908c..d288031 100644 +--- a/doc/ofonod.8 ++++ b/doc/ofonod.8 +@@ -18,7 +18,7 @@ is used to manage \fID-Bus\fP permissions for oFono. + .SH OPTIONS + .TP + .B --debug, -d +-Enable debug information output. Note multiple arguments to -d can be ++Enable debug information output. Note multiple arguments to \-d can be + specified, colon, comma or space separated. The arguments are relative + source code filenames for which debugging output should be enabled; + output shell-style globs are accepted (e.g.: "plugins/*:src/main.c"). --- ofono-0.53.orig/debian/source/format +++ ofono-0.53/debian/source/format @@ -0,0 +1 @@ +1.0 \ No newline at end of file