Compare commits

...

52 commits

Author SHA1 Message Date
Your Name
2d658cbdf1 5.82
All checks were successful
Run CI/CD... / main (push) Successful in 18m47s
2025-04-18 10:07:46 +00:00
Your Name
4e2754ebb6 5.82
All checks were successful
Run CI/CD... / main (push) Successful in 19m3s
2025-04-17 21:19:04 +00:00
Your Name
d2d1c5f840 5.82
All checks were successful
Run CI/CD... / main (push) Successful in 16m56s
2025-04-03 09:52:49 +00:00
Your Name
4fae74a909 5.82
Some checks failed
Run CI/CD... / main (push) Failing after 12m40s
2025-04-02 19:32:53 +00:00
Your Name
09bbf7fd68 5.80
All checks were successful
Run CI/CD... / main (push) Successful in 21m14s
2025-03-18 10:13:10 +00:00
Your Name
ff8f40750b 5.80
Some checks failed
Run CI/CD... / main (push) Failing after 11m36s
2025-03-17 21:21:26 +00:00
Your Name
08350e97d0 5.79
All checks were successful
Run CI/CD... / main (push) Successful in 18m40s
2025-02-28 15:24:09 +00:00
Your Name
0f643f74b4 5.79
Some checks failed
Run CI/CD... / main (push) Failing after 5m7s
2025-02-28 13:14:29 +00:00
Your Name
ba28578ef9 5.79
Some checks failed
Run CI/CD... / main (push) Failing after 7m47s
2025-02-28 12:16:21 +00:00
Your Name
c4c2319a90 5.73
Some checks failed
Run CI/CD... / main (push) Failing after 23s
2025-02-26 14:28:17 +00:00
Your Name
a8224fd3ff 5.73
Some checks are pending
Run CI/CD... / main (push) Waiting to run
2025-02-25 21:02:44 +00:00
Your Name
d9463bcb0d 5.73
Some checks are pending
Run CI/CD... / main (push) Waiting to run
2025-02-25 13:52:07 +00:00
Your Name
73f8353e9b 5.73
Some checks failed
Run CI/CD... / main (push) Failing after 7m52s
2025-02-19 23:35:30 +00:00
Your Name
468d2f5e15 Add .gitignore and .gitea/workflows/ci.yml
Some checks failed
Run CI/CD... / main (push) Has been cancelled
2025-01-31 18:42:18 +00:00
067946787e Добавление .gitignore и .gitea/workflows/ci.yml 2025-01-07 03:37:21 +03:00
7199201821 5.73 2024-04-10 19:48:56 +00:00
3658d68ac0 5.66 2022-11-16 01:44:09 +03:00
fbca725e87 5.66 2022-11-16 01:13:21 +03:00
8c3f9e0228 5.65 2022-10-25 11:32:48 +03:00
4812fc6291 add MESH package, off bccmd 2021-03-13 15:18:34 +03:00
acf71f16ca Update to 5.56 2021-03-13 13:15:55 +03:00
79e86a6386 Merge pull request #1 from import/bluez:rosa2016.1
Backports and update
2021-03-13 09:38:23 +00:00
Mikhail Novosyolov
286c2134e1 use native systemd macros, rm odd dep from rpm-helper 2020-11-25 16:23:05 +03:00
Victor Ryzhikh
72ccdc4db0 Updated to 5.55 2020-10-10 15:33:20 +00:00
VictorR2007
cdd88c8a95 Updated to 5.55 2020-10-10 18:18:33 +03:00
Victor Ryzhikh
a02f52286e Unnecessary option removed 2020-03-17 00:50:16 +00:00
Александр
8b15cc42d6 fix tab warning, remove unused configure options (see build log) 2020-03-17 00:04:35 +00:00
VictorR2007
8410de36b2 Updated to 5.54 2020-03-16 22:03:21 +03:00
VictorR2007
d8ea31026d Updated to 5.54 2020-03-16 22:02:18 +03:00
VictorR2007
f71eb6c143 Revert version 5.48 2020-03-12 00:34:24 +03:00
Victor Ryzhikh
a6d8506e4e Revert version 5.48 2020-03-11 00:08:13 +00:00
Victor Ryzhikh
eadf39eecd Revert version 5.48 2020-03-11 00:07:14 +00:00
VictorR2007
27344b9b27 Revert version 5.48 2020-03-09 19:42:16 +03:00
VictorR2007
38b2ef5313 Revert version 5.48 2020-03-09 19:31:50 +03:00
VictorR2007
072e1d4b71 Revert version 5.48 2020-03-09 19:10:05 +03:00
VictorR2007
064dfd341b Revert version 5.48 2020-03-09 19:07:21 +03:00
VictorR2007
f4743be385 Revert version 5.48 2020-03-09 18:55:22 +03:00
VictorR2007
b4310521e2 Revert version 5.48 2020-03-09 18:50:11 +03:00
VictorR2007
2d53629ce0 Revert version 5.48 2020-02-22 15:44:31 +03:00
VictorR2007
9a8454a98d Revert version 5.48 2020-02-22 15:42:38 +03:00
Andrey Bondrov
3f366dff73 Merge branch 'rosa2019.1' into rosa2016.1 2020-01-28 18:05:16 +10:00
NixTux Commit Bot
72cd49c335 bot: rpm5 -> rpm4 (8) 2020-01-13 14:30:31 +03:00
NixTux Commit Bot
42908f196e bot: rpm5 -> rpm4 (5) 2020-01-06 03:55:27 +03:00
NixTux Commit Bot
c74e63a18e bot: rpm5 -> rpm4 (4) 2020-01-06 02:37:01 +03:00
NixTux Commit Bot
14301b2b6b bot: rpm5 -> rpm4 (2) 2020-01-04 20:00:33 +03:00
NixTux Commit Bot
85dd96203e bot: rpm5 -> rpm4 (1) 2020-01-04 02:57:22 +03:00
VictorR2007
b8b0a0b3ca Updated to 5.51 2019-09-27 14:48:19 +03:00
VictorR2007
2930cd379c Updated to 5.51 2019-09-27 14:47:47 +03:00
Mikhail N
98c3f86ca6 BuildList#3035679: Increase release tag 2019-06-25 22:08:48 +00:00
Mikhail N
114c58c226 BuildList#3035680: Increase release tag 2019-06-25 22:08:06 +00:00
Andrey Bondrov
fee5a5156b MassBuild#1671: Increase release tag 2019-04-14 01:39:57 +00:00
224dbc0c76 MassBuild#1666: Increase release tag 2019-04-07 10:23:01 +00:00
9 changed files with 198 additions and 102 deletions

View file

@ -1,2 +1,2 @@
sources:
bluez-5.51.tar.xz: d958fa2fe8aa4b592e8a967f73b8379a8102339c
bluez-5.82.tar.xz: 0f864334e01bef3b621dc7671093aeffeca695a5

17
.gitea/workflows/ci.yml Normal file
View file

@ -0,0 +1,17 @@
version: '1'
name: Run CI/CD...
on: [push]
jobs:
main:
runs-on: r11_builder
steps:
- name: Jobs
uses: ${{ github.server_url }}/Djam/r11_workflows@main
with:
CI_DEPLOY: ${{ secrets.CI_DEPLOY }}
PUBLICATOR: ${{ secrets.PUBLICATOR }}
REPO_DEPLOY: ${{ secrets.REPO_DEPLOY }}

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
.*~
*~
.env

View file

@ -0,0 +1,34 @@
diff -ruN bluez-5.54_orig/Makefile.obexd bluez-5.54/Makefile.obexd
--- bluez-5.54_orig/Makefile.obexd 2019-10-31 16:12:55.000000000 +0900
+++ bluez-5.54/Makefile.obexd 2020-03-16 18:40:01.343336667 +0900
@@ -1,12 +1,12 @@
if SYSTEMD
systemduserunitdir = $(SYSTEMD_USERUNITDIR)
systemduserunit_DATA = obexd/src/obex.service
+endif
dbussessionbusdir = $(DBUS_SESSIONBUSDIR)
dbussessionbus_DATA = obexd/src/org.bluez.obex.service
-endif
-EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service
+EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service.in
if OBEX
diff -ruN bluez-5.54_orig/obexd/src/org.bluez.obex.service bluez-5.54/obexd/src/org.bluez.obex.service
--- bluez-5.54_orig/obexd/src/org.bluez.obex.service 2012-12-25 03:46:55.000000000 +1000
+++ bluez-5.54/obexd/src/org.bluez.obex.service 1970-01-01 09:00:00.000000000 +0900
@@ -1,4 +0,0 @@
-[D-BUS Service]
-Name=org.bluez.obex
-Exec=/bin/false
-SystemdService=dbus-org.bluez.obex.service
diff -ruN bluez-5.54_orig/obexd/src/org.bluez.obex.service.in bluez-5.54/obexd/src/org.bluez.obex.service.in
--- bluez-5.54_orig/obexd/src/org.bluez.obex.service.in 1970-01-01 09:00:00.000000000 +0900
+++ bluez-5.54/obexd/src/org.bluez.obex.service.in 2020-03-16 18:38:10.868126666 +0900
@@ -0,0 +1,4 @@
+[D-BUS Service]
+Name=org.bluez.obex
+Exec=@libexecdir@/obexd
+SystemdService=dbus-org.bluez.obex.service

View file

@ -1,7 +1,7 @@
From f7861d27fbcbc519f57d8496aa9486f487908821 Mon Sep 17 00:00:00 2001
From 90b72b787a6ae6b9b0bf8ece238e108e8607a433 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Sat, 9 Nov 2013 18:13:43 +0100
Subject: [PATCH 1/5] obex: Use GLib helper function to manipulate paths
Subject: [PATCH 1/2] obex: Use GLib helper function to manipulate paths
Instead of trying to do it by hand. This also makes sure that
relative paths aren't used by the agent.
@ -10,10 +10,10 @@ relative paths aren't used by the agent.
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/obexd/src/manager.c b/obexd/src/manager.c
index cec8a39..f18896e 100644
index f84384ae4..285c07c37 100644
--- a/obexd/src/manager.c
+++ b/obexd/src/manager.c
@@ -651,14 +651,14 @@ static void agent_reply(DBusPendingCall *call, void *user_data)
@@ -650,14 +650,14 @@ static void agent_reply(DBusPendingCall *call, void *user_data)
DBUS_TYPE_STRING, &name,
DBUS_TYPE_INVALID)) {
/* Splits folder and name */
@ -34,5 +34,5 @@ index cec8a39..f18896e 100644
}
--
1.8.4.2
2.14.1

View file

@ -1,34 +0,0 @@
diff -urN bluez-5.51/Makefile.obexd bluez-5.51-patched/Makefile.obexd
--- bluez-5.51/Makefile.obexd 2019-09-19 21:51:02.000000000 +0300
+++ bluez-5.51-patched/Makefile.obexd 2019-09-27 13:42:04.437366618 +0300
@@ -1,12 +1,12 @@
if SYSTEMD
systemduserunitdir = $(SYSTEMD_USERUNITDIR)
systemduserunit_DATA = obexd/src/obex.service
+endif
dbussessionbusdir = $(DBUS_SESSIONBUSDIR)
dbussessionbus_DATA = obexd/src/org.bluez.obex.service
-endif
-EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service
+EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service.in
if OBEX
diff -urN bluez-5.51/obexd/src/org.bluez.obex.service bluez-5.51-patched/obexd/src/org.bluez.obex.service
--- bluez-5.51/obexd/src/org.bluez.obex.service 2012-12-24 21:46:55.000000000 +0400
+++ bluez-5.51-patched/obexd/src/org.bluez.obex.service 1970-01-01 03:00:00.000000000 +0300
@@ -1,4 +0,0 @@
-[D-BUS Service]
-Name=org.bluez.obex
-Exec=/bin/false
-SystemdService=dbus-org.bluez.obex.service
diff -urN bluez-5.51/obexd/src/org.bluez.obex.service.in bluez-5.51-patched/obexd/src/org.bluez.obex.service.in
--- bluez-5.51/obexd/src/org.bluez.obex.service.in 1970-01-01 03:00:00.000000000 +0300
+++ bluez-5.51-patched/obexd/src/org.bluez.obex.service.in 2019-09-27 13:43:58.700696733 +0300
@@ -0,0 +1,4 @@
+[D-BUS Service]
+Name=org.bluez.obex
+Exec=@libexecdir@/obexd
+SystemdService=dbus-org.bluez.obex.service

BIN
bluez-5.66.tar.xz Normal file

Binary file not shown.

3
bluez.rpmlintrc Normal file
View file

@ -0,0 +1,3 @@
addFilter("E: non-readable")
addFilter("E: hardcoded-library-path")

View file

@ -1,14 +1,20 @@
%define major 3
%define libname %mklibname %{name} %{major}
%define devname %mklibname %{name} -d
%define with_mesh 1
%global _compress xz -0f
%global optflags %(echo %{optflags} | sed -e 's/-ffat-lto-objects//g' -e 's/-fvar-tracking-assignments//g' -e 's/-Wa,--compress-debug-sections//g')
Summary: Official Linux Bluetooth protocol stack
Name: bluez
Version: 5.51
Release: 1
Version: 5.82
Release: 2
Epoch: 2
License: GPLv2+
Group: Communications
Url: http://www.bluez.org/
URL: https://www.bluez.org
Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz
Source1: pand.conf
Source2: dund.conf
@ -21,9 +27,10 @@ Patch0: bluez-5.36-systemd-conditional.patch
## Ubuntu patches
Patch1: 0001-work-around-Logitech-diNovo-Edge-keyboard-firmware-i.patch
# Non-upstream
Patch2: bluez-5.51-allow-using-obexd-without-systemd-in-the-user-sessio.patch
Patch2: 0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
Patch3: 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
Patch4: 0004-agent-Assert-possible-infinite-loop.patch
BuildRequires: xz
BuildRequires: bison
BuildRequires: flex
BuildRequires: cups-devel
@ -32,6 +39,7 @@ BuildRequires: readline-devel
BuildRequires: sbc-devel
BuildRequires: speexdsp-devel
BuildRequires: json-c-devel
BuildRequires: python3-docutils
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(expat)
@ -42,8 +50,9 @@ BuildRequires: pkgconfig(libusb)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev) >= 186
Requires(pre): rpm-helper
Suggests: obex-data-server
BuildRequires: pkgconfig(json-c) >= 0.13
BuildRequires: llvm17
Obsoletes: bluez-alsa < 5.0
Obsoletes: bluez-gstreamer < 5.0
@ -52,7 +61,7 @@ These are the official Bluetooth communication libraries for Linux.
%files
%{_bindir}/ciptool
%{_bindir}/bccmd
#{_bindir}/bccmd
%{_bindir}/bluemoon
%{_bindir}/bluetoothctl
%{_bindir}/btattach
@ -63,49 +72,36 @@ These are the official Bluetooth communication libraries for Linux.
%{_bindir}/hcitool
%{_bindir}/hex2hcd
%{_bindir}/l2ping
%{_bindir}/meshctl
%{_bindir}/mpris-proxy
%{_bindir}/rfcomm
%{_bindir}/sdptool
%{_libexecdir}/bluetooth/bluetoothd
%{_libexecdir}/bluetooth/obexd
%{_unitdir}/bluetooth-logger.service
%{_unitdir}/bluetooth-mesh.service
%{_unitdir}/bluetooth.service
%{_unitdir}/dbus-org.bluez.service
%{_userunitdir}/obex.service
%{_mandir}/man1/bccmd.1*
%{_mandir}/man1/btattach.1*
%{_mandir}/man1/ciptool.1*
%{_mandir}/man1/hciattach.1*
%{_mandir}/man1/hciconfig.1*
%{_mandir}/man1/hcitool.1*
%{_mandir}/man1/hcidump.1*
%{_mandir}/man1/l2ping.1*
%{_mandir}/man1/rctest.1*
%{_mandir}/man1/rfcomm.1*
%{_mandir}/man1/sdptool.1*
%{_mandir}/man8/*
%config(noreplace) %{_sysconfdir}/sysconfig/*
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/*.conf
#config(noreplace) %{_sysconfdir}/dbus-1/system.d/*.conf
%config(noreplace) %{_sysconfdir}/bluetooth
%{_datadir}/dbus-1/system.d/bluetooth.conf
%{_datadir}/dbus-1/system-services/org.bluez.service
%{_datadir}/dbus-1/system-services/org.bluez.mesh.service
%{_datadir}/dbus-1/services/org.bluez.obex.service
%{_datadir}/dbus-1/system.d/obex.conf
%{_datadir}/zsh/site-functions/_bluetoothctl
%{_localstatedir}/lib/bluetooth
%dir %{_libdir}/bluetooth
%{_libdir}/bluetooth/btmon-logger
%{_libdir}/bluetooth/bluetooth-meshd
%dir %{_libdir}/bluetooth/plugins
%{_libdir}/bluetooth/plugins/sixaxis.so
#dir %{_libdir}/bluetooth/plugins
#{_libdir}/bluetooth/plugins/sixaxis.so
%{_udevrulesdir}/97-bluetooth.rules
%{_userunitdir}/dbus-org.bluez.obex.service
%{_userunitdir}/mpris-proxy.service
%post
%_post_service bluetooth
%systemd_post bluetooth.service
%postun
%_preun_service bluetooth
%systemd_post bluetooth.service
#----------------------------------------------------------------------------
@ -179,12 +175,33 @@ and mouse.
%files hid2hci
/lib/udev/hid2hci
%{_mandir}/man1/hid2hci.1*
/lib/udev/rules.d/97-hid2hci.rules
%{_udevrulesdir}/97-hid2hci.rules
%post hid2hci
%{_bindir}/udevadm trigger --subsystem-match=usb
#----------------------------------------------------------------------------
%if %{with_mesh}
%package mesh
Summary: Bluetooth MESH
Group: Communications
%description mesh
Bluetooth MESH
%files mesh
%{_unitdir}/bluetooth-mesh.service
%{_bindir}/mesh-cfgclient
%{_bindir}/meshctl
%{_bindir}/mesh-cfgtest
%{_libdir}/bluetooth/bluetooth-meshd
%{_datadir}/dbus-1/system-services/org.bluez.mesh.service
%{_datadir}/dbus-1/system.d/bluetooth-mesh.conf
%endif
#----------------------------------------------------------------------------
%package test
@ -202,6 +219,42 @@ BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
%{_bindir}/l2test
%{_bindir}/rctest
%{_bindir}/test-*
%{_bindir}/isotest
#----------------------------------------------------------------------------
%package docs
Summary: Docs Bluetooth
Group: System/Servers
%description docs
Docs Bluethooth
%files docs
#{_mandir}/man1/bccmd.1*
%{_mandir}/man1/bluetoothctl*
%{_mandir}/man1/btattach.1*
%{_mandir}/man1/ciptool.1*
%{_mandir}/man1/hciattach.1*
%{_mandir}/man1/hciconfig.1*
%{_mandir}/man1/hcitool.1*
%{_mandir}/man1/hcidump.1*
%{_mandir}/man1/l2ping.1*
%{_mandir}/man1/rctest.1*
%{_mandir}/man1/rfcomm.1*
%{_mandir}/man1/sdptool.1*
%{_mandir}/man1/btmon.1*
%{_mandir}/man1/btmgmt.1*
%{_mandir}/man5/*
%{_mandir}/man7/hci.7*
%{_mandir}/man7/l2cap.7*
%{_mandir}/man7/rfcomm.7*
%{_mandir}/man8/*
%{_mandir}/man1/hid2hci.1*
%{_mandir}/man1/isotest.1*
%{_mandir}/man7/sco.7*
#----------------------------------------------------------------------------
@ -209,51 +262,72 @@ BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
%setup -q
%patch0 -p1 -R
%patch1 -p1
%patch2 -p1
%patch3 -p1
#patch2 -p1
#patch3 -p1
%patch4 -p1
%build
export CC=/opt/llvm17/bin/clang
export CXX=/opt/llvm17/bin/clang++
libtoolize -f -c
autoreconf -fi
%build
#configure2_5x --help
#exit 1
%configure2_5x \
--prefix=/usr \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-sixaxis \
--enable-udev \
--enable-backtrace \
--enable-battery \
--enable-deprecated \
--enable-deviceinfo \
--enable-testing \
--enable-library \
--enable-usb \
--enable-threads \
--with-systemdsystemunitdir=%{_unitdir} \
--with-systemduserunitdir=%{_userunitdir} \
--with-udevdir=%{_udevrulesdir} \
--enable-hid2hci \
--enable-tools \
--enable-cups \
--enable-datafiles \
--enable-debug \
--enable-library \
--enable-monitor \
--enable-udev \
--enable-obex \
--enable-client \
--enable-systemd \
--enable-mesh \
--enable-btpclient \
--with-systemdsystemunitdir=%{_unitdir} \
--with-systemduserunitdir=%{_userunitdir} \
--with-udevdir=/lib/udev \
--enable-datafiles \
--enable-experimental \
--enable-threads \
--enable-sixaxis \
--enable-nfc \
--enable-sap \
--enable-logger \
--enable-a2dp \
--enable-health \
--enable-midi \
--enable-avrcp \
--enable-sap \
--enable-avrcp \
--enable-bap \
--enable-bass \
--enable-mcp \
--enable-ccp \
--enable-vcp \
--enable-micp \
--enable-csip \
--enable-asha \
--enable-network \
--enable-input \
--enable-health
--enable-hid \
--enable-hog \
--enable-experimental \
--enable-deprecated \
--enable-testing \
--disable-btpclient \
%if %{with_mesh}
--enable-mesh \
%else
--disable-mesh \
%endif
--enable-manpages
%make
%install
%makeinstall_std rulesdir=%{_sysconfdir}/udev/rules.d udevdir=/lib/udev
%makeinstall_std rulesdir=%{_sysconfdir}/udev/rules.d udevdir=/lib/udev
mkdir -p %{buildroot}%{_sysconfdir}/bluetooth
echo "1234" > %{buildroot}%{_sysconfdir}/bluetooth/pin
@ -269,9 +343,10 @@ cp test/test-* %{buildroot}%{_bindir}
cp test/simple-agent %{buildroot}%{_bindir}/simple-agent
rm %{buildroot}%{_sysconfdir}/udev/rules.d/*.rules
install -p -m644 tools/hid2hci.rules -D %{buildroot}/lib/udev/rules.d/97-hid2hci.rules
install -p -m644 tools/hid2hci.rules -D %{buildroot}%{_udevrulesdir}/97-hid2hci.rules
install -m644 %{SOURCE5} -D %{buildroot}%{_udevrulesdir}/97-bluetooth.rules
sed s,"/usr/bin/bluetoothd","%{_libexecdir}/bluetooth/bluetoothd",g -i %{buildroot}%{_udevrulesdir}/97-bluetooth.rules
sed s,"@libexecdir@","%{_libexecdir}/bluetooth",g -i %{buildroot}%{_datadir}/dbus-1/services/org.bluez.obex.service
#install more config files
install -m0644 profiles/network/network.conf %{buildroot}%{_sysconfdir}/bluetooth/
@ -283,5 +358,3 @@ install -d -m0755 %{buildroot}%{_localstatedir}/lib/bluetooth
ln -s bluetooth.service %{buildroot}%{_unitdir}/dbus-org.bluez.service
sed 's|#AutoEnable=false|AutoEnable=true|' -i %{buildroot}%{_sysconfdir}/bluetooth/main.conf
%changelog