upg iwd bluez

This commit is contained in:
joborun linux 2024-07-09 12:23:13 +03:00
parent 2cef6291b9
commit 0d79b61d75
4 changed files with 29 additions and 39 deletions

View file

@ -6,8 +6,8 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=bluez
pkgver=5.73
pkgrel=04
pkgver=5.77
pkgrel=01
pkgdesc="Bluez bundle - Daemons for the bluetooth protocol stack - w/o systemd"
url="http://www.bluez.org/"
# options=('debug') ### uncomment this to have the debug pkgs produced
@ -17,17 +17,13 @@ provides=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-deprecated-tool
conflicts=('obexd-client' 'obexd-server' 'bluez-plugins' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-deprecated-tools' 'bluez-hid2hci' 'bluez-mesh' 'bluez-obex')
replaces=('bluez-plugins' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-deprecated-tools' 'bluez-hid2hci' 'bluez-mesh' 'bluez-obex')
source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
bluetooth.modprobe
0001_use_bt_uhid_functions.patch)
bluetooth.modprobe)
#https://gitlab.archlinux.org/archlinux/packaging/packages/bluez/-/issues/2
# see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
prepare() {
cd "${pkgname}"-${pkgver}
# fix DualShock 3 connection - #6
# https://github.com/bluez/bluez/issues/771
patch -Np1 -i ../0001_use_bt_uhid_functions.patch
}
build() {
@ -61,7 +57,10 @@ check() {
package() {
cd $pkgname-$pkgver
depends=('glibc' 'dbus' 'glib2' 'alsa-lib' 'readline' 'libical' 'json-c' 'cups')
# depends=('glibc' 'dbus' 'glib2' 'alsa-lib' 'readline' 'libical' 'json-c' 'cups')
depends=('dbus' 'glib2' 'alsa-lib' 'glibc')
backup=(etc/bluetooth/{main,input,network}.conf)
optdepends=('ell: for btpclient')
make DESTDIR="$pkgdir" install
# ship upstream main config files
@ -72,6 +71,8 @@ package() {
install -Dm644 "${srcdir}"/"${pkgname}"-${pkgver}/mesh/mesh-main.conf "${pkgdir}"/etc/bluetooth/mesh-main.conf
install -dm755 "${pkgdir}"/etc/bluetooth
# bluetooth.service wants ConfigurationDirectoryMode=0555
chmod -v 555 "${pkgdir}"/etc/bluetooth
# add basic documention
install -dm755 "${pkgdir}"/usr/share/doc/"${pkgname}"/dbus-apis
@ -83,8 +84,6 @@ package() {
# https://bugzilla.kernel.org/show_bug.cgi?id=196621
install -dm755 "$pkgdir"/usr/lib/modules-load.d
echo "crypto_user" > "$pkgdir"/usr/lib/modules-load.d/bluez.conf
# bluetooth.service wants ConfigurationDirectoryMode=0555
chmod -v 555 "${pkgdir}"/etc/bluetooth
}
#---- arch license gpg-key & sha256sums ----
@ -95,10 +94,8 @@ license=('GPL2' 'LGPL-2.1-only')
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann <marcel@holtmann.org>
sha256sums=(257e9075ce05c70d48c5defd254e78c418416f7584b45f9dddc884ff88e3fc53 # bluez-5.73.tar.xz
c3e20e079e299a6fb384f30980e5dd9d014c8cbd87f9466eab5a204899433576 # bluez-5.73.tar.sign
46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4 # bluetooth.modprobe
24780fc689dc4041ab0c5713c8f2cb09a7038d4936812310534762592d76e2f8) # 0001_use_bt_uhid_functions.patch
## a4f28d2aea48fdeb5f1fe70506721e486cf2a12a8c17a39b3d1a47bae3395138 bluez-5.73-04-x86_64.pkg.tar.lz
sha256sums=(5d032fdc1d4a085813554f57591e2e1fb0ceb2b3616ee56f689bc00e1d150812 # bluez-5.77.tar.xz
d6ee1c254f683688dd6598ee6c6c19d1e48d3e8c3f3cdc4d262e866d0fe00a39 # bluez-5.77.tar.sign
46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4) # bluetooth.modprobe
## 2f4e9194d009916599bd7848768953903b5ff665ded75e9cc82f2596ea29c91e bluez-5.77-01-x86_64.pkg.tar.lz

View file

@ -6,29 +6,20 @@
pkgbase=bluez
pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-deprecated-tools' 'bluez-hid2hci' 'bluez-mesh' 'bluez-obex')
pkgver=5.73
pkgrel=4
pkgver=5.77
pkgrel=1
url="http://www.bluez.org/"
arch=('x86_64')
license=('GPL-2.0-only')
makedepends=('dbus' 'libical' 'systemd' 'alsa-lib' 'json-c' 'ell' 'python-docutils' 'python-pygments' 'cups')
source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
bluetooth.modprobe
0001_use_bt_uhid_functions.patch)
bluetooth.modprobe)
# see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
sha256sums=('257e9075ce05c70d48c5defd254e78c418416f7584b45f9dddc884ff88e3fc53'
sha256sums=('5d032fdc1d4a085813554f57591e2e1fb0ceb2b3616ee56f689bc00e1d150812'
'SKIP'
'46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4'
'24780fc689dc4041ab0c5713c8f2cb09a7038d4936812310534762592d76e2f8')
'46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann <marcel@holtmann.org>
prepare() {
cd "${pkgname}"-${pkgver}
# fix DualShock 3 connection - #6
# https://github.com/bluez/bluez/issues/771
patch -Np1 -i ../0001_use_bt_uhid_functions.patch
}
build() {
cd "${pkgname}"-${pkgver}
./configure \
@ -79,7 +70,7 @@ check() {
package_bluez() {
pkgdesc="Daemons for the bluetooth protocol stack"
depends=('systemd' 'dbus' 'glib2' 'alsa-lib' 'glibc')
depends=('systemd-libs' 'dbus' 'glib2' 'alsa-lib' 'glibc')
backup=(etc/bluetooth/{main,input,network}.conf)
_install fakeinstall/etc/bluetooth/main.conf
@ -117,6 +108,7 @@ package_bluez-utils() {
_install fakeinstall/usr/share/man/man1/bluetoothctl*.1
_install fakeinstall/usr/share/man/man1/{btattach,btmgmt,btmon,isotest,l2ping,rctest}.1
_install fakeinstall/usr/share/man/man5/org.bluez.{A,B,D,G,I,L,M,N,P}*.5
_install fakeinstall/usr/share/man/man7/l2cap.7
_install fakeinstall/usr/share/zsh/site-functions/_bluetoothctl
}
@ -126,6 +118,7 @@ package_bluez-deprecated-tools() {
_install fakeinstall/usr/bin/{ciptool,hciattach,hciconfig,hcidump,hcitool,meshctl,rfcomm,sdptool}
_install fakeinstall/usr/share/man/man1/{ciptool,hciattach,hciconfig,hcidump,hcitool,rfcomm,sdptool}.1
_install fakeinstall/usr/share/man/man7/rfcomm.7
}
package_bluez-libs() {
@ -156,7 +149,7 @@ package_bluez-hid2hci() {
package_bluez-mesh() {
pkgdesc="Services for bluetooth mesh"
depends=('systemd' 'json-c' 'readline' 'glibc')
depends=('json-c' 'readline' 'glibc')
backup=('etc/bluetooth/mesh-main.conf')
_install fakeinstall/etc/bluetooth/mesh-main.conf
@ -173,7 +166,7 @@ package_bluez-mesh() {
package_bluez-obex() {
pkgdesc="Object Exchange daemon for sharing content"
depends=('systemd' 'glib2' 'libical' 'dbus' 'readline' 'glibc')
depends=('glib2' 'libical' 'dbus' 'readline' 'glibc')
_install fakeinstall/usr/bin/{obexctl,obex-client-tool,obex-server-tool}
_install fakeinstall/usr/lib/bluetooth/obexd

View file

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=iwd
pkgver=2.18
pkgver=2.19
pkgrel=01
pkgdesc='Internet Wireless Daemon w/o systemd'
url='https://git.kernel.org/cgit/network/wireless/iwd.git/'
@ -72,9 +72,9 @@ license=('LGPL-2.1-or-later')
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')
sha256sums=(100d029171d161411f6cd8e1f95708e3a4351fb19e6847ba04819377b5fed13e # iwd-2.18.tar.xz
493271b4bbef3e4fdfa877d2a59c012621b5627892e7205f28d14c38832de08a # iwd-2.18.tar.sign
sha256sums=(9d0b934e51580316919796aa0357590971fc0df244b273fa10e154c268374f91 # iwd-2.19.tar.xz
ad89af76e1cecb8a99adbf9c97dd7ae0aeda89e4695d1bd58f4dc904489a59e9 # iwd-2.19.tar.sign
d5fb4fb864b7a0632117aa2039df535ab5c1d024ae618a1f09e34dfab8ee0cc7) # 0001-use-network-group-for-unprivileged-access.diff
## ca85f9b31b63b24d38c8d550ba2ac48af8bcf45584c64da0a9e244f5cc43b9c1 iwd-2.18-01-x86_64.pkg.tar.lz
## 099d2c289c1704dcd0514da2a84e0759f4ca3440610071d55f2baa623507d438 iwd-2.19-01-x86_64.pkg.tar.lz

View file

@ -3,7 +3,7 @@
# Contributor: AndyRTR <andyrtr at archlinux.org>
pkgname=iwd
pkgver=2.18
pkgver=2.19
pkgrel=1
pkgdesc='Internet Wireless Daemon'
arch=('x86_64')
@ -15,7 +15,7 @@ optdepends=('qrencode: for displaying QR code after DPP is started')
source=(https://www.kernel.org/pub/linux/network/wireless/iwd-${pkgver}.tar{.xz,.sign}
0001-use-network-group-for-unprivileged-access.diff)
# https://mirrors.edge.kernel.org/pub/linux/network/wireless/sha256sums.asc
sha256sums=('100d029171d161411f6cd8e1f95708e3a4351fb19e6847ba04819377b5fed13e'
sha256sums=('9d0b934e51580316919796aa0357590971fc0df244b273fa10e154c268374f91'
'SKIP'
'd5fb4fb864b7a0632117aa2039df535ab5c1d024ae618a1f09e34dfab8ee0cc7')
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')