[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2024-04-18 Thread Pacho Ramos
commit: 8158197a9f41969efda92cb8dea3180349fa2747
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Apr 18 17:38:57 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Apr 18 17:38:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8158197a

net-wireless/bluez: drop 5.73

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.73.ebuild | 274 ---
 1 file changed, 274 deletions(-)

diff --git a/net-wireless/bluez/bluez-5.73.ebuild 
b/net-wireless/bluez/bluez-5.73.ebuild
deleted file mode 100644
index 1bd115cef414..
--- a/net-wireless/bluez/bluez-5.73.ebuild
+++ /dev/null
@@ -1,274 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..12} )
-
-inherit autotools flag-o-matic linux-info python-single-r1 systemd udev 
multilib-minimal #readme.gentoo-r1
-
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
-HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez;
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
-
-# Since this release all remaining extra-tools need readline support, but this 
could
-# change in the future, hence, this REQUIRED_USE constraint could be dropped
-# again in the future.
-# btpclient needs mesh, bug #790587
-REQUIRED_USE="
-   btpclient? ( mesh )
-   extra-tools? ( deprecated readline )
-   test? ( ${PYTHON_REQUIRED_USE} )
-   test-programs? ( ${PYTHON_REQUIRED_USE} )
-"
-
-TEST_DEPS="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="
-   dev-python/docutils
-   virtual/pkgconfig
-   test? ( ${TEST_DEPS} )
-"
-DEPEND="
-   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
-   btpclient? ( >=dev-libs/ell-0.39 )
-   cups? ( net-print/cups:= )
-   mesh? (
-   >=dev-libs/ell-0.39
-   >=dev-libs/json-c-0.13:=
-   sys-libs/readline:0=
-   )
-   midi? ( media-libs/alsa-lib )
-   obex? ( dev-libs/libical:= )
-   readline? ( sys-libs/readline:0= )
-   systemd? ( sys-apps/systemd )
-   >=sys-apps/dbus-1.6:=
-   udev? ( >=virtual/udev-196 )
-"
-RDEPEND="${DEPEND}
-   selinux? ( sec-policy/selinux-bluetooth )
-   test-programs? ( ${TEST_DEPS} )
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
-   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
-   # https://bugs.gentoo.org/539844
-   # https://github.com/bluez/bluez/issues/268
-   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
-)
-
-pkg_setup() {
-   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
-   # to prevent bugs like:
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
-   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER
-   ~UHID ~RFKILL"
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
-   if use mesh || use test; then
-   CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_USER
-   ~CRYPTO_USER_API ~CRYPTO_USER_API_AEAD ~CRYPTO_AES ~CRYPTO_CCM 
~CRYPTO_AEAD ~CRYPTO_CMAC
-   ~CRYPTO_MD5 ~CRYPTO_SHA1 ~KEY_DH_OPERATIONS"
-   fi
-   linux-info_pkg_setup
-
-   if use test || use test-programs; then
-   python-single-r1_pkg_setup
-   fi
-
-   if ! use udev; then
-   ewarn
-   ewarn "You are installing ${PN} with USE=-udev. This means 
various bluetooth"
-   ewarn "devices and adapters from Apple, Dell, Logitech etc. 
will not work,"
-   ewarn "and hid2hci will not be available."
-   ewarn
-   fi
-}
-
-src_prepare() {
-   default
-
-   # https://github.com/bluez/bluez/issues/773
-   eapply "${FILESDIR}"/${P}-configure-cups.patch
-   eautoreconf
-
-   multilib_copy_sources
-}
-
-multilib_src_configure() {
-   # unit/test-vcp test fails with LTO (bug #925745)
-   filter-lto
-
-   local myconf=(
-   # readline is automagic when client is enabled
-   # --enable-client always needs readline, bug #504038
-   # --enable-mesh is handled in the same way
-   ac_cv_header_readline_readline_h=$(multilib_native_usex 
readline)
-   

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2024-04-18 Thread Pacho Ramos
commit: 8ee3af89b0eed0b4466641d42f4efa1730830c52
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Apr 18 17:38:18 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Apr 18 17:38:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ee3af89

net-wireless/bluez: add 5.75

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest  |   1 +
 net-wireless/bluez/bluez-5.75.ebuild | 278 +++
 2 files changed, 279 insertions(+)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 4f894bc5d6dd..39f3f06c1c22 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,2 +1,3 @@
 DIST bluez-5.72.tar.xz 2390792 BLAKE2B 
b5d1bc290c9bad5aa32de16433c34d0ac5aed7164077ef941a0bf90eddc5e22a6cf19f972bcae33061b41e3c344f7abeb65a11b6013c13fd53059ac93d83240a
 SHA512 
1c6560f60ac0654d7c25ed8ab2f0f3a3a9ca8688ee28e1c476ffc7ae38737e739d27bbb88789c86b03fc600a8a68496d90a7b395ec393dd2bbf69be62357991a
 DIST bluez-5.73.tar.xz 2408088 BLAKE2B 
69c5b8c23039108403631da86c29d62869f2311bb34eeb471779fae094bbf8738193389fb8792b779b10eaeca5b02723c86f2b98c435bbd2c23a3d317df76070
 SHA512 
20090da036d3d614706b14a757b02acf138859d8f0476aa7f68d57635dfb3632ce7d8bb3456320904d72333d1314a5fe14dcb8ece307e6d31ce6d2d516de25e8
+DIST bluez-5.75.tar.xz 2414552 BLAKE2B 
5100995421114d850c1b1bd19188f7ee193c262dd79b45788de5d9ba0f260c3c096c724b1077f7cf6e846d13fd2f0a8a7c7a5014457c2928e5acbaa73ba40853
 SHA512 
f5fdad3824ed094d944d33f3d116c045e69d593a2b4dae5e57feeb5625a13e024e2433a3178921d2f8e1bd8261794ecdfc25ff3e52672e6e8d42e85b33a735a4

diff --git a/net-wireless/bluez/bluez-5.75.ebuild 
b/net-wireless/bluez/bluez-5.75.ebuild
new file mode 100644
index ..e8cc70a7ce93
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.75.ebuild
@@ -0,0 +1,278 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit autotools flag-o-matic linux-info python-single-r1 systemd udev 
multilib-minimal #readme.gentoo-r1
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   btpclient? ( mesh )
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-196 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER
+   ~UHID ~RFKILL"
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
+   if use mesh || use test; then
+   CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_USER
+   ~CRYPTO_USER_API ~CRYPTO_USER_API_AEAD ~CRYPTO_AES ~CRYPTO_CCM 
~CRYPTO_AEAD ~CRYPTO_CMAC
+   ~CRYPTO_MD5 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/, net-wireless/bluez/

2024-04-07 Thread Pacho Ramos
commit: 417b23a120e91255efb3c5342bef6bdf1f370fba
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Apr  7 16:06:12 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Apr  7 16:06:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=417b23a1

net-wireless/bluez: Fix obex dbus file installation on non-systemd systems

Thanks-to: Andreas Fink
Closes: https://bugs.gentoo.org/928417
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.73-r1.ebuild| 278 +
 ...xd-without-systemd-in-the-user-session-r3.patch |  20 ++
 2 files changed, 298 insertions(+)

diff --git a/net-wireless/bluez/bluez-5.73-r1.ebuild 
b/net-wireless/bluez/bluez-5.73-r1.ebuild
new file mode 100644
index ..d67e578fb3ef
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.73-r1.ebuild
@@ -0,0 +1,278 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit autotools flag-o-matic linux-info python-single-r1 systemd udev 
multilib-minimal #readme.gentoo-r1
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   btpclient? ( mesh )
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-196 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER
+   ~UHID ~RFKILL"
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
+   if use mesh || use test; then
+   CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_USER
+   ~CRYPTO_USER_API ~CRYPTO_USER_API_AEAD ~CRYPTO_AES ~CRYPTO_CCM 
~CRYPTO_AEAD ~CRYPTO_CMAC
+   ~CRYPTO_MD5 ~CRYPTO_SHA1 ~KEY_DH_OPERATIONS"
+   fi
+   linux-info_pkg_setup
+
+   if use test || use test-programs; then
+   python-single-r1_pkg_setup
+   fi
+
+   if ! use udev; then
+   ewarn
+   ewarn "You are installing ${PN} with USE=-udev. This means 
various bluetooth"
+   ewarn "devices and adapters from Apple, Dell, Logitech etc. 
will not work,"
+   ewarn "and hid2hci will not be available."
+   ewarn
+   fi
+}
+
+src_prepare() {
+   default
+
+   # https://github.com/bluez/bluez/issues/773
+   eapply "${FILESDIR}"/${P}-configure-cups.patch
+
+   # https://github.com/bluez/bluez/issues/806
+   eapply 
"${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-session-r3.patch
+
+   eautoreconf
+
+   multilib_copy_sources
+}
+
+multilib_src_configure() {
+   # unit/test-vcp test fails with LTO (bug #925745)
+   filter-lto
+
+   local 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2024-03-26 Thread Sam James
commit: 270d4b60358a4177a31caa84edcb6fe1ed805bda
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 27 04:00:34 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 27 04:00:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=270d4b60

net-wireless/bluez: filter LTO (test failures)

5.73 unfortunately still fails for me with LTO (specifically the 'unit/test-vcp'
test).

Bug: https://github.com/bluez/bluez/issues/683
Bug: https://github.com/bluez/bluez/issues/726
Closes: https://bugs.gentoo.org/925745
Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.72.ebuild | 5 -
 net-wireless/bluez/bluez-5.73.ebuild | 5 -
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/net-wireless/bluez/bluez-5.72.ebuild 
b/net-wireless/bluez/bluez-5.72.ebuild
index abb0053bc2b5..06b68087328b 100644
--- a/net-wireless/bluez/bluez-5.72.ebuild
+++ b/net-wireless/bluez/bluez-5.72.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 PYTHON_COMPAT=( python3_{9..12} )
 
-inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
+inherit autotools flag-o-matic linux-info python-single-r1 systemd udev 
multilib-minimal #readme.gentoo-r1
 
 DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
 HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez;
@@ -122,6 +122,9 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+   # unit/test-vcp test fails with LTO (bug #925745)
+   filter-lto
+
local myconf=(
# readline is automagic when client is enabled
# --enable-client always needs readline, bug #504038

diff --git a/net-wireless/bluez/bluez-5.73.ebuild 
b/net-wireless/bluez/bluez-5.73.ebuild
index f71af719302f..1bd115cef414 100644
--- a/net-wireless/bluez/bluez-5.73.ebuild
+++ b/net-wireless/bluez/bluez-5.73.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 PYTHON_COMPAT=( python3_{9..12} )
 
-inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
+inherit autotools flag-o-matic linux-info python-single-r1 systemd udev 
multilib-minimal #readme.gentoo-r1
 
 DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
 HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez;
@@ -108,6 +108,9 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+   # unit/test-vcp test fails with LTO (bug #925745)
+   filter-lto
+
local myconf=(
# readline is automagic when client is enabled
# --enable-client always needs readline, bug #504038



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/, net-wireless/bluez/

2024-03-25 Thread Pacho Ramos
commit: b9883b6871c36f7b6b2f717aec8d00d8ea71549c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Mon Mar 25 18:44:48 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Mon Mar 25 18:45:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9883b68

net-wireless/bluez: add 5.73

Thanks-to: Sam James
Thanks-to: Lars Wendler
Closes: https://bugs.gentoo.org/927791
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest|   1 +
 net-wireless/bluez/bluez-5.73.ebuild   | 271 +
 .../bluez/files/bluez-5.73-configure-cups.patch|  35 +++
 3 files changed, 307 insertions(+)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 016cfdbb5deb..4f894bc5d6dd 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1 +1,2 @@
 DIST bluez-5.72.tar.xz 2390792 BLAKE2B 
b5d1bc290c9bad5aa32de16433c34d0ac5aed7164077ef941a0bf90eddc5e22a6cf19f972bcae33061b41e3c344f7abeb65a11b6013c13fd53059ac93d83240a
 SHA512 
1c6560f60ac0654d7c25ed8ab2f0f3a3a9ca8688ee28e1c476ffc7ae38737e739d27bbb88789c86b03fc600a8a68496d90a7b395ec393dd2bbf69be62357991a
+DIST bluez-5.73.tar.xz 2408088 BLAKE2B 
69c5b8c23039108403631da86c29d62869f2311bb34eeb471779fae094bbf8738193389fb8792b779b10eaeca5b02723c86f2b98c435bbd2c23a3d317df76070
 SHA512 
20090da036d3d614706b14a757b02acf138859d8f0476aa7f68d57635dfb3632ce7d8bb3456320904d72333d1314a5fe14dcb8ece307e6d31ce6d2d516de25e8

diff --git a/net-wireless/bluez/bluez-5.73.ebuild 
b/net-wireless/bluez/bluez-5.73.ebuild
new file mode 100644
index ..f71af719302f
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.73.ebuild
@@ -0,0 +1,271 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   btpclient? ( mesh )
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-196 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER
+   ~UHID ~RFKILL"
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
+   if use mesh || use test; then
+   CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_USER
+   ~CRYPTO_USER_API ~CRYPTO_USER_API_AEAD ~CRYPTO_AES ~CRYPTO_CCM 
~CRYPTO_AEAD ~CRYPTO_CMAC
+   ~CRYPTO_MD5 ~CRYPTO_SHA1 ~KEY_DH_OPERATIONS"
+   fi
+   linux-info_pkg_setup
+
+   if use test || use test-programs; then
+   python-single-r1_pkg_setup
+

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/, net-wireless/bluez/

2024-03-07 Thread Pacho Ramos
commit: b9ff9d632b84c905da6334a0dcf26a5c5180c043
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Mar  7 14:28:26 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Mar  7 14:28:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ff9d63

net-wireless/bluez: drop 5.70-r1, 5.71-r1

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest|   2 -
 net-wireless/bluez/bluez-5.70-r1.ebuild| 288 -
 net-wireless/bluez/bluez-5.71-r1.ebuild| 288 -
 .../bluez/files/bluez-5.70-CVE-2023-45866.patch|  43 ---
 .../bluez/files/bluez-5.71-link-old-kernels.patch  | 163 
 5 files changed, 784 deletions(-)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index ad631202f4f3..016cfdbb5deb 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,3 +1 @@
-DIST bluez-5.70.tar.xz 2339844 BLAKE2B 
1ba2ddd3bfc6562a07f4e8376e0d537b555f0d36a221f051c4c10dd912c23e73aa2b0d8aa125e0fd911908e4cfa0036429e17250a26b3298bb21f65e4cc5255c
 SHA512 
3a5f8caf7730dcdbbe0bb92154b41651a9d6619038447bf4c25e5e3e5316effcd7242a7a0456d731ce21d55b8daea5212a359acc5e5fc460499b9356b7d364cf
-DIST bluez-5.71.tar.xz 2381208 BLAKE2B 
73e5f08771f821c90a70c553c600c48c4f1adb85aa9cb1a1eaae61a33b2dda73b7825fe769b3ea1ddedc39ad3fb71d84b336408f5ce6963f0373e9f7dcce
 SHA512 
648394bbe470405aa0e2d3914474e95c122f567deaaac20a5dd74bac29fa430dfb64cdb7bdb4fb7510e62fa73e96112a97197fc212b421bf480b8d1bb24cfb5d
 DIST bluez-5.72.tar.xz 2390792 BLAKE2B 
b5d1bc290c9bad5aa32de16433c34d0ac5aed7164077ef941a0bf90eddc5e22a6cf19f972bcae33061b41e3c344f7abeb65a11b6013c13fd53059ac93d83240a
 SHA512 
1c6560f60ac0654d7c25ed8ab2f0f3a3a9ca8688ee28e1c476ffc7ae38737e739d27bbb88789c86b03fc600a8a68496d90a7b395ec393dd2bbf69be62357991a

diff --git a/net-wireless/bluez/bluez-5.70-r1.ebuild 
b/net-wireless/bluez/bluez-5.70-r1.ebuild
deleted file mode 100644
index 2595b6e1428f..
--- a/net-wireless/bluez/bluez-5.70-r1.ebuild
+++ /dev/null
@@ -1,288 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..12} )
-
-inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
-
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
-HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez;
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0/3"
-KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
-
-# Since this release all remaining extra-tools need readline support, but this 
could
-# change in the future, hence, this REQUIRED_USE constraint could be dropped
-# again in the future.
-# btpclient needs mesh, bug #790587
-REQUIRED_USE="
-   btpclient? ( mesh )
-   extra-tools? ( deprecated readline )
-   test? ( ${PYTHON_REQUIRED_USE} )
-   test-programs? ( ${PYTHON_REQUIRED_USE} )
-"
-
-TEST_DEPS="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="
-   dev-python/docutils
-   virtual/pkgconfig
-   test? ( ${TEST_DEPS} )
-"
-DEPEND="
-   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
-   btpclient? ( >=dev-libs/ell-0.39 )
-   cups? ( net-print/cups:= )
-   mesh? (
-   >=dev-libs/ell-0.39
-   >=dev-libs/json-c-0.13:=
-   sys-libs/readline:0=
-   )
-   midi? ( media-libs/alsa-lib )
-   obex? ( dev-libs/libical:= )
-   readline? ( sys-libs/readline:0= )
-   systemd? ( sys-apps/systemd )
-   >=sys-apps/dbus-1.6:=
-   udev? ( >=virtual/udev-172 )
-"
-RDEPEND="${DEPEND}
-   selinux? ( sec-policy/selinux-bluetooth )
-   test-programs? ( ${TEST_DEPS} )
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
-   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
-   # https://bugs.gentoo.org/539844
-   # https://github.com/bluez/bluez/issues/268
-   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
-
-   # Fedora patches
-   # 
https://lore.kernel.org/linux-bluetooth/20220901110719.176944-1-had...@hadess.net/T/#m9c08d004cd5422783ee1d93154f42303bba9169f
-   "${FILESDIR}"/${PN}-5.66-power-state-adapter-property.patch
-
-   # Backport CVE-2023-45866 fix (bug #919383)
-   "${FILESDIR}"/${PN}-5.70-CVE-2023-45866.patch
-)
-
-pkg_setup() {
-   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
-   # to prevent bugs like:
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2024-03-02 Thread Sam James
commit: 129ba6872f48c35d435790fff6c92ebfccb7ffd4
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar  3 02:26:57 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  3 02:26:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=129ba687

net-wireless/bluez: Stabilize 5.72 arm64, #925494

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.72.ebuild 
b/net-wireless/bluez/bluez-5.72.ebuild
index 0be6c023af52..abb0053bc2b5 100644
--- a/net-wireless/bluez/bluez-5.72.ebuild
+++ b/net-wireless/bluez/bluez-5.72.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2024-03-02 Thread Sam James
commit: 46a6c8026de3514e360e5ed241f474d9922f448e
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar  2 22:07:17 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar  2 22:07:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a6c802

net-wireless/bluez: Stabilize 5.72 ppc, #925494

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.72.ebuild 
b/net-wireless/bluez/bluez-5.72.ebuild
index 8b02b2c054a1..0be6c023af52 100644
--- a/net-wireless/bluez/bluez-5.72.ebuild
+++ b/net-wireless/bluez/bluez-5.72.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2024-02-28 Thread Arthur Zamarin
commit: 6bb7a6da4fbf828cf2b474261180ab1c78ab9cb4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Feb 28 18:52:13 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Feb 28 18:52:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bb7a6da

net-wireless/bluez: Stabilize 5.72 amd64, #925494

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-wireless/bluez/bluez-5.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.72.ebuild 
b/net-wireless/bluez/bluez-5.72.ebuild
index f0b3b12d187c..8b02b2c054a1 100644
--- a/net-wireless/bluez/bluez-5.72.ebuild
+++ b/net-wireless/bluez/bluez-5.72.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2024-02-25 Thread Arthur Zamarin
commit: 9ba0346eca4522ebc6986ee9ffba07deebea776c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Feb 25 20:37:16 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Feb 25 20:37:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba0346e

net-wireless/bluez: Stabilize 5.72 arm, #925494

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-wireless/bluez/bluez-5.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.72.ebuild 
b/net-wireless/bluez/bluez-5.72.ebuild
index 8338b00e0fdd..f0b3b12d187c 100644
--- a/net-wireless/bluez/bluez-5.72.ebuild
+++ b/net-wireless/bluez/bluez-5.72.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2024-02-25 Thread Arthur Zamarin
commit: cdd0d352c430243f316bb30b047bc0fd56bddcf0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Feb 25 19:32:23 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Feb 25 19:32:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdd0d352

net-wireless/bluez: Stabilize 5.72 ppc64, #925494

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-wireless/bluez/bluez-5.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.72.ebuild 
b/net-wireless/bluez/bluez-5.72.ebuild
index 9c5252e982bf..8338b00e0fdd 100644
--- a/net-wireless/bluez/bluez-5.72.ebuild
+++ b/net-wireless/bluez/bluez-5.72.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2024-02-25 Thread Jakov Smolić
commit: cf650d010b307f2ca6d8f6b3681f8dfaae84fe1e
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Feb 25 19:19:41 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Feb 25 19:19:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf650d01

net-wireless/bluez: Stabilize 5.72 x86, #925494

Signed-off-by: Jakov Smolić  gentoo.org>

 net-wireless/bluez/bluez-5.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.72.ebuild 
b/net-wireless/bluez/bluez-5.72.ebuild
index cf1139d2a7b8..9c5252e982bf 100644
--- a/net-wireless/bluez/bluez-5.72.ebuild
+++ b/net-wireless/bluez/bluez-5.72.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2024-01-28 Thread Pacho Ramos
commit: 023fb10b32c19f8aa93c326a466929478179f7d6
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jan 28 11:13:01 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jan 28 11:13:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=023fb10b

net-wireless/bluez: add 5.72

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest  |   1 +
 net-wireless/bluez/bluez-5.72.ebuild | 285 +++
 2 files changed, 286 insertions(+)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index b316ef9b7427..ad631202f4f3 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,2 +1,3 @@
 DIST bluez-5.70.tar.xz 2339844 BLAKE2B 
1ba2ddd3bfc6562a07f4e8376e0d537b555f0d36a221f051c4c10dd912c23e73aa2b0d8aa125e0fd911908e4cfa0036429e17250a26b3298bb21f65e4cc5255c
 SHA512 
3a5f8caf7730dcdbbe0bb92154b41651a9d6619038447bf4c25e5e3e5316effcd7242a7a0456d731ce21d55b8daea5212a359acc5e5fc460499b9356b7d364cf
 DIST bluez-5.71.tar.xz 2381208 BLAKE2B 
73e5f08771f821c90a70c553c600c48c4f1adb85aa9cb1a1eaae61a33b2dda73b7825fe769b3ea1ddedc39ad3fb71d84b336408f5ce6963f0373e9f7dcce
 SHA512 
648394bbe470405aa0e2d3914474e95c122f567deaaac20a5dd74bac29fa430dfb64cdb7bdb4fb7510e62fa73e96112a97197fc212b421bf480b8d1bb24cfb5d
+DIST bluez-5.72.tar.xz 2390792 BLAKE2B 
b5d1bc290c9bad5aa32de16433c34d0ac5aed7164077ef941a0bf90eddc5e22a6cf19f972bcae33061b41e3c344f7abeb65a11b6013c13fd53059ac93d83240a
 SHA512 
1c6560f60ac0654d7c25ed8ab2f0f3a3a9ca8688ee28e1c476ffc7ae38737e739d27bbb88789c86b03fc600a8a68496d90a7b395ec393dd2bbf69be62357991a

diff --git a/net-wireless/bluez/bluez-5.72.ebuild 
b/net-wireless/bluez/bluez-5.72.ebuild
new file mode 100644
index ..cf1139d2a7b8
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.72.ebuild
@@ -0,0 +1,285 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   btpclient? ( mesh )
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # Fedora patches
+   # 
https://lore.kernel.org/linux-bluetooth/20220901110719.176944-1-had...@hadess.net/T/#m9c08d004cd5422783ee1d93154f42303bba9169f
+   "${FILESDIR}"/${PN}-5.66-power-state-adapter-property.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER
+   ~UHID ~RFKILL"
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
+   if use 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2024-01-28 Thread Pacho Ramos
commit: e997b1bcaa938df5428959726732617a4db06a61
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jan 28 11:13:15 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jan 28 11:13:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e997b1bc

net-wireless/bluez: drop 5.71

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.71.ebuild | 285 ---
 1 file changed, 285 deletions(-)

diff --git a/net-wireless/bluez/bluez-5.71.ebuild 
b/net-wireless/bluez/bluez-5.71.ebuild
deleted file mode 100644
index 657bb53be4c7..
--- a/net-wireless/bluez/bluez-5.71.ebuild
+++ /dev/null
@@ -1,285 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..12} )
-
-inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
-
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
-HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez;
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
-
-# Since this release all remaining extra-tools need readline support, but this 
could
-# change in the future, hence, this REQUIRED_USE constraint could be dropped
-# again in the future.
-# btpclient needs mesh, bug #790587
-REQUIRED_USE="
-   btpclient? ( mesh )
-   extra-tools? ( deprecated readline )
-   test? ( ${PYTHON_REQUIRED_USE} )
-   test-programs? ( ${PYTHON_REQUIRED_USE} )
-"
-
-TEST_DEPS="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="
-   dev-python/docutils
-   virtual/pkgconfig
-   test? ( ${TEST_DEPS} )
-"
-DEPEND="
-   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
-   btpclient? ( >=dev-libs/ell-0.39 )
-   cups? ( net-print/cups:= )
-   mesh? (
-   >=dev-libs/ell-0.39
-   >=dev-libs/json-c-0.13:=
-   sys-libs/readline:0=
-   )
-   midi? ( media-libs/alsa-lib )
-   obex? ( dev-libs/libical:= )
-   readline? ( sys-libs/readline:0= )
-   systemd? ( sys-apps/systemd )
-   >=sys-apps/dbus-1.6:=
-   udev? ( >=virtual/udev-172 )
-"
-RDEPEND="${DEPEND}
-   selinux? ( sec-policy/selinux-bluetooth )
-   test-programs? ( ${TEST_DEPS} )
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
-   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
-   # https://bugs.gentoo.org/539844
-   # https://github.com/bluez/bluez/issues/268
-   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
-
-   # Fedora patches
-   # 
https://lore.kernel.org/linux-bluetooth/20220901110719.176944-1-had...@hadess.net/T/#m9c08d004cd5422783ee1d93154f42303bba9169f
-   "${FILESDIR}"/${PN}-5.66-power-state-adapter-property.patch
-)
-
-pkg_setup() {
-   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
-   # to prevent bugs like:
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
-   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER
-   ~UHID ~RFKILL"
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
-   if use mesh || use test; then
-   CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_USER
-   ~CRYPTO_USER_API ~CRYPTO_USER_API_AEAD ~CRYPTO_AES ~CRYPTO_CCM 
~CRYPTO_AEAD ~CRYPTO_CMAC
-   ~CRYPTO_MD5 ~CRYPTO_SHA1 ~KEY_DH_OPERATIONS"
-   fi
-   linux-info_pkg_setup
-
-   if use test || use test-programs; then
-   python-single-r1_pkg_setup
-   fi
-
-   if ! use udev; then
-   ewarn
-   ewarn "You are installing ${PN} with USE=-udev. This means 
various bluetooth"
-   ewarn "devices and adapters from Apple, Dell, Logitech etc. 
will not work,"
-   ewarn "and hid2hci will not be available."
-   ewarn
-   fi
-}
-
-src_prepare() {
-   default
-
-   # http://www.spinics.net/lists/linux-bluetooth/msg38490.html
-   if ! use systemd; then
-   eapply 
"${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-session-r2.patch
-   fi
-
-   eautoreconf
-
-   if use cups; then
-   # Only not .am to not need to run eautoreconf only because of 
this
-   sed -i \
-   

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/, net-wireless/bluez/

2023-12-16 Thread Pacho Ramos
commit: 7eea4a6e371f176706880da4b1e0ef04fb5c3f7c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Dec 16 09:14:54 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Dec 16 09:15:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eea4a6e

net-wireless/bluez: drop 5.68, 5.69, 5.70

Bug: https://bugs.gentoo.org/919383
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest|   2 -
 net-wireless/bluez/bluez-5.68.ebuild   | 294 -
 net-wireless/bluez/bluez-5.69.ebuild   | 285 
 net-wireless/bluez/bluez-5.70.ebuild   | 285 
 .../bluez/files/bluez-5.68-bap-dettach-io.patch| 101 ---
 .../bluez/files/bluez-5.68-bap-ebusy-fix.patch | 206 ---
 .../bluez/files/bluez-5.68-bap-nonzero.patch   |  27 --
 .../bluez/files/bluez-5.68-bap-resume.patch| 187 -
 .../bluez/files/bluez-5.68-clang-midi.patch|  83 --
 .../files/bluez-5.68-heap-use-after-free.patch |  41 ---
 .../bluez/files/bluez-5.68-monitor-decoding.patch  |  45 
 11 files changed, 1556 deletions(-)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 081b8f9cd9b4..b316ef9b7427 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,4 +1,2 @@
-DIST bluez-5.68.tar.xz 2319788 BLAKE2B 
3beca78fadef4d66df6f237b7460f6ac4bf001d80c856b599faa2cc1232c4342c7945eace5a6667009b9d19f2368f9841e608f07bc826b30ce9112c43dd7e316
 SHA512 
1805fb68923a5e098777b69835d7593396f8f2bbf52e1cfe58e7447621497a700b23389c79e96b2d663c611335f6ea9df11efe8aa75a8842f6b73105f66e799c
-DIST bluez-5.69.tar.xz 2335728 BLAKE2B 
3b85c6418bf5f8fea989d9435d90f704da707248034006d12863465b9acee2b549f6d2950fdde64e74a1cbded4c711c54db747a82abdaa67ec965aab1c817d85
 SHA512 
4d5618cd083fe375c41faff868b5d9f072aeaccdffed758f6b69fd0cb46b058431cbf63182bd4a3f4f4e7a24b092729a4125687af730cd4250b273d66107bf42
 DIST bluez-5.70.tar.xz 2339844 BLAKE2B 
1ba2ddd3bfc6562a07f4e8376e0d537b555f0d36a221f051c4c10dd912c23e73aa2b0d8aa125e0fd911908e4cfa0036429e17250a26b3298bb21f65e4cc5255c
 SHA512 
3a5f8caf7730dcdbbe0bb92154b41651a9d6619038447bf4c25e5e3e5316effcd7242a7a0456d731ce21d55b8daea5212a359acc5e5fc460499b9356b7d364cf
 DIST bluez-5.71.tar.xz 2381208 BLAKE2B 
73e5f08771f821c90a70c553c600c48c4f1adb85aa9cb1a1eaae61a33b2dda73b7825fe769b3ea1ddedc39ad3fb71d84b336408f5ce6963f0373e9f7dcce
 SHA512 
648394bbe470405aa0e2d3914474e95c122f567deaaac20a5dd74bac29fa430dfb64cdb7bdb4fb7510e62fa73e96112a97197fc212b421bf480b8d1bb24cfb5d

diff --git a/net-wireless/bluez/bluez-5.68.ebuild 
b/net-wireless/bluez/bluez-5.68.ebuild
deleted file mode 100644
index 37f02d578577..
--- a/net-wireless/bluez/bluez-5.68.ebuild
+++ /dev/null
@@ -1,294 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..12} )
-
-inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
-
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
-HOMEPAGE="http://www.bluez.org;
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0/3"
-KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
-
-# Since this release all remaining extra-tools need readline support, but this 
could
-# change in the future, hence, this REQUIRED_USE constraint could be dropped
-# again in the future.
-# btpclient needs mesh, bug #790587
-REQUIRED_USE="
-   btpclient? ( mesh )
-   extra-tools? ( deprecated readline )
-   test? ( ${PYTHON_REQUIRED_USE} )
-   test-programs? ( ${PYTHON_REQUIRED_USE} )
-"
-
-TEST_DEPS="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="
-   dev-python/docutils
-   virtual/pkgconfig
-   test? ( ${TEST_DEPS} )
-"
-DEPEND="
-   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
-   btpclient? ( >=dev-libs/ell-0.39 )
-   cups? ( net-print/cups:= )
-   mesh? (
-   >=dev-libs/ell-0.39
-   >=dev-libs/json-c-0.13:=
-   sys-libs/readline:0=
-   )
-   midi? ( media-libs/alsa-lib )
-   obex? ( dev-libs/libical:= )
-   readline? ( sys-libs/readline:0= )
-   systemd? ( sys-apps/systemd )
-   >=sys-apps/dbus-1.6:=
-   udev? ( >=virtual/udev-172 )
-"
-RDEPEND="${DEPEND}
-   selinux? ( sec-policy/selinux-bluetooth )
-   test-programs? ( ${TEST_DEPS} )
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
-   # 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-12-16 Thread Pacho Ramos
commit: a7c305d4b7152339599c3d0d5405e20dad32553c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Dec 16 09:13:46 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Dec 16 09:15:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7c305d4

net-wireless/bluez: add 5.71

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest  |   1 +
 net-wireless/bluez/bluez-5.71.ebuild | 285 +++
 2 files changed, 286 insertions(+)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index feaf3df7eb22..081b8f9cd9b4 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,3 +1,4 @@
 DIST bluez-5.68.tar.xz 2319788 BLAKE2B 
3beca78fadef4d66df6f237b7460f6ac4bf001d80c856b599faa2cc1232c4342c7945eace5a6667009b9d19f2368f9841e608f07bc826b30ce9112c43dd7e316
 SHA512 
1805fb68923a5e098777b69835d7593396f8f2bbf52e1cfe58e7447621497a700b23389c79e96b2d663c611335f6ea9df11efe8aa75a8842f6b73105f66e799c
 DIST bluez-5.69.tar.xz 2335728 BLAKE2B 
3b85c6418bf5f8fea989d9435d90f704da707248034006d12863465b9acee2b549f6d2950fdde64e74a1cbded4c711c54db747a82abdaa67ec965aab1c817d85
 SHA512 
4d5618cd083fe375c41faff868b5d9f072aeaccdffed758f6b69fd0cb46b058431cbf63182bd4a3f4f4e7a24b092729a4125687af730cd4250b273d66107bf42
 DIST bluez-5.70.tar.xz 2339844 BLAKE2B 
1ba2ddd3bfc6562a07f4e8376e0d537b555f0d36a221f051c4c10dd912c23e73aa2b0d8aa125e0fd911908e4cfa0036429e17250a26b3298bb21f65e4cc5255c
 SHA512 
3a5f8caf7730dcdbbe0bb92154b41651a9d6619038447bf4c25e5e3e5316effcd7242a7a0456d731ce21d55b8daea5212a359acc5e5fc460499b9356b7d364cf
+DIST bluez-5.71.tar.xz 2381208 BLAKE2B 
73e5f08771f821c90a70c553c600c48c4f1adb85aa9cb1a1eaae61a33b2dda73b7825fe769b3ea1ddedc39ad3fb71d84b336408f5ce6963f0373e9f7dcce
 SHA512 
648394bbe470405aa0e2d3914474e95c122f567deaaac20a5dd74bac29fa430dfb64cdb7bdb4fb7510e62fa73e96112a97197fc212b421bf480b8d1bb24cfb5d

diff --git a/net-wireless/bluez/bluez-5.71.ebuild 
b/net-wireless/bluez/bluez-5.71.ebuild
new file mode 100644
index ..657bb53be4c7
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.71.ebuild
@@ -0,0 +1,285 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   btpclient? ( mesh )
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # Fedora patches
+   # 
https://lore.kernel.org/linux-bluetooth/20220901110719.176944-1-had...@hadess.net/T/#m9c08d004cd5422783ee1d93154f42303bba9169f
+   "${FILESDIR}"/${PN}-5.66-power-state-adapter-property.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-12-14 Thread Sam James
commit: 5c487051a1ad9d282dc17a504a028730edc9f7e9
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 14 08:12:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 14 08:12:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c487051

net-wireless/bluez: Stabilize 5.70-r1 ppc64, #919864

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.70-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.70-r1.ebuild 
b/net-wireless/bluez/bluez-5.70-r1.ebuild
index 2103e93ead0b..115627c01a13 100644
--- a/net-wireless/bluez/bluez-5.70-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.70-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-12-14 Thread Sam James
commit: f7dd44f60bdf12e4995e6e6e60962be274f277c3
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 14 08:12:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 14 08:12:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7dd44f6

net-wireless/bluez: Stabilize 5.70-r1 arm, #919864

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.70-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.70-r1.ebuild 
b/net-wireless/bluez/bluez-5.70-r1.ebuild
index 756654822561..683dd66f19db 100644
--- a/net-wireless/bluez/bluez-5.70-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.70-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-12-14 Thread Sam James
commit: 924a26a93c44f4c10b23101a6b4b3b97e10f6bd2
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 14 08:12:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 14 08:12:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=924a26a9

net-wireless/bluez: Stabilize 5.70-r1 amd64, #919864

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.70-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.70-r1.ebuild 
b/net-wireless/bluez/bluez-5.70-r1.ebuild
index 9aaa5ab5a45b..2103e93ead0b 100644
--- a/net-wireless/bluez/bluez-5.70-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.70-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-12-14 Thread Sam James
commit: 5fbf15628523a2ab4147a5ad771f8d67cd37918e
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 14 08:12:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 14 08:12:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fbf1562

net-wireless/bluez: Stabilize 5.70-r1 arm64, #919864

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.70-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.70-r1.ebuild 
b/net-wireless/bluez/bluez-5.70-r1.ebuild
index 683dd66f19db..9aaa5ab5a45b 100644
--- a/net-wireless/bluez/bluez-5.70-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.70-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/, net-wireless/bluez/

2023-12-09 Thread Sam James
commit: 26f32e2abe9e0c412c98898f61b144a3f6e5fb76
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec  9 18:05:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec  9 18:06:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26f32e2a

net-wireless/bluez: backport CVE-2023-45866 fix

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.70-r1.ebuild| 288 +
 .../bluez/files/bluez-5.70-CVE-2023-45866.patch|  43 +++
 2 files changed, 331 insertions(+)

diff --git a/net-wireless/bluez/bluez-5.70-r1.ebuild 
b/net-wireless/bluez/bluez-5.70-r1.ebuild
new file mode 100644
index ..756654822561
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.70-r1.ebuild
@@ -0,0 +1,288 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   btpclient? ( mesh )
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # Fedora patches
+   # 
https://lore.kernel.org/linux-bluetooth/20220901110719.176944-1-had...@hadess.net/T/#m9c08d004cd5422783ee1d93154f42303bba9169f
+   "${FILESDIR}"/${PN}-5.66-power-state-adapter-property.patch
+
+   # Backport CVE-2023-45866 fix (bug #919383)
+   "${FILESDIR}"/${PN}-5.70-CVE-2023-45866.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER
+   ~UHID ~RFKILL"
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
+   if use mesh || use test; then
+   CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_USER
+   ~CRYPTO_USER_API ~CRYPTO_USER_API_AEAD ~CRYPTO_AES ~CRYPTO_CCM 
~CRYPTO_AEAD ~CRYPTO_CMAC
+   ~CRYPTO_MD5 ~CRYPTO_SHA1 ~KEY_DH_OPERATIONS"
+   fi
+   linux-info_pkg_setup
+
+   if use test || use test-programs; then
+   python-single-r1_pkg_setup
+   fi
+
+   if ! use udev; then
+   ewarn
+   ewarn "You are installing ${PN} with USE=-udev. This means 
various bluetooth"
+   ewarn "devices and adapters from Apple, Dell, Logitech etc. 
will not work,"
+   ewarn "and hid2hci will not be available."
+   ewarn
+   fi
+}
+
+src_prepare() {
+   default
+
+   # http://www.spinics.net/lists/linux-bluetooth/msg38490.html
+   if ! use systemd; then
+   eapply 
"${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-session-r2.patch
+  

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-09-29 Thread Pacho Ramos
commit: a0c82d96b44fe3f31d47fc1e9284a8feb0112b3b
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Sep 29 10:39:54 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Sep 29 10:40:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0c82d96

net-wireless/bluez: add 5.70

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest  |   1 +
 net-wireless/bluez/bluez-5.70.ebuild | 285 +++
 2 files changed, 286 insertions(+)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index bf4f9558723f..feaf3df7eb22 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,2 +1,3 @@
 DIST bluez-5.68.tar.xz 2319788 BLAKE2B 
3beca78fadef4d66df6f237b7460f6ac4bf001d80c856b599faa2cc1232c4342c7945eace5a6667009b9d19f2368f9841e608f07bc826b30ce9112c43dd7e316
 SHA512 
1805fb68923a5e098777b69835d7593396f8f2bbf52e1cfe58e7447621497a700b23389c79e96b2d663c611335f6ea9df11efe8aa75a8842f6b73105f66e799c
 DIST bluez-5.69.tar.xz 2335728 BLAKE2B 
3b85c6418bf5f8fea989d9435d90f704da707248034006d12863465b9acee2b549f6d2950fdde64e74a1cbded4c711c54db747a82abdaa67ec965aab1c817d85
 SHA512 
4d5618cd083fe375c41faff868b5d9f072aeaccdffed758f6b69fd0cb46b058431cbf63182bd4a3f4f4e7a24b092729a4125687af730cd4250b273d66107bf42
+DIST bluez-5.70.tar.xz 2339844 BLAKE2B 
1ba2ddd3bfc6562a07f4e8376e0d537b555f0d36a221f051c4c10dd912c23e73aa2b0d8aa125e0fd911908e4cfa0036429e17250a26b3298bb21f65e4cc5255c
 SHA512 
3a5f8caf7730dcdbbe0bb92154b41651a9d6619038447bf4c25e5e3e5316effcd7242a7a0456d731ce21d55b8daea5212a359acc5e5fc460499b9356b7d364cf

diff --git a/net-wireless/bluez/bluez-5.70.ebuild 
b/net-wireless/bluez/bluez-5.70.ebuild
new file mode 100644
index ..657bb53be4c7
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.70.ebuild
@@ -0,0 +1,285 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   btpclient? ( mesh )
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # Fedora patches
+   # 
https://lore.kernel.org/linux-bluetooth/20220901110719.176944-1-had...@hadess.net/T/#m9c08d004cd5422783ee1d93154f42303bba9169f
+   "${FILESDIR}"/${PN}-5.66-power-state-adapter-property.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER
+   ~UHID ~RFKILL"
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
+   if use 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-09-10 Thread Pacho Ramos
commit: dd30c769685596f8236df6642d80170a43eea131
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Sep 10 08:54:01 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Sep 10 08:54:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd30c769

net-wireless/bluez: add github upstream metadata

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-wireless/bluez/metadata.xml b/net-wireless/bluez/metadata.xml
index 410dfc0f6323..8b306bf6658d 100644
--- a/net-wireless/bluez/metadata.xml
+++ b/net-wireless/bluez/metadata.xml
@@ -21,5 +21,6 @@
 
   cpe:/a:bluez:bluez
   cpe:/a:bluez:bluez-libs
+  bluez/bluez
 
 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-09-10 Thread Pacho Ramos
commit: f4d26f4f03a0974c3240e2b051bc8917451311e8
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Sep 10 08:51:03 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Sep 10 08:51:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4d26f4f

net-wireless/bluez: add 5.69

Closes: https://bugs.gentoo.org/913697
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest  |   1 +
 net-wireless/bluez/bluez-5.69.ebuild | 285 +++
 2 files changed, 286 insertions(+)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 2e6e60fe3685..bf4f9558723f 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1 +1,2 @@
 DIST bluez-5.68.tar.xz 2319788 BLAKE2B 
3beca78fadef4d66df6f237b7460f6ac4bf001d80c856b599faa2cc1232c4342c7945eace5a6667009b9d19f2368f9841e608f07bc826b30ce9112c43dd7e316
 SHA512 
1805fb68923a5e098777b69835d7593396f8f2bbf52e1cfe58e7447621497a700b23389c79e96b2d663c611335f6ea9df11efe8aa75a8842f6b73105f66e799c
+DIST bluez-5.69.tar.xz 2335728 BLAKE2B 
3b85c6418bf5f8fea989d9435d90f704da707248034006d12863465b9acee2b549f6d2950fdde64e74a1cbded4c711c54db747a82abdaa67ec965aab1c817d85
 SHA512 
4d5618cd083fe375c41faff868b5d9f072aeaccdffed758f6b69fd0cb46b058431cbf63182bd4a3f4f4e7a24b092729a4125687af730cd4250b273d66107bf42

diff --git a/net-wireless/bluez/bluez-5.69.ebuild 
b/net-wireless/bluez/bluez-5.69.ebuild
new file mode 100644
index ..657bb53be4c7
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.69.ebuild
@@ -0,0 +1,285 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   btpclient? ( mesh )
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # Fedora patches
+   # 
https://lore.kernel.org/linux-bluetooth/20220901110719.176944-1-had...@hadess.net/T/#m9c08d004cd5422783ee1d93154f42303bba9169f
+   "${FILESDIR}"/${PN}-5.66-power-state-adapter-property.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER
+   ~UHID ~RFKILL"
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
+   if use mesh || use test; then
+   CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_USER
+   ~CRYPTO_USER_API ~CRYPTO_USER_API_AEAD ~CRYPTO_AES ~CRYPTO_CCM 
~CRYPTO_AEAD ~CRYPTO_CMAC
+   ~CRYPTO_MD5 ~CRYPTO_SHA1 ~KEY_DH_OPERATIONS"
+   fi
+   

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/

2023-08-25 Thread Pacho Ramos
commit: e9e9b48a11ca7c39ca0ec24f4383a6685949ad66
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu Aug 24 19:26:28 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Aug 25 13:47:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9e9b48a

net-wireless/bluez: remove unused patches

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/32437
Signed-off-by: Pacho Ramos  gentoo.org>

 ...-GLib-helper-function-to-manipulate-paths.patch |  38 -
 .../bluez/files/bluez-5.66-musl-max-input.patch|  19 ---
 .../files/bluez-5.66-transient-hostname-fix.patch  | 185 -
 3 files changed, 242 deletions(-)

diff --git 
a/net-wireless/bluez/files/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
 
b/net-wireless/bluez/files/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
deleted file mode 100644
index 004a3895aa09..
--- 
a/net-wireless/bluez/files/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From f7861d27fbcbc519f57d8496aa9486f487908821 Mon Sep 17 00:00:00 2001
-From: Bastien Nocera 
-Date: Sat, 9 Nov 2013 18:13:43 +0100
-Subject: [PATCH 1/5] 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.

- obexd/src/manager.c | 10 +-
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/obexd/src/manager.c b/obexd/src/manager.c
-index cec8a39..f18896e 100644
 a/obexd/src/manager.c
-+++ b/obexd/src/manager.c
-@@ -651,14 +651,14 @@ static void agent_reply(DBusPendingCall *call, void 
*user_data)
-   DBUS_TYPE_STRING, ,
-   DBUS_TYPE_INVALID)) {
-   /* Splits folder and name */
--  const char *slash = strrchr(name, '/');
-+  gboolean is_relative = !g_path_is_absolute(name);
-   DBG("Agent replied with %s", name);
--  if (!slash) {
--  agent->new_name = g_strdup(name);
-+  if (is_relative) {
-+  agent->new_name = g_path_get_basename(name);
-   agent->new_folder = NULL;
-   } else {
--  agent->new_name = g_strdup(slash + 1);
--  agent->new_folder = g_strndup(name, slash - name);
-+  agent->new_name = g_path_get_basename(name);
-+  agent->new_folder = g_path_get_dirname(name);
-   }
-   }
- 
--- 
-1.8.4.2
-

diff --git a/net-wireless/bluez/files/bluez-5.66-musl-max-input.patch 
b/net-wireless/bluez/files/bluez-5.66-musl-max-input.patch
deleted file mode 100644
index d8bdb3316e49..
--- a/net-wireless/bluez/files/bluez-5.66-musl-max-input.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-# 
https://lore.kernel.org/linux-bluetooth/20230131055258.3311810-1-...@gentoo.org/T/#u
-# musl does provide _POSIX_MAX_INPUT, but no MAX_INPUT out of the box.
-# This patch assigns _POSIX_MAX_INPUT to MAX_INPUT.
-# Please refer: 
https://github.com/nilfs-dev/nilfs-utils/commit/115fe4b976858c487cf83065f513d8626089579a
-# https://bugs.gentoo.org/888467
 a/src/shared/util.c
-+++ b/src/shared/util.c
-@@ -28,6 +28,11 @@
- #include 
- #endif
-
-+/* define MAX_INPUT for musl */
-+#ifndef MAX_INPUT
-+#define MAX_INPUT _POSIX_MAX_INPUT
-+#endif
-+
- #include "src/shared/util.h"
-
- void *util_malloc(size_t size)

diff --git a/net-wireless/bluez/files/bluez-5.66-transient-hostname-fix.patch 
b/net-wireless/bluez/files/bluez-5.66-transient-hostname-fix.patch
deleted file mode 100644
index fef2776f7a0e..
--- a/net-wireless/bluez/files/bluez-5.66-transient-hostname-fix.patch
+++ /dev/null
@@ -1,185 +0,0 @@
-From e515f4b6e25c971c47ab79e9cbdfa17119bbde23 Mon Sep 17 00:00:00 2001
-From: Bastien Nocera 
-Date: Wed, 9 Nov 2022 16:17:55 +0100
-Subject: [PATCH 1/2] hostname: Add '' around printed strings
-
-Otherwise we can't see whether the string is nul, or empty.

- plugins/hostname.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/plugins/hostname.c b/plugins/hostname.c
-index 1a9513adb..14b6450b5 100644
 a/plugins/hostname.c
-+++ b/plugins/hostname.c
-@@ -128,7 +128,7 @@ static void property_changed(GDBusProxy *proxy, const char 
*name,
- 
-   dbus_message_iter_get_basic(iter, );
- 
--  DBG("pretty hostname: %s", str);
-+  DBG("pretty hostname: '%s'", str);
- 
-   g_free(pretty_hostname);
-   pretty_hostname = g_strdup(str);
-@@ -146,7 +146,7 @@ static void property_changed(GDBusProxy *proxy, const char 
*name,
- 
-   dbus_message_iter_get_basic(iter, );
- 
--  DBG("static hostname: %s", str);
-+  DBG("static hostname: 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-08-23 Thread Pacho Ramos
commit: 15abe962588877f3f573882bdb17b0ae51ca7f9c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Aug 23 14:28:35 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Aug 23 14:48:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15abe962

net-wireless/bluez: drop 5.66-r1

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest |   1 -
 net-wireless/bluez/bluez-5.66-r1.ebuild | 306 
 2 files changed, 307 deletions(-)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index bf90982bd86d..2e6e60fe3685 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,2 +1 @@
-DIST bluez-5.66.tar.xz 2257288 BLAKE2B 
af1911cf590461a874daa16bedb8a021a3b2c2af3254360c035d2180e0f355372651bd41da342c26e6d9631d726dd08e0d6a83a22069333b94b6fce6d546718c
 SHA512 
ed0994932687eacf27207867366671b323671f5d5199daf36ea5eff8f254f2bc99ef989ef7df9883b35c06f2af60452be8bad0a06109428a4717cf2b247b4865
 DIST bluez-5.68.tar.xz 2319788 BLAKE2B 
3beca78fadef4d66df6f237b7460f6ac4bf001d80c856b599faa2cc1232c4342c7945eace5a6667009b9d19f2368f9841e608f07bc826b30ce9112c43dd7e316
 SHA512 
1805fb68923a5e098777b69835d7593396f8f2bbf52e1cfe58e7447621497a700b23389c79e96b2d663c611335f6ea9df11efe8aa75a8842f6b73105f66e799c

diff --git a/net-wireless/bluez/bluez-5.66-r1.ebuild 
b/net-wireless/bluez/bluez-5.66-r1.ebuild
deleted file mode 100644
index 8cad64762e9a..
--- a/net-wireless/bluez/bluez-5.66-r1.ebuild
+++ /dev/null
@@ -1,306 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
-
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
-HOMEPAGE="http://www.bluez.org;
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0/3"
-KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
-
-# Since this release all remaining extra-tools need readline support, but this 
could
-# change in the future, hence, this REQUIRED_USE constraint could be dropped
-# again in the future.
-# btpclient needs mesh, bug #790587
-REQUIRED_USE="
-   btpclient? ( mesh )
-   extra-tools? ( deprecated readline )
-   test? ( ${PYTHON_REQUIRED_USE} )
-   test-programs? ( ${PYTHON_REQUIRED_USE} )
-"
-
-TEST_DEPS="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="
-   dev-python/docutils
-   virtual/pkgconfig
-   test? ( ${TEST_DEPS} )
-"
-DEPEND="
-   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
-   btpclient? ( >=dev-libs/ell-0.39 )
-   cups? ( net-print/cups:= )
-   mesh? (
-   >=dev-libs/ell-0.39
-   >=dev-libs/json-c-0.13:=
-   sys-libs/readline:0=
-   )
-   midi? ( media-libs/alsa-lib )
-   obex? ( dev-libs/libical:= )
-   readline? ( sys-libs/readline:0= )
-   systemd? ( sys-apps/systemd )
-   >=sys-apps/dbus-1.6:=
-   udev? ( >=virtual/udev-172 )
-"
-RDEPEND="${DEPEND}
-   deprecated? ( !net-wireless/bluez-hcidump )
-   selinux? ( sec-policy/selinux-bluetooth )
-   test-programs? ( ${TEST_DEPS} )
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
-   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
-   # https://bugs.gentoo.org/539844
-   # https://github.com/bluez/bluez/issues/268
-   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
-
-   # Fedora patches
-   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
-   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
-
-   # 
https://lore.kernel.org/linux-bluetooth/20220901110719.176944-1-had...@hadess.net/T/#m9c08d004cd5422783ee1d93154f42303bba9169f
-   "${FILESDIR}"/${PN}-5.66-power-state-adapter-property.patch
-
-   # Fixed in next release
-   "${FILESDIR}"/${P}-transient-hostname-fix.patch
-
-   # 
https://github.com/nilfs-dev/nilfs-utils/commit/115fe4b976858c487cf83065f513d8626089579a
-   # https://bugs.gentoo.org/888467
-   "${FILESDIR}"/${PN}-5.66-musl-max-input.patch
-)
-
-pkg_setup() {
-   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
-   # to prevent bugs like:
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
-   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER
-

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/, net-wireless/bluez/files/

2023-08-23 Thread Pacho Ramos
commit: 1b355098341147c4b48ccec16186a7a157a7cbfd
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Aug 23 14:27:39 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Aug 23 14:48:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b355098

net-wireless/bluez: Fix compilation with clang

Thanks-to: Luca Santarelli
Closes: https://bugs.gentoo.org/912464
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.68.ebuild   |  1 +
 .../bluez/files/bluez-5.68-clang-midi.patch| 83 ++
 2 files changed, 84 insertions(+)

diff --git a/net-wireless/bluez/bluez-5.68.ebuild 
b/net-wireless/bluez/bluez-5.68.ebuild
index ef9003114ac9..37f02d578577 100644
--- a/net-wireless/bluez/bluez-5.68.ebuild
+++ b/net-wireless/bluez/bluez-5.68.ebuild
@@ -78,6 +78,7 @@ PATCHES=(
"${FILESDIR}"/${P}-bap-ebusy-fix.patch
"${FILESDIR}"/${P}-monitor-decoding.patch
"${FILESDIR}"/${P}-heap-use-after-free.patch
+   "${FILESDIR}"/${P}-clang-midi.patch
 )
 
 pkg_setup() {

diff --git a/net-wireless/bluez/files/bluez-5.68-clang-midi.patch 
b/net-wireless/bluez/files/bluez-5.68-clang-midi.patch
new file mode 100644
index ..f62d9f395944
--- /dev/null
+++ b/net-wireless/bluez/files/bluez-5.68-clang-midi.patch
@@ -0,0 +1,83 @@
+From b9e93e01161cf5392f0cbea3400cfa2dae54643d Mon Sep 17 00:00:00 2001
+From: Luiz Augusto von Dentz 
+Date: Mon, 17 Jul 2023 12:36:15 -0700
+Subject: midi: Fix build errors
+
+This fixes the following build errors:
+
+unit/test-midi.c:541:82: error: function definition is not allowed here
+void compare_events_cb(const struct midi_write_parser *parser,
+   void *user_data) {
+^
+unit/test-midi.c:587:17: error: use of undeclared identifier
+'compare_events_cb'; did you mean 'compare_events'?
+ compare_events_cb, _data);
+ ^
+ compare_events
+
+profiles/midi/midi.c:61:75: error: function definition is not allowed
+here
+void foreach_cb(const struct midi_write_parser *parser, void *user_data) {
+ ^
+profiles/midi/midi.c:78:40: error: use of undeclared identifier 'foreach_cb'
+midi_read_ev(>midi_out, event, foreach_cb, midi);
+ ^
+---
+ profiles/midi/midi.c | 27 ++-
+ 1 file changed, 14 insertions(+), 13 deletions(-)
+
+(limited to 'profiles/midi/midi.c')
+
+diff --git a/profiles/midi/midi.c b/profiles/midi/midi.c
+index 40064df3ae..bab309bca7 100644
+--- a/profiles/midi/midi.c
 b/profiles/midi/midi.c
+@@ -53,20 +53,21 @@ struct midi {
+   struct midi_write_parser midi_out;
+ };
+ 
++static void foreach_cb(const struct midi_write_parser *parser, void 
*user_data)
++{
++  struct midi *midi = user_data;
++
++  bt_gatt_client_write_without_response(midi->client,
++  midi->midi_io_handle, false,
++  midi_write_data(parser),
++  midi_write_data_size(parser));
++}
++
+ static bool midi_write_cb(struct io *io, void *user_data)
+ {
+   struct midi *midi = user_data;
+   int err;
+ 
+-  void foreach_cb(const struct midi_write_parser *parser, void 
*user_data) {
+-  struct midi *midi = user_data;
+-  bt_gatt_client_write_without_response(midi->client,
+-midi->midi_io_handle,
+-false,
+-midi_write_data(parser),
+-
midi_write_data_size(parser));
+-  };
+-
+   do {
+   snd_seq_event_t *event = NULL;
+ 
+@@ -81,10 +82,10 @@ static bool midi_write_cb(struct io *io, void *user_data)
+ 
+   if (midi_write_has_data(>midi_out))
+   bt_gatt_client_write_without_response(midi->client,
+-midi->midi_io_handle,
+-false,
+-
midi_write_data(>midi_out),
+-
midi_write_data_size(>midi_out));
++  midi->midi_io_handle,
++  false,
++  midi_write_data(>midi_out),
++  midi_write_data_size(>midi_out));
+ 
+   midi_write_reset(>midi_out);
+ 
+-- 
+cgit 
+



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-08-11 Thread Arthur Zamarin
commit: 30c2d61628fb8d0d1490e99a10e5166f6276e492
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Aug 11 19:13:06 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Aug 11 19:13:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30c2d616

net-wireless/bluez: Stabilize 5.68 amd64, #911496

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-wireless/bluez/bluez-5.68.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.68.ebuild 
b/net-wireless/bluez/bluez-5.68.ebuild
index dbfe7d3e214a..ef9003114ac9 100644
--- a/net-wireless/bluez/bluez-5.68.ebuild
+++ b/net-wireless/bluez/bluez-5.68.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-08-04 Thread Sam James
commit: 3ed2e5ad947a8f21c75b87f4149faebcca578898
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  4 21:38:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  4 21:38:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ed2e5ad

net-wireless/bluez: Stabilize 5.68 ppc, #911496

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.68.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.68.ebuild 
b/net-wireless/bluez/bluez-5.68.ebuild
index 59ef5657afb0..dbfe7d3e214a 100644
--- a/net-wireless/bluez/bluez-5.68.ebuild
+++ b/net-wireless/bluez/bluez-5.68.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-07-30 Thread Sam James
commit: 39e9a711b05315033766363ac61427c3dc19db82
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 30 12:45:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 30 12:45:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39e9a711

net-wireless/bluez: Stabilize 5.68 ppc64, #911496

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.68.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.68.ebuild 
b/net-wireless/bluez/bluez-5.68.ebuild
index 733706a96c50..7ffd09d1e2db 100644
--- a/net-wireless/bluez/bluez-5.68.ebuild
+++ b/net-wireless/bluez/bluez-5.68.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-07-30 Thread Sam James
commit: 3f367c4126c7fa737c3948f93fa77e8fee4b1e46
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 30 12:45:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 30 12:45:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f367c41

net-wireless/bluez: Stabilize 5.68 x86, #911496

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.68.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.68.ebuild 
b/net-wireless/bluez/bluez-5.68.ebuild
index 2bdb4796c576..733706a96c50 100644
--- a/net-wireless/bluez/bluez-5.68.ebuild
+++ b/net-wireless/bluez/bluez-5.68.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-07-30 Thread Sam James
commit: 0b7fe90e6a4f5c33df503f5d2d2ecc0b5bd43cfe
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 30 12:45:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 30 12:45:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b7fe90e

net-wireless/bluez: Stabilize 5.68 arm64, #911496

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.68.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.68.ebuild 
b/net-wireless/bluez/bluez-5.68.ebuild
index f18a5435715a..59ef5657afb0 100644
--- a/net-wireless/bluez/bluez-5.68.ebuild
+++ b/net-wireless/bluez/bluez-5.68.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-07-30 Thread Sam James
commit: 1b0266462157237ed7b5c491ee1d972aef3fcebd
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 30 12:45:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 30 12:45:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b026646

net-wireless/bluez: Stabilize 5.68 arm, #911496

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.68.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.68.ebuild 
b/net-wireless/bluez/bluez-5.68.ebuild
index 7ffd09d1e2db..f18a5435715a 100644
--- a/net-wireless/bluez/bluez-5.68.ebuild
+++ b/net-wireless/bluez/bluez-5.68.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-07-30 Thread Pacho Ramos
commit: 9a87957847ac65eb6f8f9a1ac726b80e4c79312f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul 30 10:18:07 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul 30 10:18:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a879578

net-wireless/bluez: CONFIG_UHID is needed for some devices

Thanks-to: haarp
Closes: https://bugs.gentoo.org/911415
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.66-r1.ebuild | 3 ++-
 net-wireless/bluez/bluez-5.68.ebuild| 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-wireless/bluez/bluez-5.66-r1.ebuild 
b/net-wireless/bluez/bluez-5.66-r1.ebuild
index 639e234d67c2..8cad64762e9a 100644
--- a/net-wireless/bluez/bluez-5.66-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.66-r1.ebuild
@@ -88,7 +88,8 @@ pkg_setup() {
# to prevent bugs like:
# https://bugzilla.kernel.org/show_bug.cgi?id=196621
CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
-   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER ~RFKILL"
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER
+   ~UHID ~RFKILL"
# https://bugzilla.kernel.org/show_bug.cgi?id=196621
# https://bugzilla.kernel.org/show_bug.cgi?id=206815
if use mesh || use test; then

diff --git a/net-wireless/bluez/bluez-5.68.ebuild 
b/net-wireless/bluez/bluez-5.68.ebuild
index e1bfed36ea31..2bdb4796c576 100644
--- a/net-wireless/bluez/bluez-5.68.ebuild
+++ b/net-wireless/bluez/bluez-5.68.ebuild
@@ -85,7 +85,8 @@ pkg_setup() {
# to prevent bugs like:
# https://bugzilla.kernel.org/show_bug.cgi?id=196621
CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
-   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER ~RFKILL"
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER
+   ~UHID ~RFKILL"
# https://bugzilla.kernel.org/show_bug.cgi?id=196621
# https://bugzilla.kernel.org/show_bug.cgi?id=206815
if use mesh || use test; then



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/, net-wireless/bluez/files/

2023-07-08 Thread Pacho Ramos
commit: 4c0d676de802c6993d63d9d3be70d14f47a03419
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Jul  8 09:58:02 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Jul  8 09:59:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c0d676d

net-wireless/bluez: add 5.68

Closes: https://bugs.gentoo.org/909741
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest|   1 +
 net-wireless/bluez/bluez-5.68.ebuild   | 292 +
 .../bluez/files/bluez-5.68-bap-dettach-io.patch| 101 +++
 .../bluez/files/bluez-5.68-bap-ebusy-fix.patch | 206 +++
 .../bluez/files/bluez-5.68-bap-nonzero.patch   |  27 ++
 .../bluez/files/bluez-5.68-bap-resume.patch| 187 +
 .../files/bluez-5.68-heap-use-after-free.patch |  41 +++
 .../bluez/files/bluez-5.68-monitor-decoding.patch  |  45 
 8 files changed, 900 insertions(+)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 590a5b58d4f6..bf90982bd86d 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1 +1,2 @@
 DIST bluez-5.66.tar.xz 2257288 BLAKE2B 
af1911cf590461a874daa16bedb8a021a3b2c2af3254360c035d2180e0f355372651bd41da342c26e6d9631d726dd08e0d6a83a22069333b94b6fce6d546718c
 SHA512 
ed0994932687eacf27207867366671b323671f5d5199daf36ea5eff8f254f2bc99ef989ef7df9883b35c06f2af60452be8bad0a06109428a4717cf2b247b4865
+DIST bluez-5.68.tar.xz 2319788 BLAKE2B 
3beca78fadef4d66df6f237b7460f6ac4bf001d80c856b599faa2cc1232c4342c7945eace5a6667009b9d19f2368f9841e608f07bc826b30ce9112c43dd7e316
 SHA512 
1805fb68923a5e098777b69835d7593396f8f2bbf52e1cfe58e7447621497a700b23389c79e96b2d663c611335f6ea9df11efe8aa75a8842f6b73105f66e799c

diff --git a/net-wireless/bluez/bluez-5.68.ebuild 
b/net-wireless/bluez/bluez-5.68.ebuild
new file mode 100644
index ..e1bfed36ea31
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.68.ebuild
@@ -0,0 +1,292 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   btpclient? ( mesh )
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # Fedora patches
+   # 
https://lore.kernel.org/linux-bluetooth/20220901110719.176944-1-had...@hadess.net/T/#m9c08d004cd5422783ee1d93154f42303bba9169f
+   "${FILESDIR}"/${PN}-5.66-power-state-adapter-property.patch
+
+   # Fixed in next release
+   "${FILESDIR}"/${P}-bap-resume.patch
+   "${FILESDIR}"/${P}-bap-nonzero.patch
+   "${FILESDIR}"/${P}-bap-dettach-io.patch
+   "${FILESDIR}"/${P}-bap-ebusy-fix.patch
+   "${FILESDIR}"/${P}-monitor-decoding.patch
+   "${FILESDIR}"/${P}-heap-use-after-free.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/

2023-04-19 Thread Conrad Kostecki
commit: e995ac6f8404a060338f5cc1b05ddf48dcc5642d
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Apr 19 17:47:15 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Apr 19 19:00:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e995ac6f

net-wireless/bluez: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/30653
Signed-off-by: Conrad Kostecki  gentoo.org>

 ...et-pending-settings-when-receiving-MGMT-e.patch | 170 -
 1 file changed, 170 deletions(-)

diff --git 
a/net-wireless/bluez/files/0001-adapter-Reset-pending-settings-when-receiving-MGMT-e.patch
 
b/net-wireless/bluez/files/0001-adapter-Reset-pending-settings-when-receiving-MGMT-e.patch
deleted file mode 100644
index b9b432fadff0..
--- 
a/net-wireless/bluez/files/0001-adapter-Reset-pending-settings-when-receiving-MGMT-e.patch
+++ /dev/null
@@ -1,170 +0,0 @@
-From ede7b915980fbc80eff80aa189c35ca016956c61 Mon Sep 17 00:00:00 2001
-From: Archie Pusaka 
-Date: Tue, 23 Aug 2022 12:15:56 +0800
-Subject: [PATCH] adapter: Reset pending settings when receiving MGMT error
-
-We set the pending settings flag when sending MGMT_SETTING_*
-commands to the MGMT layer and clear them when receiving a
-successful reply, but we don't clear them when receiving an error
-reply. This might cause a setting to be stuck in pending state.
-
-Therefore, also clear the pending flag when receiving error.
-Furthermore, this patch also postpones setting the pending flag
-until we queue the MGMT command in order to avoid setting it too
-soon but we return early.
-
-This was caught during power off test, where MGMT_OP_SET_POWERED
-returns Authentication Failed because disconnection takes too long.
-Future attempts to switch power will then be ignored.
-
-< HCI Command: Disconnect (0x01|0x0006) plen 3   #17916 [hci0] 12.502908
-Handle: 512
-Reason: Remote Device Terminated due to Power Off (0x15)
-> HCI Event: Command Status (0x0f) plen 4#17917 [hci0] 12.503185
-  Disconnect (0x01|0x0006) ncmd 1
-Status: Success (0x00)
-@ MGMT Event: Command Status (0x0002) plen 3   {0x0001} [hci0] 14.519491
-  Set Powered (0x0005)
-Status: Authentication Failed (0x05)
-= bluetoothd: Failed to set mode: Authentication Failed (0x05) 14.520042
-= bluetoothd: adapter /org/bluez/hci0 set power to 0   14.813533
-> HCI Event: Disconnect Complete (0x05) plen 4   #17918 [hci0] 16.509043
-Status: Success (0x00)
-Handle: 512
-Reason: Connection Timeout (0x08)
-
-Reviewed-by: Sonny Sasaka 

- src/adapter.c | 39 +++
- 1 file changed, 31 insertions(+), 8 deletions(-)
-
-diff --git a/src/adapter.c b/src/adapter.c
-index ec26aab1a..b453e86a0 100644
 a/src/adapter.c
-+++ b/src/adapter.c
-@@ -640,14 +640,21 @@ static void new_settings_callback(uint16_t index, 
uint16_t length,
-   settings_changed(adapter, settings);
- }
- 
-+struct set_mode_data {
-+  struct btd_adapter *adapter;
-+  uint32_t setting;
-+};
-+
- static void set_mode_complete(uint8_t status, uint16_t length,
-   const void *param, void *user_data)
- {
--  struct btd_adapter *adapter = user_data;
-+  struct set_mode_data *data = user_data;
-+  struct btd_adapter *adapter = data->adapter;
- 
-   if (status != MGMT_STATUS_SUCCESS) {
-   btd_error(adapter->dev_id, "Failed to set mode: %s (0x%02x)",
-   mgmt_errstr(status), status);
-+  adapter->pending_settings &= ~data->setting;
-   return;
-   }
- 
-@@ -677,6 +684,7 @@ static bool set_mode(struct btd_adapter *adapter, uint16_t 
opcode,
- {
-   struct mgmt_mode cp;
-   uint32_t setting = 0;
-+  struct set_mode_data *data;
- 
-   memset(, 0, sizeof(cp));
-   cp.val = mode;
-@@ -699,15 +707,20 @@ static bool set_mode(struct btd_adapter *adapter, 
uint16_t opcode,
-   break;
-   }
- 
--  adapter->pending_settings |= setting;
--
-   DBG("sending set mode command for index %u", adapter->dev_id);
- 
-+  data = g_new0(struct set_mode_data, 1);
-+  data->adapter = adapter;
-+  data->setting = setting;
-+
-   if (mgmt_send(adapter->mgmt, opcode,
-   adapter->dev_id, sizeof(cp), ,
--  set_mode_complete, adapter, NULL) > 0)
-+  set_mode_complete, data, g_free) > 0) {
-+  adapter->pending_settings |= setting;
-   return true;
-+  }
- 
-+  g_free(data);
-   btd_error(adapter->dev_id, "Failed to set mode for index %u",
-   adapter->dev_id);
- 
-@@ -718,6 +731,7 @@ static bool set_discoverable(struct btd_adapter *adapter, 
uint8_t mode,
-  

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-04-18 Thread Pacho Ramos
commit: 8c435868b86a6b8fd624b7d5d96e19685ce18f03
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Apr 18 14:58:55 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Apr 18 14:58:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c435868

net-wireless/bluez: drop 5.65-r1

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest |   2 -
 net-wireless/bluez/bluez-5.65-r1.ebuild | 299 
 2 files changed, 301 deletions(-)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 17edbb3ec397..590a5b58d4f6 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,3 +1 @@
-DIST bluez-5.65.tar.xz 2208100 BLAKE2B 
9d2937e2e14d8d8945183c6436921d9d16a6d3bcb5dbe3e2493554fbc4972bb4c006aabc793c9fb8eae47a7e9f29ae9fdf47551dfc0a238e86f5a76ce7436ae2
 SHA512 
c20c09a1a75053c77d73b3ce15ac7fd321eb6df5ca1646d57c6848b87c0c9957908bc17dd928da4ef2aacfc8667877cbc7511c1ba43db839bfa9bf1fb8269907
 DIST bluez-5.66.tar.xz 2257288 BLAKE2B 
af1911cf590461a874daa16bedb8a021a3b2c2af3254360c035d2180e0f355372651bd41da342c26e6d9631d726dd08e0d6a83a22069333b94b6fce6d546718c
 SHA512 
ed0994932687eacf27207867366671b323671f5d5199daf36ea5eff8f254f2bc99ef989ef7df9883b35c06f2af60452be8bad0a06109428a4717cf2b247b4865
-DIST power-state-adapter-property.patch 22488 BLAKE2B 
a46173c0ebe4f4822c67c2f8f2f3e67dab261753f64204f1a61665c3bba1d7a10e0f8511b38ce273d986490ffd262a737bee82694909683df7386b2015301607
 SHA512 
b039a578454681f291dc3b04079c8d0151b13a84b4b013e290aa3c28aba1538cef2d9e9aadfe88a0dbfb8e4cea1c251cb5043f4175fb32d53526f7b82de0451a

diff --git a/net-wireless/bluez/bluez-5.65-r1.ebuild 
b/net-wireless/bluez/bluez-5.65-r1.ebuild
deleted file mode 100644
index 688d93d9f93f..
--- a/net-wireless/bluez/bluez-5.65-r1.ebuild
+++ /dev/null
@@ -1,299 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
-
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
-HOMEPAGE="http://www.bluez.org;
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz
-   https://dev.gentoo.org/~pacho/${PN}/power-state-adapter-property.patch;
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0/3"
-KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
-
-# Since this release all remaining extra-tools need readline support, but this 
could
-# change in the future, hence, this REQUIRED_USE constraint could be dropped
-# again in the future.
-# btpclient needs mesh, bug #790587
-REQUIRED_USE="
-   btpclient? ( mesh )
-   extra-tools? ( deprecated readline )
-   test? ( ${PYTHON_REQUIRED_USE} )
-   test-programs? ( ${PYTHON_REQUIRED_USE} )
-"
-
-TEST_DEPS="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="
-   dev-python/docutils
-   virtual/pkgconfig
-   test? ( ${TEST_DEPS} )
-"
-DEPEND="
-   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
-   btpclient? ( >=dev-libs/ell-0.39 )
-   cups? ( net-print/cups:= )
-   mesh? (
-   >=dev-libs/ell-0.39
-   >=dev-libs/json-c-0.13:=
-   sys-libs/readline:0=
-   )
-   midi? ( media-libs/alsa-lib )
-   obex? ( dev-libs/libical:= )
-   readline? ( sys-libs/readline:0= )
-   systemd? ( sys-apps/systemd )
-   >=sys-apps/dbus-1.6:=
-   udev? ( >=virtual/udev-172 )
-"
-RDEPEND="${DEPEND}
-   deprecated? ( !net-wireless/bluez-hcidump )
-   selinux? ( sec-policy/selinux-bluetooth )
-   test-programs? ( ${TEST_DEPS} )
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
-   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
-   # https://bugs.gentoo.org/539844
-   # https://github.com/bluez/bluez/issues/268
-   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
-
-   # Fedora patches
-   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
-   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
-
-   # Fixed in next release
-   
"${FILESDIR}"/0001-adapter-Reset-pending-settings-when-receiving-MGMT-e.patch
-   "${DISTDIR}"/power-state-adapter-property.patch
-)
-
-pkg_setup() {
-   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
-   # to prevent bugs like:
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
-   

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/, net-wireless/bluez/files/

2023-01-30 Thread Sam James
commit: 4a5a1d52e9a5ebdd5e8011ea933765bda0c838b6
Author: brahmajit das  protonmail  com>
AuthorDate: Sat Jan 21 16:35:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 31 05:55:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a5a1d52

net-wireless/bluez: fix 'MAX_INPUT' undeclared in musl

musl does provide _POSIX_MAX_INPUT, but no MAX_INPUT out of the box.
This commit assigns _POSIX_MAX_INPUT to MAX_INPUT.

Closes: https://bugs.gentoo.org/888467
Signed-off-by: brahmajit das  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29209
Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.66-r1.ebuild   |  4 
 .../bluez/files/bluez-5.66-musl-max-input.patch   | 19 +++
 2 files changed, 23 insertions(+)

diff --git a/net-wireless/bluez/bluez-5.66-r1.ebuild 
b/net-wireless/bluez/bluez-5.66-r1.ebuild
index 4278549b3ee0..639e234d67c2 100644
--- a/net-wireless/bluez/bluez-5.66-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.66-r1.ebuild
@@ -77,6 +77,10 @@ PATCHES=(
 
# Fixed in next release
"${FILESDIR}"/${P}-transient-hostname-fix.patch
+
+   # 
https://github.com/nilfs-dev/nilfs-utils/commit/115fe4b976858c487cf83065f513d8626089579a
+   # https://bugs.gentoo.org/888467
+   "${FILESDIR}"/${PN}-5.66-musl-max-input.patch
 )
 
 pkg_setup() {

diff --git a/net-wireless/bluez/files/bluez-5.66-musl-max-input.patch 
b/net-wireless/bluez/files/bluez-5.66-musl-max-input.patch
new file mode 100644
index ..d8bdb3316e49
--- /dev/null
+++ b/net-wireless/bluez/files/bluez-5.66-musl-max-input.patch
@@ -0,0 +1,19 @@
+# 
https://lore.kernel.org/linux-bluetooth/20230131055258.3311810-1-...@gentoo.org/T/#u
+# musl does provide _POSIX_MAX_INPUT, but no MAX_INPUT out of the box.
+# This patch assigns _POSIX_MAX_INPUT to MAX_INPUT.
+# Please refer: 
https://github.com/nilfs-dev/nilfs-utils/commit/115fe4b976858c487cf83065f513d8626089579a
+# https://bugs.gentoo.org/888467
+--- a/src/shared/util.c
 b/src/shared/util.c
+@@ -28,6 +28,11 @@
+ #include 
+ #endif
+
++/* define MAX_INPUT for musl */
++#ifndef MAX_INPUT
++#define MAX_INPUT _POSIX_MAX_INPUT
++#endif
++
+ #include "src/shared/util.h"
+
+ void *util_malloc(size_t size)



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2023-01-14 Thread Sam James
commit: 73b72443e97ff78a91c1bbdd26f0433e1b28c463
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 14 20:07:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 14 20:07:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73b72443

net-wireless/bluez: add blocker on net-wireless/bluez-hcidump

Bug: https://bugs.gentoo.org/885459
Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/{bluez-5.65.ebuild => bluez-5.65-r1.ebuild} | 1 +
 net-wireless/bluez/{bluez-5.66.ebuild => bluez-5.66-r1.ebuild} | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-wireless/bluez/bluez-5.65.ebuild 
b/net-wireless/bluez/bluez-5.65-r1.ebuild
similarity index 99%
rename from net-wireless/bluez/bluez-5.65.ebuild
rename to net-wireless/bluez/bluez-5.65-r1.ebuild
index c377f834337b..688d93d9f93f 100644
--- a/net-wireless/bluez/bluez-5.65.ebuild
+++ b/net-wireless/bluez/bluez-5.65-r1.ebuild
@@ -55,6 +55,7 @@ DEPEND="
udev? ( >=virtual/udev-172 )
 "
 RDEPEND="${DEPEND}
+   deprecated? ( !net-wireless/bluez-hcidump )
selinux? ( sec-policy/selinux-bluetooth )
test-programs? ( ${TEST_DEPS} )
 "

diff --git a/net-wireless/bluez/bluez-5.66.ebuild 
b/net-wireless/bluez/bluez-5.66-r1.ebuild
similarity index 99%
rename from net-wireless/bluez/bluez-5.66.ebuild
rename to net-wireless/bluez/bluez-5.66-r1.ebuild
index 443e73048f0d..4278549b3ee0 100644
--- a/net-wireless/bluez/bluez-5.66.ebuild
+++ b/net-wireless/bluez/bluez-5.66-r1.ebuild
@@ -54,6 +54,7 @@ DEPEND="
udev? ( >=virtual/udev-172 )
 "
 RDEPEND="${DEPEND}
+   deprecated? ( !net-wireless/bluez-hcidump )
selinux? ( sec-policy/selinux-bluetooth )
test-programs? ( ${TEST_DEPS} )
 "



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/

2023-01-01 Thread Conrad Kostecki
commit: dd556a89291ce48b6aec783b365a856ad4d92637
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Dec 27 17:13:05 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Jan  1 18:16:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd556a89

net-wireless/bluez: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/28854
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../bluez/files/bluez-5.63-musl-limits.patch   | 24 --
 1 file changed, 24 deletions(-)

diff --git a/net-wireless/bluez/files/bluez-5.63-musl-limits.patch 
b/net-wireless/bluez/files/bluez-5.63-musl-limits.patch
deleted file mode 100644
index ebdffc3270b4..
--- a/net-wireless/bluez/files/bluez-5.63-musl-limits.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From e5dcac6abd6129829c4983d6635916cee8f1a627 Mon Sep 17 00:00:00 2001
-From: Jory Pratt 
-Date: Sun, 12 Sep 2021 09:46:11 -0500
-Subject: [PATCH] include limits.h for PATH_MAX for musl support
-

- tools/mesh-cfgtest.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/tools/mesh-cfgtest.c b/tools/mesh-cfgtest.c
-index fa0474f..bfc8e1b 100644
 a/tools/mesh-cfgtest.c
-+++ b/tools/mesh-cfgtest.c
-@@ -26,6 +26,7 @@
- #include 
- #include 
- #include 
-+#include 
- 
- #include 
- 
--- 
-2.32.0
-



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-12-25 Thread Sam James
commit: 3d7b82aae1859945585525a6feff43a05575973c
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 25 17:02:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 25 17:02:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d7b82aa

net-wireless/bluez: Stabilize 5.66 arm64, #888307

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.66.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.66.ebuild 
b/net-wireless/bluez/bluez-5.66.ebuild
index d2171e62d51c..a16e088a000d 100644
--- a/net-wireless/bluez/bluez-5.66.ebuild
+++ b/net-wireless/bluez/bluez-5.66.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-12-25 Thread Sam James
commit: f89c12151c90d29478c4ea6b167176344578dbdb
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 25 17:02:43 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 25 17:02:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f89c1215

net-wireless/bluez: Stabilize 5.66 arm, #888307

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.66.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.66.ebuild 
b/net-wireless/bluez/bluez-5.66.ebuild
index a16e088a000d..58a432ae5cf1 100644
--- a/net-wireless/bluez/bluez-5.66.ebuild
+++ b/net-wireless/bluez/bluez-5.66.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-12-04 Thread Pacho Ramos
commit: 4b666ff264376c54085c6ef640a9d42ae006cf10
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Dec  4 13:16:49 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Dec  4 14:49:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b666ff2

net-wireless/bluez: drop 5.64

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest  |   1 -
 net-wireless/bluez/bluez-5.64.ebuild | 296 ---
 2 files changed, 297 deletions(-)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index ff11cd002cac..17edbb3ec397 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,4 +1,3 @@
-DIST bluez-5.64.tar.xz 2175148 BLAKE2B 
828c620330d1993d5c5c2a865f2d27a29425e3583aac01a1a782290a805ee0fd6456b6832c804ad323dd8714fa9329487b2616ed08f1f491ea29403ee05dba2d
 SHA512 
f11f9974b29c5c6fce3890d7e42425c1cb02e42c1b8f49c5cc4b249234e67b64317d0e5e82721e2fbf1b53269c8569a9c869d59ce42b5e927f6622f0753e53cd
 DIST bluez-5.65.tar.xz 2208100 BLAKE2B 
9d2937e2e14d8d8945183c6436921d9d16a6d3bcb5dbe3e2493554fbc4972bb4c006aabc793c9fb8eae47a7e9f29ae9fdf47551dfc0a238e86f5a76ce7436ae2
 SHA512 
c20c09a1a75053c77d73b3ce15ac7fd321eb6df5ca1646d57c6848b87c0c9957908bc17dd928da4ef2aacfc8667877cbc7511c1ba43db839bfa9bf1fb8269907
 DIST bluez-5.66.tar.xz 2257288 BLAKE2B 
af1911cf590461a874daa16bedb8a021a3b2c2af3254360c035d2180e0f355372651bd41da342c26e6d9631d726dd08e0d6a83a22069333b94b6fce6d546718c
 SHA512 
ed0994932687eacf27207867366671b323671f5d5199daf36ea5eff8f254f2bc99ef989ef7df9883b35c06f2af60452be8bad0a06109428a4717cf2b247b4865
 DIST power-state-adapter-property.patch 22488 BLAKE2B 
a46173c0ebe4f4822c67c2f8f2f3e67dab261753f64204f1a61665c3bba1d7a10e0f8511b38ce273d986490ffd262a737bee82694909683df7386b2015301607
 SHA512 
b039a578454681f291dc3b04079c8d0151b13a84b4b013e290aa3c28aba1538cef2d9e9aadfe88a0dbfb8e4cea1c251cb5043f4175fb32d53526f7b82de0451a

diff --git a/net-wireless/bluez/bluez-5.64.ebuild 
b/net-wireless/bluez/bluez-5.64.ebuild
deleted file mode 100644
index d70099f17051..
--- a/net-wireless/bluez/bluez-5.64.ebuild
+++ /dev/null
@@ -1,296 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
-
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
-HOMEPAGE="http://www.bluez.org;
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0/3"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
-
-# Since this release all remaining extra-tools need readline support, but this 
could
-# change in the future, hence, this REQUIRED_USE constraint could be dropped
-# again in the future.
-# btpclient needs mesh, bug #790587
-REQUIRED_USE="
-   btpclient? ( mesh )
-   extra-tools? ( deprecated readline )
-   test? ( ${PYTHON_REQUIRED_USE} )
-   test-programs? ( ${PYTHON_REQUIRED_USE} )
-"
-
-TEST_DEPS="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="
-   dev-python/docutils
-   virtual/pkgconfig
-   test? ( ${TEST_DEPS} )
-"
-DEPEND="
-   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
-   btpclient? ( >=dev-libs/ell-0.39 )
-   cups? ( net-print/cups:= )
-   mesh? (
-   >=dev-libs/ell-0.39
-   >=dev-libs/json-c-0.13:=
-   sys-libs/readline:0=
-   )
-   midi? ( media-libs/alsa-lib )
-   obex? ( dev-libs/libical:= )
-   readline? ( sys-libs/readline:0= )
-   systemd? ( sys-apps/systemd )
-   >=sys-apps/dbus-1.6:=
-   udev? ( >=virtual/udev-172 )
-"
-RDEPEND="${DEPEND}
-   selinux? ( sec-policy/selinux-bluetooth )
-   test-programs? ( ${TEST_DEPS} )
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
-   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
-   # https://bugs.gentoo.org/539844
-   # https://github.com/bluez/bluez/issues/268
-   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
-
-   # https://github.com/bluez/bluez/issues/267
-   "${FILESDIR}"/${PN}-5.63-musl-limits.patch
-
-   # Fedora patches
-   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
-   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
-)
-
-pkg_setup() {
-   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
-   # to prevent bugs like:
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/, net-wireless/bluez/

2022-12-04 Thread Pacho Ramos
commit: 590842a7dae0db6d1d945376c84003c7a2235d03
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Dec  4 13:15:35 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Dec  4 14:49:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=590842a7

net-wireless/bluez: add 5.66

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest|   1 +
 net-wireless/bluez/bluez-5.66.ebuild   | 300 +
 .../bluez-5.66-power-state-adapter-property.patch  |  28 ++
 .../files/bluez-5.66-transient-hostname-fix.patch  | 185 +
 4 files changed, 514 insertions(+)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 710de1c38b68..ff11cd002cac 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,3 +1,4 @@
 DIST bluez-5.64.tar.xz 2175148 BLAKE2B 
828c620330d1993d5c5c2a865f2d27a29425e3583aac01a1a782290a805ee0fd6456b6832c804ad323dd8714fa9329487b2616ed08f1f491ea29403ee05dba2d
 SHA512 
f11f9974b29c5c6fce3890d7e42425c1cb02e42c1b8f49c5cc4b249234e67b64317d0e5e82721e2fbf1b53269c8569a9c869d59ce42b5e927f6622f0753e53cd
 DIST bluez-5.65.tar.xz 2208100 BLAKE2B 
9d2937e2e14d8d8945183c6436921d9d16a6d3bcb5dbe3e2493554fbc4972bb4c006aabc793c9fb8eae47a7e9f29ae9fdf47551dfc0a238e86f5a76ce7436ae2
 SHA512 
c20c09a1a75053c77d73b3ce15ac7fd321eb6df5ca1646d57c6848b87c0c9957908bc17dd928da4ef2aacfc8667877cbc7511c1ba43db839bfa9bf1fb8269907
+DIST bluez-5.66.tar.xz 2257288 BLAKE2B 
af1911cf590461a874daa16bedb8a021a3b2c2af3254360c035d2180e0f355372651bd41da342c26e6d9631d726dd08e0d6a83a22069333b94b6fce6d546718c
 SHA512 
ed0994932687eacf27207867366671b323671f5d5199daf36ea5eff8f254f2bc99ef989ef7df9883b35c06f2af60452be8bad0a06109428a4717cf2b247b4865
 DIST power-state-adapter-property.patch 22488 BLAKE2B 
a46173c0ebe4f4822c67c2f8f2f3e67dab261753f64204f1a61665c3bba1d7a10e0f8511b38ce273d986490ffd262a737bee82694909683df7386b2015301607
 SHA512 
b039a578454681f291dc3b04079c8d0151b13a84b4b013e290aa3c28aba1538cef2d9e9aadfe88a0dbfb8e4cea1c251cb5043f4175fb32d53526f7b82de0451a

diff --git a/net-wireless/bluez/bluez-5.66.ebuild 
b/net-wireless/bluez/bluez-5.66.ebuild
new file mode 100644
index ..8a2a8ed1bcee
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.66.ebuild
@@ -0,0 +1,300 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   btpclient? ( mesh )
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # Fedora patches
+   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
+   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
+
+   # 
https://lore.kernel.org/linux-bluetooth/20220901110719.176944-1-had...@hadess.net/T/#m9c08d004cd5422783ee1d93154f42303bba9169f
+   

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-12-04 Thread Pacho Ramos
commit: 84ea287013f346711dbc30656a86a4af6e297825
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Dec  4 13:16:31 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Dec  4 14:49:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ea2870

net-wireless/bluez: Fix UnusedInherits warning

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.66.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.66.ebuild 
b/net-wireless/bluez/bluez-5.66.ebuild
index 8a2a8ed1bcee..9a5ea90d88e1 100644
--- a/net-wireless/bluez/bluez-5.66.ebuild
+++ b/net-wireless/bluez/bluez-5.66.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 PYTHON_COMPAT=( python3_{8..11} )
 
-inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
+inherit autotools linux-info python-single-r1 systemd udev multilib-minimal 
#readme.gentoo-r1
 
 DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
 HOMEPAGE="http://www.bluez.org;



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-11-24 Thread WANG Xuerui
commit: 67a72fa7558d5af26b4322fab7fb258758eea112
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu Nov 24 04:05:32 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Nov 24 12:00:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67a72fa7

net-wireless/bluez: keyword 5.65 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 net-wireless/bluez/bluez-5.65.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.65.ebuild 
b/net-wireless/bluez/bluez-5.65.ebuild
index 3fb265934dc4..c24fc51d0bcd 100644
--- a/net-wireless/bluez/bluez-5.65.ebuild
+++ b/net-wireless/bluez/bluez-5.65.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-10-25 Thread Sam James
commit: 363b7f243694d4196bacc67e4a4e55a6c40fd1be
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 25 12:48:47 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 25 12:48:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=363b7f24

net-wireless/bluez: Stabilize 5.65 amd64, #878027

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.65.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.65.ebuild 
b/net-wireless/bluez/bluez-5.65.ebuild
index 18530ca6e960..3fb265934dc4 100644
--- a/net-wireless/bluez/bluez-5.65.ebuild
+++ b/net-wireless/bluez/bluez-5.65.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-10-25 Thread Sam James
commit: b3e87639fa396f2ca78f586999c8db4e5aa195ad
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 25 11:11:48 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 25 11:11:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3e87639

net-wireless/bluez: Stabilize 5.65 x86, #878027

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.65.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.65.ebuild 
b/net-wireless/bluez/bluez-5.65.ebuild
index c36ba78b8168..18530ca6e960 100644
--- a/net-wireless/bluez/bluez-5.65.ebuild
+++ b/net-wireless/bluez/bluez-5.65.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-10-23 Thread Sam James
commit: d527bde889215699d8a8fd3e7570e1881af2b7e9
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 23 11:04:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 23 11:04:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d527bde8

net-wireless/bluez: Stabilize 5.65 arm, #878027

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.65.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.65.ebuild 
b/net-wireless/bluez/bluez-5.65.ebuild
index 1b3ccd834132..c36ba78b8168 100644
--- a/net-wireless/bluez/bluez-5.65.ebuild
+++ b/net-wireless/bluez/bluez-5.65.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-10-23 Thread Agostino Sarubbo
commit: 24094348bcf8b949f48cae2f5f18206c37a8a4e5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Oct 23 07:52:30 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Oct 23 07:52:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24094348

net-wireless/bluez: Stabilize 5.65 ppc64, #878027

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-wireless/bluez/bluez-5.65.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.65.ebuild 
b/net-wireless/bluez/bluez-5.65.ebuild
index a87c54a7d097..1b3ccd834132 100644
--- a/net-wireless/bluez/bluez-5.65.ebuild
+++ b/net-wireless/bluez/bluez-5.65.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-10-23 Thread Agostino Sarubbo
commit: 3a2067264ec2ba51e43476f7c067572b92e82639
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Oct 23 07:51:50 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Oct 23 07:51:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a206726

net-wireless/bluez: Stabilize 5.65 ppc, #878027

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-wireless/bluez/bluez-5.65.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.65.ebuild 
b/net-wireless/bluez/bluez-5.65.ebuild
index 835744af7253..a87c54a7d097 100644
--- a/net-wireless/bluez/bluez-5.65.ebuild
+++ b/net-wireless/bluez/bluez-5.65.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-10-23 Thread Agostino Sarubbo
commit: 40767f957c89b8a9219f6eb14b6e983491dd2416
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Oct 23 07:51:10 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Oct 23 07:51:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40767f95

net-wireless/bluez: Stabilize 5.65 arm64, #878027

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-wireless/bluez/bluez-5.65.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.65.ebuild 
b/net-wireless/bluez/bluez-5.65.ebuild
index 844d8a05a66a..835744af7253 100644
--- a/net-wireless/bluez/bluez-5.65.ebuild
+++ b/net-wireless/bluez/bluez-5.65.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/, net-wireless/bluez/files/

2022-09-11 Thread Pacho Ramos
commit: 6f545f9a5af1f3248db75d4853390eca6536d215
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Sep 11 07:49:25 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Sep 11 07:50:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f545f9a

net-wireless/bluez: Move big patch to dev space

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest|   1 +
 net-wireless/bluez/bluez-5.65.ebuild   |   5 +-
 .../bluez/files/power-state-adapter-property.patch | 723 -
 3 files changed, 4 insertions(+), 725 deletions(-)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 1bf6ed310204..710de1c38b68 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,2 +1,3 @@
 DIST bluez-5.64.tar.xz 2175148 BLAKE2B 
828c620330d1993d5c5c2a865f2d27a29425e3583aac01a1a782290a805ee0fd6456b6832c804ad323dd8714fa9329487b2616ed08f1f491ea29403ee05dba2d
 SHA512 
f11f9974b29c5c6fce3890d7e42425c1cb02e42c1b8f49c5cc4b249234e67b64317d0e5e82721e2fbf1b53269c8569a9c869d59ce42b5e927f6622f0753e53cd
 DIST bluez-5.65.tar.xz 2208100 BLAKE2B 
9d2937e2e14d8d8945183c6436921d9d16a6d3bcb5dbe3e2493554fbc4972bb4c006aabc793c9fb8eae47a7e9f29ae9fdf47551dfc0a238e86f5a76ce7436ae2
 SHA512 
c20c09a1a75053c77d73b3ce15ac7fd321eb6df5ca1646d57c6848b87c0c9957908bc17dd928da4ef2aacfc8667877cbc7511c1ba43db839bfa9bf1fb8269907
+DIST power-state-adapter-property.patch 22488 BLAKE2B 
a46173c0ebe4f4822c67c2f8f2f3e67dab261753f64204f1a61665c3bba1d7a10e0f8511b38ce273d986490ffd262a737bee82694909683df7386b2015301607
 SHA512 
b039a578454681f291dc3b04079c8d0151b13a84b4b013e290aa3c28aba1538cef2d9e9aadfe88a0dbfb8e4cea1c251cb5043f4175fb32d53526f7b82de0451a

diff --git a/net-wireless/bluez/bluez-5.65.ebuild 
b/net-wireless/bluez/bluez-5.65.ebuild
index 74ffae23b148..844d8a05a66a 100644
--- a/net-wireless/bluez/bluez-5.65.ebuild
+++ b/net-wireless/bluez/bluez-5.65.ebuild
@@ -8,7 +8,8 @@ inherit autotools linux-info python-single-r1 readme.gentoo-r1 
systemd udev mult
 
 DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
 HOMEPAGE="http://www.bluez.org;
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz
+   https://dev.gentoo.org/~pacho/${PN}/power-state-adapter-property.patch;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
@@ -73,7 +74,7 @@ PATCHES=(
 
# Fixed in next release

"${FILESDIR}"/0001-adapter-Reset-pending-settings-when-receiving-MGMT-e.patch
-   "${FILESDIR}"/power-state-adapter-property.patch
+   "${DISTDIR}"/power-state-adapter-property.patch
 )
 
 pkg_setup() {

diff --git a/net-wireless/bluez/files/power-state-adapter-property.patch 
b/net-wireless/bluez/files/power-state-adapter-property.patch
deleted file mode 100644
index 1d6f2cd0ae7f..
--- a/net-wireless/bluez/files/power-state-adapter-property.patch
+++ /dev/null
@@ -1,723 +0,0 @@
-From a282944af40893fc79f0ae3aa1bf52031aa07ffe Mon Sep 17 00:00:00 2001
-From: Bastien Nocera 
-Date: Wed, 31 Aug 2022 10:56:06 +0200
-Subject: [PATCH 1/6] adapter: Keep track of whether the adapter is rfkill'ed
-
-Instead of only replying to D-Bus requests with an error saying the
-adapter is blocked, keep track of the rfkill being enabled or disabled
-so we know the rfkill state of the adapter at all times.

- src/adapter.c | 25 +--
- src/adapter.h |  1 +
- src/btd.h |  1 +
- src/rfkill.c  | 89 ++-
- 4 files changed, 91 insertions(+), 25 deletions(-)
-
-diff --git a/src/adapter.c b/src/adapter.c
-index 51b099dae..7c11a688d 100644
 a/src/adapter.c
-+++ b/src/adapter.c
-@@ -250,6 +250,7 @@ struct btd_adapter {
-   uint32_t dev_class; /* controller class of device */
-   char *name; /* controller device name */
-   char *short_name;   /* controller short name */
-+  bool blocked;   /* whether rfkill is enabled */
-   uint32_t supported_settings;/* controller supported settings */
-   uint32_t pending_settings;  /* pending controller settings */
-   uint32_t current_settings;  /* current controller settings */
-@@ -654,6 +655,8 @@ static void set_mode_complete(uint8_t status, uint16_t 
length,
-   if (status != MGMT_STATUS_SUCCESS) {
-   btd_error(adapter->dev_id, "Failed to set mode: %s (0x%02x)",
-   mgmt_errstr(status), status);
-+  if (status == MGMT_STATUS_RFKILLED)
-+  adapter->blocked = true;
-   adapter->pending_settings &= ~data->setting;
-   return;
-   }
-@@ -2947,10 +2950,12 @@ static void property_set_mode_complete(uint8_t status, 
uint16_t length,
-   btd_error(adapter->dev_id, "Failed to set mode: %s (0x%02x)",
-

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/, net-wireless/bluez/files/

2022-09-11 Thread Pacho Ramos
commit: c7e05832f00875182becdba543cfdfd4a62ed26a
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Sep 11 07:43:27 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Sep 11 07:50:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7e05832

net-wireless/bluez: add 5.65

Thanks-to: Joakim Tjernlund
Closes: https://bugs.gentoo.org/866025
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest|   1 +
 net-wireless/bluez/bluez-5.65.ebuild   | 297 +
 ...et-pending-settings-when-receiving-MGMT-e.patch | 170 +
 .../bluez/files/power-state-adapter-property.patch | 723 +
 4 files changed, 1191 insertions(+)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 1f5ef5199e6c..1bf6ed310204 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1 +1,2 @@
 DIST bluez-5.64.tar.xz 2175148 BLAKE2B 
828c620330d1993d5c5c2a865f2d27a29425e3583aac01a1a782290a805ee0fd6456b6832c804ad323dd8714fa9329487b2616ed08f1f491ea29403ee05dba2d
 SHA512 
f11f9974b29c5c6fce3890d7e42425c1cb02e42c1b8f49c5cc4b249234e67b64317d0e5e82721e2fbf1b53269c8569a9c869d59ce42b5e927f6622f0753e53cd
+DIST bluez-5.65.tar.xz 2208100 BLAKE2B 
9d2937e2e14d8d8945183c6436921d9d16a6d3bcb5dbe3e2493554fbc4972bb4c006aabc793c9fb8eae47a7e9f29ae9fdf47551dfc0a238e86f5a76ce7436ae2
 SHA512 
c20c09a1a75053c77d73b3ce15ac7fd321eb6df5ca1646d57c6848b87c0c9957908bc17dd928da4ef2aacfc8667877cbc7511c1ba43db839bfa9bf1fb8269907

diff --git a/net-wireless/bluez/bluez-5.65.ebuild 
b/net-wireless/bluez/bluez-5.65.ebuild
new file mode 100644
index ..74ffae23b148
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.65.ebuild
@@ -0,0 +1,297 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   btpclient? ( mesh )
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # Fedora patches
+   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
+   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
+
+   # Fixed in next release
+   
"${FILESDIR}"/0001-adapter-Reset-pending-settings-when-receiving-MGMT-e.patch
+   "${FILESDIR}"/power-state-adapter-property.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER ~RFKILL"
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
+   if use mesh || use test; then
+   

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-07-09 Thread Pacho Ramos
commit: 44c72faa6d67a75f91b59194a189d04cdfd0cec9
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Jul  9 14:49:00 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Jul  9 14:50:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c72faa

net-wireless/bluez: Fix udev_reload call

Closes: https://bugs.gentoo.org/854783
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.64.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-wireless/bluez/bluez-5.64.ebuild 
b/net-wireless/bluez/bluez-5.64.ebuild
index 739c0968b690..d70099f17051 100644
--- a/net-wireless/bluez/bluez-5.64.ebuild
+++ b/net-wireless/bluez/bluez-5.64.ebuild
@@ -290,3 +290,7 @@ pkg_postinst() {
has_version net-dialup/ppp || elog "To use dial up networking you must 
install net-dialup/ppp"
use mesh && readme.gentoo_print_elog
 }
+
+pkg_postrm() {
+   use udev && udev_reload
+}



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-05-03 Thread Pacho Ramos
commit: dcbabaf8a8814ebe4faef1d5b06e3933b9cc8852
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue May  3 19:04:43 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue May  3 19:05:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcbabaf8

net-wireless/bluez: btpclient needs mesh USE

Really enforce it

Closes: https://bugs.gentoo.org/841485

Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.64.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-wireless/bluez/bluez-5.64.ebuild 
b/net-wireless/bluez/bluez-5.64.ebuild
index 9b4e71de94ac..739c0968b690 100644
--- a/net-wireless/bluez/bluez-5.64.ebuild
+++ b/net-wireless/bluez/bluez-5.64.ebuild
@@ -20,6 +20,7 @@ IUSE="btpclient cups doc debug deprecated extra-tools 
experimental +mesh midi +o
 # again in the future.
 # btpclient needs mesh, bug #790587
 REQUIRED_USE="
+   btpclient? ( mesh )
extra-tools? ( deprecated readline )
test? ( ${PYTHON_REQUIRED_USE} )
test-programs? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/, net-wireless/bluez/files/

2022-04-18 Thread Pacho Ramos
commit: ce2e1c7de43ea080fbf8e1dea2af821993d8d6d6
Author: Pacho Ramos  gentoo  org>
AuthorDate: Mon Apr 18 16:23:31 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Mon Apr 18 16:23:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce2e1c7d

net-wireless/bluez: drop 5.62-r2, 5.62-r3, 5.63-r1

Bug: https://bugs.gentoo.org/835077
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest|   2 -
 net-wireless/bluez/bluez-5.62-r2.ebuild| 285 ---
 net-wireless/bluez/bluez-5.62-r3.ebuild| 295 ---
 net-wireless/bluez/bluez-5.63-r1.ebuild| 295 ---
 ...1-Revert-attrib-Make-use-of-bt_att_resend.patch | 188 ---
 ...hog-Fix-read-order-of-attributes-rediffed.patch | 542 -
 ...while-uhid-device-has-not-been-c-rediffed.patch |  90 
 .../bluez/files/bluez-5.62-fix-disconnecting.patch |  54 --
 8 files changed, 1751 deletions(-)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 6183ed41d707..1f5ef5199e6c 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,3 +1 @@
-DIST bluez-5.62.tar.xz 2149348 BLAKE2B 
db99b36a230fc0be15275d2eda9864b686326ba50648f66b19087ea4309a76d234ab4f1dcb6975f1513a898978b1d5b9332542f5dcee22efd898b79658434a70
 SHA512 
8fb0b81e1d929d3eee3d70f457ce75dbcff4c2a8a728247fc950bbe11e84d83582345bfd433d2e2df7b5588eb0e42f286658a83c7332be84819d9df49a5707e8
-DIST bluez-5.63.tar.xz 2169168 BLAKE2B 
5393bb045a3cf05de164417ce7c98e271742ba752a58aa1ac43a758f2ad8608508e24ff59783d97aa6d5aebdc77e66d9aca94a6c8378cd3fd48fd22ce9d3b89d
 SHA512 
1b8ce7b1bd9611873c27a762a60df580edeefe5424e8733a2067b9afb1a47915f9319849bc1148f5b1f33977b7975e05867e8dbdf73d33cd68e6b99ca75b
 DIST bluez-5.64.tar.xz 2175148 BLAKE2B 
828c620330d1993d5c5c2a865f2d27a29425e3583aac01a1a782290a805ee0fd6456b6832c804ad323dd8714fa9329487b2616ed08f1f491ea29403ee05dba2d
 SHA512 
f11f9974b29c5c6fce3890d7e42425c1cb02e42c1b8f49c5cc4b249234e67b64317d0e5e82721e2fbf1b53269c8569a9c869d59ce42b5e927f6622f0753e53cd

diff --git a/net-wireless/bluez/bluez-5.62-r2.ebuild 
b/net-wireless/bluez/bluez-5.62-r2.ebuild
deleted file mode 100644
index 70c9a7547c55..
--- a/net-wireless/bluez/bluez-5.62-r2.ebuild
+++ /dev/null
@@ -1,285 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
-
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
-HOMEPAGE="http://www.bluez.org;
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0/3"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
-
-# Since this release all remaining extra-tools need readline support, but this 
could
-# change in the future, hence, this REQUIRED_USE constraint could be dropped
-# again in the future.
-REQUIRED_USE="
-   extra-tools? ( deprecated readline )
-   test? ( ${PYTHON_REQUIRED_USE} )
-   test-programs? ( ${PYTHON_REQUIRED_USE} )
-"
-
-TEST_DEPS="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="
-   dev-python/docutils
-   virtual/pkgconfig
-   test? ( ${TEST_DEPS} )
-"
-DEPEND="
-   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
-   btpclient? ( >=dev-libs/ell-0.39 )
-   cups? ( net-print/cups:= )
-   mesh? (
-   >=dev-libs/ell-0.39
-   >=dev-libs/json-c-0.13:=
-   sys-libs/readline:0=
-   )
-   midi? ( media-libs/alsa-lib )
-   obex? ( dev-libs/libical:= )
-   readline? ( sys-libs/readline:0= )
-   systemd? ( sys-apps/systemd )
-   >=sys-apps/dbus-1.6:=
-   udev? ( >=virtual/udev-172 )
-"
-RDEPEND="${DEPEND}
-   selinux? ( sec-policy/selinux-bluetooth )
-   test-programs? ( ${TEST_DEPS} )
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
-   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
-   # https://bugs.gentoo.org/539844
-   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
-
-   # Fedora patches
-   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
-   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
-)
-
-pkg_setup() {
-   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
-   # to prevent bugs like:
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-04-11 Thread Jakov Smolić
commit: 0203d508fc1493659e5593c1903bcdb891762a59
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Apr 11 06:34:56 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Apr 11 06:34:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0203d508

net-wireless/bluez: Stabilize 5.64 x86, #837584

Signed-off-by: Jakov Smolić  gentoo.org>

 net-wireless/bluez/bluez-5.64.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.64.ebuild 
b/net-wireless/bluez/bluez-5.64.ebuild
index 286a0692cb3a..9b4e71de94ac 100644
--- a/net-wireless/bluez/bluez-5.64.ebuild
+++ b/net-wireless/bluez/bluez-5.64.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-04-11 Thread Jakov Smolić
commit: 4b46405680ddb9c20242b0aa7336d130f179f195
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Apr 11 06:34:20 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Apr 11 06:34:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b464056

net-wireless/bluez: Stabilize 5.64 amd64, #837584

Signed-off-by: Jakov Smolić  gentoo.org>

 net-wireless/bluez/bluez-5.64.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.64.ebuild 
b/net-wireless/bluez/bluez-5.64.ebuild
index f3b74240d7a7..286a0692cb3a 100644
--- a/net-wireless/bluez/bluez-5.64.ebuild
+++ b/net-wireless/bluez/bluez-5.64.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-04-10 Thread Arthur Zamarin
commit: 0ff6b3d888fecc85849cb3e461aa09f99d429c49
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 10 18:30:25 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 10 18:30:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ff6b3d8

net-wireless/bluez: Stabilize 5.64 arm64, #837584

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-wireless/bluez/bluez-5.64.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.64.ebuild 
b/net-wireless/bluez/bluez-5.64.ebuild
index c2f5f0bb7b02..f3b74240d7a7 100644
--- a/net-wireless/bluez/bluez-5.64.ebuild
+++ b/net-wireless/bluez/bluez-5.64.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-04-10 Thread Arthur Zamarin
commit: 8a2226aabdd58b8e981a036da9c857132f82375c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 10 18:05:28 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 10 18:05:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a2226aa

net-wireless/bluez: Stabilize 5.64 arm, #837584

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-wireless/bluez/bluez-5.64.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.64.ebuild 
b/net-wireless/bluez/bluez-5.64.ebuild
index 5995ae4316e6..c2f5f0bb7b02 100644
--- a/net-wireless/bluez/bluez-5.64.ebuild
+++ b/net-wireless/bluez/bluez-5.64.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-04-10 Thread Arthur Zamarin
commit: 4e22693ebf5670801b919c8c68abf4a176725cf0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 10 18:05:27 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 10 18:05:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e22693e

net-wireless/bluez: Stabilize 5.64 ppc, #837584

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-wireless/bluez/bluez-5.64.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.64.ebuild 
b/net-wireless/bluez/bluez-5.64.ebuild
index f35992f0e8a3..5995ae4316e6 100644
--- a/net-wireless/bluez/bluez-5.64.ebuild
+++ b/net-wireless/bluez/bluez-5.64.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-04-10 Thread Arthur Zamarin
commit: 45f9f57932b92acaeec4fdc37d30aee980729f48
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 10 18:05:27 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 10 18:05:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45f9f579

net-wireless/bluez: Stabilize 5.64 ppc64, #837584

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-wireless/bluez/bluez-5.64.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.64.ebuild 
b/net-wireless/bluez/bluez-5.64.ebuild
index 4a2ade79d8d9..f35992f0e8a3 100644
--- a/net-wireless/bluez/bluez-5.64.ebuild
+++ b/net-wireless/bluez/bluez-5.64.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/

2022-03-27 Thread Conrad Kostecki
commit: 6aecaf3e657fbc7bc7746786060cb0b7e0866db0
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Mar 27 11:45:24 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Mar 27 22:07:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aecaf3e

net-wireless/bluez: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/24775
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../files/bluez-5.63-use-queue_push_tail.patch | 27 --
 1 file changed, 27 deletions(-)

diff --git a/net-wireless/bluez/files/bluez-5.63-use-queue_push_tail.patch 
b/net-wireless/bluez/files/bluez-5.63-use-queue_push_tail.patch
deleted file mode 100644
index 6644e250cc48..
--- a/net-wireless/bluez/files/bluez-5.63-use-queue_push_tail.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 7b41f0c38ab34c9a5eec1a70669d183535e86287 Mon Sep 17 00:00:00 2001
-From: Florian Schmaus 
-Date: Fri, 17 Dec 2021 14:05:50 +0100
-Subject: [PATCH] DRAFT shared/att: Use queue_push_tail for
- BT_ATT_OP_READ_BLOB_REQ
-
-As repoorted by Christopher Schramm [1], this is supposed to fix #220.
-
-1: https://github.com/bluez/bluez/issues/220#issuecomment-996669412
-
-Suggested-by: Christopher Schramm 

- src/shared/att.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/src/shared/att.c b/src/shared/att.c
-index 169f726e4..5ce735a07 100644
 a/src/shared/att.c
-+++ b/src/shared/att.c
-@@ -1653,7 +1653,6 @@ int bt_att_resend(struct bt_att *att, unsigned int id, 
uint8_t opcode,
- 
-   switch (opcode) {
-   /* Only prepend requests that could be a continuation */
--  case BT_ATT_OP_READ_BLOB_REQ:
-   case BT_ATT_OP_PREP_WRITE_REQ:
-   case BT_ATT_OP_EXEC_WRITE_REQ:
-   result = queue_push_head(att->req_queue, op);



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-03-26 Thread Pacho Ramos
commit: c1ef568276b8d89b56ec403a52df396e872dde9b
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Mar 26 19:24:34 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Mar 26 19:24:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1ef5682

net-wireless/bluez: Drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.63.ebuild | 302 ---
 1 file changed, 302 deletions(-)

diff --git a/net-wireless/bluez/bluez-5.63.ebuild 
b/net-wireless/bluez/bluez-5.63.ebuild
deleted file mode 100644
index b2c07f35899e..
--- a/net-wireless/bluez/bluez-5.63.ebuild
+++ /dev/null
@@ -1,302 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
-
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
-HOMEPAGE="http://www.bluez.org;
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
-
-# Since this release all remaining extra-tools need readline support, but this 
could
-# change in the future, hence, this REQUIRED_USE constraint could be dropped
-# again in the future.
-# btpclient needs mesh, bug #790587
-REQUIRED_USE="
-   extra-tools? ( deprecated readline )
-   test? ( ${PYTHON_REQUIRED_USE} )
-   test-programs? ( ${PYTHON_REQUIRED_USE} )
-"
-
-TEST_DEPS="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="
-   dev-python/docutils
-   virtual/pkgconfig
-   test? ( ${TEST_DEPS} )
-"
-DEPEND="
-   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
-   btpclient? ( >=dev-libs/ell-0.39 )
-   cups? ( net-print/cups:= )
-   mesh? (
-   >=dev-libs/ell-0.39
-   >=dev-libs/json-c-0.13:=
-   sys-libs/readline:0=
-   )
-   midi? ( media-libs/alsa-lib )
-   obex? ( dev-libs/libical:= )
-   readline? ( sys-libs/readline:0= )
-   systemd? ( sys-apps/systemd )
-   >=sys-apps/dbus-1.6:=
-   udev? ( >=virtual/udev-172 )
-"
-RDEPEND="${DEPEND}
-   selinux? ( sec-policy/selinux-bluetooth )
-   test-programs? ( ${TEST_DEPS} )
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
-   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
-   # https://bugs.gentoo.org/539844
-   # https://github.com/bluez/bluez/issues/268
-   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
-
-   # https://github.com/bluez/bluez/issues/267
-   "${FILESDIR}"/${PN}-5.63-musl-limits.patch
-
-   # Fedora patches
-   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
-   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
-
-   # This reverts commit ac2c2e10b3adb432a572b618c6f53cabb6b3c80b. It
-   # causes problems with Logitech MX wireless input devices (see
-   # https://github.com/bluez/bluez/issues/220 )
-   #"${FILESDIR}"/0001-Revert-attrib-Make-use-of-bt_att_resend.patch
-   # Instead of reverting, try another fix that seems to work as
-   # reported in upstream bug
-   "${FILESDIR}"/${PN}-5.63-use-queue_push_tail.patch
-)
-
-pkg_setup() {
-   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
-   # to prevent bugs like:
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
-   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER ~RFKILL"
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
-   if use mesh || use test; then
-   CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_USER
-   ~CRYPTO_USER_API ~CRYPTO_USER_API_AEAD ~CRYPTO_AES ~CRYPTO_CCM 
~CRYPTO_AEAD ~CRYPTO_CMAC
-   ~CRYPTO_MD5 ~CRYPTO_SHA1 ~KEY_DH_OPERATIONS"
-   fi
-   linux-info_pkg_setup
-
-   if use test || use test-programs; then
-   python-single-r1_pkg_setup
-   fi
-
-   if ! use udev; then
-   ewarn
-   ewarn "You are installing ${PN} with USE=-udev. This means 
various bluetooth"
-   ewarn "devices and adapters from Apple, Dell, Logitech etc. 
will not work,"
-   ewarn "and hid2hci will not be available."
-   ewarn
-   

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2022-03-26 Thread Pacho Ramos
commit: aa6fc98d5349d89969b3d4707e0884cd71652964
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Mar 26 19:23:39 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Mar 26 19:24:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa6fc98d

net-wireless/bluez: Bump to 5.64

Closes: https://bugs.gentoo.org/835627
Closes: https://bugs.gentoo.org/827706
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest  |   1 +
 net-wireless/bluez/bluez-5.64.ebuild | 291 +++
 2 files changed, 292 insertions(+)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 089cee551e37..6183ed41d707 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,2 +1,3 @@
 DIST bluez-5.62.tar.xz 2149348 BLAKE2B 
db99b36a230fc0be15275d2eda9864b686326ba50648f66b19087ea4309a76d234ab4f1dcb6975f1513a898978b1d5b9332542f5dcee22efd898b79658434a70
 SHA512 
8fb0b81e1d929d3eee3d70f457ce75dbcff4c2a8a728247fc950bbe11e84d83582345bfd433d2e2df7b5588eb0e42f286658a83c7332be84819d9df49a5707e8
 DIST bluez-5.63.tar.xz 2169168 BLAKE2B 
5393bb045a3cf05de164417ce7c98e271742ba752a58aa1ac43a758f2ad8608508e24ff59783d97aa6d5aebdc77e66d9aca94a6c8378cd3fd48fd22ce9d3b89d
 SHA512 
1b8ce7b1bd9611873c27a762a60df580edeefe5424e8733a2067b9afb1a47915f9319849bc1148f5b1f33977b7975e05867e8dbdf73d33cd68e6b99ca75b
+DIST bluez-5.64.tar.xz 2175148 BLAKE2B 
828c620330d1993d5c5c2a865f2d27a29425e3583aac01a1a782290a805ee0fd6456b6832c804ad323dd8714fa9329487b2616ed08f1f491ea29403ee05dba2d
 SHA512 
f11f9974b29c5c6fce3890d7e42425c1cb02e42c1b8f49c5cc4b249234e67b64317d0e5e82721e2fbf1b53269c8569a9c869d59ce42b5e927f6622f0753e53cd

diff --git a/net-wireless/bluez/bluez-5.64.ebuild 
b/net-wireless/bluez/bluez-5.64.ebuild
new file mode 100644
index ..4a2ade79d8d9
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.64.ebuild
@@ -0,0 +1,291 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # https://github.com/bluez/bluez/issues/267
+   "${FILESDIR}"/${PN}-5.63-musl-limits.patch
+
+   # Fedora patches
+   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
+   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER ~RFKILL"
+   # 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/, net-wireless/bluez/

2022-01-16 Thread Pacho Ramos
commit: 277ef13c7bb383657ee4628b45a37b62f66eb20e
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jan 16 09:37:57 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jan 16 09:38:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=277ef13c

net-wireless/bluez: Sync with upstream fixes

For bug #827706

Bug: https://bugs.gentoo.org/827706
Bug: https://bugs.gentoo.org/829091
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.63-r1.ebuild| 295 +++
 ...hog-Fix-read-order-of-attributes-rediffed.patch | 542 +
 ...while-uhid-device-has-not-been-c-rediffed.patch |  90 
 3 files changed, 927 insertions(+)

diff --git a/net-wireless/bluez/bluez-5.63-r1.ebuild 
b/net-wireless/bluez/bluez-5.63-r1.ebuild
new file mode 100644
index ..baad2b48deaf
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.63-r1.ebuild
@@ -0,0 +1,295 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # https://github.com/bluez/bluez/issues/267
+   "${FILESDIR}"/${PN}-5.63-musl-limits.patch
+
+   # Fedora patches
+   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
+   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
+
+   # https://github.com/bluez/bluez/issues/220
+   "${FILESDIR}"/0001-hog-Fix-read-order-of-attributes-rediffed.patch
+   
"${FILESDIR}"/0002-hog-Add-input-queue-while-uhid-device-has-not-been-c-rediffed.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER ~RFKILL"
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
+   if use mesh || use test; then
+   CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_USER
+   ~CRYPTO_USER_API ~CRYPTO_USER_API_AEAD ~CRYPTO_AES ~CRYPTO_CCM 
~CRYPTO_AEAD ~CRYPTO_CMAC
+   ~CRYPTO_MD5 ~CRYPTO_SHA1 ~KEY_DH_OPERATIONS"
+   fi
+   linux-info_pkg_setup
+
+   if use test || use test-programs; then
+   python-single-r1_pkg_setup
+   fi
+
+   if ! use udev; then
+   ewarn
+   ewarn "You are installing ${PN} with USE=-udev. This means 
various bluetooth"
+   ewarn "devices and adapters from Apple, Dell, Logitech etc. 
will not work,"
+   ewarn "and hid2hci will not be 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/, net-wireless/bluez/files/

2022-01-09 Thread Pacho Ramos
commit: e1880ed05a890b2029d038e33eac7f021de787f6
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jan  9 19:52:32 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jan  9 19:52:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1880ed0

net-wireless/bluez: Bump to 5.63

Also try a less invasive fix for bug #827706. Skip for now test-hog as it
fails (#829091) with all the fixes for previous bug.

More kernel config options are needed to run the tests.

Also fix building with musl

Closes: https://bugs.gentoo.org/829091
Thanks-to: Paolo Pedroni
Bug: https://bugs.gentoo.org/827706
Thanks-to: Florian Schmaus
Closes: https://bugs.gentoo.org/812797
Thanks-to: Jory A. Pratt
Closes: https://bugs.gentoo.org/827825
Thanks-to: Agostino Sarubbo
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest|   1 +
 net-wireless/bluez/bluez-5.63.ebuild   | 302 +
 .../bluez/files/bluez-5.63-musl-limits.patch   |  24 ++
 .../files/bluez-5.63-use-queue_push_tail.patch |  27 ++
 4 files changed, 354 insertions(+)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index ff487814a867..089cee551e37 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1 +1,2 @@
 DIST bluez-5.62.tar.xz 2149348 BLAKE2B 
db99b36a230fc0be15275d2eda9864b686326ba50648f66b19087ea4309a76d234ab4f1dcb6975f1513a898978b1d5b9332542f5dcee22efd898b79658434a70
 SHA512 
8fb0b81e1d929d3eee3d70f457ce75dbcff4c2a8a728247fc950bbe11e84d83582345bfd433d2e2df7b5588eb0e42f286658a83c7332be84819d9df49a5707e8
+DIST bluez-5.63.tar.xz 2169168 BLAKE2B 
5393bb045a3cf05de164417ce7c98e271742ba752a58aa1ac43a758f2ad8608508e24ff59783d97aa6d5aebdc77e66d9aca94a6c8378cd3fd48fd22ce9d3b89d
 SHA512 
1b8ce7b1bd9611873c27a762a60df580edeefe5424e8733a2067b9afb1a47915f9319849bc1148f5b1f33977b7975e05867e8dbdf73d33cd68e6b99ca75b

diff --git a/net-wireless/bluez/bluez-5.63.ebuild 
b/net-wireless/bluez/bluez-5.63.ebuild
new file mode 100644
index ..b2c07f35899e
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.63.ebuild
@@ -0,0 +1,302 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+# btpclient needs mesh, bug #790587
+REQUIRED_USE="
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   # https://github.com/bluez/bluez/issues/268
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # https://github.com/bluez/bluez/issues/267
+   "${FILESDIR}"/${PN}-5.63-musl-limits.patch
+
+   # Fedora patches
+   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
+   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
+
+   # This reverts commit ac2c2e10b3adb432a572b618c6f53cabb6b3c80b. It
+   # causes problems with Logitech MX wireless input devices (see
+   # https://github.com/bluez/bluez/issues/220 )
+   

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez-tools/, net-wireless/bluez-tools/files/

2022-01-03 Thread Florian Schmaus
commit: 1c4175c85c46a54a73f38343512ceffad5d500ce
Author: Olivier Laurantin  laposte  net>
AuthorDate: Sat Jan  1 10:41:02 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Jan  3 18:41:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c4175c8

net-wireless/bluez-tools: remove old version

Remove old version and gcc 10 patch

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Olivier Laurantin  laposte.net>
Closes: https://github.com/gentoo/gentoo/pull/23612
Signed-off-by: Florian Schmaus  gentoo.org>

 net-wireless/bluez-tools/Manifest  |  1 -
 .../bluez-tools/bluez-tools-0_p20161212.ebuild | 33 --
 .../files/bluez-tools-0_p20161212-gcc-10.patch | 29 ---
 3 files changed, 63 deletions(-)

diff --git a/net-wireless/bluez-tools/Manifest 
b/net-wireless/bluez-tools/Manifest
index 3d34b1d3f9ec..e73715c1b798 100644
--- a/net-wireless/bluez-tools/Manifest
+++ b/net-wireless/bluez-tools/Manifest
@@ -1,2 +1 @@
-DIST bluez-tools-0_p20161212.tar.gz 126613 BLAKE2B 
474393862049a893280eeb0b7f466a1b1165a14d0ab33cbd9d3ca805a15eef237761aa3038423de85280bcaaf1385c3c7ab313d4cc3199f284aba86d8e5ed16e
 SHA512 
ab5dd4a223348aab29fae22f552afae989b74d56c3fa46fd5587c100d63309649a10a87591bc040082545f45b7bb95360fcf6a48812012edbdb93570b0e166f7
 DIST bluez-tools-0_p20201025.tar.gz 126646 BLAKE2B 
6deea6a12ee1050cbe12592fe202be60f032a7ee9a8f790537ef24c3a2562d90abf88f69690e6dd53f16841a256fc82dcfb078b2d708531ca6c50f63b6e84274
 SHA512 
631dfa7ee7e1bfe487db90f9df692c4136d6258ddd34cda269e3a9538a3c8fe8bad3bac595e57d74789df2da4e15fa0ca7b83374e7f6457695701852b3744b12

diff --git a/net-wireless/bluez-tools/bluez-tools-0_p20161212.ebuild 
b/net-wireless/bluez-tools/bluez-tools-0_p20161212.ebuild
deleted file mode 100644
index 6585af370e24..
--- a/net-wireless/bluez-tools/bluez-tools-0_p20161212.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="A set of tools to manage bluetooth devices for linux"
-HOMEPAGE="https://github.com/khvzak/bluez-tools;
-COMMIT="97efd293491ad7ec96a655665339908f2478b3d1"
-SRC_URI="https://github.com/khvzak/${PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-IUSE=""
-
-RDEPEND="dev-libs/dbus-glib
-   dev-libs/glib:2
-   net-wireless/bluez[obex]
-   sys-libs/readline:0"
-DEPEND="${RDEPEND}"
-
-DOCS=( AUTHORS README )
-
-PATCHES=( "${FILESDIR}/${P}-gcc-10.patch" )
-
-S="${WORKDIR}/${PN}-${COMMIT}"
-
-src_prepare() {
-   default
-   eautoreconf
-}

diff --git 
a/net-wireless/bluez-tools/files/bluez-tools-0_p20161212-gcc-10.patch 
b/net-wireless/bluez-tools/files/bluez-tools-0_p20161212-gcc-10.patch
deleted file mode 100644
index 6bfaa57fa19a..
--- a/net-wireless/bluez-tools/files/bluez-tools-0_p20161212-gcc-10.patch
+++ /dev/null
@@ -1,29 +0,0 @@
 a/src/lib/agent-helper.c   2016-12-12 09:18:08.0 +0100
-+++ b/src/lib/agent-helper.c   2020-01-30 22:23:27.555951515 +0100
-@@ -33,6 +33,8 @@
- 
- #include "agent-helper.h"
- 
-+gboolean agent_need_unregister;
-+
- static const gchar *_bt_agent_introspect_xml = "\n\t\n\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\n\n";
- static guint _bt_agent_registration_id = 0;
- static GHashTable *_pin_hash_table = NULL;
 a/src/lib/agent-helper.h   2016-12-12 09:18:08.0 +0100
-+++ b/src/lib/agent-helper.h   2020-01-30 22:22:15.463751152 +0100
-@@ -35,7 +35,7 @@
- #define AGENT_DBUS_INTERFACE "org.bluez.Agent1"
- #define AGENT_PATH "/org/blueztools"
- 
--gboolean agent_need_unregister;
-+extern gboolean agent_need_unregister;
- 
- void register_agent_callbacks(gboolean interactive_console, GHashTable 
*pin_dictonary, gpointer main_loop_object, GError **error);
- void unregister_agent_callbacks(GError **error);
-@@ -44,4 +44,4 @@
- }
- #endif
- 
--#endif /* __AGENT_HELPER_H */
-\ Pas de fin de ligne à la fin du fichier
-+#endif /* __AGENT_HELPER_H */



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez-tools/

2022-01-03 Thread Florian Schmaus
commit: 93fc32ddc98538d75347b756f0d508c454a48a9c
Author: Olivier Laurantin  laposte  net>
AuthorDate: Sat Jan  1 10:38:49 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Jan  3 18:41:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93fc32dd

net-wireless/bluez-tools: version bump

Update to latest git commit

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Olivier Laurantin  laposte.net>
Signed-off-by: Florian Schmaus  gentoo.org>

 net-wireless/bluez-tools/Manifest  |  1 +
 .../bluez-tools/bluez-tools-0_p20201025.ebuild | 31 ++
 2 files changed, 32 insertions(+)

diff --git a/net-wireless/bluez-tools/Manifest 
b/net-wireless/bluez-tools/Manifest
index d2efe655a73e..3d34b1d3f9ec 100644
--- a/net-wireless/bluez-tools/Manifest
+++ b/net-wireless/bluez-tools/Manifest
@@ -1 +1,2 @@
 DIST bluez-tools-0_p20161212.tar.gz 126613 BLAKE2B 
474393862049a893280eeb0b7f466a1b1165a14d0ab33cbd9d3ca805a15eef237761aa3038423de85280bcaaf1385c3c7ab313d4cc3199f284aba86d8e5ed16e
 SHA512 
ab5dd4a223348aab29fae22f552afae989b74d56c3fa46fd5587c100d63309649a10a87591bc040082545f45b7bb95360fcf6a48812012edbdb93570b0e166f7
+DIST bluez-tools-0_p20201025.tar.gz 126646 BLAKE2B 
6deea6a12ee1050cbe12592fe202be60f032a7ee9a8f790537ef24c3a2562d90abf88f69690e6dd53f16841a256fc82dcfb078b2d708531ca6c50f63b6e84274
 SHA512 
631dfa7ee7e1bfe487db90f9df692c4136d6258ddd34cda269e3a9538a3c8fe8bad3bac595e57d74789df2da4e15fa0ca7b83374e7f6457695701852b3744b12

diff --git a/net-wireless/bluez-tools/bluez-tools-0_p20201025.ebuild 
b/net-wireless/bluez-tools/bluez-tools-0_p20201025.ebuild
new file mode 100644
index ..755069585081
--- /dev/null
+++ b/net-wireless/bluez-tools/bluez-tools-0_p20201025.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="A set of tools to manage bluetooth devices for linux"
+HOMEPAGE="https://github.com/khvzak/bluez-tools;
+COMMIT="f65321736475429316f07ee94ec0deac8e46ec4a"
+SRC_URI="https://github.com/khvzak/${PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/dbus-glib
+   dev-libs/glib:2
+   net-wireless/bluez[obex]
+   sys-libs/readline:0"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS README )
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+src_prepare() {
+   default
+   eautoreconf
+}



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/

2021-12-11 Thread Conrad Kostecki
commit: de026837aaef968dc2bcb14fcc06beb73325a2bc
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Dec  8 08:27:17 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Dec 11 19:47:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de026837

net-wireless/bluez: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/23222
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../bluez/files/bluez-5.60-glibc-2.34.patch| 42 --
 1 file changed, 42 deletions(-)

diff --git a/net-wireless/bluez/files/bluez-5.60-glibc-2.34.patch 
b/net-wireless/bluez/files/bluez-5.60-glibc-2.34.patch
deleted file mode 100644
index 1e846100285d..
--- a/net-wireless/bluez/files/bluez-5.60-glibc-2.34.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 124dee151746b4a8a2e8a7194af78f2c82f75d79 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= 
-Date: Wed, 3 Mar 2021 08:57:36 +0100
-Subject: [PATCH] media: rename local function conflicting with pause(2)
-
-profiles/audio/media.c:1284:13: error: conflicting types for 'pause'; have 
'_Bool(void *)'
- 1284 | static bool pause(void *user_data)
-  | ^
-In file included from /usr/include/bits/sigstksz.h:24,
- from /usr/include/signal.h:315,
- from /usr/include/glib-2.0/glib/gbacktrace.h:36,
- from /usr/include/glib-2.0/glib.h:34,
- from profiles/audio/media.c:21:
-/usr/include/unistd.h:478:12: note: previous declaration of 'pause' with type 
'int(void)'
-  478 | extern int pause (void);
-  |^

- profiles/audio/media.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/profiles/audio/media.c b/profiles/audio/media.c
-index c84bbe22dc..3d8c4b69c3 100644
 a/profiles/audio/media.c
-+++ b/profiles/audio/media.c
-@@ -1281,7 +1281,7 @@ static bool stop(void *user_data)
-   return media_player_send(mp, "Stop");
- }
- 
--static bool pause(void *user_data)
-+static bool pause_play(void *user_data)
- {
-   struct media_player *mp = user_data;
- 
-@@ -1331,7 +1331,7 @@ static struct avrcp_player_cb player_cb = {
-   .set_volume = set_volume,
-   .play = play,
-   .stop = stop,
--  .pause = pause,
-+  .pause = pause_play,
-   .next = next,
-   .previous = previous,
- };



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-12-11 Thread Pacho Ramos
commit: 3011ea2f24ece8f5f69481db3efb464d8d77c122
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Dec 11 17:52:52 2021 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Dec 11 17:52:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3011ea2f

net-wireless/bluez: btpclient needs mesh support

Closes: https://bugs.gentoo.org/790587
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.62-r3.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-wireless/bluez/bluez-5.62-r3.ebuild 
b/net-wireless/bluez/bluez-5.62-r3.ebuild
index 0c6847229037..71035af2f830 100644
--- a/net-wireless/bluez/bluez-5.62-r3.ebuild
+++ b/net-wireless/bluez/bluez-5.62-r3.ebuild
@@ -18,6 +18,7 @@ IUSE="btpclient cups doc debug deprecated extra-tools 
experimental +mesh midi +o
 # Since this release all remaining extra-tools need readline support, but this 
could
 # change in the future, hence, this REQUIRED_USE constraint could be dropped
 # again in the future.
+# btpclient needs mesh, bug #790587
 REQUIRED_USE="
extra-tools? ( deprecated readline )
test? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-12-10 Thread Jakov Smolić
commit: 97b1a6b95c47b677bc054ef52fb9952b15dfac48
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Dec 10 21:48:05 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Dec 10 21:48:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97b1a6b9

net-wireless/bluez: Stabilize 5.62-r3 x86, #828018

Signed-off-by: Jakov Smolić  gentoo.org>

 net-wireless/bluez/bluez-5.62-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.62-r3.ebuild 
b/net-wireless/bluez/bluez-5.62-r3.ebuild
index d346187af847..0c6847229037 100644
--- a/net-wireless/bluez/bluez-5.62-r3.ebuild
+++ b/net-wireless/bluez/bluez-5.62-r3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-12-10 Thread Jakov Smolić
commit: 5205942eec96a53906d5f3aca3fa02e31439d52c
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Dec 10 11:38:43 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Dec 10 11:38:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5205942e

net-wireless/bluez: Stabilize 5.62-r3 amd64, #828018

Signed-off-by: Jakov Smolić  gentoo.org>

 net-wireless/bluez/bluez-5.62-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.62-r3.ebuild 
b/net-wireless/bluez/bluez-5.62-r3.ebuild
index 0068b5bad6aa..d346187af847 100644
--- a/net-wireless/bluez/bluez-5.62-r3.ebuild
+++ b/net-wireless/bluez/bluez-5.62-r3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/, net-wireless/bluez/files/

2021-12-02 Thread Pacho Ramos
commit: c56c92516c1f7faa80cf76c5df2938edf50b538f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Dec  2 13:31:03 2021 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Dec  2 13:31:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c56c9251

net-wireless/bluez: Important bugfixes

This solves disconnecting due to GattCharacteristic1.MTU and reverts a
commit introducing a regression when connecting some mouse models

Bug: https://bugs.gentoo.org/827706
Bug: https://bugs.gentoo.org/827911
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.62-r3.ebuild| 294 +
 ...1-Revert-attrib-Make-use-of-bt_att_resend.patch | 188 +
 .../bluez/files/bluez-5.62-fix-disconnecting.patch |  54 
 3 files changed, 536 insertions(+)

diff --git a/net-wireless/bluez/bluez-5.62-r3.ebuild 
b/net-wireless/bluez/bluez-5.62-r3.ebuild
new file mode 100644
index ..0068b5bad6aa
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.62-r3.ebuild
@@ -0,0 +1,294 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+REQUIRED_USE="
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6:=
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # Fedora patches
+   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
+   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
+
+   # This reverts commit ac2c2e10b3adb432a572b618c6f53cabb6b3c80b. It
+   # causes problems with Logitech MX wireless input devices (see
+   # https://github.com/bluez/bluez/issues/220 )
+   "${FILESDIR}"/0001-Revert-attrib-Make-use-of-bt_att_resend.patch
+
+   # gatt-client: Fix disconnecting due to GattCharacteristic1.MTU
+   # (from 'master')
+   "${FILESDIR}"/${P}-fix-disconnecting.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER ~RFKILL"
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
+   if use mesh || use test; then
+   CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_USER
+   ~CRYPTO_USER_API ~CRYPTO_USER_API_AEAD ~CRYPTO_AES ~CRYPTO_CCM 
~CRYPTO_AEAD ~CRYPTO_CMAC"
+   fi
+   linux-info_pkg_setup
+
+   if use test || use test-programs; then
+   python-single-r1_pkg_setup
+   fi
+
+   if ! use udev; then
+   ewarn
+   ewarn "You are installing ${PN} with USE=-udev. This means 
various bluetooth"
+   ewarn "devices and adapters from Apple, Dell, Logitech etc. 
will 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-11-28 Thread Mike Gilbert
commit: 37c39c5c099176ccdfec7da32b177d5d35e48c79
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Nov 25 01:27:23 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Nov 28 19:54:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37c39c5c

net-wireless/bluez: drop dep on sys-apps/hwids

Modern versions of bluez read the data from udev, not oui.txt directly.

Signed-off-by: Mike Gilbert  gentoo.org>

 net-wireless/bluez/{bluez-5.62-r1.ebuild => bluez-5.62-r2.ebuild} | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.62-r1.ebuild 
b/net-wireless/bluez/bluez-5.62-r2.ebuild
similarity index 99%
rename from net-wireless/bluez/bluez-5.62-r1.ebuild
rename to net-wireless/bluez/bluez-5.62-r2.ebuild
index 0e4cd78da1f5..70c9a7547c55 100644
--- a/net-wireless/bluez/bluez-5.62-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.62-r2.ebuild
@@ -37,7 +37,6 @@ BDEPEND="
 "
 DEPEND="
>=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
-   >=sys-apps/hwids-20121202.2
btpclient? ( >=dev-libs/ell-0.39 )
cups? ( net-print/cups:= )
mesh? (



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-11-27 Thread Pacho Ramos
commit: 7bae889054202a6bd310d000c57fd12fb7ad2b49
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Nov 27 15:18:22 2021 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Nov 27 15:18:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bae8890

net-wireless/bluez: Drop old

Bug: https://bugs.gentoo.org/show_bug.cgi?id=823802
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest |   1 -
 net-wireless/bluez/bluez-5.61-r1.ebuild | 289 
 2 files changed, 290 deletions(-)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 471eb8b46025..ff487814a867 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,2 +1 @@
-DIST bluez-5.61.tar.xz 2137412 BLAKE2B 
2fc1b44f726d48b4a0e8bbecc664077db1db69bbc87c66e9d7ac85d7b2e066de8b349c18597a5ba140c5fcb1ef867ee3980ebdd839ded69ae30491fb7b836940
 SHA512 
a2318637258f9db0bf05fecbfbea2c3ca5e21867378e28ab4c77f658fe42f10c8c607939f2b437ec40d1ceb00b99f7916c0275faaedd9edd247f7dc91329937a
 DIST bluez-5.62.tar.xz 2149348 BLAKE2B 
db99b36a230fc0be15275d2eda9864b686326ba50648f66b19087ea4309a76d234ab4f1dcb6975f1513a898978b1d5b9332542f5dcee22efd898b79658434a70
 SHA512 
8fb0b81e1d929d3eee3d70f457ce75dbcff4c2a8a728247fc950bbe11e84d83582345bfd433d2e2df7b5588eb0e42f286658a83c7332be84819d9df49a5707e8

diff --git a/net-wireless/bluez/bluez-5.61-r1.ebuild 
b/net-wireless/bluez/bluez-5.61-r1.ebuild
deleted file mode 100644
index c8eb4a797fcf..
--- a/net-wireless/bluez/bluez-5.61-r1.ebuild
+++ /dev/null
@@ -1,289 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
-
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
-HOMEPAGE="http://www.bluez.org;
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0/3"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
-
-# Since this release all remaining extra-tools need readline support, but this 
could
-# change in the future, hence, this REQUIRED_USE constraint could be dropped
-# again in the future.
-REQUIRED_USE="
-   extra-tools? ( deprecated readline )
-   test? ( ${PYTHON_REQUIRED_USE} )
-   test-programs? ( ${PYTHON_REQUIRED_USE} )
-"
-
-TEST_DEPS="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="
-   dev-python/docutils
-   virtual/pkgconfig
-   test? ( ${TEST_DEPS} )
-"
-DEPEND="
-   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
-   >=sys-apps/hwids-20121202.2
-   btpclient? ( >=dev-libs/ell-0.39 )
-   cups? ( net-print/cups:= )
-   mesh? (
-   >=dev-libs/ell-0.39
-   >=dev-libs/json-c-0.13:=
-   sys-libs/readline:0=
-   )
-   midi? ( media-libs/alsa-lib )
-   obex? ( dev-libs/libical:= )
-   readline? ( sys-libs/readline:0= )
-   systemd? ( sys-apps/systemd )
-   >=sys-apps/dbus-1.6:=
-   udev? ( >=virtual/udev-172 )
-"
-RDEPEND="${DEPEND}
-   selinux? ( sec-policy/selinux-bluetooth )
-   test-programs? ( ${TEST_DEPS} )
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
-   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
-   # https://bugs.gentoo.org/539844
-   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
-
-   # Fedora patches
-   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
-   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
-
-   # https://marc.info/?l=linux-bluetooth=161498090629584=2
-   "${FILESDIR}"/${PN}-5.60-glibc-2.34.patch
-)
-
-pkg_setup() {
-   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
-   # to prevent bugs like:
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
-   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER ~RFKILL"
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
-   if use mesh || use test; then
-   CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_USER
-   ~CRYPTO_USER_API ~CRYPTO_USER_API_AEAD ~CRYPTO_AES ~CRYPTO_CCM 
~CRYPTO_AEAD ~CRYPTO_CMAC"
-   fi
-   linux-info_pkg_setup
-
-   if use test || use test-programs; then
-

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-11-25 Thread Sam James
commit: 9fd92922aed49dc77f0be3c66466ca5358121b9b
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 25 20:06:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 25 20:06:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd92922

net-wireless/bluez: Stabilize 5.62-r1 amd64, #826886

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.62-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.62-r1.ebuild 
b/net-wireless/bluez/bluez-5.62-r1.ebuild
index 7c1f1a5f6f03..0e4cd78da1f5 100644
--- a/net-wireless/bluez/bluez-5.62-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.62-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-11-23 Thread Agostino Sarubbo
commit: 21e0a44f56ae17597731bedc3c63ef211dcafb0e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 24 07:57:36 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 24 07:57:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21e0a44f

net-wireless/bluez: x86 stable wrt bug #826886

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-wireless/bluez/bluez-5.62-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.62-r1.ebuild 
b/net-wireless/bluez/bluez-5.62-r1.ebuild
index d0ded9e3d6aa..7c1f1a5f6f03 100644
--- a/net-wireless/bluez/bluez-5.62-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.62-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-11-23 Thread Sam James
commit: a56b42f72a23f8f42d506d681fdd47fcab3f10f5
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 23 21:38:29 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 23 21:38:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a56b42f7

net-wireless/bluez: Stabilize 5.62-r1 ppc, #826886

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.62-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.62-r1.ebuild 
b/net-wireless/bluez/bluez-5.62-r1.ebuild
index b01175c09729..d0ded9e3d6aa 100644
--- a/net-wireless/bluez/bluez-5.62-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.62-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm arm64 ~hppa ~mips ~ppc ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-11-23 Thread Sam James
commit: e8ae86e864e9394bd119425e9ddeeab174455605
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 23 21:38:19 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 23 21:38:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8ae86e8

net-wireless/bluez: Stabilize 5.62-r1 ppc64, #826886

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.62-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.62-r1.ebuild 
b/net-wireless/bluez/bluez-5.62-r1.ebuild
index 748e257c1605..b01175c09729 100644
--- a/net-wireless/bluez/bluez-5.62-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.62-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~mips ~ppc ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-11-23 Thread Sam James
commit: 3e0dc56c5d8e865c72cbc49d349623efc853784c
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 23 21:36:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 23 21:36:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e0dc56c

net-wireless/bluez: Stabilize 5.62-r1 arm64, #826886

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.62-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.62-r1.ebuild 
b/net-wireless/bluez/bluez-5.62-r1.ebuild
index fb3060140b0d..748e257c1605 100644
--- a/net-wireless/bluez/bluez-5.62-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.62-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-11-23 Thread Sam James
commit: 10e36d0f600be9df3f17ebeb1436ce4fd5edefd6
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 23 17:01:36 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 23 17:01:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10e36d0f

net-wireless/bluez: Stabilize 5.62-r1 arm, #826886

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.62-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.62-r1.ebuild 
b/net-wireless/bluez/bluez-5.62-r1.ebuild
index b967dc6ad16a..fb3060140b0d 100644
--- a/net-wireless/bluez/bluez-5.62-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.62-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-11-14 Thread Mike Gilbert
commit: 124477cfd0da24f4bc147ed4840b11bb1db28ff2
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Nov 14 18:16:38 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Nov 14 18:16:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=124477cf

net-wireless/bluez: restore dbus slot-operator

Signed-off-by: Mike Gilbert  gentoo.org>

 net-wireless/bluez/bluez-5.61-r1.ebuild | 2 +-
 net-wireless/bluez/bluez-5.62-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-wireless/bluez/bluez-5.61-r1.ebuild 
b/net-wireless/bluez/bluez-5.61-r1.ebuild
index 1d41d1ef3a8c..c8eb4a797fcf 100644
--- a/net-wireless/bluez/bluez-5.61-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.61-r1.ebuild
@@ -49,7 +49,7 @@ DEPEND="
obex? ( dev-libs/libical:= )
readline? ( sys-libs/readline:0= )
systemd? ( sys-apps/systemd )
-   >=sys-apps/dbus-1.6
+   >=sys-apps/dbus-1.6:=
udev? ( >=virtual/udev-172 )
 "
 RDEPEND="${DEPEND}

diff --git a/net-wireless/bluez/bluez-5.62-r1.ebuild 
b/net-wireless/bluez/bluez-5.62-r1.ebuild
index 053d2f6209bb..b967dc6ad16a 100644
--- a/net-wireless/bluez/bluez-5.62-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.62-r1.ebuild
@@ -49,7 +49,7 @@ DEPEND="
obex? ( dev-libs/libical:= )
readline? ( sys-libs/readline:0= )
systemd? ( sys-apps/systemd )
-   >=sys-apps/dbus-1.6
+   >=sys-apps/dbus-1.6:=
udev? ( >=virtual/udev-172 )
 "
 RDEPEND="${DEPEND}



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-11-14 Thread Mike Gilbert
commit: 68014fb84e4b479332b37f48f8fc397ff5877e76
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Nov 13 23:29:15 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Nov 14 16:37:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68014fb8

net-wireless/bluez: drop user-session USE flag

Bug: https://bugs.gentoo.org/823647
Signed-off-by: Mike Gilbert  gentoo.org>

 .../bluez/{bluez-5.61.ebuild => bluez-5.61-r1.ebuild} | 15 ++-
 .../bluez/{bluez-5.62.ebuild => bluez-5.62-r1.ebuild} | 15 ++-
 net-wireless/bluez/metadata.xml   |  1 -
 3 files changed, 12 insertions(+), 19 deletions(-)

diff --git a/net-wireless/bluez/bluez-5.61.ebuild 
b/net-wireless/bluez/bluez-5.61-r1.ebuild
similarity index 96%
rename from net-wireless/bluez/bluez-5.61.ebuild
rename to net-wireless/bluez/bluez-5.61-r1.ebuild
index 95941e34b204..1d41d1ef3a8c 100644
--- a/net-wireless/bluez/bluez-5.61.ebuild
+++ b/net-wireless/bluez/bluez-5.61-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
 KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could
 # change in the future, hence, this REQUIRED_USE constraint could be dropped
@@ -48,11 +48,8 @@ DEPEND="
midi? ( media-libs/alsa-lib )
obex? ( dev-libs/libical:= )
readline? ( sys-libs/readline:0= )
-   systemd? (
-   >=sys-apps/dbus-1.6:=[user-session=]
-   sys-apps/systemd
-   )
-   !systemd? ( >=sys-apps/dbus-1.6:= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6
udev? ( >=virtual/udev-172 )
 "
 RDEPEND="${DEPEND}
@@ -107,7 +104,7 @@ src_prepare() {
default
 
# http://www.spinics.net/lists/linux-bluetooth/msg38490.html
-   if ! use user-session || ! use systemd; then
+   if ! use systemd; then
eapply 
"${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-session-r2.patch
fi
 
@@ -248,8 +245,8 @@ multilib_src_install_all() {
# https://bugs.archlinux.org/task/45816
# https://bugzilla.redhat.com/show_bug.cgi?id=1318441
# https://bugzilla.redhat.com/show_bug.cgi?id=1389347
-   if use user-session && use systemd; then
-   ln -s "${ED}"/usr/lib/systemd/user/obex.service 
"${ED}"/usr/lib/systemd/user/dbus-org.bluez.obex.service
+   if use systemd; then
+   dosym obex.service 
/usr/lib/systemd/user/dbus-org.bluez.obex.service
fi
 
find "${D}" -name '*.la' -type f -delete || die

diff --git a/net-wireless/bluez/bluez-5.62.ebuild 
b/net-wireless/bluez/bluez-5.62-r1.ebuild
similarity index 96%
rename from net-wireless/bluez/bluez-5.62.ebuild
rename to net-wireless/bluez/bluez-5.62-r1.ebuild
index 1cf0b131ea8d..053d2f6209bb 100644
--- a/net-wireless/bluez/bluez-5.62.ebuild
+++ b/net-wireless/bluez/bluez-5.62-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev"
 
 # Since this release all remaining extra-tools need readline support, but this 
could
 # change in the future, hence, this REQUIRED_USE constraint could be dropped
@@ -48,11 +48,8 @@ DEPEND="
midi? ( media-libs/alsa-lib )
obex? ( dev-libs/libical:= )
readline? ( sys-libs/readline:0= )
-   systemd? (
-   >=sys-apps/dbus-1.6:=[user-session=]
-   sys-apps/systemd
-   )
-   !systemd? ( >=sys-apps/dbus-1.6:= )
+   systemd? ( sys-apps/systemd )
+   >=sys-apps/dbus-1.6
udev? ( >=virtual/udev-172 )
 "
 RDEPEND="${DEPEND}
@@ -104,7 +101,7 @@ src_prepare() {
default
 
# http://www.spinics.net/lists/linux-bluetooth/msg38490.html
-   if ! use user-session || ! use systemd; then
+   if ! use systemd; then
eapply 
"${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-session-r2.patch
fi
 
@@ -245,8 +242,8 @@ multilib_src_install_all() {
# https://bugs.archlinux.org/task/45816
# https://bugzilla.redhat.com/show_bug.cgi?id=1318441
# https://bugzilla.redhat.com/show_bug.cgi?id=1389347
-   if use 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/, net-wireless/bluez/

2021-10-19 Thread Pacho Ramos
commit: 7514a3c027e281871fc86a27f7660016016b4023
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Oct 19 21:19:44 2021 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Oct 19 21:19:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7514a3c0

net-wireless/bluez: Drop old

Package-Manager: Portage-3.0.24, Repoman-3.0.3
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest  |   2 -
 net-wireless/bluez/bluez-5.58-r1.ebuild  | 292 ---
 net-wireless/bluez/bluez-5.60.ebuild | 292 ---
 net-wireless/bluez/files/bluez-5.58-rfkill.patch |  84 ---
 4 files changed, 670 deletions(-)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 56ab750524f..471eb8b4602 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,4 +1,2 @@
-DIST bluez-5.58.tar.xz 2060368 BLAKE2B 
157780f83181d89fb126face5e9794bc0de8196f43d57d079fc09ae7e45e7ef21bf404e834d844da28d06f9a29cb92f11c310dbbcb7f60e845a335a558d7190c
 SHA512 
159b554e0afd56af5da6f883f2fdf96d77a0e82d762bf4b37786e7312b7e61fbbae0f18b26442a606e0a232f48e0f45a4b38b95de36c7daf384f582315a3
-DIST bluez-5.60.tar.xz 2124312 BLAKE2B 
52cd08192cbfb7adc2e11f270442af62307dbf3cb940554f77e1ec4c30036ca1c05970d7d48719d3036173135f2b14123f2d0aad8147f0a919773d211238a11e
 SHA512 
069e054360b4ab72f1daa033572f0fd822fb0f47e52069f4f3dcdfecfa312b9a5366cc04967e639aef39b980c0e1007389f1ee757e7c3bae43a5e66f8ed21a6b
 DIST bluez-5.61.tar.xz 2137412 BLAKE2B 
2fc1b44f726d48b4a0e8bbecc664077db1db69bbc87c66e9d7ac85d7b2e066de8b349c18597a5ba140c5fcb1ef867ee3980ebdd839ded69ae30491fb7b836940
 SHA512 
a2318637258f9db0bf05fecbfbea2c3ca5e21867378e28ab4c77f658fe42f10c8c607939f2b437ec40d1ceb00b99f7916c0275faaedd9edd247f7dc91329937a
 DIST bluez-5.62.tar.xz 2149348 BLAKE2B 
db99b36a230fc0be15275d2eda9864b686326ba50648f66b19087ea4309a76d234ab4f1dcb6975f1513a898978b1d5b9332542f5dcee22efd898b79658434a70
 SHA512 
8fb0b81e1d929d3eee3d70f457ce75dbcff4c2a8a728247fc950bbe11e84d83582345bfd433d2e2df7b5588eb0e42f286658a83c7332be84819d9df49a5707e8

diff --git a/net-wireless/bluez/bluez-5.58-r1.ebuild 
b/net-wireless/bluez/bluez-5.58-r1.ebuild
deleted file mode 100644
index 18c11b1754e..000
--- a/net-wireless/bluez/bluez-5.58-r1.ebuild
+++ /dev/null
@@ -1,292 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{8..9} )
-
-inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
-
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
-HOMEPAGE="http://www.bluez.org;
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0/3"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
-
-# Since this release all remaining extra-tools need readline support, but this 
could
-# change in the future, hence, this REQUIRED_USE constraint could be dropped
-# again in the future.
-REQUIRED_USE="
-   extra-tools? ( deprecated readline )
-   test? ( ${PYTHON_REQUIRED_USE} )
-   test-programs? ( ${PYTHON_REQUIRED_USE} )
-"
-
-TEST_DEPS="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="
-   virtual/pkgconfig
-   test? ( ${TEST_DEPS} )
-"
-DEPEND="
-   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
-   >=sys-apps/hwids-20121202.2
-   btpclient? ( >=dev-libs/ell-0.39 )
-   cups? ( net-print/cups:= )
-   mesh? (
-   >=dev-libs/ell-0.39
-   >=dev-libs/json-c-0.13:=
-   sys-libs/readline:0=
-   )
-   midi? ( media-libs/alsa-lib )
-   obex? ( dev-libs/libical:= )
-   readline? ( sys-libs/readline:0= )
-   systemd? (
-   >=sys-apps/dbus-1.6:=[user-session=]
-   sys-apps/systemd
-   )
-   !systemd? ( >=sys-apps/dbus-1.6:= )
-   udev? ( >=virtual/udev-172 )
-"
-RDEPEND="${DEPEND}
-   selinux? ( sec-policy/selinux-bluetooth )
-   test-programs? ( ${TEST_DEPS} )
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   # rfkill: Fix reading from rfkill socket
-   "${FILESDIR}"/${P}-rfkill.patch
-
-   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
-   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
-   # https://bugs.gentoo.org/539844
-   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
-
-   # Fedora patches
-   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
-   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
-)
-
-pkg_setup() {
-   # From 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-10-19 Thread Pacho Ramos
commit: dff1a40c626a7acbd7efac257fa8c62ca88e300e
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Oct 19 21:18:42 2021 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Oct 19 21:18:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dff1a40c

net-wireless/bluez: Bump to 5.62

Package-Manager: Portage-3.0.24, Repoman-3.0.3
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest  |   1 +
 net-wireless/bluez/bluez-5.62.ebuild | 289 +++
 2 files changed, 290 insertions(+)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 06862e50f8e..56ab750524f 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,3 +1,4 @@
 DIST bluez-5.58.tar.xz 2060368 BLAKE2B 
157780f83181d89fb126face5e9794bc0de8196f43d57d079fc09ae7e45e7ef21bf404e834d844da28d06f9a29cb92f11c310dbbcb7f60e845a335a558d7190c
 SHA512 
159b554e0afd56af5da6f883f2fdf96d77a0e82d762bf4b37786e7312b7e61fbbae0f18b26442a606e0a232f48e0f45a4b38b95de36c7daf384f582315a3
 DIST bluez-5.60.tar.xz 2124312 BLAKE2B 
52cd08192cbfb7adc2e11f270442af62307dbf3cb940554f77e1ec4c30036ca1c05970d7d48719d3036173135f2b14123f2d0aad8147f0a919773d211238a11e
 SHA512 
069e054360b4ab72f1daa033572f0fd822fb0f47e52069f4f3dcdfecfa312b9a5366cc04967e639aef39b980c0e1007389f1ee757e7c3bae43a5e66f8ed21a6b
 DIST bluez-5.61.tar.xz 2137412 BLAKE2B 
2fc1b44f726d48b4a0e8bbecc664077db1db69bbc87c66e9d7ac85d7b2e066de8b349c18597a5ba140c5fcb1ef867ee3980ebdd839ded69ae30491fb7b836940
 SHA512 
a2318637258f9db0bf05fecbfbea2c3ca5e21867378e28ab4c77f658fe42f10c8c607939f2b437ec40d1ceb00b99f7916c0275faaedd9edd247f7dc91329937a
+DIST bluez-5.62.tar.xz 2149348 BLAKE2B 
db99b36a230fc0be15275d2eda9864b686326ba50648f66b19087ea4309a76d234ab4f1dcb6975f1513a898978b1d5b9332542f5dcee22efd898b79658434a70
 SHA512 
8fb0b81e1d929d3eee3d70f457ce75dbcff4c2a8a728247fc950bbe11e84d83582345bfd433d2e2df7b5588eb0e42f286658a83c7332be84819d9df49a5707e8

diff --git a/net-wireless/bluez/bluez-5.62.ebuild 
b/net-wireless/bluez/bluez-5.62.ebuild
new file mode 100644
index 000..1cf0b131ea8
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.62.ebuild
@@ -0,0 +1,289 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+REQUIRED_USE="
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   >=sys-apps/hwids-20121202.2
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? (
+   >=sys-apps/dbus-1.6:=[user-session=]
+   sys-apps/systemd
+   )
+   !systemd? ( >=sys-apps/dbus-1.6:= )
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # Fedora patches
+   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
+   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-09-09 Thread Sam James
commit: 4dbd124dbe93a9228ab173ef23c3485db442a66f
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  9 23:56:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  9 23:56:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dbd124d

net-wireless/bluez: Stabilize 5.61 arm64, #812143

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.61.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.61.ebuild 
b/net-wireless/bluez/bluez-5.61.ebuild
index 79e1418e380..95941e34b20 100644
--- a/net-wireless/bluez/bluez-5.61.ebuild
+++ b/net-wireless/bluez/bluez-5.61.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-09-09 Thread Sam James
commit: 90a461987fc09c7f9f6b8b7de3756be8584f3232
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  9 23:55:36 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  9 23:55:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90a46198

net-wireless/bluez: Stabilize 5.61 arm, #812143

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.61.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.61.ebuild 
b/net-wireless/bluez/bluez-5.61.ebuild
index 79137db0a54..79e1418e380 100644
--- a/net-wireless/bluez/bluez-5.61.ebuild
+++ b/net-wireless/bluez/bluez-5.61.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-09-09 Thread Agostino Sarubbo
commit: 49359c72095bf7f2cc6872630a0b5505e78319c5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep  9 07:38:20 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep  9 07:38:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49359c72

net-wireless/bluez: x86 stable wrt bug #812143

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-wireless/bluez/bluez-5.61.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.61.ebuild 
b/net-wireless/bluez/bluez-5.61.ebuild
index 77a001fbe1d..79137db0a54 100644
--- a/net-wireless/bluez/bluez-5.61.ebuild
+++ b/net-wireless/bluez/bluez-5.61.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-09-09 Thread Agostino Sarubbo
commit: cfd6dda258d7a12777393f8aef5c22576e427e54
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep  9 07:17:37 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep  9 07:17:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfd6dda2

net-wireless/bluez: amd64 stable wrt bug #812143

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-wireless/bluez/bluez-5.61.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.61.ebuild 
b/net-wireless/bluez/bluez-5.61.ebuild
index 658287f829b..77a001fbe1d 100644
--- a/net-wireless/bluez/bluez-5.61.ebuild
+++ b/net-wireless/bluez/bluez-5.61.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-09-08 Thread Sam James
commit: 04daba2f3ef1f65d24e774b89788a4e106cb
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  9 04:23:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  9 04:23:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04daba66

net-wireless/bluez: Stabilize 5.61 ppc64, #812143

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.61.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.61.ebuild 
b/net-wireless/bluez/bluez-5.61.ebuild
index 931e3a29f44..658287f829b 100644
--- a/net-wireless/bluez/bluez-5.61.ebuild
+++ b/net-wireless/bluez/bluez-5.61.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-09-08 Thread Sam James
commit: 97e1a5d79afa46cee8efd2f36bddb92bcf2e227c
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  9 04:22:55 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  9 04:22:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e1a5d7

net-wireless/bluez: Stabilize 5.61 ppc, #812143

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.61.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.61.ebuild 
b/net-wireless/bluez/bluez-5.61.ebuild
index a86c0dde25a..931e3a29f44 100644
--- a/net-wireless/bluez/bluez-5.61.ebuild
+++ b/net-wireless/bluez/bluez-5.61.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez-tools/

2021-09-02 Thread Yixun Lan
commit: 245df4712a6a9ecf3122a1c2dc959a13e2f84b64
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Sep  2 09:50:22 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Sep  2 10:04:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245df471

net-wireless/bluez-tools: keyword ~riscv

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 net-wireless/bluez-tools/bluez-tools-0_p20161212.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-wireless/bluez-tools/bluez-tools-0_p20161212.ebuild 
b/net-wireless/bluez-tools/bluez-tools-0_p20161212.ebuild
index 87c36ffc498..6585af370e2 100644
--- a/net-wireless/bluez-tools/bluez-tools-0_p20161212.ebuild
+++ b/net-wireless/bluez-tools/bluez-tools-0_p20161212.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/khvzak/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE=""
 
 RDEPEND="dev-libs/dbus-glib



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-08-27 Thread Pacho Ramos
commit: a651585edd9a9bca35efa8b2f6c0f5cb75bd0d73
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Aug 27 13:11:25 2021 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Aug 27 13:11:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a651585e

net-wireless/bluez: Drop old

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.58.ebuild | 293 ---
 1 file changed, 293 deletions(-)

diff --git a/net-wireless/bluez/bluez-5.58.ebuild 
b/net-wireless/bluez/bluez-5.58.ebuild
deleted file mode 100644
index b15f600ce59..000
--- a/net-wireless/bluez/bluez-5.58.ebuild
+++ /dev/null
@@ -1,293 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{8..9} )
-
-inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
-
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
-HOMEPAGE="http://www.bluez.org;
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0/3"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 x86"
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
-
-# Since this release all remaining extra-tools need readline support, but this 
could
-# change in the future, hence, this REQUIRED_USE constraint could be dropped
-# again in the future.
-REQUIRED_USE="
-   extra-tools? ( deprecated readline )
-   test? ( ${PYTHON_REQUIRED_USE} )
-   test-programs? ( ${PYTHON_REQUIRED_USE} )
-"
-
-TEST_DEPS="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="
-   virtual/pkgconfig
-   test? ( ${TEST_DEPS} )
-"
-DEPEND="
-   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
-   >=sys-apps/hwids-20121202.2
-   btpclient? ( >=dev-libs/ell-0.39 )
-   cups? ( net-print/cups:= )
-   mesh? (
-   >=dev-libs/ell-0.39
-   >=dev-libs/json-c-0.13:=
-   sys-libs/readline:0=
-   )
-   midi? ( media-libs/alsa-lib )
-   obex? ( dev-libs/libical:= )
-   readline? ( sys-libs/readline:0= )
-   systemd? (
-   >=sys-apps/dbus-1.6:=[user-session=]
-   sys-apps/systemd
-   )
-   !systemd? ( >=sys-apps/dbus-1.6:= )
-   udev? ( >=virtual/udev-172 )
-"
-RDEPEND="${DEPEND}
-   selinux? ( sec-policy/selinux-bluetooth )
-   test-programs? ( ${TEST_DEPS} )
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
-   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
-   # https://bugs.gentoo.org/539844
-   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
-
-   # Fedora patches
-   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
-   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
-)
-
-pkg_setup() {
-   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
-   # to prevent bugs like:
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
-   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~RFKILL"
-   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-   # https://bugzilla.kernel.org/show_bug.cgi?id=206815
-   if use mesh || use test; then
-   CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_USER
-   ~CRYPTO_USER_API ~CRYPTO_USER_API_AEAD ~CRYPTO_USER_API_HASH
-   ~CRYPTO_AES ~CRYPTO_CCM ~CRYPTO_AEAD ~CRYPTO_CMAC"
-   fi
-   if use test; then
-   # 
http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
-   CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER"
-   fi
-   linux-info_pkg_setup
-
-   if use test || use test-programs; then
-   python-single-r1_pkg_setup
-   fi
-
-   if ! use udev; then
-   ewarn
-   ewarn "You are installing ${PN} with USE=-udev. This means 
various bluetooth"
-   ewarn "devices and adapters from Apple, Dell, Logitech etc. 
will not work,"
-   ewarn "and hid2hci will not be available."
-   ewarn
-   fi
-}
-
-src_prepare() {
-   default
-
-   # http://www.spinics.net/lists/linux-bluetooth/msg38490.html
-   if ! use user-session || ! use systemd; then
-   eapply 
"${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-session-r2.patch
-   fi
-
-   eautoreconf
-
-   if use cups; then
-   # Only not .am 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-08-27 Thread Pacho Ramos
commit: e7634b42a57aeb4e9b15a391bdcf8a5f35117ae0
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Aug 27 13:10:50 2021 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Aug 27 13:10:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7634b42

net-wireless/bluez: Bump to 5.61

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/Manifest  |   1 +
 net-wireless/bluez/bluez-5.61.ebuild | 292 +++
 2 files changed, 293 insertions(+)

diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index 1320549d38b..06862e50f8e 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -1,2 +1,3 @@
 DIST bluez-5.58.tar.xz 2060368 BLAKE2B 
157780f83181d89fb126face5e9794bc0de8196f43d57d079fc09ae7e45e7ef21bf404e834d844da28d06f9a29cb92f11c310dbbcb7f60e845a335a558d7190c
 SHA512 
159b554e0afd56af5da6f883f2fdf96d77a0e82d762bf4b37786e7312b7e61fbbae0f18b26442a606e0a232f48e0f45a4b38b95de36c7daf384f582315a3
 DIST bluez-5.60.tar.xz 2124312 BLAKE2B 
52cd08192cbfb7adc2e11f270442af62307dbf3cb940554f77e1ec4c30036ca1c05970d7d48719d3036173135f2b14123f2d0aad8147f0a919773d211238a11e
 SHA512 
069e054360b4ab72f1daa033572f0fd822fb0f47e52069f4f3dcdfecfa312b9a5366cc04967e639aef39b980c0e1007389f1ee757e7c3bae43a5e66f8ed21a6b
+DIST bluez-5.61.tar.xz 2137412 BLAKE2B 
2fc1b44f726d48b4a0e8bbecc664077db1db69bbc87c66e9d7ac85d7b2e066de8b349c18597a5ba140c5fcb1ef867ee3980ebdd839ded69ae30491fb7b836940
 SHA512 
a2318637258f9db0bf05fecbfbea2c3ca5e21867378e28ab4c77f658fe42f10c8c607939f2b437ec40d1ceb00b99f7916c0275faaedd9edd247f7dc91329937a

diff --git a/net-wireless/bluez/bluez-5.61.ebuild 
b/net-wireless/bluez/bluez-5.61.ebuild
new file mode 100644
index 000..a86c0dde25a
--- /dev/null
+++ b/net-wireless/bluez/bluez-5.61.ebuild
@@ -0,0 +1,292 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev 
multilib-minimal
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://www.bluez.org;
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
+
+# Since this release all remaining extra-tools need readline support, but this 
could
+# change in the future, hence, this REQUIRED_USE constraint could be dropped
+# again in the future.
+REQUIRED_USE="
+   extra-tools? ( deprecated readline )
+   test? ( ${PYTHON_REQUIRED_USE} )
+   test-programs? ( ${PYTHON_REQUIRED_USE} )
+"
+
+TEST_DEPS="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="
+   dev-python/docutils
+   virtual/pkgconfig
+   test? ( ${TEST_DEPS} )
+"
+DEPEND="
+   >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+   >=sys-apps/hwids-20121202.2
+   btpclient? ( >=dev-libs/ell-0.39 )
+   cups? ( net-print/cups:= )
+   mesh? (
+   >=dev-libs/ell-0.39
+   >=dev-libs/json-c-0.13:=
+   sys-libs/readline:0=
+   )
+   midi? ( media-libs/alsa-lib )
+   obex? ( dev-libs/libical:= )
+   readline? ( sys-libs/readline:0= )
+   systemd? (
+   >=sys-apps/dbus-1.6:=[user-session=]
+   sys-apps/systemd
+   )
+   !systemd? ( >=sys-apps/dbus-1.6:= )
+   udev? ( >=virtual/udev-172 )
+"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-bluetooth )
+   test-programs? ( ${TEST_DEPS} )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Try both udevadm paths to cover udev/systemd vs. eudev locations 
(#539844)
+   # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
+   # https://bugs.gentoo.org/539844
+   "${FILESDIR}"/${PN}-udevadm-path-r1.patch
+
+   # Fedora patches
+   # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
+   
"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
+
+   # https://marc.info/?l=linux-bluetooth=161498090629584=2
+   "${FILESDIR}"/${PN}-5.60-glibc-2.34.patch
+)
+
+pkg_setup() {
+   # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html
+   # to prevent bugs like:
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+   CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP 
~BT_BNEP_MC_FILTER
+   ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH 
~CRYPTO_USER_API_SKCIPHER ~RFKILL"
+   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+ 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-08-20 Thread Marek Szuba
commit: c4403cefd0d3f679a9cea852ef9fee1af3197db4
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Aug 20 15:21:48 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Aug 20 15:23:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4403cef

net-wireless/bluez: keyword 5.60 for ~riscv

Fails one tests but it's the same as on amd64, see Bug #801178.

Signed-off-by: Marek Szuba  gentoo.org>

 net-wireless/bluez/bluez-5.60.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.60.ebuild 
b/net-wireless/bluez/bluez-5.60.ebuild
index 394c547a517..a86c0dde25a 100644
--- a/net-wireless/bluez/bluez-5.60.ebuild
+++ b/net-wireless/bluez/bluez-5.60.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/, net-wireless/bluez/

2021-07-25 Thread Pacho Ramos
commit: 1e4db05081ee5d3e479838361b7337fbac39623e
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul 25 09:01:35 2021 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul 25 09:01:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e4db050

net-wireless/bluez: Fix building with glibc-2.34

Closes: https://bugs.gentoo.org/803830
Thanks-to: Sam James
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Pacho Ramos  gentoo.org>

 net-wireless/bluez/bluez-5.60.ebuild   |  3 ++
 .../bluez/files/bluez-5.60-glibc-2.34.patch| 42 ++
 2 files changed, 45 insertions(+)

diff --git a/net-wireless/bluez/bluez-5.60.ebuild 
b/net-wireless/bluez/bluez-5.60.ebuild
index 415cff1e5f2..394c547a517 100644
--- a/net-wireless/bluez/bluez-5.60.ebuild
+++ b/net-wireless/bluez/bluez-5.60.ebuild
@@ -71,6 +71,9 @@ PATCHES=(
# Fedora patches
# http://www.spinics.net/lists/linux-bluetooth/msg40136.html

"${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
+
+   # https://marc.info/?l=linux-bluetooth=161498090629584=2
+   "${FILESDIR}"/${PN}-5.60-glibc-2.34.patch
 )
 
 pkg_setup() {

diff --git a/net-wireless/bluez/files/bluez-5.60-glibc-2.34.patch 
b/net-wireless/bluez/files/bluez-5.60-glibc-2.34.patch
new file mode 100644
index 000..1e846100285
--- /dev/null
+++ b/net-wireless/bluez/files/bluez-5.60-glibc-2.34.patch
@@ -0,0 +1,42 @@
+From 124dee151746b4a8a2e8a7194af78f2c82f75d79 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= 
+Date: Wed, 3 Mar 2021 08:57:36 +0100
+Subject: [PATCH] media: rename local function conflicting with pause(2)
+
+profiles/audio/media.c:1284:13: error: conflicting types for 'pause'; have 
'_Bool(void *)'
+ 1284 | static bool pause(void *user_data)
+  | ^
+In file included from /usr/include/bits/sigstksz.h:24,
+ from /usr/include/signal.h:315,
+ from /usr/include/glib-2.0/glib/gbacktrace.h:36,
+ from /usr/include/glib-2.0/glib.h:34,
+ from profiles/audio/media.c:21:
+/usr/include/unistd.h:478:12: note: previous declaration of 'pause' with type 
'int(void)'
+  478 | extern int pause (void);
+  |^
+---
+ profiles/audio/media.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/profiles/audio/media.c b/profiles/audio/media.c
+index c84bbe22dc..3d8c4b69c3 100644
+--- a/profiles/audio/media.c
 b/profiles/audio/media.c
+@@ -1281,7 +1281,7 @@ static bool stop(void *user_data)
+   return media_player_send(mp, "Stop");
+ }
+ 
+-static bool pause(void *user_data)
++static bool pause_play(void *user_data)
+ {
+   struct media_player *mp = user_data;
+ 
+@@ -1331,7 +1331,7 @@ static struct avrcp_player_cb player_cb = {
+   .set_volume = set_volume,
+   .play = play,
+   .stop = stop,
+-  .pause = pause,
++  .pause = pause_play,
+   .next = next,
+   .previous = previous,
+ };



[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/files/

2021-07-14 Thread Conrad Kostecki
commit: 8441848c703d5ff62936d43748021563a2e95d6f
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Jul 14 19:27:19 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Jul 14 20:04:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8441848c

net-wireless/bluez: remove unused files

Closes: https://github.com/gentoo/gentoo/pull/21642
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-wireless/bluez/files/69-btattach-bcm.rules   | 33 
 net-wireless/bluez/files/bluetooth-init.d-r4 | 12 -
 net-wireless/bluez/files/btattach-bcm-service.sh | 30 -
 net-wireless/bluez/files/btattach-bcm_at.service |  6 -
 4 files changed, 81 deletions(-)

diff --git a/net-wireless/bluez/files/69-btattach-bcm.rules 
b/net-wireless/bluez/files/69-btattach-bcm.rules
deleted file mode 100644
index dfe8d1e785c..000
--- a/net-wireless/bluez/files/69-btattach-bcm.rules
+++ /dev/null
@@ -1,33 +0,0 @@
-# Some devices have a bluetooth HCI connected to an uart, these needs to be
-# setup by calling btattach. The systemd btattach-bcm.service takes care of
-# this. These udev rules hardware-activate that service when necessary.
-#
-# For now this only suports ACPI enumerated Broadcom BT HCIs.
-# This has been tested on Bay and Cherry Trail devices with both ACPI and
-# PCI enumerated UARTs.
-
-# Note we check for the platform device not for the acpi device, because
-# some DSDTs list multiple bluetooth adapters, but only some (or none)
-# are enabled. Only enabled adapters get a platform device created.
-ACTION!="add", GOTO="btattach_bcm_rules_end"
-SUBSYSTEM!="platform", GOTO="btattach_bcm_rules_end"
-
-KERNEL=="BCM2E1A:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E39:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E3A:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E3D:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E3F:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E40:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E54:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E55:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E64:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E65:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E67:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E71:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E7B:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E7C:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E7E:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E95:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-KERNEL=="BCM2E96:00", TAG+="systemd", 
ENV{SYSTEMD_WANTS}="btattach-bcm@%k.service"
-
-LABEL="btattach_bcm_rules_end"

diff --git a/net-wireless/bluez/files/bluetooth-init.d-r4 
b/net-wireless/bluez/files/bluetooth-init.d-r4
deleted file mode 100644
index e69c66867fa..000
--- a/net-wireless/bluez/files/bluetooth-init.d-r4
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-pidfile="/run/bluetoothd.pid"
-command="/usr/libexec/bluetooth/bluetoothd"
-command_background=1
-
-depend() {
-   after coldplug
-   need dbus localmount hostname
-}

diff --git a/net-wireless/bluez/files/btattach-bcm-service.sh 
b/net-wireless/bluez/files/btattach-bcm-service.sh
deleted file mode 100644
index c7f8b178467..000
--- a/net-wireless/bluez/files/btattach-bcm-service.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-# Simple shell script to wait for the tty for an uart using BT HCI to show up
-# and then invoke btattach with the right parameters, this is intended to be
-# invoked from a hardware-activated systemd service
-#
-# For now this only suports ACPI enumerated Broadcom BT HCIs.
-# This has been tested on Bay and Cherry Trail devices with both ACPI and
-# PCI enumerated UARTs.
-#
-# Note the kernel bt developers are working on solving this entirely in the
-# kernel, so it is not worth the trouble to write something better then this.
-
-BT_DEV="/sys/bus/platform/devices/$1"
-BT_DEV="$(readlink -f $BT_DEV)"
-UART_DEV="$(dirname $BT_DEV)"
-
-# Stupid GPD-pocket has USB BT with id :, but still claims to have
-# an uart attached bt
-if [ "$1" = "BCM2E7E:00" ] && lsusb | grep -q "ID :"; then
-   exit 0
-fi
-
-while [ ! -d "$UART_DEV/tty" ]; do
- 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/

2021-07-13 Thread Sam James
commit: 4336d07cb14cf6ac780204c62ecfa155b6221831
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 14 03:11:02 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 14 03:11:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4336d07c

net-wireless/bluez: Stabilize 5.58-r1 arm, #797568

Signed-off-by: Sam James  gentoo.org>

 net-wireless/bluez/bluez-5.58-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/bluez/bluez-5.58-r1.ebuild 
b/net-wireless/bluez/bluez-5.58-r1.ebuild
index dc6017eb67c..5020f2ad539 100644
--- a/net-wireless/bluez/bluez-5.58-r1.ebuild
+++ b/net-wireless/bluez/bluez-5.58-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/3"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~mips ppc ppc64 x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 x86"
 IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi 
+obex +readline selinux systemd test test-programs +udev user-session"
 
 # Since this release all remaining extra-tools need readline support, but this 
could



  1   2   3   >