|
|
@ -1,29 +1,60 @@
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} <= 8
|
|
|
|
|
|
|
|
%bcond_without deprecated
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%bcond_with deprecated
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: bluez
|
|
|
|
Name: bluez
|
|
|
|
Version: 5.72
|
|
|
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
|
|
|
Summary: Bluetooth utilities
|
|
|
|
Summary: Bluetooth utilities
|
|
|
|
|
|
|
|
Version: 5.63
|
|
|
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://www.bluez.org/
|
|
|
|
URL: http://www.bluez.org/
|
|
|
|
|
|
|
|
|
|
|
|
Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz
|
|
|
|
Source0: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.xz
|
|
|
|
Source1: bluez.gitignore
|
|
|
|
Source1: bluez.gitignore
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Scripts for automatically btattach-ing serial ports connected to Broadcom HCIs
|
|
|
|
|
|
|
|
# as found on some Atom based x86 hardware
|
|
|
|
|
|
|
|
Source2: 69-btattach-bcm.rules
|
|
|
|
|
|
|
|
Source3: btattach-bcm@.service
|
|
|
|
|
|
|
|
Source4: btattach-bcm-service.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/hadess/bluez/commits/build-fixes-5.46
|
|
|
|
|
|
|
|
#Patch1: 0001-build-Enable-BIND_NOW.patch
|
|
|
|
|
|
|
|
#Patch2: 0003-tools-csr_usb-Fix-compilation-failure.patch
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/hadess/bluez/commits/obex-5.46
|
|
|
|
# https://github.com/hadess/bluez/commits/obex-5.46
|
|
|
|
Patch1: 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
|
|
|
|
Patch3: 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
|
|
|
|
# https://patchwork.kernel.org/project/bluetooth/patch/20240214155019.325715-1-hadess@hadess.net/
|
|
|
|
|
|
|
|
Patch2: 0001-Add-missing-mesh-gatt-JSON-files.patch
|
|
|
|
# https://github.com/hadess/bluez/commits/hostname-plugin-5.47
|
|
|
|
|
|
|
|
Patch4: 0001-hostname-Fix-BlueZ-5.XX-adapter-name-on-startup.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/hadess/bluez/commits/systemd-hardening
|
|
|
|
|
|
|
|
Patch20: 0001-build-Always-define-confdir-and-statedir.patch
|
|
|
|
|
|
|
|
Patch21: 0002-systemd-Add-PrivateTmp-and-NoNewPrivileges-options.patch
|
|
|
|
|
|
|
|
Patch22: 0003-systemd-Add-more-filesystem-lockdown.patch
|
|
|
|
|
|
|
|
Patch23: 0004-systemd-More-lockdown.patch
|
|
|
|
|
|
|
|
Patch25: 0001-gdbus-Emit-InterfacesAdded-of-parents-objects-first.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1567622
|
|
|
|
|
|
|
|
#Patch24: 0001-adapter-Don-t-refresh-adv_manager-for-non-LE-devices.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Patch25: 0001-core-Add-AlwaysPairable-to-main.conf.patch
|
|
|
|
|
|
|
|
#Patch26: 0002-agent-Make-the-first-agent-to-register-the-default.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Patch27: 0001-HOGP-must-only-accept-data-from-bonded-devices.patch
|
|
|
|
|
|
|
|
#Patch28: 0002-HID-accepts-bonded-device-connections-only.patch
|
|
|
|
|
|
|
|
#Patch29: 0001-shared-att-Fix-possible-crash-on-disconnect.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#https://bugzilla.redhat.com/show_bug.cgi?id=1961511
|
|
|
|
|
|
|
|
#Patch30: 0001-input-hog-Attempt-to-set-security-level-if-not-bonde.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# fixing https://bugzilla.redhat.com/show_bug.cgi?id=1965057
|
|
|
|
|
|
|
|
#Patch31: 0001-shared-gatt-server-Fix-not-properly-checking-for-sec.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Patch32: 0001-sdpd-Fix-leaking-buffers-stored-in-cstates-cache.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Patch40: 0001-Change-default-of-ClassicBondedOnly.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: git-core
|
|
|
|
BuildRequires: dbus-devel >= 1.6
|
|
|
|
BuildRequires: dbus-devel >= 1.6
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: libell-devel >= 0.37
|
|
|
|
|
|
|
|
BuildRequires: libical-devel
|
|
|
|
BuildRequires: libical-devel
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
# For bluetooth mesh
|
|
|
|
# For bluetooth mesh
|
|
|
|
BuildRequires: json-c-devel
|
|
|
|
BuildRequires: json-c-devel
|
|
|
@ -33,77 +64,65 @@ BuildRequires: systemd-devel
|
|
|
|
BuildRequires: cups-devel
|
|
|
|
BuildRequires: cups-devel
|
|
|
|
# For autoreconf
|
|
|
|
# For autoreconf
|
|
|
|
BuildRequires: libtool automake autoconf
|
|
|
|
BuildRequires: libtool automake autoconf
|
|
|
|
# For man pages
|
|
|
|
|
|
|
|
BuildRequires: python3-docutils
|
|
|
|
BuildRequires: python3-docutils
|
|
|
|
BuildRequires: python3-pygments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires: dbus >= 1.6
|
|
|
|
Requires: dbus >= 1.6
|
|
|
|
|
|
|
|
|
|
|
|
Requires(post): systemd
|
|
|
|
Requires(post): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd
|
|
|
|
Requires(postun): systemd
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Utilities for use in Bluetooth applications:
|
|
|
|
Utilities for use in Bluetooth applications:
|
|
|
|
- avinfo
|
|
|
|
- hcitool
|
|
|
|
- bluemoon
|
|
|
|
- hciattach
|
|
|
|
- bluetoothctl
|
|
|
|
- hciconfig
|
|
|
|
- bluetoothd
|
|
|
|
- bluetoothd
|
|
|
|
- btattach
|
|
|
|
|
|
|
|
- btmon
|
|
|
|
|
|
|
|
- hex2hcd
|
|
|
|
|
|
|
|
- l2ping
|
|
|
|
- l2ping
|
|
|
|
|
|
|
|
- rfcomm
|
|
|
|
|
|
|
|
- sdptool
|
|
|
|
|
|
|
|
- bluetoothctl
|
|
|
|
|
|
|
|
- btmon
|
|
|
|
|
|
|
|
- hcidump
|
|
|
|
- l2test
|
|
|
|
- l2test
|
|
|
|
- mpris-proxy
|
|
|
|
|
|
|
|
- rctest
|
|
|
|
- rctest
|
|
|
|
|
|
|
|
- gatttool
|
|
|
|
|
|
|
|
- start scripts (Red Hat)
|
|
|
|
|
|
|
|
- pcmcia configuration files
|
|
|
|
|
|
|
|
|
|
|
|
The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
|
|
|
|
The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
|
|
|
|
Summary: Libraries for use in Bluetooth applications
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package libs-devel
|
|
|
|
|
|
|
|
Summary: Development libraries for Bluetooth applications
|
|
|
|
|
|
|
|
Requires: bluez-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%package cups
|
|
|
|
%package cups
|
|
|
|
Summary: CUPS printer backend for Bluetooth printers
|
|
|
|
Summary: CUPS printer backend for Bluetooth printers
|
|
|
|
Requires: bluez%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: bluez%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: cups
|
|
|
|
Requires: cups
|
|
|
|
|
|
|
|
|
|
|
|
%description cups
|
|
|
|
%package hid2hci
|
|
|
|
This package contains the CUPS backend
|
|
|
|
Summary: Put HID proxying bluetooth HCI's into HCI mode
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with deprecated}
|
|
|
|
|
|
|
|
%package deprecated
|
|
|
|
|
|
|
|
Summary: Deprecated Bluetooth applications
|
|
|
|
|
|
|
|
Requires: bluez%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: bluez%{?_isa} = %{version}-%{release}
|
|
|
|
Obsoletes: bluez < 5.55-2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description deprecated
|
|
|
|
%package obexd
|
|
|
|
Bluetooth applications that have bee deprecated by upstream. They have been
|
|
|
|
Summary: Object Exchange daemon for sharing content
|
|
|
|
replaced by funcationality in the core bluetoothctl and will eventually
|
|
|
|
Requires: bluez%{?_isa} = %{version}-%{release}
|
|
|
|
be dropped by upstream. Utilities include:
|
|
|
|
Requires: bluez-libs%{?_isa} = %{version}-%{release}
|
|
|
|
- ciptool
|
|
|
|
|
|
|
|
- gatttool
|
|
|
|
|
|
|
|
- hciattach
|
|
|
|
|
|
|
|
- hciconfig
|
|
|
|
|
|
|
|
- hcidump
|
|
|
|
|
|
|
|
- hcitool
|
|
|
|
|
|
|
|
- rfcomm
|
|
|
|
|
|
|
|
- sdptool
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
%description cups
|
|
|
|
Summary: Libraries for use in Bluetooth applications
|
|
|
|
This package contains the CUPS backend
|
|
|
|
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
%description libs
|
|
|
|
Libraries for use in Bluetooth applications.
|
|
|
|
Libraries for use in Bluetooth applications.
|
|
|
|
|
|
|
|
|
|
|
|
%package libs-devel
|
|
|
|
|
|
|
|
Summary: Development libraries for Bluetooth applications
|
|
|
|
|
|
|
|
Requires: bluez-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description libs-devel
|
|
|
|
%description libs-devel
|
|
|
|
bluez-libs-devel contains development libraries and headers for
|
|
|
|
bluez-libs-devel contains development libraries and headers for
|
|
|
|
use in Bluetooth applications.
|
|
|
|
use in Bluetooth applications.
|
|
|
|
|
|
|
|
|
|
|
|
%package hid2hci
|
|
|
|
|
|
|
|
Summary: Put HID proxying bluetooth HCI's into HCI mode
|
|
|
|
|
|
|
|
Requires: bluez%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description hid2hci
|
|
|
|
%description hid2hci
|
|
|
|
Most allinone PC's and bluetooth keyboard / mouse sets which include a
|
|
|
|
Most allinone PC's and bluetooth keyboard / mouse sets which include a
|
|
|
|
bluetooth dongle, ship with a so called HID proxying bluetooth HCI.
|
|
|
|
bluetooth dongle, ship with a so called HID proxying bluetooth HCI.
|
|
|
@ -123,59 +142,31 @@ them again. Since you cannot use your bluetooth keyboard and mouse until
|
|
|
|
they are paired, this will require the use of a regular (wired) USB keyboard
|
|
|
|
they are paired, this will require the use of a regular (wired) USB keyboard
|
|
|
|
and mouse.
|
|
|
|
and mouse.
|
|
|
|
|
|
|
|
|
|
|
|
%package mesh
|
|
|
|
|
|
|
|
Summary: Bluetooth mesh
|
|
|
|
|
|
|
|
Requires: bluez%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: bluez-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description mesh
|
|
|
|
|
|
|
|
Services for bluetooth mesh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package obexd
|
|
|
|
|
|
|
|
Summary: Object Exchange daemon for sharing content
|
|
|
|
|
|
|
|
Requires: bluez%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: bluez-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description obexd
|
|
|
|
%description obexd
|
|
|
|
Object Exchange daemon for sharing files, contacts etc over bluetooth
|
|
|
|
Object Exchange daemon for sharing files, contacts etc over bluetooth
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
%autosetup -S git
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
autoreconf -vif
|
|
|
|
libtoolize -f
|
|
|
|
%configure --enable-tools --enable-library --disable-optimization \
|
|
|
|
autoreconf -f -i
|
|
|
|
--enable-deprecated \
|
|
|
|
%configure --enable-tools --enable-library --enable-deprecated \
|
|
|
|
--enable-sixaxis --enable-cups --enable-nfc --enable-mesh \
|
|
|
|
--enable-sixaxis --enable-cups --enable-nfc --enable-hid2hci \
|
|
|
|
--enable-hid2hci --enable-testing \
|
|
|
|
|
|
|
|
--with-systemdsystemunitdir=%{_unitdir} \
|
|
|
|
--with-systemdsystemunitdir=%{_unitdir} \
|
|
|
|
--with-systemduserunitdir=%{_userunitdir}
|
|
|
|
--with-systemduserunitdir=%{_userunitdir}
|
|
|
|
|
|
|
|
|
|
|
|
%{make_build}
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with deprecated}
|
|
|
|
|
|
|
|
# "make install" fails to install gatttool, necessary for Bluetooth Low Energy
|
|
|
|
# "make install" fails to install gatttool, necessary for Bluetooth Low Energy
|
|
|
|
# Red Hat Bugzilla bug #1141909, Debian bug #720486
|
|
|
|
# Red Hat Bugzilla bug #1141909
|
|
|
|
|
|
|
|
# Debian bug #720486
|
|
|
|
install -m0755 attrib/gatttool $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
install -m0755 attrib/gatttool $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
%else
|
|
|
|
|
|
|
|
for i in ciptool gatttool hciattach hciconfig hcidump hcitool rfcomm sdptool ; do \
|
|
|
|
# Remove autocrap and libtool droppings
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/$i $RPM_BUILD_ROOT%{_mandir}/man1/$i*.1* ; \
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# "make install" fails to install avinfo
|
|
|
|
|
|
|
|
# Red Hat Bugzilla bug #1699680
|
|
|
|
|
|
|
|
install -m0755 tools/avinfo $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# btmgmt is not installed by "make install", but it is useful for debugging
|
|
|
|
|
|
|
|
# some issues and to set the MAC address on HCIs which don't have their
|
|
|
|
|
|
|
|
# MAC address configured
|
|
|
|
|
|
|
|
install -m0755 tools/btmgmt $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Remove libtool archive
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
|
|
|
|
|
|
|
|
|
# Remove the cups backend from libdir, and install it in /usr/lib whatever the install
|
|
|
|
# Remove the cups backend from libdir, and install it in /usr/lib whatever the install
|
|
|
@ -188,20 +179,20 @@ rm -f ${RPM_BUILD_ROOT}/%{_sysconfdir}/udev/*.rules ${RPM_BUILD_ROOT}/usr/lib/ud
|
|
|
|
install -D -p -m0644 tools/hid2hci.rules ${RPM_BUILD_ROOT}/%{_udevrulesdir}/97-hid2hci.rules
|
|
|
|
install -D -p -m0644 tools/hid2hci.rules ${RPM_BUILD_ROOT}/%{_udevrulesdir}/97-hid2hci.rules
|
|
|
|
|
|
|
|
|
|
|
|
install -d -m0755 $RPM_BUILD_ROOT/%{_localstatedir}/lib/bluetooth
|
|
|
|
install -d -m0755 $RPM_BUILD_ROOT/%{_localstatedir}/lib/bluetooth
|
|
|
|
install -d -m0755 $RPM_BUILD_ROOT/%{_localstatedir}/lib/bluetooth/mesh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/bluetooth/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/bluetooth/
|
|
|
|
|
|
|
|
|
|
|
|
#copy bluetooth config file and setup auto enable
|
|
|
|
#copy bluetooth config file and setup auto enable
|
|
|
|
install -D -p -m0644 src/main.conf ${RPM_BUILD_ROOT}/etc/bluetooth/main.conf
|
|
|
|
install -D -p -m0644 src/main.conf ${RPM_BUILD_ROOT}/etc/bluetooth/main.conf
|
|
|
|
install -D -p -m0644 mesh/mesh-main.conf ${RPM_BUILD_ROOT}/etc/bluetooth/mesh-main.conf
|
|
|
|
|
|
|
|
sed -i 's/#\[Policy\]$/\[Policy\]/; s/#AutoEnable=false/AutoEnable=true/' ${RPM_BUILD_ROOT}/%{_sysconfdir}/bluetooth/main.conf
|
|
|
|
sed -i 's/#\[Policy\]$/\[Policy\]/; s/#AutoEnable=false/AutoEnable=true/' ${RPM_BUILD_ROOT}/%{_sysconfdir}/bluetooth/main.conf
|
|
|
|
|
|
|
|
|
|
|
|
# Install the HCI emulator, useful for testing
|
|
|
|
#serial port connected Broadcom HCIs scripts
|
|
|
|
install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
|
|
|
|
install -D -p -m0644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_udevrulesdir}/
|
|
|
|
|
|
|
|
install -D -p -m0644 %{SOURCE3} ${RPM_BUILD_ROOT}/%{_unitdir}/
|
|
|
|
|
|
|
|
install -D -p -m0755 %{SOURCE4} ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
|
|
|
|
|
|
|
|
|
|
|
|
#check
|
|
|
|
%check
|
|
|
|
#make check
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
|
|
|
|
|
|
@ -217,12 +208,6 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
|
|
|
|
%post hid2hci
|
|
|
|
%post hid2hci
|
|
|
|
/sbin/udevadm trigger --subsystem-match=usb
|
|
|
|
/sbin/udevadm trigger --subsystem-match=usb
|
|
|
|
|
|
|
|
|
|
|
|
%post mesh
|
|
|
|
|
|
|
|
%systemd_user_post bluetooth-mesh.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%preun mesh
|
|
|
|
|
|
|
|
%systemd_user_preun bluetooth-mesh.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post obexd
|
|
|
|
%post obexd
|
|
|
|
%systemd_user_post obex.service
|
|
|
|
%systemd_user_post obex.service
|
|
|
|
|
|
|
|
|
|
|
@ -230,53 +215,50 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
|
|
|
|
%systemd_user_preun obex.service
|
|
|
|
%systemd_user_preun obex.service
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog
|
|
|
|
%doc AUTHORS ChangeLog
|
|
|
|
%dir %{_sysconfdir}/bluetooth
|
|
|
|
%config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
|
|
|
|
%config %{_sysconfdir}/bluetooth/main.conf
|
|
|
|
%config %{_sysconfdir}/bluetooth/main.conf
|
|
|
|
%{_bindir}/avinfo
|
|
|
|
|
|
|
|
%{_bindir}/bluemoon
|
|
|
|
|
|
|
|
%{_bindir}/bluetoothctl
|
|
|
|
|
|
|
|
%{_bindir}/btattach
|
|
|
|
%{_bindir}/btattach
|
|
|
|
%{_bindir}/btmgmt
|
|
|
|
%{_bindir}/ciptool
|
|
|
|
|
|
|
|
%{_bindir}/hcitool
|
|
|
|
|
|
|
|
%{_bindir}/l2ping
|
|
|
|
|
|
|
|
%{_bindir}/rfcomm
|
|
|
|
|
|
|
|
%{_bindir}/sdptool
|
|
|
|
|
|
|
|
%{_bindir}/bluetoothctl
|
|
|
|
|
|
|
|
%{_bindir}/bluemoon
|
|
|
|
%{_bindir}/btmon
|
|
|
|
%{_bindir}/btmon
|
|
|
|
|
|
|
|
%{_bindir}/hciattach
|
|
|
|
|
|
|
|
%{_bindir}/hciconfig
|
|
|
|
|
|
|
|
%{_bindir}/hcidump
|
|
|
|
|
|
|
|
%{_bindir}/l2test
|
|
|
|
%{_bindir}/hex2hcd
|
|
|
|
%{_bindir}/hex2hcd
|
|
|
|
%{_bindir}/l2ping
|
|
|
|
|
|
|
|
%{_bindir}/mpris-proxy
|
|
|
|
%{_bindir}/mpris-proxy
|
|
|
|
%{_mandir}/man1/bluetoothctl.1.*
|
|
|
|
%{_bindir}/gatttool
|
|
|
|
%{_mandir}/man1/bluetoothctl-*.1.*
|
|
|
|
%{_bindir}/rctest
|
|
|
|
%{_mandir}/man1/btattach.1.*
|
|
|
|
%{_datadir}/zsh/site-functions/_bluetoothctl
|
|
|
|
%{_mandir}/man1/btmgmt.1.*
|
|
|
|
%{_mandir}/man1/btattach.1.gz
|
|
|
|
%{_mandir}/man1/btmon.1.*
|
|
|
|
%{_mandir}/man1/btmon.1.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/ciptool.1.gz
|
|
|
|
|
|
|
|
%{_mandir}/man1/hcitool.1.gz
|
|
|
|
|
|
|
|
%{_mandir}/man1/rfcomm.1.gz
|
|
|
|
|
|
|
|
%{_mandir}/man1/sdptool.1.gz
|
|
|
|
|
|
|
|
%{_mandir}/man1/hciattach.1.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/hciconfig.1.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/hcidump.1.*
|
|
|
|
%{_mandir}/man1/l2ping.1.*
|
|
|
|
%{_mandir}/man1/l2ping.1.*
|
|
|
|
%{_mandir}/man8/bluetoothd.8.*
|
|
|
|
%{_mandir}/man1/rctest.1.*
|
|
|
|
%dir %{_libexecdir}/bluetooth
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
%{_libexecdir}/bluetooth/bluetoothd
|
|
|
|
%{_libexecdir}/bluetooth/bluetoothd
|
|
|
|
|
|
|
|
%{_libexecdir}/bluetooth/btattach-bcm-service.sh
|
|
|
|
%{_libdir}/bluetooth/
|
|
|
|
%{_libdir}/bluetooth/
|
|
|
|
%{_localstatedir}/lib/bluetooth
|
|
|
|
%{_localstatedir}/lib/bluetooth
|
|
|
|
%{_datadir}/dbus-1/system-services/org.bluez.service
|
|
|
|
%{_datadir}/dbus-1/system-services/org.bluez.service
|
|
|
|
%{_datadir}/dbus-1/system.d/bluetooth.conf
|
|
|
|
|
|
|
|
%{_unitdir}/bluetooth.service
|
|
|
|
%{_unitdir}/bluetooth.service
|
|
|
|
%{_datadir}/zsh/site-functions/_bluetoothctl
|
|
|
|
%{_unitdir}/btattach-bcm@.service
|
|
|
|
|
|
|
|
%{_udevrulesdir}/69-btattach-bcm.rules
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with deprecated}
|
|
|
|
|
|
|
|
%files deprecated
|
|
|
|
|
|
|
|
%{_bindir}/ciptool
|
|
|
|
|
|
|
|
%{_bindir}/gatttool
|
|
|
|
|
|
|
|
%{_bindir}/hciattach
|
|
|
|
|
|
|
|
%{_bindir}/hciconfig
|
|
|
|
|
|
|
|
%{_bindir}/hcidump
|
|
|
|
|
|
|
|
%{_bindir}/hcitool
|
|
|
|
|
|
|
|
%{_bindir}/rfcomm
|
|
|
|
|
|
|
|
%{_bindir}/sdptool
|
|
|
|
|
|
|
|
%{_mandir}/man1/ciptool.1.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/hciattach.1.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/hciconfig.1.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/hcidump.1.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/hcitool.1.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/rfcomm.1.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/sdptool.1.*
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
%files libs
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
@ -285,17 +267,9 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
|
|
|
|
|
|
|
|
|
|
|
|
%files libs-devel
|
|
|
|
%files libs-devel
|
|
|
|
%doc doc/*txt
|
|
|
|
%doc doc/*txt
|
|
|
|
%{_bindir}/isotest
|
|
|
|
|
|
|
|
%{_bindir}/l2test
|
|
|
|
|
|
|
|
%{_bindir}/rctest
|
|
|
|
|
|
|
|
%{_libdir}/libbluetooth.so
|
|
|
|
%{_libdir}/libbluetooth.so
|
|
|
|
%{_includedir}/bluetooth
|
|
|
|
%{_includedir}/bluetooth
|
|
|
|
%{_mandir}/man1/isotest.1.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/rctest.1.*
|
|
|
|
|
|
|
|
%{_mandir}/man5/org.bluez.*.5.*
|
|
|
|
|
|
|
|
%{_libdir}/pkgconfig/bluez.pc
|
|
|
|
%{_libdir}/pkgconfig/bluez.pc
|
|
|
|
%dir %{_libexecdir}/bluetooth
|
|
|
|
|
|
|
|
%{_libexecdir}/bluetooth/btvirt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files cups
|
|
|
|
%files cups
|
|
|
|
%_cups_serverbin/backend/bluetooth
|
|
|
|
%_cups_serverbin/backend/bluetooth
|
|
|
@ -305,143 +279,87 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
|
|
|
|
%{_mandir}/man1/hid2hci.1*
|
|
|
|
%{_mandir}/man1/hid2hci.1*
|
|
|
|
%{_udevrulesdir}/97-hid2hci.rules
|
|
|
|
%{_udevrulesdir}/97-hid2hci.rules
|
|
|
|
|
|
|
|
|
|
|
|
%files mesh
|
|
|
|
|
|
|
|
%doc tools/mesh-gatt/*.json
|
|
|
|
|
|
|
|
%config %{_sysconfdir}/bluetooth/mesh-main.conf
|
|
|
|
|
|
|
|
%{_bindir}/meshctl
|
|
|
|
|
|
|
|
%{_bindir}/mesh-cfgclient
|
|
|
|
|
|
|
|
%{_bindir}/mesh-cfgtest
|
|
|
|
|
|
|
|
%{_datadir}/dbus-1/system-services/org.bluez.mesh.service
|
|
|
|
|
|
|
|
%{_datadir}/dbus-1/system.d/bluetooth-mesh.conf
|
|
|
|
|
|
|
|
%{_libexecdir}/bluetooth/bluetooth-meshd
|
|
|
|
|
|
|
|
%{_unitdir}/bluetooth-mesh.service
|
|
|
|
|
|
|
|
%{_localstatedir}/lib/bluetooth/mesh
|
|
|
|
|
|
|
|
%{_mandir}/man8/bluetooth-meshd.8*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files obexd
|
|
|
|
%files obexd
|
|
|
|
%{_libexecdir}/bluetooth/obexd
|
|
|
|
%{_libexecdir}/bluetooth/obexd
|
|
|
|
%{_datadir}/dbus-1/services/org.bluez.obex.service
|
|
|
|
%{_datadir}/dbus-1/services/org.bluez.obex.service
|
|
|
|
%{_userunitdir}/obex.service
|
|
|
|
%{_userunitdir}/obex.service
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Jul 15 2024 David Marlin <dmarlin@redhat.com> - 5.72-2
|
|
|
|
* Thu Jun 06 2024 David Marlin <dmarlin@redhat.com> - 5.63-3
|
|
|
|
- Bump release to rebuild for RHEL-9.5
|
|
|
|
+ bluez-5.63-3
|
|
|
|
|
|
|
|
- Add back the tests for OSCI.
|
|
|
|
* Thu Feb 15 2024 Bastien Nocera <bnocera@redhat.com> - 5.72-1
|
|
|
|
|
|
|
|
- Update to 5.72
|
|
|
|
* Wed May 29 2024 David Marlin <dmarlin@redhat.com> - 5.63-2
|
|
|
|
|
|
|
|
+ bluez-5.63-2
|
|
|
|
* Thu Jun 9 2022 Gopal Tiwari <gtiwari@redhat.com> - 5.64-2
|
|
|
|
- Change default of ClassicBondedOnly to true to align with HID specification.
|
|
|
|
- Coverity fixes for bluez.
|
|
|
|
- Resolves: RHEL-18429
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 5 2022 Gopal Tiwari <gtiwari@redhat.com> - 5.64-1
|
|
|
|
|
|
|
|
- Update to 5.64
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 16 2021 Gopal Tiwari <gtiwari@redhat.com> - 5.56-8
|
|
|
|
|
|
|
|
- Fixing Gating and version
|
|
|
|
|
|
|
|
Related: rhbz#2027435
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Dec 14 2021 Gopal Tiwari <gtiwari@redhat.com> - 5.56-7
|
|
|
|
|
|
|
|
- Fixing CVE-2021-41229
|
|
|
|
- Fixing CVE-2021-41229
|
|
|
|
Related: rhbz#2027435
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.56-6
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 5.56-5
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Mar 14 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 5.56-4
|
|
|
|
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 5.63-1
|
|
|
|
- Fix for avdtp audio disconnexts
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Mar 14 2021 Hans de Goede <hdegoede@redhat.com> - 5.56-3
|
|
|
|
* Tue May 17 2022 Gopal Tiwari <gtiwari@redhat.com> - 5.63-1
|
|
|
|
- Drop obsolete udev rule + systemd service to call btattach on BT-HCIs
|
|
|
|
+ bluez-5.63-1
|
|
|
|
connected via UART from userspace, this is all handled in the kernel now
|
|
|
|
- Fixing (#)
|
|
|
|
- Add the btmgmt util to the packaged files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.56-2
|
|
|
|
* Mon Dec 13 2021 Gopal Tiwari <gtiwari@redhat.com> - 5.56-3
|
|
|
|
- Rebuilt for updated systemd-rpm-macros
|
|
|
|
+ bluez-5.56-3
|
|
|
|
See https://pagure.io/fesco/issue/2583.
|
|
|
|
- Fixing (#2027434)
|
|
|
|
|
|
|
|
- Fixing CVE-2021-41229
|
|
|
|
* Sat Feb 27 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 5.56-1
|
|
|
|
|
|
|
|
- Update to 5.56
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.55-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Sep 13 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 5.55-2
|
|
|
|
|
|
|
|
- Split tools marked as deprecated to separate sub package (rhbz #1887569)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Sep 06 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 5.55-1
|
|
|
|
|
|
|
|
- Update to 5.55
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.54-4
|
|
|
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.54-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 5.54-2
|
|
|
|
|
|
|
|
- Rebuild (json-c)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Mar 15 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 5.54-1
|
|
|
|
|
|
|
|
- bluez 5.54
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 16 2020 Peter Robinson <pbrobinson@fedoraproject.org> 5.53-2
|
|
|
|
|
|
|
|
- Minor mesh updates
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 16 2020 Peter Robinson <pbrobinson@fedoraproject.org> 5.53-1
|
|
|
|
|
|
|
|
- bluez 5.53
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.52-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 12 2019 Peter Robinson <pbrobinson@fedoraproject.org> 5.52-3
|
|
|
|
|
|
|
|
- Minor bluetooth mesh improvements
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 02 2019 Lubomir Rintel <lkundrak@v3.sk> - 5.52-2
|
|
|
|
|
|
|
|
- Package the btvirt binary
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Nov 3 2019 Peter Robinson <pbrobinson@fedoraproject.org> 5.52-1
|
|
|
|
* Mon Jun 7 2021 Gopal Tiwari <gtiwari@redhat.com> - 5.56-2
|
|
|
|
- bluez 5.52
|
|
|
|
+ bluez-5.56-2
|
|
|
|
|
|
|
|
- Fixing (#1968392)
|
|
|
|
|
|
|
|
- Removing bccmd check from tests
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 20 2019 Peter Robinson <pbrobinson@fedoraproject.org> 5.51-1
|
|
|
|
* Wed Jun 2 2021 Gopal Tiwari <gtiwari@redhat.com> - 5.56-1
|
|
|
|
- bluez 5.51
|
|
|
|
+ bluez-5.56-1
|
|
|
|
|
|
|
|
- Fixing (#1965057)
|
|
|
|
|
|
|
|
- Removing bccmd, enabling hid2hci as upstream removed the support in bluez-5.56
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.50-9
|
|
|
|
* Wed May 26 2021 Gopal Tiwari <gtiwari@redhat.com> - 5.52-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
+ bluez-5.52-5
|
|
|
|
|
|
|
|
- Fixing (#1961511)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 06 2019 Bastien Nocera <bnocera@redhat.com> - 5.50-8
|
|
|
|
* Thu Oct 22 2020 Gopal Tiwari <gtiwari@redhat.com> - 5.52-4
|
|
|
|
+ bluez-5.50-8
|
|
|
|
+ bluez-5.52-4
|
|
|
|
- Backport loads of fixes from upstream, including:
|
|
|
|
- Fixing (#1885378)
|
|
|
|
- dbus-broker support (#1711594)
|
|
|
|
|
|
|
|
- a2dp codecs discovery
|
|
|
|
|
|
|
|
- discoverability filter support (used in gnome-bluetooth, #1583442)
|
|
|
|
|
|
|
|
- sixaxis pairing fixes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 16 2019 Eduardo Minguez <edu@linux.com> - 5.50-7
|
|
|
|
* Thu Oct 22 2020 Gopal Tiwari <gtiwari@redhat.com> - 5.52-3
|
|
|
|
- Added avinfo
|
|
|
|
+ bluez-5.52-3
|
|
|
|
|
|
|
|
- Revering the 5.52-2 patch due some mismatch with upsream patch.
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.50-6
|
|
|
|
* Tue Oct 20 2020 Gopal Tiwari <gtiwari@redhat.com> - 5.52-2
|
|
|
|
- Disable tests temporarily
|
|
|
|
+ bluez-5.52-2
|
|
|
|
|
|
|
|
- Fixing (#1885378)
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.50-5
|
|
|
|
* Tue Jun 9 2020 Gopal Tiwari <gtiwari@redhat.com> - 5.52-1
|
|
|
|
- Rebuild for readline 8.0
|
|
|
|
+ bluez-5.52-1
|
|
|
|
|
|
|
|
- Fixing (#1830397)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.50-4
|
|
|
|
* Fri Apr 24 2020 Gopal Tiwari <gtiwari@redhat.com> - 5.50-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
+ bluez-5.50-4
|
|
|
|
|
|
|
|
- Fixing CVE-2020-0556
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.50-3
|
|
|
|
* Mon Jan 13 2020 Gopal Tiwari <gtiwari@redhat.com> - 5.50-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
+ bluez-5.50-3
|
|
|
|
|
|
|
|
- Bump the version
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 27 2018 Bastien Nocera <bnocera@redhat.com> - 5.50-2
|
|
|
|
* Mon Jan 13 2020 Gopal Tiwari <gtiwari@redhat.com> - 5.50-2
|
|
|
|
+ bluez-5.50-2
|
|
|
|
+ bluez-5.50-2
|
|
|
|
- Fix A2DP disconnections with some headsets
|
|
|
|
- Fixing CVE-2018-10910 (#1606373)
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 04 2018 Bastien Nocera <bnocera@redhat.com> - 5.50-1
|
|
|
|
* Fri Sep 7 2018 Gopal Tiwari <gtiwari@redhat.com> - 5.50-1
|
|
|
|
+ bluez-5.50-1
|
|
|
|
+ bluez-5.50-1
|
|
|
|
- Update to 5.50
|
|
|
|
- Update to 5.50 (#1504689)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 24 2018 Gopal Tiwari <gtiwari@redhat.com> - 5.49-6
|
|
|
|
|
|
|
|
+ bluez-5.49-6
|
|
|
|
|
|
|
|
- Disabling Mesh Networking for crypto issue while code reviewing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 14 2018 Gopal Tiwari <gtiwari@redhat.com> - 5.49-5
|
|
|
|
|
|
|
|
+ bluez-5.49-5
|
|
|
|
|
|
|
|
- Fix accessing NULL adv_manager (#1602779)
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 20 2018 Bastien Nocera <bnocera@redhat.com> - 5.49-3
|
|
|
|
* Fri Apr 20 2018 Bastien Nocera <bnocera@redhat.com> - 5.49-3
|
|
|
|
+ bluez-5.49-3
|
|
|
|
+ bluez-5.49-3
|
|
|
|