[Pkg-bluetooth-commits] r780 - in /packages/bluez/trunk/debian: ./ patches/

filippo at users.alioth.debian.org filippo at users.alioth.debian.org
Tue Feb 17 16:49:25 UTC 2009


Author: filippo
Date: Tue Feb 17 16:49:25 2009
New Revision: 780

URL: http://svn.debian.org/wsvn/pkg-bluetooth/?sc=1&rev=780
Log:
import new bluez 4.x packaging

Added:
    packages/bluez/trunk/debian/   (with props)
    packages/bluez/trunk/debian/NEWS
    packages/bluez/trunk/debian/README.Debian
    packages/bluez/trunk/debian/bluetooth-dbus.conf
    packages/bluez/trunk/debian/bluetooth.override
    packages/bluez/trunk/debian/bluez-alsa.install
    packages/bluez/trunk/debian/bluez-alsa.preinst
    packages/bluez/trunk/debian/bluez-compat.install
    packages/bluez/trunk/debian/bluez-cups.README.Debian
    packages/bluez/trunk/debian/bluez-cups.install
    packages/bluez/trunk/debian/bluez-gstreamer.install
    packages/bluez/trunk/debian/bluez-pcmcia-support.install
    packages/bluez/trunk/debian/bluez-pcmcia-support.postinst
    packages/bluez/trunk/debian/bluez-utils.postrm
    packages/bluez/trunk/debian/bluez.bluetooth.default
    packages/bluez/trunk/debian/bluez.bluetooth.init
    packages/bluez/trunk/debian/bluez.dirs
    packages/bluez/trunk/debian/bluez.docs
    packages/bluez/trunk/debian/bluez.install
    packages/bluez/trunk/debian/bluez.override
    packages/bluez/trunk/debian/bluez.postinst
    packages/bluez/trunk/debian/bluez.preinst
    packages/bluez/trunk/debian/changelog
    packages/bluez/trunk/debian/control
    packages/bluez/trunk/debian/copyright
    packages/bluez/trunk/debian/libbluetooth-dev.install
    packages/bluez/trunk/debian/libbluetooth3.install
    packages/bluez/trunk/debian/libbluetooth3.shlibs
    packages/bluez/trunk/debian/patches/
    packages/bluez/trunk/debian/patches/003_configure_amd64_rpath.patch
    packages/bluez/trunk/debian/patches/005_l2ping_section.patch
    packages/bluez/trunk/debian/patches/006_a2dpsink_marginal.patch
    packages/bluez/trunk/debian/rules   (with props)
    packages/bluez/trunk/debian/watch

Propchange: packages/bluez/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/bluez/trunk/debian/NEWS
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/NEWS?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/NEWS (added)
+++ packages/bluez/trunk/debian/NEWS Tue Feb 17 16:49:25 2009
@@ -1,0 +1,152 @@
+bluez-utils (3.36-3) unstable; urgency=low
+
+  This version includes an new d-bus policy with updated access control.
+  As a result of this, only users of netdev group or which are in front of the
+  computer (i.e. match the at_console="true" rule) are able to communicate
+  with hcid via dbus. See also #510644.
+
+ -- Filippo Giunchedi <filippo at debian.org>  Thu, 08 Jan 2009 18:35:38 +0100
+
+bluez-utils (3.30-2) unstable; urgency=low
+
+  This upstream version switches the service infrastructure from external
+  processes to shared objects. Services (i.e. audio) are started automatically
+  and do not require a .service file in /etc/bluetooth/. audio.service will be
+  removed automatically by the upgrade unless modified.
+
+ -- Filippo Giunchedi <filippo at debian.org>  Mon, 14 Apr 2008 17:34:21 +0200
+
+bluez-utils (3.7-1) unstable; urgency=low
+
+  This version reverts the /etc/bluetooth/passkeys infrastructure as agents for
+  passkeys are not supposed to be system-wide.
+  A bluez-passkey-gnome is provided as a passkey agent, plus there's a example
+  passkey-agent in /usr/share/doc/bluez-utils/examples/passkey-agent.c 
+
+ -- Filippo Giunchedi <filippo at debian.org>  Sat,  7 Oct 2006 11:43:09 +0200
+
+bluez-utils (3.1-3) unstable; urgency=low
+
+  This version includes a new management for outgoing passkey (PIN) requests
+  while the incoming passkeys defaults to 1234 in /etc/bluetooth/hcid.conf.
+  See README.Debian for further informations. 
+
+ -- Filippo Giunchedi <filippo at debian.org>  Wed, 26 Jul 2006 11:37:14 +0200
+
+bluez-utils (3.1-1) unstable; urgency=low
+
+  This new upstream version removes the need for external pin helper, pin
+  requests are handled via dbus.  The default pin (or now-called "passkey") is
+  set to 1234 for backward compatibility.
+
+  Also, udev rules for pcmcia card are included along with
+  /lib/udev/bluetooth.sh (setserial required) in the bluez-pcmcia-support.
+
+ -- Filippo Giunchedi <filippo at debian.org>  Wed, 26 Jul 2006 11:37:02 +0200
+
+bluez-utils (2.24-1) unstable; urgency=low
+
+  This version moves /etc/{init.d,default}/bluez-utils to
+  /etc/{init.d,default}/bluetooth for LSB compilance.
+  If local modifications are detected the new files will be installed with
+  the ".dpkg-new" suffix
+
+ -- Filippo Giunchedi <filippo at debian.org>  Wed,  7 Jun 2006 13:57:35 +0200
+
+bluez-utils (2.19-1) unstable; urgency=high
+
+  * Includes new D-BUS support: sends signals for inquiry results and
+    remote name resolves.
+
+  * Also adds support for device-specific SDP records.
+
+ -- Edd Dumbill <ejad at debian.org>  Fri, 19 Aug 2005 01:12:02 +0100
+
+bluez-utils (2.9-1) unstable; urgency=low
+
+  * This release improves input device support: EPoX keyboards and
+    their new HID presenters should now work correctly in report
+    protocol mode.
+
+ -- Edd Dumbill <ejad at debian.org>  Sun,  8 Aug 2004 15:19:24 +0100
+
+bluez-utils (2.8-1) unstable; urgency=low
+
+  * Users of dongles with HID proxy capability (this is where the dongle
+    pretends to be a keyboard and mouse until it is switched into Bluetooth
+    mode, allowing Bluetooth input devices to be used in BIOS etc.) are
+    now supported.  The switch is made as part of the bluez-utils init
+    script.
+
+ -- Edd Dumbill <ejad at debian.org>  Mon, 14 Jun 2004 14:24:12 +0100
+
+bluez-utils (2.7-1) experimental; urgency=low
+
+  * Upstream has merged bluez-pan with this package.  You should
+    remove the /etc/init.d/bluez-pan script, and use 
+    /etc/default/bluez-utils to configure dund and pand, although
+    for the moment the old /etc/default/bluez-pan is also read.
+
+  * This source package now has Bluetooth printing support, which
+    is built into the bluez-cups binary package.
+
+  * DBUS support has been enabled in this build.  To use it, add
+    'dbus_pin_helper' into the options section, and comment out
+    the pin_helper.  DBUS-aware pin helpers such as that in
+    bluez-pin will now be used.
+
+  * Bluetooth HID devices (eg, mouse, keyboard) are now supported
+    for Linux 2.6.6 or better running the hidp patch from bluez.org.
+    If running these, set HIDD_ENABLED to 1 in /etc/default/bluez-utils
+    to enable support, then run hidd --connect <bdaddr> to connect
+    to your keyboard or mouse.
+
+ -- Edd Dumbill <ejad at debian.org>  Wed, 26 May 2004 12:43:08 +0100
+
+bluez-utils (2.6-1) experimental; urgency=low
+
+  * Upstream has merged bluez-sdp with this package. The sdp tools
+    are now in this package.  You should remove the /etc/init.d/bluez-sdp
+    script.
+
+  * All tools from /sbin now live in /usr/sbin: hciattach hciconfig
+    hcid l2ping.
+
+ -- Edd Dumbill <ejad at debian.org>  Thu,  6 May 2004 11:58:16 +0100
+
+bluez-utils (2.4-4) unstable; urgency=high
+
+  * If you still use the old 'bluepin' PIN assistant: note it has moved
+    from /bin/ to /usr/bin/.  You will need to update your hcid.conf
+    accordingly.  Even better, install bluez-pin and use the helper from
+    there instead.
+  * hcitool has also moved to /usr/bin, and l2ping to /sbin.
+
+ -- Edd Dumbill <ejad at debian.org>  Wed, 15 Jan 2004 18:37:32 +0000
+
+bluez-utils (2.4-3) unstable; urgency=low
+
+  * If you're using devfsd and a recent Linux kernel (2.4.22 or later, or
+    2.6.x), remove the file /etc/devfs/devices.d/bluez and run update-devfsd.
+    This will stop your system complaining when devfsd is started.  This
+    package no longer installs that file, but you must remove it yourself.
+    If you need it in future, you can find it in /usr/share/doc/bluez-utils.
+
+ -- Edd Dumbill <ejad at debian.org>  Wed, 14 Jan 2004 21:14:35 +0000
+
+bluez-utils (2.4-1) unstable; urgency=low
+
+  * The rfcomm program has changed slightly: you now need a "bind yes"
+    in each entry in /etc/bluetooth/rfcomm.conf to ensure they are bound
+    at startup time.  See man rfcomm for more details.
+
+ -- Edd Dumbill <ejad at debian.org>  Thu,  1 Jan 2004 18:38:35 +0100
+
+bluez-utils (2.3-2) unstable; urgency=low
+
+  * This package now depends on a new PIN helper bluez-pin.  If you are
+    upgrading this package and want to use the new helper instead of the
+    default one (highly recommended) then alter your pin_helper line in
+    /etc/bluetooth/hcid.conf to specify /usr/bin/bluez-pin.
+
+ -- Edd Dumbill <ejad at debian.org>  Thu, 28 Aug 2003 12:38:35 +0100

Added: packages/bluez/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/README.Debian?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/README.Debian (added)
+++ packages/bluez/trunk/debian/README.Debian Tue Feb 17 16:49:25 2009
@@ -1,0 +1,132 @@
+bluez-utils for Debian
+----------------------
+
+The /dev/rfcomm* serial devices entries are automatically created for using
+RFCOMM with legacy applications -- see rfcomm(8).  Users must be in group
+'dialout' to have privileges to use these devices.
+
+You can edit /etc/bluetooth/rfcomm.conf to have some rfcomm devices bound
+automatically at boot time.
+
+This package contains also the dund and pand daemons for enabling
+dial-up and ethernet networking over bluetooth.  Edit the
+/etc/default/bluetooth file in order to enable these services. See
+below for more details on their configuration.
+
+The manual pages in this package are mostly very rudimentary.  Further
+documentation for BlueZ can be found at http://www.bluez.org and at the BlueZ
+wiki http://wiki.bluez.org.
+
+If you wish to install PCMCIA card services support for your Bluetooth
+devices you should install the bluez-pcmcia-support package.
+
+Some USB dongles require firmware to make them work: bluez-firmware from the
+"non-free" section provides the required firmware.
+
+Additional Documentation
+------------------------
+
+See http://www.bluez.org/documentation.html for BlueZ documentation
+and http://www.holtmann.org/linux/bluetooth/ for a collection of
+linux bluetooth related HOWTOs.
+
+Mailing lists
+-------------
+bluez-users at lists.sf.net - BlueZ general questions and discussions
+bluez-devel at lists.sf.net - BlueZ development 
+
+PIN (or passkey) management
+---------------------------
+
+For asking a PIN when necessary a passkey agent is required, the bluez-gnome
+package provides one, another one is provided as an example in
+/usr/share/doc/bluez-utils/examples/passkey-agent.c After compilation launch as
+"./passkey-agent <your_passkey>"
+
+The old infrastructure /etc/bluetooth/passkey has been removed since the agent
+is supposed to be started by a user session. It is not meant to be system-wide. 
+
+Note to the tech-savvy:
+If you are stuck in console and absolutely need to pair with your bluetooth
+device have a look at /var/lib/bluetooth/<your_device_address>/pincodes.
+Please note that this mode of operation is _not_ _supported_.
+The format is (one per line): <remote_address><whitespace><pincode>
+Don't mess with files in /var/lib/bluetooth/ unless you know what you are
+doing.
+I repeat: manually adding a pincode for a remote device is NOT SUPPORTED.
+
+Keyboard and mouse support
+--------------------------
+
+The hidd daemon allows keyboards and mice to be connected to your
+system.  Ensure you have the hidp patch for Linux 2.6.6 or better
+from http://www.bluez.org/patches.html.
+
+Then change HIDD_ENABLED in /etc/default/bluetooth to 1 and restart
+bluetooth.  That enables the hidd server.  Discover you mouse or
+keyboard bluetooth address (bdaddr) by running "hcitool scan".  You
+must then connect to your keyboard or mouse using hidd --connect
+<bdaddr>.  On first connection, pairing is likely and you should press
+"connect" button on mice/keyboard, if any.  Mice normally have a
+preset PIN which should be in the manufacturer's documentation, try
+0000.  For keyboards, type the PIN on the Bluetooth keyboard and hit
+enter, and then supply it to the passkey agent (using a cable-attached
+keyboard).  In future your keyboard or mouse should reconnect to your computer
+automatically.  You must invoke hidd as root.
+
+Headset support
+---------------
+
+These tools now include some support for headsets.  There are two
+test programs 'hsmicro' and 'hsplay' that aren't installed by default;
+you'll need too get the source and compile these yourself as upstream
+doesn't want them installed.  This is because these tools are highly
+experimental and unstable, and shouldn't be depended on in any way.
+
+Bluetooth Networking Quickstart
+-------------------------------
+
+In the future this package will contain better documentation.  In the
+meantime, here's a quick primer:
+
+1. Starting dund and pand at boot time
+
+See /etc/default/bluetooth for how to configure these two daemons to
+run at boot-time.  Read below also.
+
+
+2. PPP over RFCOMM
+
+This is what most devices call "LAN Access" or "Serial Access".  It
+uses normal PPP over a serial connection.  Most PDAs will be able to
+connect using this method.
+
+Use the 'dund' tool to accept incoming connections.  Configure pppd
+as per the instructions in the ppp package.  Then run:
+
+  dund --listen --sdp --nodetach
+
+Try and connect your device and you'll see something like:
+
+dund[9801]: DUN daemon ver 1.1pre4
+dund[9811]: New connection from 00:02:31:24:17:6A
+
+The --sdp option causes the DUN access to be advertised to other
+devices via the SDP protocol.  Most devices need this in order to be
+able to connect.
+
+Run dund --help to see the various other options available to you.
+
+If you want to make an outgoing connection using PPP, for instance to
+a mobile phone, use the 'rfcomm' program from bluez-utils to bind a
+/dev/rfcommX serial port to the phone, and then then use pppd as you
+would with a normal modem.
+
+3. PAN
+
+The 'pand' tool allows you to use ethernet style networking over
+Bluetooth.  It creates a network interface on your machine that can be
+configured in the same way normal network devices are.
+
+For full details see the PAN HOWTO at
+<http://bluez.sourceforge.net/contrib/HOWTO-PAN>

Added: packages/bluez/trunk/debian/bluetooth-dbus.conf
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluetooth-dbus.conf?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluetooth-dbus.conf (added)
+++ packages/bluez/trunk/debian/bluetooth-dbus.conf Tue Feb 17 16:49:25 2009
@@ -1,0 +1,29 @@
+<!-- This configuration file specifies the required security policies
+     for Bluetooth core daemon to work. -->
+
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+  <!-- ../system.conf have denied everything, so we just punch some holes -->
+
+  <policy user="root">
+    <allow own="org.bluez"/>
+    <allow send_destination="org.bluez"/>
+
+    <!-- allow root to send to agents -->
+    <allow send_interface="org.bluez.PasskeyAgent"/>
+    <allow send_interface="org.bluez.AuthorizationAgent"/>
+  </policy>
+
+  <!-- allow users at the console, see consolekit or libpam-foreground -->
+  <policy at_console="true">
+    <allow send_destination="org.bluez"/>
+  </policy>
+
+  <!-- allow users of netdev group to communicate with hcid -->
+  <policy group="netdev">
+    <allow send_destination="org.bluez"/>
+  </policy>
+
+</busconfig>

Added: packages/bluez/trunk/debian/bluetooth.override
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluetooth.override?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluetooth.override (added)
+++ packages/bluez/trunk/debian/bluetooth.override Tue Feb 17 16:49:25 2009
@@ -1,0 +1,2 @@
+# package description looks fine, "Bluetooth stack utilities"
+bluetooth binary: description-starts-with-package-name

Added: packages/bluez/trunk/debian/bluez-alsa.install
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez-alsa.install?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez-alsa.install (added)
+++ packages/bluez/trunk/debian/bluez-alsa.install Tue Feb 17 16:49:25 2009
@@ -1,0 +1,1 @@
+debian/tmp/usr/lib/alsa-lib/*.so

Added: packages/bluez/trunk/debian/bluez-alsa.preinst
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez-alsa.preinst?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez-alsa.preinst (added)
+++ packages/bluez/trunk/debian/bluez-alsa.preinst Tue Feb 17 16:49:25 2009
@@ -1,0 +1,30 @@
+#!/bin/sh
+
+# snippet from http://wiki.debian.org/DpkgConffileHandling
+
+# Remove a no-longer used conffile
+rm_conffile() {
+    PKGNAME="$1"
+    CONFFILE="$2"
+    if [ -e "$CONFFILE" ]; then
+        md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
+        old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`"
+        if [ "$md5sum" != "$old_md5sum" ]; then
+            echo "Obsolete conffile $CONFFILE has been modified by you."
+            echo "Saving as $CONFFILE.dpkg-bak ..."
+            mv -f "$CONFFILE" "$CONFFILE".dpkg-bak
+        else
+            echo "Removing obsolete conffile $CONFFILE ..."
+            rm -f "$CONFFILE"
+        fi
+    fi
+}
+
+case "$1" in
+install|upgrade)
+    if dpkg --compare-versions "$2" le "3.24-1+b1"; then
+        rm_conffile bluez-audio "/etc/bluetooth/audio.service"
+    fi
+esac
+
+#DEBHELPER#

Added: packages/bluez/trunk/debian/bluez-compat.install
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez-compat.install?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez-compat.install (added)
+++ packages/bluez/trunk/debian/bluez-compat.install Tue Feb 17 16:49:25 2009
@@ -1,0 +1,6 @@
+debian/tmp/usr/bin/hidd
+debian/tmp/usr/bin/pand
+debian/tmp/usr/bin/dund
+debian/tmp/usr/share/man/man1/hidd*
+debian/tmp/usr/share/man/man1/pand*
+debian/tmp/usr/share/man/man1/dund*

Added: packages/bluez/trunk/debian/bluez-cups.README.Debian
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez-cups.README.Debian?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez-cups.README.Debian (added)
+++ packages/bluez/trunk/debian/bluez-cups.README.Debian Tue Feb 17 16:49:25 2009
@@ -1,0 +1,11 @@
+bluez-cups
+
+To configure a Bluetooth printer, set it up in CUPS like it was connected to
+your parallel or USB port. Then edit your /etc/cups/printers.conf and replace
+the device URI with a bluetooth one.
+
+The printer's URI will look something like this: bluetooth://00408C5E5DA4/spp
+If your printer uses HCRP (hardcopy cable replacement protocol) then remove
+the "/spp" from the end.  SPP is serial port protocol.
+
+ -- Edd Dumbill <ejad at debian.org>, Fri Jul 16 19:25:21 BST 2004

Added: packages/bluez/trunk/debian/bluez-cups.install
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez-cups.install?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez-cups.install (added)
+++ packages/bluez/trunk/debian/bluez-cups.install Tue Feb 17 16:49:25 2009
@@ -1,0 +1,1 @@
+debian/tmp/usr/lib/cups/backend/*

Added: packages/bluez/trunk/debian/bluez-gstreamer.install
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez-gstreamer.install?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez-gstreamer.install (added)
+++ packages/bluez/trunk/debian/bluez-gstreamer.install Tue Feb 17 16:49:25 2009
@@ -1,0 +1,2 @@
+debian/tmp/usr/lib/gstreamer-*/*.so
+

Added: packages/bluez/trunk/debian/bluez-pcmcia-support.install
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez-pcmcia-support.install?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez-pcmcia-support.install (added)
+++ packages/bluez/trunk/debian/bluez-pcmcia-support.install Tue Feb 17 16:49:25 2009
@@ -1,0 +1,1 @@
+scripts/bluetooth_serial /lib/udev

Added: packages/bluez/trunk/debian/bluez-pcmcia-support.postinst
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez-pcmcia-support.postinst?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez-pcmcia-support.postinst (added)
+++ packages/bluez/trunk/debian/bluez-pcmcia-support.postinst Tue Feb 17 16:49:25 2009
@@ -1,0 +1,23 @@
+#!/bin/sh
+
+#set -e
+#case "$1" in
+#    configure)
+#    	chmod a+x /etc/pcmcia/bluetooth
+#	;;
+#
+#    *)
+#        exit 0
+#    ;;
+#esac
+
+# temporary fix for #359614
+#case "$1" in
+    #configure)
+        #if [ ! -z "$2" ] && dpkg --compare-versions "$2" le 3.1-2; then
+           #ln -s ../bluez-pcmcia-support.rules /etc/udev/rules.d/z60_bluez-pcmcia-support.rules
+        #fi
+    #;;
+#esac
+
+#DEBHELPER#

Added: packages/bluez/trunk/debian/bluez-utils.postrm
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez-utils.postrm?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez-utils.postrm (added)
+++ packages/bluez/trunk/debian/bluez-utils.postrm Tue Feb 17 16:49:25 2009
@@ -1,0 +1,4 @@
+#!/bin/sh
+
+#Dummy transitional postrm script
+#Don't do anything.

Added: packages/bluez/trunk/debian/bluez.bluetooth.default
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez.bluetooth.default?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez.bluetooth.default (added)
+++ packages/bluez/trunk/debian/bluez.bluetooth.default Tue Feb 17 16:49:25 2009
@@ -1,0 +1,13 @@
+# Defaults for bluez
+
+# start bluetooth on boot?
+# compatibility note: If this variable is not found bluetooth will
+# start
+BLUETOOTH_ENABLED=1
+
+# This setting will switch HID devices (e.g mouse/keyboad) to HCI mode, that is
+# you will have bluetooth functionality from your dongle instead of only HID.
+# Note that not every bluetooth dongle is capable of switching back to HID
+# mode, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355497
+HID2HCI_ENABLED=1
+HID2HCI_UNDO=1

Added: packages/bluez/trunk/debian/bluez.bluetooth.init
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez.bluetooth.init?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez.bluetooth.init (added)
+++ packages/bluez/trunk/debian/bluez.bluetooth.init Tue Feb 17 16:49:25 2009
@@ -1,0 +1,201 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: bluetooth
+# Required-Start:    $local_fs $syslog $remote_fs dbus
+# Required-Stop:     $local_fs $syslog $remote_fs
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Start bluetooth daemons
+### END INIT INFO
+#
+# bluez    Bluetooth subsystem starting and stopping
+#
+# originally from bluez's scripts/bluetooth.init
+#
+# Edd Dumbill <ejad at debian.org>
+# LSB 3.0 compilance and enhancements by Filippo Giunchedi <filippo at debian.org>
+#
+# Updated for bluez 4.7 by Mario Limonciello <mario_limonciello at dell.com>
+#
+# startup control over dund and pand can be changed by editing
+# /etc/default/bluetooth
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+DESC=bluetooth
+
+DAEMON=/usr/sbin/bluetoothd
+HCIATTACH=/usr/sbin/hciattach
+
+HID2HCI=/usr/sbin/hid2hci
+HID2HCI_ENABLED=1
+HID2HCI_UNDO=1
+
+UART_CONF=/etc/bluetooth/uart
+
+RFCOMM=/usr/bin/rfcomm
+RFCOMM_NAME=rfcomm
+RFCOMM_CONF=/etc/bluetooth/rfcomm.conf
+SDPTOOL=/usr/bin/sdptool
+
+test -f /etc/default/bluetooth && . /etc/default/bluetooth
+test -f /etc/default/rcS && . /etc/default/rcS
+
+. /lib/lsb/init-functions
+
+set -e
+
+run_sdptool()
+{
+	test -x $SDPTOOL || return 1
+
+	if ! test -z "$SDPTOOL_OPTIONS" ; then
+		oldifs="$IFS"
+		IFS=";"
+		for o in $SDPTOOL_OPTIONS ; do
+			#echo "execing $SDPTOOL $o"
+			IFS=" "
+			if [ "$VERBOSE" != "no" ]; then
+				$SDPTOOL $o
+			else
+				$SDPTOOL $o >/dev/null 2>&1
+			fi
+		done
+		IFS="$oldifs"
+	fi
+
+}
+
+enable_hci_input()
+{
+       if [ "$VERBOSE" != no ]; then
+               log_progress_msg "hid_devices"
+               $HID2HCI --tohci
+       else
+               $HID2HCI --tohci >/dev/null 2>&1
+       fi
+}
+
+disable_hci_input()
+{
+       if [ "$VERBOSE" != no ]; then
+               log_progress_msg "hid_devices"
+               $HID2HCI --tohid
+       else
+               $HID2HCI --tohid >/dev/null 2>&1
+       fi
+}
+
+start_uarts()
+{
+	[ -f $HCIATTACH ] && [ -f $UART_CONF ] || return
+	grep -v '^#' $UART_CONF | while read i; do
+               if [ "$VERBOSE" != no ]; then
+                       $HCIATTACH $i
+               else
+                       $HCIATTACH $i >/dev/null 2>&1
+               fi
+	done
+}
+
+stop_uarts()
+{
+	killall hciattach > /dev/null 2>&1 || true
+}
+
+start_rfcomm()
+{
+	if [ -x $RFCOMM ] && [ -f $RFCOMM_CONF ] ; then
+		# rfcomm must always succeed for now: users
+		# may not yet have an rfcomm-enabled kernel
+                if [ "$VERBOSE" != no ]; then
+                       log_progress_msg "rfcomm"
+                       $RFCOMM -f $RFCOMM_CONF bind all || true
+                else
+                       $RFCOMM -f $RFCOMM_CONF bind all >/dev/null 2>&1 || true
+                fi
+	fi
+}
+
+stop_rfcomm()
+{
+	if [ -x $RFCOMM ] ; then
+               if [ "$VERBOSE" != no ]; then
+                       log_progress_msg "rfcomm"
+                       $RFCOMM unbind all || true
+               else
+                       $RFCOMM unbind all >/dev/null 2>&1 || true
+               fi
+	fi
+}
+
+restart_rfcomm()
+{
+	if [ -x $RFCOMM ] && [ -f $RFCOMM_CONF ] ; then
+               if [ "$VERBOSE" != no ]; then
+                       log_progress_msg  "rfcomm"
+                       $RFCOMM unbind all || true
+                       $RFCOMM -f $RFCOMM_CONF bind all || true
+               else
+                       $RFCOMM unbind all >/dev/null 2>&1|| true
+                       $RFCOMM -f $RFCOMM_CONF bind all >/dev/null 2>&1 || true
+               fi
+	fi
+}
+
+case "$1" in
+  start)
+	log_daemon_msg "Starting $DESC"
+
+	if test "$BLUETOOTH_ENABLED" = "0"; then
+		log_progress_msg "disabled. see /etc/default/bluetooth"
+		log_end_msg 0
+		exit 0
+	fi
+
+	start-stop-daemon --start --quiet --exec $DAEMON || true
+	log_progress_msg "bluetoothd"
+
+	run_sdptool || true
+
+	start_uarts || true
+
+	if test "$HID2HCI_ENABLED" = "1"; then
+		enable_hci_input || true
+	fi
+	start_rfcomm || true
+	log_end_msg 0
+    ;;
+  stop)
+	log_daemon_msg "Stopping $DESC"
+	if test "$BLUETOOTH_ENABLED" = "0"; then
+		log_progress_msg "disabled."
+		log_end_msg 0
+		exit 0
+	fi
+	stop_rfcomm || true
+	if test "$HID2HCI_UNDO" = "1"; then
+		disable_hci_input || true
+	fi
+	start-stop-daemon --stop --quiet --exec $DAEMON || true
+	log_progress_msg "bluetoothd"
+	stop_uarts || true
+	log_end_msg 0
+	;;
+  restart|force-reload)
+	$0 stop
+	$0 start
+	;;
+  status)
+	status_of_proc "$DAEMON" "$DESC" && exit 0 || exit $?
+	;;
+  *)
+	N=/etc/init.d/bluetooth
+	# echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2
+	echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
+
+# vim:noet

Added: packages/bluez/trunk/debian/bluez.dirs
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez.dirs?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez.dirs (added)
+++ packages/bluez/trunk/debian/bluez.dirs Tue Feb 17 16:49:25 2009
@@ -1,0 +1,1 @@
+usr/bin

Added: packages/bluez/trunk/debian/bluez.docs
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez.docs?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez.docs (added)
+++ packages/bluez/trunk/debian/bluez.docs Tue Feb 17 16:49:25 2009
@@ -1,0 +1,1 @@
+*/*-api.txt

Added: packages/bluez/trunk/debian/bluez.install
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez.install?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez.install (added)
+++ packages/bluez/trunk/debian/bluez.install Tue Feb 17 16:49:25 2009
@@ -1,0 +1,17 @@
+debian/tmp/etc/bluetooth/main.conf
+debian/tmp/etc/bluetooth/rfcomm.conf
+debian/tmp/etc/dbus*/*
+debian/tmp/usr/bin/hcitool
+debian/tmp/usr/bin/rfcomm
+debian/tmp/usr/bin/dfutool
+debian/tmp/usr/bin/l2ping
+debian/tmp/usr/bin/sdptool
+debian/tmp/usr/bin/ciptool
+debian/tmp/usr/sbin/*
+debian/tmp/usr/share/man/man1/dfutool*
+debian/tmp/usr/share/man/man1/ciptool*
+debian/tmp/usr/share/man/man1/hcitool*
+debian/tmp/usr/share/man/man1/sdptool*
+debian/tmp/usr/share/man/man1/rfcomm*
+debian/tmp/usr/share/man/man8/*
+debian/tmp/usr/lib/bluetooth/plugins/*.so

Added: packages/bluez/trunk/debian/bluez.override
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez.override?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez.override (added)
+++ packages/bluez/trunk/debian/bluez.override Tue Feb 17 16:49:25 2009
@@ -1,0 +1,2 @@
+# code for moving conffiles
+bluez binary: maintainer-script-uses-dpkg-status-directly preinst

Added: packages/bluez/trunk/debian/bluez.postinst
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez.postinst?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez.postinst (added)
+++ packages/bluez/trunk/debian/bluez.postinst Tue Feb 17 16:49:25 2009
@@ -1,0 +1,47 @@
+#!/bin/sh
+# snippet from http://www.dpkg.org/dpkg/ConffileHandling
+
+# Move a conffile without triggering a dpkg question
+mv_conffile() {
+    OLDCONFFILE="$1"
+    NEWCONFFILE="$2"
+
+    if [ -e "$OLDCONFFILE" ]; then
+        echo "Preserving user changes to $NEWCONFFILE ..."
+        mv -f "$NEWCONFFILE" "$NEWCONFFILE".dpkg-new
+        mv -f "$OLDCONFFILE" "$NEWCONFFILE"
+    fi
+}
+
+set -e
+case "$1" in
+    configure)
+        if [ -e /etc/init.d/bluez-utils ]; then
+            /usr/sbin/update-rc.d -f bluez-utils remove
+            # maybe a (medium/low debconf?) notice is best suited here
+        fi
+
+        # use MAKEDEV instead of the original bluez script below as per policy 10.6
+        if [ -x /dev/MAKEDEV ]; then
+            echo "Creating device nodes ..."
+            cd /dev && ./MAKEDEV bluetooth 1>/dev/null 2>/dev/null
+        fi
+        # reload dbus config file
+        if [ -x /etc/init.d/dbus ]; then
+            invoke-rc.d dbus force-reload || true
+        fi
+
+	#reload udev rules
+	if [ -x /etc/init.d/udev ]; then
+            invoke-rc.d udev reload || true
+	fi
+
+        ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+#DEBHELPER#

Added: packages/bluez/trunk/debian/bluez.preinst
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez.preinst?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez.preinst (added)
+++ packages/bluez/trunk/debian/bluez.preinst Tue Feb 17 16:49:25 2009
@@ -1,0 +1,64 @@
+#!/bin/sh
+
+# snippet from http://www.dpkg.org/dpkg/ConffileHandling
+
+# Prepare to move a conffile without triggering a dpkg question
+prep_mv_conffile() {
+    CONFFILE="$1"
+
+    if [ -e "$CONFFILE" ]; then
+        md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
+        old_md5sum="`sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' $CONFFILE'{s/.* //;p}}\" /var/lib/dpkg/status`"
+        if [ "$md5sum" = "$old_md5sum" ]; then
+            rm -f "$CONFFILE"
+        fi
+    fi
+}
+
+# Remove a no-longer used conffile
+rm_conffile() {
+    PKGNAME="$1"
+    CONFFILE="$2"
+    if [ -e "$CONFFILE" ]; then
+        md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
+        old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`"
+        if [ "$md5sum" != "$old_md5sum" ]; then
+            echo "Obsolete conffile $CONFFILE has been modified by you."
+            echo "Saving as $CONFFILE.dpkg-bak ..."
+            mv -f "$CONFFILE" "$CONFFILE".dpkg-bak
+        else
+            echo "Removing obsolete conffile $CONFFILE ..."
+            rm -f "$CONFFILE"
+        fi
+    fi
+}
+
+case "$1" in
+install|upgrade)
+    #if dpkg --compare-versions "$2" le "2.19-1"; then
+    #   prep_mv_conffile "/etc/init.d/bluez-utils"
+    #   prep_mv_conffile "/etc/default/bluez-utils"
+    #fi
+
+    if dpkg --compare-versions "$2" le "3.7-1"; then
+        prep_mv_conffile "/etc/dbus-1/system.d/bluez-hcid.conf"
+    fi
+
+    if dpkg --compare-versions "$2" le "3.30-1"; then
+        rm_conffile bluez-utils "/etc/bluetooth/network.service"
+        rm_conffile bluez-utils "/etc/bluetooth/serial.service"
+        rm_conffile bluez-utils "/etc/bluetooth/input.service"
+    fi
+
+    if dpkg --compare-versions "$2" lt "4.25-0ubuntu2"; then
+	if [ -e "/etc/udev/rules.d/62-bluez-hid2hci.rules" ]; then
+		if [ "`md5sum \"/etc/udev/rules.d/62-bluez-hid2hci.rules\" | sed -e \"s/ .*//\"`" = \
+		     "`dpkg-query -W -f='${Conffiles}' bluez | sed -n -e \"\\\\' /etc/udev/rules.d/62-bluez-hid2hci.rules's/.* //p\"`" ]
+		then
+			rm -f "/etc/udev/rules.d/62-bluez-hid2hci.rules"
+		fi
+	fi
+    fi
+esac
+
+#DEBHELPER#

Added: packages/bluez/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/changelog?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/changelog (added)
+++ packages/bluez/trunk/debian/changelog Tue Feb 17 16:49:25 2009
@@ -1,0 +1,173 @@
+bluez (4.30-1) experimental; urgency=low
+
+  * First upload of bluez 4.x (Closes: #499529)
+    - Include parts of the packaging from ubuntu, thanks!
+    - bluez-utils and bluez-libs are now a single source package 
+    - libbluetooth2 -> libbluetooth3 bump
+  * Remove hid2hci patches/script
+ 
+ -- Filippo Giunchedi <filippo at debian.org>  Tue, 17 Feb 2009 17:48:34 +0100
+
+bluez (4.29-0ubuntu1) jaunty; urgency=low
+
+  * New upstream version (LP: #326811)
+    - Use AVRCP version 1.0 for now.
+    - Decrease AVDTP idle timeout to one second.
+    - Delay AVRCP connection when remote device connects A2DP.
+    - Add workaround for AVDTP stream setup with broken headsets.
+    - Add missing three-way calling feature bit for Handsfree.
+    - Fix handsfree callheld indicator updating.
+    - Fix parsing of all AT commands within the buffer.
+    - Fix authentication replies when disconnected.
+    - Fix handling of debug combination keys.
+    - Fix handling of changed combination keys.
+    - Fix handling of link keys when using no bonding.
+    - Fix handling of invalid/unknown authentication requirements.
+    - Fix closing of L2CAP raw socket used for dedicated bonding. 
+
+ -- Baptiste Mille-Mathias <baptiste.millemathias at gmail.com>  Sun, 08 Feb 2009 10:48:36 +0100
+
+bluez (4.28-0ubuntu1) jaunty; urgency=low
+
+  * New upstream version. (LP: #324492)
+    - Add AVDTP signal fragmentation support.
+    - Add more SBC performance optimizations.
+    - Add more SBC audio quality improvements.
+    - Use native byte order for audio plugins.
+    - Set the adapter alias only after checking the EIR data.
+    - Fix auto-disconnect issue with explicit A2DP connections.
+    - Fix invalid memory access of ALSA plugin.
+    - Fix compilation with -Wsign-compare.
+
+ -- Baptiste Mille-Mathias <baptiste.millemathias at gmail.com>  Mon, 02 Feb 2009 21:57:08 +0100
+
+bluez (4.27-0ubuntu1) jaunty; urgency=low
+
+  * New upstream version. (LP: #304784)
+    - Improves interoperability and security handling
+      with Bluetooth 2.1 based devices.
+
+ -- Mario Limonciello <mario_limonciello at dell.com>  Tue, 27 Jan 2009 12:44:39 -0600
+
+bluez (4.25-0ubuntu6) jaunty; urgency=low
+
+  * Drop previous patch, bluez is a bit strange and this is basically ok.
+
+ -- Scott James Remnant <scott at ubuntu.com>  Mon, 19 Jan 2009 17:01:14 +0000
+
+bluez (4.25-0ubuntu5) jaunty; urgency=low
+
+  * debian/patches/ubuntu_dbus_policy.patch:
+    - Drop send_interface allow which isn't service-specific.  LP: #318740. 
+
+ -- Scott James Remnant <scott at ubuntu.com>  Mon, 19 Jan 2009 15:38:43 +0000
+
+bluez (4.25-0ubuntu4) jaunty; urgency=low
+
+  * Add Breaks to ensure the right udev version is used.
+
+ -- Scott James Remnant <scott at ubuntu.com>  Fri, 09 Jan 2009 11:35:06 +0000
+
+bluez (4.25-0ubuntu3) jaunty; urgency=low
+
+  * debian/hid2hci.rules: Update to use ATTRS{} instead of SYSFS{}
+
+ -- Scott James Remnant <scott at ubuntu.com>  Wed, 07 Jan 2009 14:18:52 +0000
+
+bluez (4.25-0ubuntu2) jaunty; urgency=low
+
+  * debian/rules: Install rules into /lib/udev/rules.d
+  * debian/bluez.preinst: Remove old rule if unchanged.
+
+ -- Scott James Remnant <scott at ubuntu.com>  Wed, 07 Jan 2009 11:35:39 +0000
+
+bluez (4.25-0ubuntu1) jaunty; urgency=low
+
+  * New upstream release. (LP: #312087)
+
+ -- Baptiste Mille-Mathias <baptiste.millemathias at gmail.com>  Tue, 30 Dec 2008 19:53:44 +0100
+
+bluez (4.21-0ubuntu1) jaunty; urgency=low
+
+  * New upstream version. (LP: #304109)
+
+ -- Mario Limonciello <mario_limonciello at dell.com>  Wed, 03 Dec 2008 15:56:03 -0600
+
+bluez (4.17-0ubuntu1) jaunty; urgency=low
+
+  * New upstream version. (LP: #284039)
+  * Drop the following patches that landed upstream:
+    - logitech_5500_ids.patch
+    - dell_bt_365.patch
+    - sco_connect_git.patch
+
+ -- Mario Limonciello <mario_limonciello at dell.com>  Wed, 05 Nov 2008 13:28:35 -0600
+
+bluez (4.12-0ubuntu5) intrepid; urgency=low
+
+  * Add debian/hid2hci.rules to enable running hid2hci
+    as soon as some bluetooth dongles get plugged in. (LP: #288294)
+  * debian/bluez.postinst:
+    - Update udev rules on postinst.
+  * debian/rules:
+    - Install debian/hid2hci.rules to 62-bluez-hid2hci.rules
+
+ -- Mario Limonciello <superm1 at ubuntu.com>  Sat, 25 Oct 2008 23:32:00 -0500
+
+bluez (4.12-0ubuntu4) intrepid; urgency=low
+
+  * Add hid2hci.patch to enable hid2hci to be ran after
+    suspending a machine. (LP: #268877)
+  * debian/rules:
+    - Install new script from above patch.
+  * Add logitech_5500_ids.patch for enabling hid2hci on
+    more logitech devices. (LP: #272352)
+
+ -- Mario Limonciello <mario_limonciello at dell.com>  Wed, 22 Oct 2008 16:01:59 -0500
+
+bluez (4.12-0ubuntu3) intrepid; urgency=low
+
+  * debian/bluez.postinst:
+    - Don't show output for MAKEDEV. (LP: 280360)
+  * Add dell_bt_365.patch which will enable putting the Dell BT365
+    adapter into HCI mode upon bootup. (LP: #286724)
+  * debian/control:
+    - Add one more binary package for old compatibility binaries. (LP: #281580)
+  * debian/rules:
+    - Enable compatibility binaries.  These are HIGHLY discouraged from usage
+      and will not necessarily be here in the future.
+  * debian/bluez.install:
+    - Adjust what binaries get installed, to be able to pull out hidd, dund,
+      and pand as necessary.
+
+ -- Mario Limonciello <mario_limonciello at dell.com>  Mon, 20 Oct 2008 20:37:24 -0500
+
+bluez (4.12-0ubuntu2) intrepid; urgency=low
+
+  * debian/control:
+    - Move libbluetooth3 to the top of the list so that it is the
+      package that gets to keep the real changelog rather than symlinks.
+    - Only Replaces: packages rather than conflicts to help with 
+      upgrades (LP: #279954)
+
+ -- Mario Limonciello <mario_limonciello at dell.com>  Tue, 07 Oct 2008 16:32:31 -0500
+
+bluez (4.12-0ubuntu1) intrepid; urgency=low
+
+  * Initial Release. (LP: #274950)
+    - This package replaces bluez-utils and bluez-libs source packages.
+    - It was generated by merging the contents of bluez-utils and bluez-libs
+      and updating content.
+    - Legacy functionality for hidd, dund, and pand are not present, and 
+      have been removed from all configuration files.
+  * This release introduces encryption (LP: #182191)
+  * debian/patches:
+    - bluez-utils-oui-usage.patch was borrowed from the Fedora 10 packaging.
+    - sco-connect-git.patch was taken from bluez git shortly after 4.12 release.
+      It should "help" with some sco headset issues.
+  * debian/control:
+    - Update different packages per upstream's recommendations.
+    - Update conflicts/replaces for earlier packages.
+    - Add a transitional bluez-utils package to help with the transition.
+
+ -- Mario Limonciello <superm1 at ubuntu.com>  Tue, 07 Oct 2008 12:10:29 -0500

Added: packages/bluez/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/control?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/control (added)
+++ packages/bluez/trunk/debian/control Tue Feb 17 16:49:25 2009
@@ -1,0 +1,129 @@
+Source: bluez
+Section: admin
+Priority: optional
+Maintainer: Debian Bluetooth Maintainers <pkg-bluetooth-maintainers at lists.alioth.debian.org>
+Uploaders: Filippo Giunchedi <filippo at debian.org>
+Build-Depends: debhelper (>= 7),
+               autotools-dev,
+               cdbs,
+               flex,
+               bison,
+               gstreamer-tools,
+               libasound2-dev,
+               libdbus-1-dev,
+               libdbus-glib-1-dev,
+               libglib2.0-dev,
+               libgstreamer0.10-dev,
+               libgstreamer-plugins-base0.10-dev,
+               libnl-dev,
+               libsndfile1-dev,
+               libusb-dev,
+Vcs-Svn: svn://svn.debian.org/svn/pkg-bluetooth/packages/bluez
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez
+Homepage: http://www.bluez.org
+Standards-Version: 3.8.0
+
+Package: libbluetooth3
+Section: libs
+Conflicts: libsdp2 (<= 1.5-2)
+Replaces: libsdp2 (<= 1.5-2)
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Architecture: any
+Description: Library to use the BlueZ Linux Bluetooth stack
+ BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
+ project distributed under GNU General Public License (GPL).
+
+Package: libbluetooth-dev
+Section: libdevel
+Provides: libbluetooth3-dev
+Conflicts: libbluetooth-dev, libsdp2-dev (<= 1.5.2), bluez-pan
+Replaces: libsdp2-dev (<= 1.5.2)
+Depends: libbluetooth3 (= ${binary:Version}), libc6-dev | libc-dev, ${misc:Depends}
+Suggests: pkg-config
+Priority: extra
+Architecture: any
+Description: Development files for using the BlueZ Linux Bluetooth library
+ BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
+ project distributed under GNU General Public License (GPL).
+
+Package: bluetooth
+Architecture: all
+Depends: bluez
+Recommends: bluez-alsa,
+            bluez-cups,
+            bluez-gstreamer,
+Description: Bluetooth support
+ This package provides all of the different plugins supported
+ by the Bluez bluetooth stack.
+
+Package: bluez
+Architecture: any
+Depends: ${shlibs:Depends}, module-init-tools, makedev | udev, lsb-base, dbus, ${misc:Depends}
+Replaces: bluez-input, bluez-network, bluez-audio, bluez-serial, bluez-utils (<=4.9)
+Breaks: udev (<< 136-1)
+Description: Bluetooth tools and daemons
+ This package contains tools and system daemons for using Bluetooth devices.
+ .
+ BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
+ project distributed under GNU General Public License (GPL).
+
+Package: bluez-alsa
+Replaces: bluez-audio
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Bluetooth audio support
+ This package contains a driver operate with the ALSA stack.
+ .
+ BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
+ project distributed under GNU General Public License (GPL).
+
+Package: bluez-cups
+Architecture: any
+Depends: ${shlibs:Depends}, cups, ${misc:Depends}
+Description: Bluetooth printer driver for CUPS
+ This package contains a driver to let CUPS print to Bluetooth-connected
+ printers.
+ .
+ BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
+ project distributed under GNU General Public License (GPL).
+
+Package: bluez-gstreamer
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: bluez-audio
+Description: Bluetooth GStreamer support
+ This package contains a plugin to operate with GStreamer applications.
+ .
+ BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
+ project distributed under GNU General Public License (GPL).
+
+Package: bluez-pcmcia-support
+Architecture: any
+Priority: extra
+Depends: pcmciautils, ${misc:Depends}
+Recommends: setserial
+Description: PCMCIA support files for BlueZ 2.0 Bluetooth tools
+ This package contains files to enable PCMCIA card services to recognise
+ and initialise PCMCIA Bluetooth devices.
+ .
+ BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
+ project distributed under GNU General Public License (GPL).
+
+Package: bluez-compat
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: BlueZ 3.x compatibility binaries
+ This package provides the legacy binaries that were reminiscent of the
+ BlueZ 3.x pairing methods.  These binaries are not supported, and will
+ go away again in the future. The provided binaries are:
+ .
+ hidd
+ dund
+ pand
+
+Package: bluez-utils
+Depends: bluetooth
+Architecture: all
+Description: Transitional package
+ This is a transitional package to assist with moving people to the
+ BlueZ 4.x stack.

Added: packages/bluez/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/copyright?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/copyright (added)
+++ packages/bluez/trunk/debian/copyright Tue Feb 17 16:49:25 2009
@@ -1,0 +1,36 @@
+This package was debianized by Edd Dumbill <edd at usefulinc.com> on
+Sat, 13 Apr 2002 16:09:02 +0100.
+
+It was downloaded from http://bluez.org/
+
+Upstream Author:     Maksim Krasnyanskiy <maxk at qualcomm.com>
+
+Copyright:
+
+   BlueZ - Bluetooth protocol stack for Linux
+
+   Copyright (C) 2000-2001  Qualcomm Incorporated
+   Copyright (C) 2002-2003  Maxim Krasnyansky <maxk at qualcomm.com>
+   Copyright (C) 2002-2007  Marcel Holtmann <marcel at holtmann.org>
+
+   Written 2000,2001 by Maxim Krasnyansky <maxk at qualcomm.com>
+
+   This package 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; version 2 dated June, 1991.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
+IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) AND AUTHOR(S) BE LIABLE FOR ANY CLAIM,
+OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
+RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
+USE OR PERFORMANCE OF THIS SOFTWARE.
+
+ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY PATENTS, COPYRIGHTS,
+TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS SOFTWARE IS DISCLAIMED.
+

Added: packages/bluez/trunk/debian/libbluetooth-dev.install
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/libbluetooth-dev.install?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/libbluetooth-dev.install (added)
+++ packages/bluez/trunk/debian/libbluetooth-dev.install Tue Feb 17 16:49:25 2009
@@ -1,0 +1,5 @@
+debian/tmp/usr/include/*
+debian/tmp/usr/lib/lib*.so
+debian/tmp/usr/lib/*.la
+debian/tmp/usr/lib/pkgconfig/*
+debian/tmp/usr/lib/bluetooth/plugins/*.la

Added: packages/bluez/trunk/debian/libbluetooth3.install
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/libbluetooth3.install?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/libbluetooth3.install (added)
+++ packages/bluez/trunk/debian/libbluetooth3.install Tue Feb 17 16:49:25 2009
@@ -1,0 +1,1 @@
+debian/tmp/usr/lib/lib*.so.*

Added: packages/bluez/trunk/debian/libbluetooth3.shlibs
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/libbluetooth3.shlibs?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/libbluetooth3.shlibs (added)
+++ packages/bluez/trunk/debian/libbluetooth3.shlibs Tue Feb 17 16:49:25 2009
@@ -1,0 +1,1 @@
+libbluetooth 3 libbluetooth3 (>= 4.9)

Added: packages/bluez/trunk/debian/patches/003_configure_amd64_rpath.patch
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/patches/003_configure_amd64_rpath.patch?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/patches/003_configure_amd64_rpath.patch (added)
+++ packages/bluez/trunk/debian/patches/003_configure_amd64_rpath.patch Tue Feb 17 16:49:25 2009
@@ -1,0 +1,17 @@
+--- configure.orig	2008-01-12 17:10:45.000000000 +0100
++++ configure	2008-01-12 17:11:20.000000000 +0100
+@@ -8593,13 +8593,11 @@
+   # Some rework will be needed to allow for fast_install
+   # before this can be enabled.
+   hardcode_into_libs=yes
+-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+ 
+   # Append ld.so.conf contents to the search path
+   if test -f /etc/ld.so.conf; then
+     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
+-    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+   fi
+ 
+   # We used to test for /lib/ld.so.1 and disable shared libraries on

Added: packages/bluez/trunk/debian/patches/005_l2ping_section.patch
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/patches/005_l2ping_section.patch?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/patches/005_l2ping_section.patch (added)
+++ packages/bluez/trunk/debian/patches/005_l2ping_section.patch Tue Feb 17 16:49:25 2009
@@ -1,0 +1,8 @@
+--- bluez-utils-2.4.orig/tools/l2ping.1	2004-01-15 20:43:05.000000000 +0000
++++ bluez-utils-2.4/tools/l2ping.1	2004-01-15 20:42:13.000000000 +0000
+@@ -1,4 +1,4 @@
+-.TH L2PING 1 "Jan 22 2002" BlueZ "Linux System Administration"
++.TH L2PING 8 "Jan 22 2002" BlueZ "Linux System Administration"
+ .SH NAME
+ l2ping \- Send L2CAP echo request and receive answer
+ .SH SYNOPSIS

Added: packages/bluez/trunk/debian/patches/006_a2dpsink_marginal.patch
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/patches/006_a2dpsink_marginal.patch?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/patches/006_a2dpsink_marginal.patch (added)
+++ packages/bluez/trunk/debian/patches/006_a2dpsink_marginal.patch Tue Feb 17 16:49:25 2009
@@ -1,0 +1,10 @@
+--- audio/gsta2dpsink.c	2009-01-08 17:00:12.000000000 +0100
++++ audio/gsta2dpsink.c	2009-02-17 15:31:17.000000000 +0100
+@@ -698,6 +698,6 @@
+ gboolean gst_a2dp_sink_plugin_init(GstPlugin *plugin)
+ {
+ 	return gst_element_register(plugin, "a2dpsink",
+-			GST_RANK_PRIMARY, GST_TYPE_A2DP_SINK);
++			GST_RANK_MARGINAL, GST_TYPE_A2DP_SINK);
+ }
+ 

Added: packages/bluez/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/rules?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/rules (added)
+++ packages/bluez/trunk/debian/rules Tue Feb 17 16:49:25 2009
@@ -1,0 +1,66 @@
+#!/usr/bin/make -f
+# build rules for bluez-utils
+
+include /usr/share/cdbs/1/rules/buildcore.mk
+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_UPDATE_RCD_PARAMS = "start 25 2 3 4 5 . stop 74 0 1 6 ."
+DEB_DH_INSTALLINIT_ARGS = "--name=bluetooth"
+DEB_CONFIGURE_EXTRA_FLAGS := --enable-gstreamer \
+                             --enable-alsa \
+                             --enable-usb \
+                             --enable-hal \
+                             --enable-netlink \
+                             --enable-tools \
+							 --enable-test \
+                             --enable-bccmd \
+                             --enable-hid2hci \
+                             --enable-dfutool \
+                             --enable-cups \
+                             --enable-manpages \
+                             --enable-pcmciarules \
+                             --enable-debug \
+                             --enable-hidd \
+                             --enable-pand \
+                             --enable-dund
+
+
+DEB_DESTDIR := $(CURDIR)/debian/tmp
+
+install/bluetooth::
+	install -D -m 0644 $(CURDIR)/debian/bluetooth.override $(CURDIR)/debian/bluetooth/usr/share/lintian/overrides/bluetooth
+
+install/bluez::
+	install -D -m 0644 $(CURDIR)/input/input.conf $(CURDIR)/debian/bluez/etc/bluetooth/input.conf
+	install -D -m 0644 $(CURDIR)/audio/audio.conf $(CURDIR)/debian/bluez/etc/bluetooth/audio.conf
+	install -D -m 0644 $(CURDIR)/network/network.conf $(CURDIR)/debian/bluez/etc/bluetooth/network.conf
+	#install -D -m 0755 $(CURDIR)/scripts/hid2hci.pm-utils $(CURDIR)/debian/bluez/usr/lib/pm-utils/sleep.d/48hid2hci
+	#install -D -m 0644 $(CURDIR)/debian/hid2hci.rules $(CURDIR)/debian/bluez/lib/udev/rules.d/62-bluez-hid2hci.rules
+
+	mv $(DEB_DESTDIR)/usr/share/man/man1/l2ping.1 \
+	   $(DEB_DESTDIR)/usr/share/man/man8/l2ping.8
+
+	install -D -m 0755 $(CURDIR)/test/agent $(CURDIR)/debian/bluez/usr/bin/bluetooth-agent
+
+	install -D -m 0644 $(CURDIR)/debian/bluez.override $(CURDIR)/debian/bluez/usr/share/lintian/overrides/bluez
+
+install/bluez-alsa::
+	install -D -m 0644 $(CURDIR)/audio/asound.conf $(CURDIR)/debian/bluez-alsa/usr/share/alsa/bluetooth.conf
+
+binary-install/bluez-gstreamer::
+	LD_LIBRARY_PATH="$(CURDIR)/debian/tmp/usr/lib:$(LD_LIBRARY_PATH)" dh_gstscancodecs -pbluez-gstreamer
+	#dh_gstscancodecs -pbluez-gstreamer
+
+binary-install/bluez::
+	install -D -m 0644 $(CURDIR)/debian/bluetooth-dbus.conf $(CURDIR)/debian/bluez-utils/etc/dbus-1/system.d/bluetooth.conf
+
+install/bluez-pcmcia-support::
+	cp -f $(CURDIR)/scripts/bluetooth.rules $(CURDIR)/debian/bluez-pcmcia-support.udev
+
+binary-install/bluez-pcmcia-support::
+	chmod a+x $(CURDIR)/debian/bluez-pcmcia-support/lib/udev/bluetooth_serial
+
+clean::
+	-rm -f $(CURDIR)/debian/bluez-pcmcia-support.udev

Propchange: packages/bluez/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/bluez/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/watch?rev=780&op=file
==============================================================================
--- packages/bluez/trunk/debian/watch (added)
+++ packages/bluez/trunk/debian/watch Tue Feb 17 16:49:25 2009
@@ -1,0 +1,2 @@
+version=3
+http://www.kernel.org/pub/linux/bluetooth/ .*bluez-(.+)\.tar\.gz




More information about the Pkg-bluetooth-commits mailing list