Commit graph

116 commits

Author SHA1 Message Date
aktaboot 77c75090b6 bluez: remove sap feature from build
Remove the SAP plugin/feature from bluez as it pollutes bluetooth logs with errors :

```
bluetoothd[16277]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
bluetoothd[16277]: sap-server: Operation not permitted (1)
```

SAP= SIM Access Profile, this feature has been removed from mainline and only a dummy implementation remains : https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/profiles/sap?id=3a140aa35b7b7dc1d7b031eec40590187f70a980

More context
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803265#45
2023-07-01 21:35:32 +02:00
Francesco Gazzetta c956f85fbd
Merge pull request #204653 from ymatsiuk/ymatsiuk/bluetooth
nixos/bluetooth: add input and network service configs
2023-01-12 08:24:01 +00:00
Yureka 1f4ef31889 pkgsMusl.bluez: fix build 2022-12-16 10:00:22 +01:00
Yurii Matsiuk 1d61d168a6
nixos/bluetooth: add input and network service configs 2022-12-06 17:49:53 +01:00
R. Ryantm 2ee326500f bluez: 5.65 -> 5.66 2022-11-14 08:46:29 +00:00
Yurii Matsiuk cc36900024
bluez: remove unused fetchpatch import 2022-08-19 08:25:23 +02:00
Yurii Matsiuk bf44c7ec3e
bluez: 5.64 -> 5.65 2022-08-17 17:54:55 +02:00
bootstrap-prime 3b9048a3ce
bluez: use systemdMinimal to avoid dep cycle
also make test output unconditional
2022-07-23 20:37:14 -04:00
Artturi 4d056e06b2
Merge pull request #169925 from fgaz/bluez/gatttool
bluez: install gatttool too
2022-05-04 12:47:40 +03:00
Francesco Gazzetta 44370b355e bluez: install gatttool too 2022-04-27 16:29:55 +02:00
Shahar Dawn Or e4c5ff6156 bluez: add upstream patch for /var/lib/bluetooth 2022-04-25 10:52:08 +07:00
R. Ryantm 6dbebf08c8 bluez: 5.63 -> 5.64 2022-03-26 13:28:40 +01:00
Artturin 33cce15e42 treewide: remove meta.repositories
there's no documentation for meta.repositories and its not widely used
2022-03-24 23:56:14 +02:00
Stig Palmquist d0a84bf142 bluez: 5.62 -> 5.63 2022-02-07 16:34:37 +01:00
Florian Franzen 8d0d78efd9 bluez5: add experimental variant 2021-11-26 12:49:55 +01:00
Thomas Gerbet 6abc7cd907 bluez: 5.61 -> 5.62
Fixes CVE-2021-43400.

http://www.bluez.org/release-of-bluez-5-62/
https://github.com/bluez/bluez/blob/5.62/ChangeLog
2021-11-16 11:34:55 +01:00
Maxine Aubrey c93de5d1d5
bluez: 5.60 -> 5.61
- http://www.bluez.org/release-of-bluez-5-61/
- https://github.com/bluez/bluez/blob/5.61/ChangeLog
2021-08-30 20:21:55 +02:00
tekeri f1bb34f380 bluez: build missing bluetooth utilities 2021-08-17 04:12:32 +09:00
Vladimír Čunát 3ea417e47f
Merge branch staging into staging-next
The staging version is a bit older already, used in pre-test:
https://hydra.nixos.org/eval/1685435
2021-07-16 09:59:01 +02:00
Maxine Aubrey 66618844e3
bluez: 5.59 -> 5.60 2021-07-10 22:21:26 +02:00
Sandro e1f193aeaf
Merge pull request #123011 from knedlsepp/bluez-kernel-dependent-test
bluez: Disable kernel-dependent test test-mesh-crypto
2021-07-07 22:56:10 +02:00
Maxine Aubrey fc4436dc43 bluez: drop --enable-wiimote
ff983074f8
2021-06-18 18:50:03 +02:00
Maxine Aubrey 48011a6850 bluez: switch to external ell 2021-06-18 18:49:57 +02:00
Martin Weinelt 96aefebb02
bluez: 5.58 -> 5.59 2021-06-17 06:38:07 +02:00
AndersonTorres e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Josef Kemetmüller 05c517698d bluez: Disable kernel dependent test-mesh-crypto
I'm having trouble building bluez on a CentOS 7.9 builder.
Turns out that the test-mesh-crypto test depends on the following Linux
kernel configuration items:
CONFIG_CRYPTO_[USER|USER_API|USER_API_AEAD|USER_API_HASH|AES|CCM|AEAD|CMAC]
and will fail if run wih an incompatible kernel with the following error
message:

    ...
    IVindex              = 12345678
    NetworkNonce         = 00800000011201000012345678
                           00800000011201000012345678 => PASS
    PrivacyRandom        = 000000000012345678b5e5bfdacbaf6c
                           000000000012345678fffd034b50057e => FAIL
    FAIL unit/test-mesh-crypto (exit status: 1)

I found the same bug reported on Gentoo https://bugs.gentoo.org/704190.
Their fix is to only run the test if the kernel options are available,
which we don't want to do for build reproducibility.
Instead we just want to skip the test unconditionally. As it's simpler
to completely override the test instead of patching the build system, we
opt for doing just that.
2021-05-15 08:21:30 +02:00
William Kral 3e0b9f52d2 bluez: 5.56 -> 5.58
Remove applying patch incorporated into this release
2021-04-07 15:13:19 -07:00
Yurii Matsiuk d44440cec7
bluez: add disconnects hotfix (#117680)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Yurii Matsiuk <ymatsiuk@users.noreply.github.com>
Co-authored-by: WORLDofPEACE <worldofpeace@protonmail.ch>
2021-03-27 01:09:55 +01:00
R. RyanTM 25d851f93b bluez: 5.55 -> 5.56 2021-02-23 14:33:58 +00:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
R. RyanTM ef13bb7089 bluez: 5.54 -> 5.55 2020-10-22 14:31:26 +00:00
Matthew Bauer e520d6af29
Merge pull request #84415 from matthewbauer/mb-cross-fixes-april2020
Cross compilation fixes [april 2020]
2020-04-13 16:48:38 -04:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matthew Bauer 0bbdba2d11 bluez: don’t build python packages when tests are disabled
Can’t run these on cross anyway
2020-04-06 16:36:28 -04:00
R. RyanTM 8c514e9e7b bluez: 5.53 -> 5.54 2020-03-18 22:04:03 -07:00
Benjamin Hipple 0030d391d2 bluez: 5.52 -> 5.53 2020-02-18 19:28:03 -08:00
worldofpeace b5a3336f57 bluez: enable checkPhase on x86_64-linux 2019-12-10 20:22:35 -05:00
André-Patrick Bubel 83655d6993
bluez: 5.51 -> 5.52, aliased bluezFull to bluez 2019-12-08 20:53:49 +01:00
Bastian Köcher 19f42620ef
bluez: 5.50 -> 5.51
Also add new configuration flag options and enable them for the bluezFull package by default.
2019-12-08 20:47:44 +01:00
worldofpeace 5548dd31f0 bluez: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-09-16 13:59:08 -04:00
Marek Mahut ad2aa38006 bluez: CVE-2018-10910 2019-06-18 11:15:26 +02:00
(cdep)illabout aba51b8ae4
bluez: Add support for the sixaxis controller
This should add support for the Playstation Dualshock 3 and DualShock 4
controllers.
2018-12-12 10:38:18 +09:00
rnhmjoj 413d7f4425 bluez: use python3 2018-08-05 23:46:42 +02:00
R. RyanTM 4b391934e9 bluez: 5.49 -> 5.50 (#41583)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/bluez/versions.

These checks were done:

- built on NixOS
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bluetoothctl passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btmon passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/rctest had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/l2test had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/l2ping had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bccmd passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bluemoon passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hex2hcd passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/mpris-proxy passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btattach passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bdaddr passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/avinfo had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/avtest passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/scotest had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/amptest had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hwdb passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hcieventmask had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hcisecfilter passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btinfo passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btconfig passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btsnoop passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btproxy passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btiotest passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bneptest passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/mcaptest passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/cltest had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/oobtest passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/advtest passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/seq2bseq passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/nokfw passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/rtlfw passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/create-image passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/eddystone passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/ibeacon passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btgatt-client passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btgatt-server passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/test-runner passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/check-selftest had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/gatt-service had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btmgmt passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/obex-client-tool passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/obex-server-tool passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bluetooth-player passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/obexctl passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hid2hci had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bluetoothd passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/obexd passed the binary check.
- 36 of 47 passed binary check by having a zero exit code.
- 19 of 47 passed binary check by having the new version present in output.
- found 5.50 with grep in /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50
- directory tree listing: https://gist.github.com/d81fb1f39a7430f91d1e576b1eb599e7
- du listing: https://gist.github.com/7555f6b1dcd34da7c9731a6de05e553b
2018-06-06 22:31:40 +02:00
Peter Hoeg 10c9ec68ac
Merge pull request #39813 from peterhoeg/f/bluez
bluez: add tools to output that we were building anyway
2018-05-11 07:15:41 +08:00
Matthew Bauer 143978a477 treewide: remove platform assertions
linux: readd assertion
2018-05-03 13:09:20 -05:00
Peter Hoeg 4c66aa8938 bluez: add tools to output that we were building anyway 2018-05-02 07:35:49 +08:00
Matthew Justin Bauer 8691bb57d3
Merge pull request #36406 from alesguzik/bluez-midi
Bluetooth MIDI support
2018-04-17 10:54:23 -05:00
Michael Raskin 267b90a40a
Merge pull request #26665 from armijnhemel/bluez5_28_removal
bluez5_28: remove expression for bluez5_28, as it is no longer needed
2018-04-13 22:35:09 +00:00