Accepting request 223730 from Base:System

update to version 5.15 (forwarded request 223486 from seife)

OBS-URL: https://build.opensuse.org/request/show/223730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bluez?expand=0&rev=115
This commit is contained in:
Tomáš Chvátal 2014-02-25 15:41:17 +00:00 committed by Git OBS Bridge
commit 428ab9da82
5 changed files with 68 additions and 11 deletions

View File

@ -0,0 +1,23 @@
Apparently some Logitech devices need different rules.
https://bugzilla.novell.com/show_bug.cgi?id=681049
https://bugzilla.novell.com/show_bug.cgi?id=850478
Index: b/tools/hid2hci.rules
===================================================================
--- a/tools/hid2hci.rules
+++ b/tools/hid2hci.rules
@@ -9,11 +9,13 @@ SUBSYSTEM!="usb*", GOTO="hid2hci_end"
ATTR{bInterfaceClass}=="03", ATTR{bInterfaceSubClass}=="01", ATTR{bInterfaceProtocol}=="02", \
ATTRS{bDeviceClass}=="00", ATTRS{idVendor}=="413c", ATTRS{bmAttributes}=="e0", \
RUN+="hid2hci --method=dell --devpath=%p", ENV{HID2HCI_SWITCH}="1"
# Logitech devices
-KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \
+KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[5e]", \
+ RUN+="hid2hci --method=logitech-hid --devpath=%p"
+KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[34abc]|c71[34bc]", \
RUN+="hid2hci --method=logitech-hid --devpath=%p"
ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end"
# When a Dell device recovers from S3, the mouse child needs to be repoked

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4581beedde485246b16e2b4665d60f3fe041284b5d5afc3a0a818604ad525ad3
size 1155808

3
bluez-5.15.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:487bd75697e565793bf5bc4fbd5fa6a602788313b0c694f7542b81689fc0aa87
size 1242876

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Sat Feb 22 10:31:52 UTC 2014 - seife+obs@b1-systems.com
- update to version 5.15:
* Fix issue with LE enabling and background scanning.
* Fix issue with HID over GATT input device name.
* Fix issue with storage of slave long term keys.
* Add support for handling identity resolving keys.
* various android features (not relevant for us)
- minor specfile tweaks to avoid some rpmlint warnings
- permissions of some bluez-test files changes to please rpmlint
-------------------------------------------------------------------
Thu Jan 23 10:43:53 UTC 2014 - seife+obs@b1-systems.com
- Update to version 5.14:
* Fix issue with marking PS3 controllers as trusted.
* Fix issue with authorization of PS3 controllers.
* Add support for DualShock 4 controller detection.
* Add support for legacy pairing emulation.
* Add support for secure simple pairing emulation.
* Add support for automated pairing testing.
* Add support for RFCOMM protocol testing.
* Add support for HCI controller testing.
- Add "bluemoon" configuration tool
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 30 15:46:01 UTC 2013 - hrvoje.senjan@gmail.com Mon Dec 30 15:46:01 UTC 2013 - hrvoje.senjan@gmail.com
@ -20,6 +46,11 @@ Changes since 5.12:
* Add support for AVDTP qualification test cases. * Add support for AVDTP qualification test cases.
* Add support for SMP cryptographic test cases. * Add support for SMP cryptographic test cases.
-------------------------------------------------------------------
Wed Dec 4 13:44:23 UTC 2013 - seife+obs@b1-systems.com
- add bluez-5.11-logitech-hid2hci.patch, (bnc#681049; bnc#850478)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Nov 24 16:43:28 UTC 2013 - crrodriguez@opensuse.org Sun Nov 24 16:43:28 UTC 2013 - crrodriguez@opensuse.org

View File

@ -1,8 +1,8 @@
# #
# spec file for package bluez # spec file for package bluez
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010-2013 B1 Systems GmbH, Vohburg, Germany # Copyright (c) 2010-2014 B1 Systems GmbH, Vohburg, Germany
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -24,7 +24,7 @@ BuildRequires: libcap-ng-devel
BuildRequires: systemd-devel BuildRequires: systemd-devel
BuildRequires: pkgconfig(dbus-1) >= 1.4 BuildRequires: pkgconfig(dbus-1) >= 1.4
%{?systemd_requires} %{?systemd_requires}
Version: 5.13 Version: 5.15
Release: 0 Release: 0
Summary: Bluetooth Stack for Linux Summary: Bluetooth Stack for Linux
License: GPL-2.0+ License: GPL-2.0+
@ -35,6 +35,8 @@ Source5: baselibs.conf
Source6: README.SUSE Source6: README.SUSE
Source7: bluetooth.modprobe Source7: bluetooth.modprobe
Source99: README.packagers Source99: README.packagers
# fix some logitech HID devices, bnc#681049, bnc#850478 --seife+obs@b1-systems.com
Patch1: bluez-5.11-logitech-hid2hci.patch
Patch2: bluez-sdp-unix-path.patch Patch2: bluez-sdp-unix-path.patch
BuildRequires: alsa-devel BuildRequires: alsa-devel
BuildRequires: automake BuildRequires: automake
@ -90,7 +92,6 @@ Bluetooth protocol stack libraries.
Summary: CUPS Driver for Bluetooth Printers Summary: CUPS Driver for Bluetooth Printers
License: GPL-2.0+ License: GPL-2.0+
Group: Hardware/Printing Group: Hardware/Printing
#Requires: libbluetooth3 = %{version}
%description cups %description cups
Contains the files required by CUPS for printing to Bluetooth-connected Contains the files required by CUPS for printing to Bluetooth-connected
@ -102,7 +103,6 @@ Summary: Tools for testing of various Bluetooth-functions
License: GPL-2.0+ and MIT License: GPL-2.0+ and MIT
Group: Development/Tools/Debuggers Group: Development/Tools/Debuggers
Requires: dbus-1-python Requires: dbus-1-python
#Requires: libbluetooth3 = %{version}
Requires: python-gobject2 Requires: python-gobject2
%description test %description test
@ -111,6 +111,7 @@ BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
%prep %prep
%setup -q %setup -q
%patch1 -p1
%patch2 -p1 %patch2 -p1
cp %{SOURCE6} . cp %{SOURCE6} .
mkdir dbus-apis mkdir dbus-apis
@ -152,6 +153,10 @@ install --mode 0755 -d %{buildroot}%{_localstatedir}/lib/bluetooth
rm %{buildroot}%{_prefix}/lib/systemd/user/obex.service rm %{buildroot}%{_prefix}/lib/systemd/user/obex.service
# end FIXME # end FIXME
# rpmlint warnings...
cd %{buildroot}%{_libdir}/bluez/test
chmod 0644 *.py *.xml *.dtd
%check %check
%if ! 0%{?qemu_user_space_build} %if ! 0%{?qemu_user_space_build}
make check make check
@ -184,6 +189,7 @@ rm -rf %{buildroot}
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README README.SUSE dbus-apis %doc AUTHORS COPYING ChangeLog README README.SUSE dbus-apis
%{_bindir}/bluemoon
%{_bindir}/hcitool %{_bindir}/hcitool
%{_bindir}/l2ping %{_bindir}/l2ping
%{_bindir}/rfcomm %{_bindir}/rfcomm
@ -211,9 +217,6 @@ rm -rf %{buildroot}
%doc %{_mandir}/man1/ciptool.1.gz %doc %{_mandir}/man1/ciptool.1.gz
%doc %{_mandir}/man1/rfcomm.1.gz %doc %{_mandir}/man1/rfcomm.1.gz
%doc %{_mandir}/man1/rctest.1.gz %doc %{_mandir}/man1/rctest.1.gz
#%dir %{_sysconfdir}/bluetooth
#%config(noreplace) %{_sysconfdir}/bluetooth/main.conf
#%config(noreplace) %{_sysconfdir}/bluetooth/rfcomm.conf
%config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf %config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
%dir %{_localstatedir}/lib/bluetooth %dir %{_localstatedir}/lib/bluetooth
%dir %{_sysconfdir}/modprobe.d %dir %{_sysconfdir}/modprobe.d