--- obex-data-server-0.4.5.orig/debian/README.debian
+++ obex-data-server-0.4.5/debian/README.debian
@@ -0,0 +1,8 @@
+obex-data-server for debian
+===========================
+This package includes ods-server-test.py as ods-server to serve as a basic OBEX
+server for receiving files over bluetooth, the script requires python-dbus and
+python-gobject.
+
+e.g. “ods-server opp /tmp” starts an obex object push server which will receive
+files into /tmp
--- obex-data-server-0.4.5.orig/debian/README.examples
+++ obex-data-server-0.4.5/debian/README.examples
@@ -0,0 +1,2 @@
+These examples are for demonstrating the features of o-d-s.
+python-dbus and python-gobject packages are required for the examples to run.
--- obex-data-server-0.4.5.orig/debian/changelog
+++ obex-data-server-0.4.5/debian/changelog
@@ -0,0 +1,101 @@
+obex-data-server (0.4.5-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Nobuhiro Iwamatsu ]
+  * Bumped version of libopenobex in B-D to 1.7.
+  * Fix FTBFS with libopenobex2. (Closes: #810521)
+    Add patches/fix_ftbfs_with_libopenobex2.patch.
+
+  [ Mattia Rizzolo ]
+  * Add explicit Build-Depends on libusb-dev.
+
+ -- Mattia Rizzolo <mattia@debian.org>  Sat, 06 Feb 2016 13:35:48 +0000
+
+obex-data-server (0.4.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Filippo Giunchedi <filippo@debian.org>  Sun, 01 Nov 2009 11:19:58 +0000
+
+obex-data-server (0.4.4-2) unstable; urgency=low
+
+  * Ship test/ods-server-test.py as /usr/bin/ods-server providing a basic
+    server with the ability to receive files (Closes: #530288)
+    + thus Recommend: python-dbus, python-gobject
+    + drop a note in README.Debian
+    + provide manpage for ods-server in debian/ods-server.1
+
+ -- Filippo Giunchedi <filippo@debian.org>  Fri, 29 May 2009 19:33:15 +0200
+
+obex-data-server (0.4.4-1) unstable; urgency=low
+
+  * New upstream release
+    - remove debian/patches/000-test-server-usage.patch, fixed upstream
+    - build-depend on libmagickwand-dev | libgtk2.0-dev
+  * Upgrade to S-V 3.8.1: no changes needed
+  * Update debian/copyright with GPL v2+
+
+ -- Filippo Giunchedi <filippo@debian.org>  Tue, 26 May 2009 19:02:30 +0200
+
+obex-data-server (0.3.4-1) unstable; urgency=low
+
+  * New upstream release
+    - ship man page, remove debian/obex-data-server.1
+
+ -- Filippo Giunchedi <filippo@debian.org>  Tue, 22 Jul 2008 20:03:14 +0200
+
+obex-data-server (0.3.3-1) unstable; urgency=low
+
+  * New upstream release
+    + Properly close sockets for Session and ServerSession objects
+
+ -- Filippo Giunchedi <filippo@debian.org>  Fri, 27 Jun 2008 22:45:12 +0200
+
+obex-data-server (0.3.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Update to S-V 3.8.0, no changes needed
+
+ -- Filippo Giunchedi <filippo@debian.org>  Thu, 26 Jun 2008 18:07:36 +0200
+
+obex-data-server (0.3.1-2) unstable; urgency=low
+
+  * .diff reverts new upstream release (Closes: #475039)
+
+ -- Filippo Giunchedi <filippo@debian.org>  Tue, 08 Apr 2008 22:05:31 +0200
+
+obex-data-server (0.3.1-1) unstable; urgency=low
+
+  * New upstream version
+  * Fix homepage (Closes: #474198)
+
+ -- Filippo Giunchedi <filippo@debian.org>  Fri, 04 Apr 2008 22:57:35 +0200
+
+obex-data-server (0.3-1) unstable; urgency=low
+
+  * New upstream version and first upload to debian (Closes: #464885)
+  * Add watch file
+  * Add patch for usage of ods-server-test.py
+  
+ -- Filippo Giunchedi <filippo@debian.org>  Fri, 21 Mar 2008 21:33:09 +0100
+
+obex-data-server (0.2-0ubuntu1) hardy; urgency=low
+
+  * New upstream version:
+    - Distribute python tests (ods-session-test.py and ods-server-test.py).
+    - Make object paths lowercase.
+    - API change: Server.Start
+    - New methods: Server.Accept(), Server.Reject().
+    - Fix server SDP record lifetime (now exists between Start() and Stop()).
+    - Make D-Bus system config file optional
+    - Exclude dot files from folder listings.
+
+ -- Baptiste Mille-Mathias <baptiste.millemathias@gmail.com>  Tue, 12 Feb 2008 20:48:12 +0100
+
+obex-data-server (0.1-0ubuntu1) hardy; urgency=low
+
+  * Initial release (LP: #190503)
+
+ -- Baptiste Mille-Mathias <baptiste.millemathias@gmail.com>  Sat, 09 Feb 2008 10:22:27 +0100
+
--- obex-data-server-0.4.5.orig/debian/compat
+++ obex-data-server-0.4.5/debian/compat
@@ -0,0 +1 @@
+5
--- obex-data-server-0.4.5.orig/debian/control
+++ obex-data-server-0.4.5/debian/control
@@ -0,0 +1,28 @@
+Source: obex-data-server
+Section: admin
+Priority: optional
+Maintainer: Filippo Giunchedi <filippo@debian.org>
+Build-Depends:
+ autotools-dev,
+ cdbs,
+ debhelper (>= 5),
+ libbluetooth-dev (>= 3.34),
+ libdbus-1-dev (>= 0.70),
+ libdbus-glib-1-dev (>= 0.70),
+ libglib2.0-dev (>= 2.10),
+ libmagickwand-dev (>= 6.0.0) | libgtk2.0-dev,
+ libopenobex2-dev (>= 1.7),
+ libusb-dev
+Homepage: http://wiki.muiline.com/obex-data-server
+VCS-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/obex-data-server/trunk
+VCS-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/obex-data-server/trunk
+Standards-Version: 3.8.1
+
+Package: obex-data-server
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Recommends: python, python-dbus, python-gobject
+Description: D-Bus service for OBEX client and server side functionality
+ obex-data-server is a D-Bus service providing high-level OBEX client and
+ server side functionality (currently supports OPP and FTP profiles and
+ Bluetooth transport).
--- obex-data-server-0.4.5.orig/debian/copyright
+++ obex-data-server-0.4.5/debian/copyright
@@ -0,0 +1,35 @@
+This package was debianized by Baptiste Mille-Mathias <baptiste.millemathias@gmail.com>
+on Sat, 09 Feb 2008 10:22:27 +0100.
+
+It was downloaded from http://tadas.dailyda.com/
+
+Upstream Author:
+
+    Tadas Dailyda <tadas@dailyda.com>
+
+Copyright:
+
+    Copyright 2007-2008 Tadas Dailyda <tadas@dailyda.com>
+
+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 of the License, or (at
+   your option) any later version.
+
+   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 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 GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is copyright 2008, Baptiste Mille-Mathias
+<baptiste.millemathias@gmail.com> and is licensed under the GPL v2 or any later
+version, see `/usr/share/common-licenses/GPL'.
--- obex-data-server-0.4.5.orig/debian/docs
+++ obex-data-server-0.4.5/debian/docs
@@ -0,0 +1,3 @@
+NEWS
+README
+dbus-api.txt
--- obex-data-server-0.4.5.orig/debian/obex-data-server.examples
+++ obex-data-server-0.4.5/debian/obex-data-server.examples
@@ -0,0 +1,3 @@
+debian/README.examples
+test/ods-bip-test.py
+test/ods-session-test.py
--- obex-data-server-0.4.5.orig/debian/obex-data-server.manpages
+++ obex-data-server-0.4.5/debian/obex-data-server.manpages
@@ -0,0 +1,2 @@
+data/obex-data-server.1
+debian/ods-server.1
--- obex-data-server-0.4.5.orig/debian/ods-server.1
+++ obex-data-server-0.4.5/debian/ods-server.1
@@ -0,0 +1,43 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
+.TH ODS-SERVER "1" "May 2009" "ods-server 0.4.4" "User Commands"
+.SH NAME
+ods-server \- minimal OBEX server based on obex-data-server
+.SH SYNOPSIS
+.B ods-server
+[\fIoptions\fR] \fIprofile path\fR
+.SH DESCRIPTION
+ods-server provides a minimal OBEX server based on obex-data-server for
+receiving files over bluetooth.
+\fIprofile\fR selects the UUID-128 profile ID to use, currently \fIopp\fR and
+\fIftp\fR can be used as aliases for object push and obex ftp respectively.
+\fIpath\fR is the target directory for received files.
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show this help message and exit
+.TP
+\fB\-l\fR ADDRESS, \fB\-\-local\fR=\fIADDRESS\fR
+ADDRESS of Bluetooth adapter to listen on. Default is
+00:00:00:00:00:00
+.TP
+\fB\-p\fR, \fB\-\-pairing\fR
+Require remote devices to be paired before allowing
+them to connect. Disabled by default
+.TP
+\fB\-r\fR, \fB\-\-readonly\fR
+Disallow any write operations. Allowed by default
+.TP
+\fB\-t\fR, \fB\-\-thumbnails\fR
+Require remote device to send thumbnails when using
+Imaging (BIP) server
+.TP
+\fB\-a\fR, \fB\-\-ask\-to\-accept\fR
+Prompt user to accept or reject every file. By default
+all files are accepted
+.SH "AUTHOR"
+.B ods-server
+was written by Tadas Dailyda <tadas@dailyda.com> and is shipped as
+ods-server-test.py in the obex-data-server distribution 
+.PP
+This manual page was written by Filippo Giunchedi <filippo@debian.org>
+for the Debian project (but may be used by others).
--- obex-data-server-0.4.5.orig/debian/patches/fix_ftbfs_with_libopenobex2.patch
+++ obex-data-server-0.4.5/debian/patches/fix_ftbfs_with_libopenobex2.patch
@@ -0,0 +1,11 @@
+--- obex-data-server-0.4.5.orig/src/ods-obex.c
++++ obex-data-server-0.4.5/src/ods-obex.c
+@@ -405,7 +405,7 @@
+ 		goto err;
+ 	}
+ 
+-	interfaces_num = OBEX_FindInterfaces(obex_context->obex_handle, &obex_intf);
++	interfaces_num = OBEX_EnumerateInterfaces(obex_context->obex_handle);
+ 	if (intf_num >= interfaces_num) {
+ 		g_set_error (error, ODS_ERROR, ODS_ERROR_FAILED, "Invalid interface number");
+ 		goto err;
--- obex-data-server-0.4.5.orig/debian/patches/series
+++ obex-data-server-0.4.5/debian/patches/series
@@ -0,0 +1 @@
+fix_ftbfs_with_libopenobex2.patch
--- obex-data-server-0.4.5.orig/debian/rules
+++ obex-data-server-0.4.5/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+# build rules for obex-data-server
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+DEB_INSTALL_CHANGELOGS_ALL := ChangeLog
+
+install/obex-data-server::
+	install -D -m755 $(CURDIR)/test/ods-server-test.py $(CURDIR)/debian/obex-data-server/usr/bin/ods-server
--- obex-data-server-0.4.5.orig/debian/watch
+++ obex-data-server-0.4.5/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://tadas.dailyda.com/software/ obex-data-server-(.+).tar.gz
