From 1f2fdbdee63befb61294c33a4726a3f090a0ae08 Mon Sep 17 00:00:00 2001 From: Dawson Date: Mon, 27 Apr 2026 15:38:13 -0400 Subject: [PATCH] REmoving constanting failing specs --- SPECS/bluez/.gitignore | 3 - ...dp-connect-source-profile-after-sink.patch | 35 - SPECS/bluez/big-endian-5.86.patch | 41 - SPECS/bluez/bluetoothctl-no-output.patch | 79 - SPECS/bluez/bluez.gitignore | 100 -- SPECS/bluez/bluez.spec | 1428 ----------------- SPECS/rtkit/.gitignore | 7 - SPECS/rtkit/0001-Fix-borked-error-check.patch | 22 - ...ECURITY-Pass-uid-of-caller-to-polkit.patch | 48 - .../0001-systemd-update-sd-daemon.-ch.patch | 306 ---- ...Remove-bundled-copy-of-sd-daemon.-ch.patch | 870 ---------- SPECS/rtkit/changelog | 141 -- SPECS/rtkit/format-security.patch | 13 - SPECS/rtkit/remove-debug-messages.patch | 22 - SPECS/rtkit/rtkit-controlgroup.patch | 14 - SPECS/rtkit/rtkit-mq_getattr.patch | 12 - SPECS/rtkit/rtkit.spec | 87 - SPECS/rtkit/rtkit.sysusers | 2 - SPECS/rtkit/sources | 1 - 19 files changed, 3231 deletions(-) delete mode 100644 SPECS/bluez/.gitignore delete mode 100644 SPECS/bluez/0001-a2dp-connect-source-profile-after-sink.patch delete mode 100644 SPECS/bluez/big-endian-5.86.patch delete mode 100644 SPECS/bluez/bluetoothctl-no-output.patch delete mode 100644 SPECS/bluez/bluez.gitignore delete mode 100644 SPECS/bluez/bluez.spec delete mode 100644 SPECS/rtkit/.gitignore delete mode 100644 SPECS/rtkit/0001-Fix-borked-error-check.patch delete mode 100644 SPECS/rtkit/0001-SECURITY-Pass-uid-of-caller-to-polkit.patch delete mode 100644 SPECS/rtkit/0001-systemd-update-sd-daemon.-ch.patch delete mode 100644 SPECS/rtkit/0002-Remove-bundled-copy-of-sd-daemon.-ch.patch delete mode 100644 SPECS/rtkit/changelog delete mode 100644 SPECS/rtkit/format-security.patch delete mode 100644 SPECS/rtkit/remove-debug-messages.patch delete mode 100644 SPECS/rtkit/rtkit-controlgroup.patch delete mode 100644 SPECS/rtkit/rtkit-mq_getattr.patch delete mode 100644 SPECS/rtkit/rtkit.spec delete mode 100644 SPECS/rtkit/rtkit.sysusers delete mode 100644 SPECS/rtkit/sources diff --git a/SPECS/bluez/.gitignore b/SPECS/bluez/.gitignore deleted file mode 100644 index 21942ab..0000000 --- a/SPECS/bluez/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/bluez-4.*.tar.gz -/bluez-5.*.tar.xz -/sources diff --git a/SPECS/bluez/0001-a2dp-connect-source-profile-after-sink.patch b/SPECS/bluez/0001-a2dp-connect-source-profile-after-sink.patch deleted file mode 100644 index 26a8986..0000000 --- a/SPECS/bluez/0001-a2dp-connect-source-profile-after-sink.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 066a164a524e4983b850f5659b921cb42f84a0e0 Mon Sep 17 00:00:00 2001 -From: Pauli Virtanen -Date: Mon, 16 Feb 2026 18:17:08 +0200 -Subject: [PATCH] a2dp: connect source profile after sink - -Since cdcd845f87ee the order in which profiles with the same priority -are connected is the same order as btd_profile_register() is called, -instead of being the opposite order. When initiating connections, we -want to prefer a2dp-sink profile over a2dp-source, as connecting both at -the same time does not work currently. - -Add .after_services to specify the order. - -Fixes: https://github.com/bluez/bluez/issues/1898 ---- - profiles/audio/a2dp.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c -index 7a37003a2b25..c7e0fc75c09e 100644 ---- a/profiles/audio/a2dp.c -+++ b/profiles/audio/a2dp.c -@@ -3769,6 +3769,9 @@ static struct btd_profile a2dp_source_profile = { - - .adapter_probe = a2dp_sink_server_probe, - .adapter_remove = a2dp_sink_server_remove, -+ -+ /* Connect source after sink, to prefer sink when conflicting */ -+ .after_services = BTD_PROFILE_UUID_CB(NULL, A2DP_SINK_UUID), - }; - - static struct btd_profile a2dp_sink_profile = { --- -2.53.0 - diff --git a/SPECS/bluez/big-endian-5.86.patch b/SPECS/bluez/big-endian-5.86.patch deleted file mode 100644 index a0f83e4..0000000 --- a/SPECS/bluez/big-endian-5.86.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 3a5c4d311755910f07e60fd30d4736ac98bea8eb Mon Sep 17 00:00:00 2001 -From: Bastien Nocera -Date: Tue, 10 Feb 2026 10:06:28 +0100 -Subject: [PATCH] emulator: Fix compilation on big endian systems -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This fixes the build on big endian systems like s390x: - -Remove the "static" so the array doesn't need to be initialised -with constants. - -emulator/bthost.c: In function ‘bthost_setup_sco’: -./src/shared/util.h:43:26: error: initializer element is not constant - 43 | #define cpu_to_le32(val) bswap_32(val) - | ^~~~~~~~ -etc. - -Fixes: 85888a8357ea ("bthost: add bthost_setup_sco() and accept -incoming eSCO") ---- - emulator/bthost.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/emulator/bthost.c b/emulator/bthost.c -index d09ad1e76c50..53b12f828675 100644 ---- a/emulator/bthost.c -+++ b/emulator/bthost.c -@@ -3560,7 +3560,7 @@ void bthost_hci_disconnect(struct bthost *bthost, uint16_t handle, - int bthost_setup_sco(struct bthost *bthost, uint16_t acl_handle, - uint16_t setting) - { -- static const struct bt_hci_cmd_setup_sync_conn settings[] = { -+ const struct bt_hci_cmd_setup_sync_conn settings[] = { - { - .tx_bandwidth = cpu_to_le32(0x00001f40), - .rx_bandwidth = cpu_to_le32(0x00001f40), --- -2.52.0 - diff --git a/SPECS/bluez/bluetoothctl-no-output.patch b/SPECS/bluez/bluetoothctl-no-output.patch deleted file mode 100644 index 11a184b..0000000 --- a/SPECS/bluez/bluetoothctl-no-output.patch +++ /dev/null @@ -1,79 +0,0 @@ -From 33dd33a23ff250902eafa94fce5ea8178de50112 Mon Sep 17 00:00:00 2001 -From: Bastien Nocera -Date: Fri, 27 Feb 2026 12:07:14 +0100 -Subject: [PATCH 1/2] Revert "shared/shell: Don't init input for - non-interactive shells" - -This reverts commit e73bf582dae60356641a32fc27ae03d359ec4c47. - -The fix caused "bluetoothctl list" to not output any text, breaking -a lot of existing scripts. - -Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2440346 ---- - src/shared/shell.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/shared/shell.c b/src/shared/shell.c -index 78d58c513d3e..b061f8001414 100644 ---- a/src/shared/shell.c -+++ b/src/shared/shell.c -@@ -1642,13 +1642,13 @@ static bool shell_quit(void *data) - - bool bt_shell_attach(int fd) - { -- if (data.mode == MODE_INTERACTIVE) { -- struct input *input; -+ struct input *input; - -- input = input_new(fd); -- if (!input) -- return false; -+ input = input_new(fd); -+ if (!input) -+ return false; - -+ if (data.mode == MODE_INTERACTIVE) { - io_set_read_handler(input->io, input_read, input, NULL); - io_set_disconnect_handler(input->io, input_hup, input, NULL); - --- -2.53.0 - - -From 0178bc8bda31cf60837fcce91b33e009bc3f7d7d Mon Sep 17 00:00:00 2001 -From: Bastien Nocera -Date: Fri, 27 Feb 2026 12:24:13 +0100 -Subject: [PATCH 2/2] tools: Work-around broken stdin handling in home-made - mainloop - -bluetoothd has 3 mainloop implementations, one relying on ell, one -relying on glib, and another home-made. - -The home-made mainloop handler use epoll() without any fallbacks, and -will hang if one tries to epoll() an stdin that redirects from -/dev/null. - -Closes: https://github.com/bluez/bluez/issues/700 ---- - Makefile.tools | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Makefile.tools b/Makefile.tools -index 589f7c94f9df..7c52e053ffee 100644 ---- a/Makefile.tools -+++ b/Makefile.tools -@@ -531,8 +531,8 @@ tools_obexctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \ - - tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c \ - client/mgmt.c --tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \ -- -lreadline -+tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-glib.la \ -+ $(GLIB_LIBS) -lreadline - if DEPRECATED - noinst_PROGRAMS += attrib/gatttool - --- -2.53.0 - diff --git a/SPECS/bluez/bluez.gitignore b/SPECS/bluez/bluez.gitignore deleted file mode 100644 index 137d2e5..0000000 --- a/SPECS/bluez/bluez.gitignore +++ /dev/null @@ -1,100 +0,0 @@ -*.o -*.a -*.lo -*.la -*.so -.deps -.libs -.dirstamp -Makefile -Makefile.in -aclocal.m4 -config.guess -config.h -config.h.in -config.log -config.status -config.sub -configure -depcomp -compile -install-sh -libtool -ltmain.sh -missing -stamp-h1 -autom4te.cache - -ylwrap -lexer.c -parser.h -parser.c - -bluez.pc -lib/bluetooth -src/builtin.h -src/bluetoothd -audio/telephony.c -sap/sap.c -scripts/bluetooth.rules -scripts/97-bluetooth.rules -scripts/97-bluetooth-hid2hci.rules - -sbc/sbcdec -sbc/sbcenc -sbc/sbcinfo -sbc/sbctester - -attrib/gatttool -tools/avctrl -tools/avinfo -tools/bccmd -tools/ciptool -tools/dfubabel -tools/dfutool -tools/hciattach -tools/hciconfig -tools/hcieventmask -tools/hcisecfilter -tools/hcitool -tools/hid2hci -tools/rfcomm -tools/l2ping -tools/ppporc -tools/sdptool -cups/bluetooth -test/agent -test/bdaddr -test/hciemu -test/attest -test/hstest -test/avtest -test/l2test -test/rctest -test/scotest -test/gaptest -test/sdptest -test/lmptest -test/ipctest -test/btiotest -test/test-textfile -test/uuidtest -test/mpris-player -compat/dund -compat/hidd -compat/pand -unit/test-eir -mgmt/btmgmt -monitor/btmon -emulator/btvirt - -doc/*.bak -doc/*.stamp -doc/bluez.* -doc/bluez-*.txt -doc/*.sgml -doc/version.xml -doc/xml -doc/html -src/bluetoothd.8 -src/bluetooth.service diff --git a/SPECS/bluez/bluez.spec b/SPECS/bluez/bluez.spec deleted file mode 100644 index 99504cc..0000000 --- a/SPECS/bluez/bluez.spec +++ /dev/null @@ -1,1428 +0,0 @@ -%if 0%{?fedora} || 0%{?rhel} <= 8 -%bcond_without deprecated -%else -%bcond_with deprecated -%endif - -Name: bluez -Version: 5.86 -Release: 4%{?dist} -Summary: Bluetooth utilities -License: GPL-2.0-or-later -URL: http://www.bluez.org/ - -Source0: https://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz -# https://patchwork.kernel.org/project/bluetooth/list/?series=1052631 -Patch1: big-endian-5.86.patch -# https://patchwork.kernel.org/project/bluetooth/patch/ba0e71b91a24557f088b015a349c6ccee6260ec2.1771258477.git.pav@iki.fi/ -Patch2: 0001-a2dp-connect-source-profile-after-sink.patch -# https://patchwork.kernel.org/project/bluetooth/list/?series=1058931 -Patch3: bluetoothctl-no-output.patch - -BuildRequires: dbus-devel >= 1.6 -BuildRequires: glib2-devel -BuildRequires: libell-devel >= 0.39 -BuildRequires: libical-devel -BuildRequires: make -BuildRequires: readline-devel -# For bluetooth mesh -BuildRequires: json-c-devel -# For cable pairing -BuildRequires: systemd-devel -# For udev rules -BuildRequires: systemd -# For printing -BuildRequires: cups-devel -# For autoreconf -BuildRequires: libtool automake autoconf -# For man pages -BuildRequires: python3-docutils -BuildRequires: python3-pygments - -Requires: dbus >= 1.6 -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd - -%description -Utilities for use in Bluetooth applications: - - avinfo - - bluemoon - - bluetoothctl - - bluetoothd - - btattach - - btmon - - hex2hcd - - mpris-proxy - -The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A. - -%package cups -Summary: CUPS printer backend for Bluetooth printers -Requires: bluez%{?_isa} = %{version}-%{release} -Requires: cups - -%description cups -This package contains the CUPS backend - -%if %{with deprecated} -%package deprecated -Summary: Deprecated Bluetooth applications -Requires: bluez%{?_isa} = %{version}-%{release} -Obsoletes: bluez < 5.55-2 - -%description deprecated -Bluetooth applications that have bee deprecated by upstream. They have been -replaced by functionality in the core bluetoothctl and will eventually -be dropped by upstream. Utilities include: - - ciptool - - gatttool - - hciattach - - hciconfig - - hcidump - - hcitool - - meshctl - - rfcomm - - sdptool -%endif - -%package libs -Summary: Libraries for use in Bluetooth applications - -%description libs -Libraries for use in Bluetooth applications. - -%package libs-devel -Summary: Development libraries for Bluetooth applications -Requires: bluez-libs%{?_isa} = %{version}-%{release} - -%description libs-devel -bluez-libs-devel contains development libraries and headers for -use in Bluetooth applications. - -%package hid2hci -Summary: Put HID proxying bluetooth HCI's into HCI mode -Requires: bluez%{?_isa} = %{version}-%{release} - -%description hid2hci -Most allinone PC's and bluetooth keyboard / mouse sets which include a -bluetooth dongle, ship with a so called HID proxying bluetooth HCI. -The HID proxying makes the keyboard / mouse show up as regular USB HID -devices (after connecting using the connect button on the device + keyboard), -which makes them work without requiring any manual configuration. - -The bluez-hid2hci package contains the hid2hci utility and udev rules to -automatically switch supported Bluetooth devices into regular HCI mode. - -Install this package if you want to use the bluetooth function of the HCI -with other bluetooth devices like for example a mobile phone. - -Note that after installing this package you will first need to pair your -bluetooth keyboard and mouse with the bluetooth adapter before you can use -them again. Since you cannot use your bluetooth keyboard and mouse until -they are paired, this will require the use of a regular (wired) USB keyboard -and mouse. - -%package mesh -Summary: Bluetooth mesh -Requires: bluez%{?_isa} = %{version}-%{release} -Requires: bluez-libs%{?_isa} = %{version}-%{release} - -%description mesh -Services for bluetooth mesh - -%package obexd -Summary: Object Exchange daemon for sharing content -Requires: bluez%{?_isa} = %{version}-%{release} -Requires: bluez-libs%{?_isa} = %{version}-%{release} - -%description obexd -Object Exchange daemon for sharing files, contacts etc over bluetooth - -%prep -%autosetup -p1 - -%build -autoreconf -vif -%configure --enable-tools --enable-library \ - --enable-external-ell --disable-optimization \ -%if %{with deprecated} - --enable-deprecated \ -%endif - --enable-sixaxis --enable-cups --enable-nfc --enable-mesh \ - --enable-hid2hci --enable-testing --enable-experimental \ - --enable-bap --enable-bass --enable-mcp --enable-micp \ - --enable-csip --enable-vcp \ - --with-systemdsystemunitdir=%{_unitdir} \ - --with-systemduserunitdir=%{_userunitdir} - -%{make_build} - -%install -%{make_install} - -%if %{with deprecated} -# "make install" fails to install gatttool, necessary for Bluetooth Low Energy -# Red Hat Bugzilla bug #1141909, Debian bug #720486 -install -m0755 attrib/gatttool $RPM_BUILD_ROOT%{_bindir} -%endif - -# "make install" fails to install avinfo -# Red Hat Bugzilla bug #1699680 -install -m0755 tools/avinfo $RPM_BUILD_ROOT%{_bindir} - -# btmgmt is not installed by "make install", but it is useful for debugging -# some issues and to set the MAC address on HCIs which don't have their -# MAC address configured -install -m0755 tools/btmgmt $RPM_BUILD_ROOT%{_bindir} -install -m0644 doc/btmgmt.1 $RPM_BUILD_ROOT%{_mandir}/man1/ - -# Remove libtool archive -find $RPM_BUILD_ROOT -name '*.la' -delete - -# Remove the cups backend from libdir, and install it in /usr/lib whatever the install -if test -d ${RPM_BUILD_ROOT}/usr/lib64/cups ; then - install -D -m0755 ${RPM_BUILD_ROOT}/usr/lib64/cups/backend/bluetooth ${RPM_BUILD_ROOT}%_cups_serverbin/backend/bluetooth - rm -rf ${RPM_BUILD_ROOT}%{_libdir}/cups -fi - -rm -f ${RPM_BUILD_ROOT}/%{_sysconfdir}/udev/*.rules ${RPM_BUILD_ROOT}/usr/lib/udev/rules.d/*.rules -install -D -p -m0644 tools/hid2hci.rules ${RPM_BUILD_ROOT}/%{_udevrulesdir}/97-hid2hci.rules - -install -d -m0755 $RPM_BUILD_ROOT/%{_localstatedir}/lib/bluetooth -install -d -m0755 $RPM_BUILD_ROOT/%{_localstatedir}/lib/bluetooth/mesh - -mkdir -p $RPM_BUILD_ROOT/%{_libdir}/bluetooth/ - -#copy bluetooth config files -install -D -p -m0644 src/main.conf ${RPM_BUILD_ROOT}/etc/bluetooth/main.conf -install -D -p -m0644 mesh/mesh-main.conf ${RPM_BUILD_ROOT}/etc/bluetooth/mesh-main.conf -install -D -p -m0644 profiles/input/input.conf ${RPM_BUILD_ROOT}/etc/bluetooth/input.conf -install -D -p -m0644 profiles/network/network.conf ${RPM_BUILD_ROOT}/etc/bluetooth/network.conf - -# Install the HCI emulator, useful for testing -install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/ - -#check -#make check - -%ldconfig_scriptlets libs - -%post -%systemd_post bluetooth.service - -%preun -%systemd_preun bluetooth.service - -%postun -%systemd_postun_with_restart bluetooth.service - -%post hid2hci -/sbin/udevadm trigger --subsystem-match=usb - -%post mesh -%systemd_user_post bluetooth-mesh.service - -%preun mesh -%systemd_user_preun bluetooth-mesh.service - -%post obexd -%systemd_user_post obex.service - -%preun obexd -%systemd_user_preun obex.service - -%files -%license COPYING -%doc AUTHORS ChangeLog -# bluetooth.service expects configuration directory to be read only -# https://github.com/bluez/bluez/issues/329#issuecomment-1102459104 -%attr(0555, root, root) %dir %{_sysconfdir}/bluetooth -%config(noreplace) %{_sysconfdir}/bluetooth/main.conf -%config(noreplace) %{_sysconfdir}/bluetooth/input.conf -%config(noreplace) %{_sysconfdir}/bluetooth/network.conf -%{_bindir}/avinfo -%{_bindir}/bluemoon -%{_bindir}/bluetoothctl -%{_bindir}/btattach -%{_bindir}/btmgmt -%{_bindir}/btmon -%{_bindir}/hex2hcd -%{_bindir}/mpris-proxy -%{_mandir}/man1/bluetoothctl.1.* -%{_mandir}/man1/bluetoothctl-*.1.* -%{_mandir}/man1/btmgmt.1.* -%{_mandir}/man1/btattach.1.* -%{_mandir}/man1/btmon.1.* -%{_mandir}/man8/bluetoothd.8.* -%dir %{_libexecdir}/bluetooth -%{_libexecdir}/bluetooth/bluetoothd -%{_libdir}/bluetooth/ -# bluetooth.service expects StateDirectoryMode to be 700. -%attr(0700, root, root) %dir %{_localstatedir}/lib/bluetooth -%dir %{_localstatedir}/lib/bluetooth/mesh -%{_datadir}/dbus-1/system.d/bluetooth.conf -%{_datadir}/dbus-1/system-services/org.bluez.service -%{_unitdir}/bluetooth.service -%{_userunitdir}/mpris-proxy.service -%{_datadir}/zsh/site-functions/_bluetoothctl - -%if %{with deprecated} -%files deprecated -%{_bindir}/ciptool -%{_bindir}/gatttool -%{_bindir}/hciattach -%{_bindir}/hciconfig -%{_bindir}/hcidump -%{_bindir}/hcitool -%{_bindir}/meshctl -%{_bindir}/rfcomm -%{_bindir}/sdptool -%{_mandir}/man1/ciptool.1.* -%{_mandir}/man1/hciattach.1.* -%{_mandir}/man1/hciconfig.1.* -%{_mandir}/man1/hcidump.1.* -%{_mandir}/man1/hcitool.1.* -%{_mandir}/man1/rfcomm.1.* -%{_mandir}/man1/sdptool.1.* -%endif - -%files libs -%{!?_licensedir:%global license %%doc} -%license COPYING -%{_libdir}/libbluetooth.so.* - -%files libs-devel -%doc doc/*txt -%{_bindir}/isotest -%{_bindir}/l2test -%{_bindir}/l2ping -%{_bindir}/rctest -%{_mandir}/man1/isotest.1.* -%{_mandir}/man1/l2ping.1.* -%{_mandir}/man1/rctest.1.* -%{_mandir}/man5/org.bluez.*.5.* -%{_mandir}/man7/hci.7.* -%{_mandir}/man7/iso.7.* -%{_mandir}/man7/l2cap.7.* -%{_mandir}/man7/mgmt.7.* -%{_mandir}/man7/rfcomm.7.* -%{_mandir}/man7/sco.7.* -%{_libdir}/libbluetooth.so -%{_includedir}/bluetooth -%{_libdir}/pkgconfig/bluez.pc -%dir %{_libexecdir}/bluetooth -%{_libexecdir}/bluetooth/btvirt - -%files cups -%_cups_serverbin/backend/bluetooth - -%files hid2hci -/usr/lib/udev/hid2hci -%{_mandir}/man1/hid2hci.1* -%{_udevrulesdir}/97-hid2hci.rules - -%files mesh -%config(noreplace) %{_sysconfdir}/bluetooth/mesh-main.conf -%{_bindir}/mesh-cfgclient -%{_bindir}/mesh-cfgtest -%{_datadir}/dbus-1/system.d/bluetooth-mesh.conf -%{_datadir}/dbus-1/system-services/org.bluez.mesh.service -%{_libexecdir}/bluetooth/bluetooth-meshd -%{_unitdir}/bluetooth-mesh.service -%{_localstatedir}/lib/bluetooth/mesh -%{_mandir}/man8/bluetooth-meshd.8* - -%files obexd -%{_libexecdir}/bluetooth/obexd -%{_datadir}/dbus-1/services/org.bluez.obex.service -/usr/lib/systemd/user/dbus-org.bluez.obex.service -%{_datadir}/dbus-1/system.d/obex.conf -%{_userunitdir}/obex.service - -%changelog -* Fri Feb 27 2026 Bastien Nocera - 5.86-4 -- Re-add btmgmt as it does not require bluetoothd to be running, - unlike bluetoothctl mgmt -- Update audio output patch to be upstream version -- Fix "bluetoothctl list" empty output (Closes: #2440346) - -* Mon Feb 16 2026 Bastien Nocera - 5.86-3 -- Fix audio output not working in some circumstances - -* Tue Feb 10 2026 Bastien Nocera - 5.86-2 -- Use simpler big endian bug fix - -* Mon Feb 09 2026 Bastien Nocera - 5.86-1 -- Update to 5.86 -- Don't install btmgmt, bluetoothctl's mgmt sub-menu can do the same things - -* Fri Nov 21 2025 Peter Robinson - 5.85-1 -- Update to 5.85 - -* Wed Sep 24 2025 Bastien Nocera - 5.84-2 -+ bluez-5.84-2 -- Fix Bluetooth LE audio - -* Fri Sep 19 2025 Bastien Nocera - 5.84-1 -- Update to 5.84 - -* Wed Jul 23 2025 Fedora Release Engineering - 5.83-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Wed Jul 09 2025 Peter Robinson - 5.83-2 -- Fix for single commands without BT shell - -* Mon Jun 02 2025 Bastien Nocera - 5.83-1 -- Update to 5.83 - -* Wed Apr 02 2025 Peter Robinson - 5.82-1 -- Update to 5.82 - -* Wed Apr 02 2025 Peter Robinson - 5.81-2 -- Upstream patches to fix broken 5.81 - -* Tue Apr 01 2025 Peter Robinson - 5.81-1 -- Update to 5.81 - -* Mon Mar 17 2025 Peter Robinson - 5.80-1 -- Update to 5.80 - -* Thu Mar 06 2025 Peter Robinson - 5.79-3 -- Fixes for gcc-15 - -* Thu Jan 16 2025 Fedora Release Engineering - 5.79-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Sat Nov 02 2024 Peter Robinson - 5.79-1 -- Update to 5.79 - -* Mon Sep 9 2024 Peter Robinson - 5.78-1 -- Update to 5.78 - -* Wed Jul 17 2024 Fedora Release Engineering - 5.77-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Tue Jul 09 2024 Peter Robinson - 5.77-1 -- Update to 5.77 - -* Thu Jul 04 2024 Bastien Nocera - 5.76-2 -- Remove obsolete and ineffective configuration change - -* Mon May 20 2024 Peter Robinson - 5.76-1 -- Update to 5.76 - -* Mon Apr 15 2024 Adam Williamson - 5.75-1 -- Update to 5.75 - -* Sun Apr 14 2024 Adam Williamson - 5.74-1 -- Update to 5.74 -- Drop patches (merged upstream) - -* Thu Apr 04 2024 Adam Williamson - 5.73-3 -- Backport further upstream fix for connected device checks (#2269516) - -* Mon Mar 18 2024 Peter Robinson - 5.73-2 -- Upstream fix for connected device checks - -* Fri Mar 08 2024 Peter Robinson - 5.73-1 -- Update to 5.73 - -* Tue Jan 23 2024 Fedora Release Engineering - 5.72-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 5.72-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 14 2024 Peter Robinson - 5.72-1 -- Update to 5.72 - -* Sun Jan 07 2024 Peter Robinson - 5.71-3 -- Upstream fix for crash on A2DP audio suspend - -* Fri Dec 29 2023 Peter Robinson - 5.71-2 -- Fix link key address type for old kernels - -* Sat Dec 16 2023 Peter Robinson - 5.71-1 -- Update to 5.71 - -* Thu Dec 07 2023 Peter Robinson - 5.70-5 -- Install default input.conf/network.conf - -* Thu Dec 07 2023 Peter Robinson - 5.70-4 -- Add mitigation for CVE-2023-45866 - -* Sun Nov 19 2023 Peter Robinson - 5.70-3 -- Fix some input devices disconnecting right after connecting -- Explicitly enable Bluetooth BAP/BASS/CSIP/MCP/MICP/VCP profiles - -* Mon Oct 02 2023 Sandro Bonazzola - 5.70-2 -- Fix access modes for /etc/bluetooth and /var/lib/bluetooth as expected - by bluetooth.service. -- Resolves: fedora#2144504 - -* Fri Sep 29 2023 Peter Robinson - 5.70-1 -- Update to 5.70 -- Enable some Bluetooth LE features - -* Fri Aug 25 2023 Peter Robinson - 5.69-1 -- Update to 5.69 - -* Wed Jul 19 2023 Fedora Release Engineering - 5.68-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Jul 01 2023 Peter Robinson - 5.68-1 -- Update to 5.68 -- Don't replace modified configs on upgrade (rhbz#2173029) - -* Sun Jun 25 2023 Bastien Nocera - 5.66-6 -- Add patch that fixes some devices not being discoverable in - GNOME's Bluetooth Settings - -* Wed Jan 18 2023 Fedora Release Engineering - 5.66-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Nov 17 2022 Peter Robinson - 5.66-4 -- Move meshctl to deprecated - -* Thu Nov 17 2022 Bastien Nocera - 5.66-3 -- Fix handling of transient hostnames (#2143488) - -* Mon Nov 14 2022 Bastien Nocera - 5.66-2 -- Re-add wrongly removed non-upstreamed patch - -* Fri Nov 11 2022 Peter Robinson - 5.66-1 -- Update to 5.66 - -* Thu Sep 01 2022 Bastien Nocera - 5.65-3 -+ bluez-5.65-3 -- Update PowerState property patch to upstream version - -* Wed Aug 31 2022 Bastien Nocera - 5.65-2 -+ bluez-5.65-2 -- Add PowerState property implementation - -* Thu Jul 28 2022 Peter Robinson - 5.65-1 -- Update to 5.65 - -* Wed Jul 20 2022 Fedora Release Engineering - 5.64-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Mon Mar 21 2022 Peter Robinson - 5.64-1 -- Update to 5.64 - -* Wed Jan 19 2022 Fedora Release Engineering - 5.63-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Jan 13 2022 Adam Williamson - 5.63-2 -- Update fix for MX mice to the one merged upstream - -* Wed Jan 05 2022 Peter Robinson - 5.63-1 -- Update to 5.63 - -* Sun Nov 07 2021 Adam Williamson - 5.62-2 -- Revert an upstream change to fix problems with Logitech MX mice (#2019970) - -* Wed Oct 13 2021 Peter Robinson - 5.62-1 -- Update to 5.62 - -* Sun Aug 22 2021 Peter Robinson - 5.61-1 -- Update to 5.61 - -* Tue Jul 27 2021 Bastien Nocera - 5.60-4 -+ bluez-5.60-4 -- Fix for CVE-2021-3658 (see rhbz#1984728) - -* Wed Jul 21 2021 Fedora Release Engineering - 5.60-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Sat Jul 10 2021 Björn Esser - 5.60-2 -- Rebuild for versioned symbols in json-c - -* Thu Jul 08 2021 Peter Robinson - 5.60-1 -- Update to 5.60 - -* Tue Jun 15 2021 Peter Robinson - 5.59-1 -- Update to 5.59 - -* Mon May 03 2021 Benjamin Berg - 5.58-2 -- Fix rfkill reading - Resolves: #1944482 -- Change all g_memdup calls to use g_memdup2 - -* Sun Apr 04 2021 Peter Robinson - 5.58-1 -- Update to 5.58 - -* Sun Mar 14 2021 Peter Robinson - 5.56-4 -- Fix for avdtp audio disconnexts - -* Sun Mar 14 2021 Hans de Goede - 5.56-3 -- Drop obsolete udev rule + systemd service to call btattach on BT-HCIs - connected via UART from userspace, this is all handled in the kernel now -- Add the btmgmt util to the packaged files - -* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 5.56-2 -- Rebuilt for updated systemd-rpm-macros - See https://pagure.io/fesco/issue/2583. - -* Sat Feb 27 2021 Peter Robinson - 5.56-1 -- Update to 5.56 - -* Tue Jan 26 2021 Fedora Release Engineering - 5.55-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sun Sep 13 2020 Peter Robinson - 5.55-2 -- Split tools marked as deprecated to separate sub package (rhbz #1887569) - -* Sun Sep 06 2020 Peter Robinson - 5.55-1 -- Update to 5.55 - -* Sat Aug 01 2020 Fedora Release Engineering - 5.54-4 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 5.54-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Apr 21 2020 Björn Esser - 5.54-2 -- Rebuild (json-c) - -* Sun Mar 15 2020 Peter Robinson - 5.54-1 -- bluez 5.54 - -* Sun Feb 16 2020 Peter Robinson 5.53-2 -- Minor mesh updates - -* Sun Feb 16 2020 Peter Robinson 5.53-1 -- bluez 5.53 - -* Tue Jan 28 2020 Fedora Release Engineering - 5.52-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Dec 12 2019 Peter Robinson 5.52-3 -- Minor bluetooth mesh improvements - -* Mon Dec 02 2019 Lubomir Rintel - 5.52-2 -- Package the btvirt binary - -* Sun Nov 3 2019 Peter Robinson 5.52-1 -- bluez 5.52 - -* Fri Sep 20 2019 Peter Robinson 5.51-1 -- bluez 5.51 - -* Wed Jul 24 2019 Fedora Release Engineering - 5.50-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jun 06 2019 Bastien Nocera - 5.50-8 -+ bluez-5.50-8 -- Backport loads of fixes from upstream, including: - - dbus-broker support (#1711594) - - a2dp codecs discovery - - discoverability filter support (used in gnome-bluetooth, #1583442) - - sixaxis pairing fixes - -* Tue Apr 16 2019 Eduardo Minguez - 5.50-7 -- Added avinfo - -* Sun Feb 17 2019 Igor Gnatenko - 5.50-6 -- Disable tests temporarily - -* Sun Feb 17 2019 Igor Gnatenko - 5.50-5 -- Rebuild for readline 8.0 - -* Thu Jan 31 2019 Fedora Release Engineering - 5.50-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Thu Jul 12 2018 Fedora Release Engineering - 5.50-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Jun 27 2018 Bastien Nocera - 5.50-2 -+ bluez-5.50-2 -- Fix A2DP disconnections with some headsets - -* Mon Jun 04 2018 Bastien Nocera - 5.50-1 -+ bluez-5.50-1 -- Update to 5.50 - -* Fri Apr 20 2018 Bastien Nocera - 5.49-3 -+ bluez-5.49-3 -- Fix crash on non-LE adapters (#1567622) - -* Tue Mar 27 2018 Björn Esser - 5.49-2 -- Rebuilt for libjson-c.so.4 (json-c v0.13.1) on fc28 - -* Tue Mar 20 2018 Peter Robinson 5.49-1 -- Update to 5.49 - -* Tue Mar 06 2018 Björn Esser - 5.48-5 -- Rebuilt for libjson-c.so.4 (json-c v0.13.1) - -* Fri Feb 09 2018 Bastien Nocera - 5.48-4 -- Fix PulseAudio interaction on resume (#1534857) - -* Wed Feb 07 2018 Fedora Release Engineering - 5.48-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sat Feb 03 2018 Igor Gnatenko - 5.48-2 -- Switch to %%ldconfig_scriptlets - -* Thu Dec 28 2017 Pete Walter - 5.48-1 -- Update to 5.48 - -* Sun Dec 10 2017 Björn Esser - 5.47-7 -- Rebuilt for libjson-c.so.3 - -* Fri Nov 10 2017 Leigh Scott - 5.47-6 -- Rebuild for libical 3.x - -* Fri Oct 27 2017 Don Zickus - 5.47-5 -- Enable unit tests (Marek Kasik) -- Resolves: #1502677 - -* Tue Oct 10 2017 Bastien Nocera - 5.47-4 -+ bluez-5.47-4 -- Fix invalid paths in service file (#1499518) - -* Wed Sep 20 2017 Bastien Nocera - 5.47-3 -+ bluez-5.47-3 -- Fix adapter name not picking up PrettyHostname - -* Wed Sep 20 2017 Bastien Nocera - 5.47-2 -+ bluez-5.47-2 -- Lockdown Bluetooth systemd service - -* Thu Sep 14 2017 Peter Robinson 5.47-1 -- New upstream 5.47 bugfix release -- Initial support for Bluetooth LE mesh -- Blueooth 5 fixes and improvements - -* Mon Sep 11 2017 Don Zickus - 5.46-6 -- sdpd heap fixes -Resolves: rhbz#1490911 - -* Thu Sep 07 2017 Hans de Goede - 5.46-5 -- Add scripts to automatically btattach serial-port / uart connected - Broadcom HCIs found on some Atom based x86 hardware - -* Mon Sep 04 2017 Bastien Nocera - 5.46-4 -+ bluez-5.46-4 -- Patches cleanup -- Add DualShock4 cable pairing support -- BIND_NOW support for RELRO -- iCade autopairing support - -* Wed Aug 02 2017 Fedora Release Engineering - 5.46-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 5.46-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed Jul 19 2017 Peter Robinson 4.46-1 -- Update to 5.46 - -* Tue May 16 2017 Peter Robinson 5.45-1 -- Update to 5.45 -- Minor spec cleanups -- Include api docs in devel package - -* Sun Mar 12 2017 Peter Robinson 5.44-1 -- Update to 5.44 -- Enable deprecated option to keep all usual tools -- Ship btattach tool -- Minor spec cleanups - -* Fri Feb 10 2017 Fedora Release Engineering - 5.43-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Fri Feb 3 2017 Don Zickus 5.43-3 -- Configure systemctl settings for bluez-obexd correctly -- Resolves rhbz#1259827 - -* Thu Jan 12 2017 Igor Gnatenko - 5.43-2 -- Rebuild for readline 7.x - -* Mon Oct 31 2016 Don Zickus 5.43-1 -- Update to 5.43 - -* Tue Oct 25 2016 Don Zickus 5.42-2 -- Fix OBEX connections - -* Wed Oct 19 2016 Peter Robinson 5.42-1 -- Update to 5.42 - -* Mon Aug 1 2016 Don Zickus 5.41-1 -- Update to 5.41 - -* Thu Jul 7 2016 Don Zickus 5.40-2 -- obexd fixes to prevent crashes -- add /etc/bluetooth/main.conf config file -- set 'AutoEnable=true' in /etc/bluetooth/main.conf file - -* Tue May 31 2016 Peter Robinson 5.40-1 -- Update to 5.40 bugfix relesae - -* Fri Apr 15 2016 David Tardon - 5.39-2 -- rebuild for ICU 57.1 - -* Tue Apr 12 2016 Peter Robinson 5.39-1 -- Update to 5.39 bugfix relesae - -* Sun Apr 3 2016 Peter Robinson 5.38-1 -- Update to 5.38 - -* Wed Feb 03 2016 Fedora Release Engineering - 5.37-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Mon Jan 18 2016 David Tardon - 5.37-2 -- rebuild for libical 2.0.0 - -* Tue Dec 29 2015 Peter Robinson 5.37-1 -- Update to 5.37 - -* Fri Nov 13 2015 Peter Robinson 5.36-1 -- Update to 5.36 - -* Fri Oct 30 2015 Peter Robinson 5.35-2 -- Split obexd out into a sub package - -* Mon Oct 5 2015 Peter Robinson 5.35-1 -- Update to 5.35 - -* Tue Sep 8 2015 Peter Robinson 5.34-1 -- Update to 5.34 - -* Fri Jul 31 2015 Peter Robinson 5.33-1 -- Update to 5.33 - -* Wed Jul 8 2015 Peter Robinson 5.32-1 -- Update to 5.32 - -* Mon Jun 22 2015 Peter Robinson 5.31-1 -- Update to 5.31 - -* Wed Jun 17 2015 Fedora Release Engineering - 5.30-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Thu Jun 11 2015 Lubomir Rintel - 5.30-2 -- Fix NAP connections (rh #1230461) - -* Wed Apr 29 2015 Peter Robinson - 5.30-1 -- Update to 5.30 -- Use %%license - -* Sun Mar 29 2015 David Tardon - 5.29-2 -- fix header file - -* Wed Mar 25 2015 Don Zickus 5.29-1 -- Update to 5.29 - -* Wed Mar 11 2015 Bastien Nocera 5.28-1 -- Update to 5.28 - -* Thu Nov 20 2014 Bastien Nocera 5.25-1 -- Update to 5.25 - -* Thu Oct 30 2014 Eric Smith 5.23-2 -- Install gatttool and mpris-proxy - -* Tue Sep 23 2014 Bastien Nocera 5.23-1 -- Update to 5.23 - -* Fri Aug 15 2014 Fedora Release Engineering - 5.18-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 5.18-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Mon Apr 14 2014 Bastien Nocera 5.18-1 -- Update to 5.18 - -* Wed Mar 26 2014 Bastien Nocera 5.17-1 -- Update to 5.17 - -* Thu Mar 13 2014 Bastien Nocera 5.16-1 -- Update to 5.16 - -* Wed Jan 29 2014 Bastien Nocera 5.14-1 -- Update to 5.14 - -* Mon Jan 06 2014 Bastien Nocera 5.13-1 -- Update to 5.13 -- Enable sixaxis plugin by default - -* Thu Dec 12 2013 Bastien Nocera 5.12-2 -- This update fixes Sixaxis PS3 joypad detection - -* Wed Dec 11 2013 Bastien Nocera 5.12-1 -- Update to 5.12 -- Sixaxis PS3 joypad support is now upstream - -* Tue Dec 10 2013 Bastien Nocera 5.11-2 -- Add crasher fixes (rhbz #1027365) - -* Mon Nov 18 2013 Bastien Nocera 5.11-1 -- Update to 5.11 - -* Tue Nov 12 2013 Bastien Nocera 5.10-4 -- Default to the XDG cache dir for receiving files - -* Mon Oct 21 2013 Bastien Nocera 5.10-3 -- Remove a few obsolete BRs and deps, thanks to Marcel Holtmann - -* Mon Oct 21 2013 Bastien Nocera 5.10-2 -- Add non-upstreamable patch to make bluetooth-sendto work again - -* Thu Oct 17 2013 Bastien Nocera 5.10-1 -- Update to 5.10 - -* Fri Sep 20 2013 Kalev Lember 5.9-4 -- Obsolete blueman-nautilus as well - -* Fri Sep 20 2013 Kalev Lember 5.9-3 -- Obsolete blueman and obex-data-server - -* Fri Sep 20 2013 Bastien Nocera 5.9-2 -- Fix problem unsetting discoverable - -* Fri Sep 20 2013 Bastien Nocera 5.9-1 -- Update to 5.9 - -* Fri Aug 16 2013 Kalev Lember - 5.8-2 -- Don't pull in -libs for the other subpackages -- Remove a stray .la file - -* Sat Aug 10 2013 Kalev Lember - 5.8-1 -- Update to 5.8 -- Hardened build -- Use systemd rpm macros - -* Sat Aug 10 2013 Kalev Lember - 5.5-1 -- Update to 5.5, based on earlier work from - https://bugzilla.redhat.com/show_bug.cgi?id=974145 - -* Sat Aug 03 2013 Fedora Release Engineering - 4.101-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Tue Jul 23 2013 Bastien Nocera 4.101-9 -- Fix trust setting in Sixaxis devices - -* Wed Jun 26 2013 Bastien Nocera 4.101-8 -- Another pass at fixing A2DP support (#964031) - -* Tue Jun 25 2013 Bastien Nocera 4.101-7 -- Remove socket interface enablement for A2DP (#964031) - -* Mon Jan 28 2013 Peter Robinson 4.101-6 -- Add -vif to autoreconf to fix build issues - -* Thu Jan 10 2013 Bastien Nocera 4.101-5 -- Use git to manage distro patches -- Add numerous upstream and downstream patches (#892929) - -* Wed Nov 21 2012 Bastien Nocera 4.101-4 -- Clean up requires and build requires -- Use CUPS macro (#772236) -- Enable audio socket so a2dp works in PulseAudio again (#874015) -- Fix hid2hci not working with recent kernels (#877998) - -* Wed Aug 15 2012 Bastien Nocera 4.101-3 -- Enable pairing Wiimote support (#847481) - -* Wed Jul 18 2012 Fedora Release Engineering - 4.101-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sun Jun 17 2012 Bastien Nocera 4.100-2 -- Add PS3 BD Remote patches (power saving) - -* Thu Jun 14 2012 Bastien Nocera 4.100-1 -- Update to 4.100 - -* Fri Jun 1 2012 Peter Robinson - 4.99-2 -- Add patch for udev change to fix FTBFS on rawhide -- Drop sbc patch as fixed in gcc 4.7 final - -* Tue Mar 06 2012 Bastien Nocera 4.99-1 -- Update to 4.99 - -* Tue Feb 28 2012 Petr Pisar - 4.98-3 -- Make headers compilable with g++ 4.7 (bug #791292) - -* Fri Feb 24 2012 Peter Robinson 4.98-2 -- Add mmx patch to fix build of sbc component -- clean up spec, drop ancient obsoletes - -* Fri Jan 13 2012 Bastien Nocera 4.98-1 -- Update to 4.98 - -* Thu Jan 12 2012 Fedora Release Engineering - 4.97-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Fri Dec 30 2011 Bastien Nocera 4.97-1 -- Update to 4.97 - -* Mon Sep 5 2011 Hans de Goede 4.96-3 -- Put hid2hci into its own (optional) subpackage, so that people who - just want to use their HID proxying HCI with the keyboard and mouse - it came with, will have things working out of the box. -- Put udev rules in /lib/udev, where package installed udev rules belong - -* Mon Aug 29 2011 Hans de Goede 4.96-2 -- hid2hci was recently removed from udev and added to bluez in 4.93, - udev in Fedora-16 no longer has hid2hci -> enable it in our bluez builds. - This fixes bluetooth not working on machines where the bluetooth hci - initially shows up as a hid device, such as with many Dell laptops. - -* Mon Aug 01 2011 Bastien Nocera 4.96-1 -- Update to 4.96 - -* Tue Jul 05 2011 Bastien Nocera 4.95-1 -- Update to 4.95 - -* Tue Jun 28 2011 Lennart Poettering - 4.94-4 -- Enable bluetoothd on all upgrades from 4.87-6 and older, in order to fix up broken F15 installations - -* Thu Jun 23 2011 Bastien Nocera 4.94-3 -- Update patches to apply correctly -- First compilable version with hostnamed support - -* Mon Jun 20 2011 Lennart Poettering - 4.94-2 -- Enable bluetoothd by default -- Follow-up on https://bugzilla.redhat.com/show_bug.cgi?id=694519 also fixing upgrades - -* Wed Jun 01 2011 Bastien Nocera 4.94-1 -- Update to 4.94 - -* Wed May 25 2011 Bastien Nocera 4.93-1 -- Update to 4.93 - -* Thu Apr 7 2011 Lennart Poettering - 4.90-2 -- Update systemd patch to make it possible to disable bluez - -* Thu Mar 17 2011 Bastien Nocera 4.90-1 -- Update to 4.90 - -* Mon Feb 21 2011 Bastien Nocera 4.89-1 -- Update to 4.89 - -* Mon Feb 14 2011 Bastien Nocera 4.88-1 -- Update to 4.88 - -* Mon Feb 07 2011 Fedora Release Engineering - 4.87-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Jan 26 2011 Bastien Nocera 4.87-1 -- Update to 4.87 - -* Thu Jan 20 2011 Bastien Nocera 4.86-1 -- Update to 4.86 - -* Thu Jan 13 2011 Bastien Nocera 4.85-1 -- Update to 4.85 - -* Sun Dec 19 2010 Bastien Nocera 4.82-1 -- Update to 4.82 - -* Wed Dec 01 2010 Bastien Nocera 4.81-1 -- Update to 4.81 - -* Mon Nov 22 2010 Bastien Nocera 4.80-1 -- Update to 4.80 - -* Tue Nov 09 2010 Bastien Nocera 4.79-1 -- Update to 4.79 - -* Sat Nov 06 2010 Bastien Nocera 4.78-1 -- Update to 4.78 - -* Wed Oct 27 2010 Bastien Nocera 4.77-1 -- Update to 4.77 - -* Sat Oct 16 2010 Bastien Nocera 4.76-1 -- Update to 4.76 - -* Tue Oct 05 2010 Bastien Nocera 4.74-1 -- Update to 4.74 - -* Mon Oct 04 2010 Bastien Nocera 4.73-1 -- Update to 4.73 - -* Wed Sep 29 2010 jkeating - 4.72-2 -- Rebuilt for gcc bug 634757 - -* Wed Sep 22 2010 Bastien Nocera 4.72-1 -- Update to 4.72 - -* Fri Sep 17 2010 Bill Nottingham 4.71-4 -- sync release number (but not package) with F-14 - -* Tue Sep 14 2010 Bastien Nocera 4.71-3 -- systemd hookup and cleanups from Lennart - -* Thu Sep 09 2010 Bastien Nocera 4.71-1 -- Update to 4.71 - -* Thu Aug 26 2010 Bastien Nocera 4.70-1 -- Update to 4.70 - -* Sat Jul 31 2010 Orcan Ogetbil 4.69-4 -- Re-add Requires: dbus-bluez-pin-helper, since blueman is now in - -* Sat Jul 31 2010 Orcan Ogetbil 4.69-3 -- Comment out Requires: dbus-bluez-pin-helper for bootstrapping. Otherwise - it drags in the old blueman, built against python-2.6 -* Fri Jul 23 2010 Bastien Nocera 4.69-2 -- Don't allow installing bluez-compat on its own - -* Fri Jul 16 2010 Bastien Nocera 4.69-1 -- Update to 4.69 - -* Sun Jul 11 2010 Dan Horák 4.66-3 -- don't require the pin helper on s390(x) now, we can disable the whole - bluetooth stack in the future - -* Mon Jun 21 2010 Bastien Nocera 4.66-2 -- Move hidd, pand and dund man pages to the -compat - sub-package (#593578) - -* Mon Jun 14 2010 Bastien Nocera 4.66-1 -- Update to 4.66 - -* Mon May 24 2010 Bastien Nocera 4.65-1 -- Update to 4.65 - -* Thu Apr 29 2010 Bastien Nocera 4.64-1 -- Update to 4.64 - -* Mon Apr 12 2010 Bastien Nocera 4.63-3 -- And actually apply the aforementioned patch - -* Mon Apr 12 2010 Bastien Nocera 4.63-2 -- Fix pairing and using mice, due to recent BtIO changes - -* Fri Mar 26 2010 Bastien Nocera 4.63-1 -- Update to 4.63 - -* Mon Mar 08 2010 Bastien Nocera 4.62-1 -- Update to 4.62 - -* Mon Feb 15 2010 Bastien Nocera 4.61-1 -- Update to 4.61 -- Remove Wacom tablet enabler, now in the kernel -- Fix linking with new DSO rules (#564799) - -* Mon Feb 15 2010 Bastien Nocera 4.60-2 -- Fix typo in init script (#558993) - -* Sun Jan 10 2010 Bastien Nocera 4.60-1 -- Update to 4.60 - -* Fri Dec 25 2009 Bastien Nocera 4.59-1 -- Update to 4.59 - -* Mon Nov 16 2009 Bastien Nocera 4.58-1 -- Update to 4.58 - -* Mon Nov 02 2009 Bastien Nocera 4.57-2 -- Move the rfcomm.conf to the compat package, otherwise - the comments at the top of it are confusing - -* Sat Oct 31 2009 Bastien Nocera 4.57-1 -- Update to 4.57 - -* Sat Oct 10 2009 Bastien Nocera 4.56-1 -- Update to 4.56 - -* Fri Oct 09 2009 Bastien Nocera 4.55-2 -- Update cable pairing plugin to use libudev - -* Mon Oct 05 2009 Bastien Nocera 4.55-1 -- Update to 4.55 -- Add libcap-ng support to drop capabilities (#517660) - -* Thu Sep 24 2009 Bastien Nocera 4.54-1 -- Update to 4.54 - -* Wed Sep 16 2009 Bastien Nocera 4.53-2 -- Update cable plugin for gudev changes - -* Thu Sep 10 2009 Bastien Nocera 4.53-1 -- Update to 4.53 - -* Fri Sep 04 2009 Bastien Nocera 4.52-1 -- Update to 4.52 - -* Thu Sep 03 2009 Bastien Nocera 4.51-1 -- Update to 4.51 - -* Tue Sep 01 2009 Bastien Nocera 4.50-2 -- Remove obsoleted patches -- Add another CUPS backend patch -- Update cable pairing patch for new build system - -* Tue Sep 01 2009 Bastien Nocera 4.50-1 -- Update to 4.50 - -* Tue Aug 25 2009 Karsten Hopp 4.47-6 -- don't buildrequire libusb1 on s390* - -* Tue Aug 11 2009 Bastien Nocera 4.47-5 -- More upstream CUPS fixes - -* Tue Aug 11 2009 Bastien Nocera 4.47-4 -- Fix cups discovery the first time we discover a device - -* Mon Aug 10 2009 Ville Skyttä - 4.47-3 -- Use bzipped upstream tarball. - -* Wed Aug 05 2009 Bastien Nocera 4.47-2 -- Remove hid2hci calls, they're in udev now -- Work-around udev bug, bluetoothd wasn't getting enabled - on coldplug - -* Sun Aug 02 2009 Bastien Nocera 4.47-1 -- Update to 4.47 - -* Wed Jul 29 2009 Bastien Nocera 4.46-3 -- Add rfkill plugin to restore the state of the adapters - after coming back from a blocked adapter - -* Fri Jul 24 2009 Fedora Release Engineering - 4.46-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Sun Jul 19 2009 Bastien Nocera 4.46-1 -- Update to 4.46 - -* Wed Jul 08 2009 Bastien Nocera 4.45-1 -- Update to 4.45 - -* Tue Jul 07 2009 Bastien Nocera 4.44-1 -- Update to 4.44 - -* Fri Jul 03 2009 Bastien Nocera 4.43-2 -- Up the required udev requires so bluetoothd gets started - on boot when an adapter is present - -* Fri Jul 03 2009 Bastien Nocera 4.43-1 -- Update to 4.43 - -* Sun Jun 21 2009 Bastien Nocera 4.42-2 -- Update to 4.42 - -* Thu Jun 11 2009 Bastien Nocera 4.41-2 -- Switch to on-demand start/stop using udev - -* Mon Jun 08 2009 Bastien Nocera 4.41-1 -- Update to 4.41 - -* Fri Jun 05 2009 Bastien Nocera 4.40-2 -- Add patch to allow Sixaxis pairing - -* Tue May 19 2009 Bastien Nocera 4.40-1 -- Update to 4.40 - -* Sat May 09 2009 Bastien Nocera 4.39-1 -- Update to 4.39 - -* Tue May 05 2009 Petr Lautrbach 4.38-3 -- Start/stop the bluetooth service via udev (#484345) - -* Tue May 05 2009 Bastien Nocera 4.38-2 -- Add patch to activate the Socket Mobile CF kit (#498756) - -* Mon May 04 2009 Bastien Nocera 4.38-1 -- Update to 4.38 - -* Wed Apr 29 2009 Bastien Nocera 4.37-2 -- Split off dund, pand, hidd, and rfcomm helper into a compat package - (#477890, #473892) - -* Thu Apr 23 2009 - Bastien Nocera - 4.37-1 -- Update to 4.37 - -* Fri Apr 17 2009 - Bastien Nocera - 4.36-1 -- Update to 4.36 - -* Sat Apr 11 2009 - Bastien Nocera - 4.35-1 -- Update to 4.35 - -* Fri Apr 03 2009 - Bastien Nocera - 4.34-3 -- Avoid disconnecting audio devices straight after they're connected - -* Fri Apr 03 2009 - Bastien Nocera - 4.34-2 -- Don't crash when audio devices are registered and the adapter - is removed - -* Sun Mar 29 2009 - Bastien Nocera - 4.34-1 -- Update to 4.34 - -* Tue Mar 24 2009 - Bastien Nocera - 4.33-11 -- Fix a possible crasher - -* Mon Mar 16 2009 - Bastien Nocera - 4.33-1 -- Update to 4.33 - -* Sat Mar 14 2009 - Bastien Nocera - 4.32-10 -- Fix a couple of warnings in the CUPS/BlueZ 4.x patch - -* Fri Mar 13 2009 - Bastien Nocera - 4.32-9 -- Switch Wacom Bluetooth tablet to mode 2 - -* Mon Mar 09 2009 - Bastien Nocera - 4.32-8 -- Port CUPS backend to BlueZ 4.x - -* Mon Mar 09 2009 - Bastien Nocera - 4.32-7 -- A (slightly) different fix for parsing to XML when it contains a NULL - -* Mon Mar 09 2009 - Bastien Nocera - 4.32-6 -- Fix sdp_copy_record(), so records are properly exported through D-Bus - -* Fri Mar 06 2009 - Bastien Nocera - 4.32-5 -- Fix SDP parsing to XML when it contains NULLs - -* Thu Mar 05 2009 - Bastien Nocera - 4.32-4 -- Work-around broken devices that export their names in ISO-8859-1 - (#450081) - -* Thu Mar 05 2009 - Bastien Nocera - 4.32-3 -- Fix permissions on the udev rules (#479348) - -* Wed Mar 04 2009 - Bastien Nocera - 4.32-2 -- Own /usr/lib*/bluetooth and children (#474632) - -* Mon Mar 2 2009 Lennart Poettering - 4.32-1 -- Update to 4.32 - -* Thu Feb 26 2009 Lennart Poettering - 4.31-1 -- Update to 4.31 - -* Mon Feb 23 2009 Fedora Release Engineering - 4.30-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Mon Feb 23 2009 - Bastien Nocera - 4.30-2 -- Fix the cups backend being a libtool stub - -* Thu Feb 12 2009 - Bastien Nocera - 4.30-1 -- Update to 4.30 - -* Thu Feb 12 2009 Karsten Hopp 4.29-3 -- disable 0001-Add-icon-for-other-audio-device.patch, already upstream - -* Thu Feb 12 2009 Karsten Hopp 4.29-2 -- bluez builds fine on s390(x) and the packages are required to build - other packages, drop ExcludeArch - -* Mon Feb 09 2009 - Bastien Nocera - 4.29-1 -- Update to 4.29 - -* Mon Feb 02 2009 - Bastien Nocera - 4.28-1 -- Update to 4.28 - -* Mon Jan 19 2009 - Bastien Nocera - 4.27-1 -- Update to 4.27 - -* Fri Jan 09 2009 - Bastien Nocera - 4.26-1 -- Update to 4.26 - -* Sat Jan 03 2009 - Bastien Nocera - 4.25-1 -- Update to 4.25 - -* Tue Dec 09 2008 - Bastien Nocera - 4.22-2 -- Fix D-Bus configuration for latest D-Bus (#475069) - -* Mon Dec 08 2008 - Bastien Nocera - 4.22-1 -- Update to 4.22 - -* Mon Dec 01 2008 - Bastien Nocera - 4.21-1 -- Update to 4.21 - -* Fri Nov 21 2008 - Bastien Nocera - 4.19-1 -- Update to 4.19 - -* Mon Nov 17 2008 - Bastien Nocera - 4.18-1 -- Update to 4.18 - -* Mon Oct 27 2008 - Bastien Nocera - 4.17-2 -- Own /var/lib/bluetooth (#468717) - -* Sun Oct 26 2008 - Bastien Nocera - 4.17-1 -- Update to 4.17 - -* Tue Oct 21 2008 - Bastien Nocera - 4.16-1 -- Update to 4.16 - -* Mon Oct 20 2008 - Bastien Nocera - 4.15-1 -- Update to 4.15 - -* Fri Oct 17 2008 - Bastien Nocera - 4.14-2 -- Add script to autoload uinput on startup, so the PS3 remote - works out-of-the-box - -* Fri Oct 17 2008 - Bastien Nocera - 4.14-1 -- Update to 4.14 - -* Tue Oct 14 2008 - Bastien Nocera - 4.13-3 -- Update udev rules (#246840) - -* Mon Oct 13 2008 - Bastien Nocera - 4.13-2 -- Fix PS3 BD remote input event generation - -* Fri Oct 10 2008 - Bastien Nocera - 4.13-1 -- Update to 4.13 - -* Mon Oct 06 2008 - Bastien Nocera - 4.12-1 -- Update to 4.12 - -* Sat Oct 04 2008 - Bastien Nocera - 4.11-1 -- Update to 4.11 - -* Fri Oct 03 2008 - Bastien Nocera - 4.10-1 -- Update to 4.10 - -* Mon Sep 29 2008 - Bastien Nocera - 4.9-1 -- Update to 4.9 - -* Mon Sep 29 2008 - Bastien Nocera - 4.8-1 -- Update to 4.8 - -* Fri Sep 26 2008 - Bastien Nocera - 4.7-1 -- Update to 4.7 - -* Wed Sep 24 2008 - Bastien Nocera - 4.6-4 -- Fix patch application - -* Wed Sep 24 2008 - Bastien Nocera - 4.6-3 -- Add fuzz - -* Wed Sep 24 2008 - Bastien Nocera - 4.6-2 -- Fix possible crasher on resume from suspend - -* Sun Sep 14 2008 - David Woodhouse - 4.6-1 -- Update to 4.6 - -* Fri Sep 12 2008 - David Woodhouse - 4.5-4 -- SDP browse fixes - -* Fri Sep 12 2008 - David Woodhouse - 4.5-3 -- Bluez-alsa needs to provide/obsolete bluez-utils-alsa -- Use versioned Obsoletes: - -* Fri Sep 12 2008 - David Woodhouse - 4.5-2 -- Change main utils package name to 'bluez'; likewise its subpackages -- Remove references to obsolete initscripts (hidd,pand,dund) - -* Fri Sep 12 2008 - Bastien Nocera - 4.5-1 -- Update to 4.5 -- Fix initscript to actually start bluetoothd by hand -- Add chkconfig information to the initscript - -* Tue Sep 09 2008 - David Woodhouse - 4.4-2 -- Fix rpmlint problems -- Fix input device handling - -* Tue Sep 09 2008 - Bastien Nocera - 4.4-1 -- Update to 4.4 -- Update source address, and remove unneeded deps (thanks Marcel) - -* Mon Aug 11 2008 - Bastien Nocera - 4.1-1 -- Initial build diff --git a/SPECS/rtkit/.gitignore b/SPECS/rtkit/.gitignore deleted file mode 100644 index 0e280b3..0000000 --- a/SPECS/rtkit/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/rtkit-0.*/ -/.build-*.log -/x86_64/ -/rtkit-*.src.rpm -/rtkit-0.9.tar.gz -/rtkit-0.10.tar.gz -/rtkit-0.11.tar.xz diff --git a/SPECS/rtkit/0001-Fix-borked-error-check.patch b/SPECS/rtkit/0001-Fix-borked-error-check.patch deleted file mode 100644 index 46b759f..0000000 --- a/SPECS/rtkit/0001-Fix-borked-error-check.patch +++ /dev/null @@ -1,22 +0,0 @@ -From ef090ee5a913f2c68e0fbed2600bfe38dfe55029 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= -Date: Sun, 24 Jan 2021 21:12:22 +0100 -Subject: [PATCH 1/2] Fix borked error check - ---- - rtkit-daemon.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/rtkit-daemon.c b/rtkit-daemon.c -index 3ecc1f7840..a15e84f8f5 100644 ---- a/rtkit-daemon.c -+++ b/rtkit-daemon.c -@@ -1463,7 +1463,7 @@ static DBusHandlerResult dbus_handler(DBusConnection *c, DBusMessage *m, void *u - if (strcmp(interface, "org.freedesktop.RealtimeKit1") == 0) { - assert_se(r = dbus_message_new_method_return(m)); - -- if (!handle_dbus_prop_get(property, r) < 0) { -+ if (handle_dbus_prop_get(property, r) < 0) { - dbus_message_unref(r); - assert_se(r = dbus_message_new_error_printf( - m, diff --git a/SPECS/rtkit/0001-SECURITY-Pass-uid-of-caller-to-polkit.patch b/SPECS/rtkit/0001-SECURITY-Pass-uid-of-caller-to-polkit.patch deleted file mode 100644 index 92e54b9..0000000 --- a/SPECS/rtkit/0001-SECURITY-Pass-uid-of-caller-to-polkit.patch +++ /dev/null @@ -1,48 +0,0 @@ -From f44c5776b25ca2abd7569fb8532c6aede9b0c6b0 Mon Sep 17 00:00:00 2001 -From: Colin Walters -Date: Thu, 22 Aug 2013 16:05:22 -0400 -Subject: [PATCH] [SECURITY] Pass uid of caller to polkit - -Otherwise, we force polkit to look up the uid itself in /proc, which -is racy if they execve() a setuid binary. ---- - rtkit-daemon.c | 11 ++++++++++- - 1 files changed, 10 insertions(+), 1 deletions(-) - -diff --git a/rtkit-daemon.c b/rtkit-daemon.c -index 2ebe673..3ecc1f7 100644 ---- a/rtkit-daemon.c -+++ b/rtkit-daemon.c -@@ -1170,12 +1170,14 @@ static int verify_polkit(DBusConnection *c, struct rtkit_user *u, struct process - DBusMessage *m = NULL, *r = NULL; - const char *unix_process = "unix-process"; - const char *pid = "pid"; -+ const char *uid = "uid"; - const char *start_time = "start-time"; - const char *cancel_id = ""; - uint32_t flags = 0; - uint32_t pid_u32 = p->pid; -- uint64_t start_time_u64 = p->starttime; -+ uint32_t uid_u32 = (uint32_t)u->uid; - DBusMessageIter iter_msg, iter_struct, iter_array, iter_dict, iter_variant; -+ uint64_t start_time_u64 = p->starttime; - int ret; - dbus_bool_t authorized = FALSE; - -@@ -1206,6 +1208,13 @@ static int verify_polkit(DBusConnection *c, struct rtkit_user *u, struct process - assert_se(dbus_message_iter_close_container(&iter_dict, &iter_variant)); - assert_se(dbus_message_iter_close_container(&iter_array, &iter_dict)); - -+ assert_se(dbus_message_iter_open_container(&iter_array, DBUS_TYPE_DICT_ENTRY, NULL, &iter_dict)); -+ assert_se(dbus_message_iter_append_basic(&iter_dict, DBUS_TYPE_STRING, &uid)); -+ assert_se(dbus_message_iter_open_container(&iter_dict, DBUS_TYPE_VARIANT, "u", &iter_variant)); -+ assert_se(dbus_message_iter_append_basic(&iter_variant, DBUS_TYPE_UINT32, &uid_u32)); -+ assert_se(dbus_message_iter_close_container(&iter_dict, &iter_variant)); -+ assert_se(dbus_message_iter_close_container(&iter_array, &iter_dict)); -+ - assert_se(dbus_message_iter_close_container(&iter_struct, &iter_array)); - assert_se(dbus_message_iter_close_container(&iter_msg, &iter_struct)); - --- -1.7.1 - diff --git a/SPECS/rtkit/0001-systemd-update-sd-daemon.-ch.patch b/SPECS/rtkit/0001-systemd-update-sd-daemon.-ch.patch deleted file mode 100644 index 41195ed..0000000 --- a/SPECS/rtkit/0001-systemd-update-sd-daemon.-ch.patch +++ /dev/null @@ -1,306 +0,0 @@ -From 8c902327f91616af5e87fd2a6d4b7ea38bb3aa32 Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Thu, 26 Sep 2013 21:53:49 +0200 -Subject: [PATCH] systemd: update sd-daemon.[ch] - ---- - sd-daemon.c | 100 +++++++++++++++++++++++----------------------------- - sd-daemon.h | 14 ++++---- - 2 files changed, 52 insertions(+), 62 deletions(-) - -diff --git a/sd-daemon.c b/sd-daemon.c -index 763e079b4e..485b301023 100644 ---- a/sd-daemon.c -+++ b/sd-daemon.c -@@ -25,18 +25,14 @@ - ***/ - - #ifndef _GNU_SOURCE --#define _GNU_SOURCE -+# define _GNU_SOURCE - #endif - - #include - #include - #include - #include --#ifdef __BIONIC__ --#include --#else --#include --#endif -+#include - #include - #include - #include -@@ -47,22 +43,22 @@ - #include - #include - --#if defined(__linux__) --#include -+#if defined(__linux__) && !defined(SD_DAEMON_DISABLE_MQ) -+# include - #endif - - #include "sd-daemon.h" - - #if (__GNUC__ >= 4) --#ifdef SD_EXPORT_SYMBOLS -+# ifdef SD_EXPORT_SYMBOLS - /* Export symbols */ --#define _sd_export_ __attribute__ ((visibility("default"))) --#else -+# define _sd_export_ __attribute__ ((visibility("default"))) -+# else - /* Don't export the symbols */ --#define _sd_export_ __attribute__ ((visibility("hidden"))) --#endif -+# define _sd_export_ __attribute__ ((visibility("hidden"))) -+# endif - #else --#define _sd_export_ -+# define _sd_export_ - #endif - - _sd_export_ int sd_listen_fds(int unset_environment) { -@@ -75,7 +71,8 @@ _sd_export_ int sd_listen_fds(int unset_environment) { - char *p = NULL; - unsigned long l; - -- if (!(e = getenv("LISTEN_PID"))) { -+ e = getenv("LISTEN_PID"); -+ if (!e) { - r = 0; - goto finish; - } -@@ -83,12 +80,12 @@ _sd_export_ int sd_listen_fds(int unset_environment) { - errno = 0; - l = strtoul(e, &p, 10); - -- if (errno != 0) { -+ if (errno > 0) { - r = -errno; - goto finish; - } - -- if (!p || *p || l <= 0) { -+ if (!p || p == e || *p || l <= 0) { - r = -EINVAL; - goto finish; - } -@@ -99,7 +96,8 @@ _sd_export_ int sd_listen_fds(int unset_environment) { - goto finish; - } - -- if (!(e = getenv("LISTEN_FDS"))) { -+ e = getenv("LISTEN_FDS"); -+ if (!e) { - r = 0; - goto finish; - } -@@ -107,12 +105,12 @@ _sd_export_ int sd_listen_fds(int unset_environment) { - errno = 0; - l = strtoul(e, &p, 10); - -- if (errno != 0) { -+ if (errno > 0) { - r = -errno; - goto finish; - } - -- if (!p || *p) { -+ if (!p || p == e || *p) { - r = -EINVAL; - goto finish; - } -@@ -120,7 +118,8 @@ _sd_export_ int sd_listen_fds(int unset_environment) { - for (fd = SD_LISTEN_FDS_START; fd < SD_LISTEN_FDS_START + (int) l; fd ++) { - int flags; - -- if ((flags = fcntl(fd, F_GETFD)) < 0) { -+ flags = fcntl(fd, F_GETFD); -+ if (flags < 0) { - r = -errno; - goto finish; - } -@@ -152,7 +151,6 @@ _sd_export_ int sd_is_fifo(int fd, const char *path) { - if (fd < 0) - return -EINVAL; - -- memset(&st_fd, 0, sizeof(st_fd)); - if (fstat(fd, &st_fd) < 0) - return -errno; - -@@ -162,7 +160,6 @@ _sd_export_ int sd_is_fifo(int fd, const char *path) { - if (path) { - struct stat st_path; - -- memset(&st_path, 0, sizeof(st_path)); - if (stat(path, &st_path) < 0) { - - if (errno == ENOENT || errno == ENOTDIR) -@@ -272,15 +269,13 @@ _sd_export_ int sd_is_socket(int fd, int family, int type, int listening) { - if (family < 0) - return -EINVAL; - -- if ((r = sd_is_socket_internal(fd, type, listening)) <= 0) -+ r = sd_is_socket_internal(fd, type, listening); -+ if (r <= 0) - return r; - - if (family > 0) { -- union sockaddr_union sockaddr; -- socklen_t l; -- -- memset(&sockaddr, 0, sizeof(sockaddr)); -- l = sizeof(sockaddr); -+ union sockaddr_union sockaddr = {}; -+ socklen_t l = sizeof(sockaddr); - - if (getsockname(fd, &sockaddr.sa, &l) < 0) - return -errno; -@@ -295,19 +290,17 @@ _sd_export_ int sd_is_socket(int fd, int family, int type, int listening) { - } - - _sd_export_ int sd_is_socket_inet(int fd, int family, int type, int listening, uint16_t port) { -- union sockaddr_union sockaddr; -- socklen_t l; -+ union sockaddr_union sockaddr = {}; -+ socklen_t l = sizeof(sockaddr); - int r; - - if (family != 0 && family != AF_INET && family != AF_INET6) - return -EINVAL; - -- if ((r = sd_is_socket_internal(fd, type, listening)) <= 0) -+ r = sd_is_socket_internal(fd, type, listening); -+ if (r <= 0) - return r; - -- memset(&sockaddr, 0, sizeof(sockaddr)); -- l = sizeof(sockaddr); -- - if (getsockname(fd, &sockaddr.sa, &l) < 0) - return -errno; - -@@ -340,16 +333,14 @@ _sd_export_ int sd_is_socket_inet(int fd, int family, int type, int listening, u - } - - _sd_export_ int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t length) { -- union sockaddr_union sockaddr; -- socklen_t l; -+ union sockaddr_union sockaddr = {}; -+ socklen_t l = sizeof(sockaddr); - int r; - -- if ((r = sd_is_socket_internal(fd, type, listening)) <= 0) -+ r = sd_is_socket_internal(fd, type, listening); -+ if (r <= 0) - return r; - -- memset(&sockaddr, 0, sizeof(sockaddr)); -- l = sizeof(sockaddr); -- - if (getsockname(fd, &sockaddr.sa, &l) < 0) - return -errno; - -@@ -360,10 +351,10 @@ _sd_export_ int sd_is_socket_unix(int fd, int type, int listening, const char *p - return 0; - - if (path) { -- if (length <= 0) -+ if (length == 0) - length = strlen(path); - -- if (length <= 0) -+ if (length == 0) - /* Unnamed socket */ - return l == offsetof(struct sockaddr_un, sun_path); - -@@ -383,7 +374,7 @@ _sd_export_ int sd_is_socket_unix(int fd, int type, int listening, const char *p - } - - _sd_export_ int sd_is_mq(int fd, const char *path) { --#if !defined(__linux__) -+#if !defined(__linux__) || defined(SD_DAEMON_DISABLE_MQ) - return 0; - #else - struct mq_attr attr; -@@ -434,7 +425,8 @@ _sd_export_ int sd_notify(int unset_environment, const char *state) { - goto finish; - } - -- if (!(e = getenv("NOTIFY_SOCKET"))) -+ e = getenv("NOTIFY_SOCKET"); -+ if (!e) - return 0; - - /* Must be an abstract socket, or an absolute path */ -@@ -443,7 +435,8 @@ _sd_export_ int sd_notify(int unset_environment, const char *state) { - goto finish; - } - -- if ((fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0)) < 0) { -+ fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0); -+ if (fd < 0) { - r = -errno; - goto finish; - } -@@ -513,18 +506,15 @@ _sd_export_ int sd_booted(void) { - #if defined(DISABLE_SYSTEMD) || !defined(__linux__) - return 0; - #else -+ struct stat st; - -- struct stat a, b; -+ /* We test whether the runtime unit file directory has been -+ * created. This takes place in mount-setup.c, so is -+ * guaranteed to happen very early during boot. */ - -- /* We simply test whether the systemd cgroup hierarchy is -- * mounted */ -- -- if (lstat("/sys/fs/cgroup", &a) < 0) -- return 0; -- -- if (lstat("/sys/fs/cgroup/systemd", &b) < 0) -+ if (lstat("/run/systemd/system/", &st) < 0) - return 0; - -- return a.st_dev != b.st_dev; -+ return !!S_ISDIR(st.st_mode); - #endif - } -diff --git a/sd-daemon.h b/sd-daemon.h -index fe51159ee6..daa3f4c857 100644 ---- a/sd-daemon.h -+++ b/sd-daemon.h -@@ -59,20 +59,20 @@ extern "C" { - You may find an up-to-date version of these source files online: - - http://cgit.freedesktop.org/systemd/systemd/plain/src/systemd/sd-daemon.h -- http://cgit.freedesktop.org/systemd/systemd/plain/src/sd-daemon.c -+ http://cgit.freedesktop.org/systemd/systemd/plain/src/libsystemd-daemon/sd-daemon.c - - This should compile on non-Linux systems, too, but with the - exception of the sd_is_xxx() calls all functions will become NOPs. - -- See sd-daemon(7) for more information. -+ See sd-daemon(3) for more information. - */ - - #ifndef _sd_printf_attr_ --#if __GNUC__ >= 4 --#define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b))) --#else --#define _sd_printf_attr_(a,b) --#endif -+# if __GNUC__ >= 4 -+# define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b))) -+# else -+# define _sd_printf_attr_(a,b) -+# endif - #endif - - /* diff --git a/SPECS/rtkit/0002-Remove-bundled-copy-of-sd-daemon.-ch.patch b/SPECS/rtkit/0002-Remove-bundled-copy-of-sd-daemon.-ch.patch deleted file mode 100644 index 31e5a50..0000000 --- a/SPECS/rtkit/0002-Remove-bundled-copy-of-sd-daemon.-ch.patch +++ /dev/null @@ -1,870 +0,0 @@ -From f5c88312c3fc5b7dc944eb36c2b8c62a44b78798 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= -Date: Sun, 24 Jan 2021 21:19:51 +0100 -Subject: [PATCH 2/2] Remove bundled copy of sd-daemon.[ch] - -Let's just use the system version. ---- - Makefile.am | 10 +- - rtkit-daemon.c | 2 +- - sd-daemon.c | 520 ------------------------------------------------- - sd-daemon.h | 282 --------------------------- - 4 files changed, 4 insertions(+), 810 deletions(-) - delete mode 100644 sd-daemon.c - delete mode 100644 sd-daemon.h - -diff --git a/Makefile.am b/Makefile.am -index febc35535d..2217a80b3c 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -56,10 +56,10 @@ systemdsystemunit_DATA = \ - endif - - rtkit_daemon_SOURCES = \ -- rtkit-daemon.c rtkit.h \ -- sd-daemon.c sd-daemon.h -+ rtkit-daemon.c rtkit.h - rtkit_daemon_LDADD = \ -- $(DBUS_LIBS) -+ $(DBUS_LIBS) \ -+ -lsystemd - rtkit_daemon_CFLAGS = \ - $(AM_CFLAGS) \ - $(DBUS_CFLAGS) -@@ -93,7 +93,3 @@ EXTRA_DIST += \ - - DISTCHECK_CONFIGURE_FLAGS = \ - --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) -- --update-systemd: -- curl http://cgit.freedesktop.org/systemd/systemd/plain/src/libsystemd-daemon/sd-daemon.c > sd-daemon.c -- curl http://cgit.freedesktop.org/systemd/systemd/plain/src/systemd/sd-daemon.h > sd-daemon.h -diff --git a/rtkit-daemon.c b/rtkit-daemon.c -index a15e84f8f5..fdff7f63dc 100644 ---- a/rtkit-daemon.c -+++ b/rtkit-daemon.c -@@ -50,9 +50,9 @@ - #include - #include - #include -+#include - - #include "rtkit.h" --#include "sd-daemon.h" - - #ifndef __linux__ - #error "This stuff only works on Linux!" -diff --git a/sd-daemon.c b/sd-daemon.c -deleted file mode 100644 -index 485b301023..0000000000 ---- a/sd-daemon.c -+++ /dev/null -@@ -1,520 +0,0 @@ --/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -- --/*** -- Copyright 2010 Lennart Poettering -- -- Permission is hereby granted, free of charge, to any person -- obtaining a copy of this software and associated documentation files -- (the "Software"), to deal in the Software without restriction, -- including without limitation the rights to use, copy, modify, merge, -- publish, distribute, sublicense, and/or sell copies of the Software, -- and to permit persons to whom the Software is furnished to do so, -- subject to the following conditions: -- -- The above copyright notice and this permission notice shall be -- included in all copies or substantial portions of the Software. -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -- SOFTWARE. --***/ -- --#ifndef _GNU_SOURCE --# define _GNU_SOURCE --#endif -- --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include -- --#if defined(__linux__) && !defined(SD_DAEMON_DISABLE_MQ) --# include --#endif -- --#include "sd-daemon.h" -- --#if (__GNUC__ >= 4) --# ifdef SD_EXPORT_SYMBOLS --/* Export symbols */ --# define _sd_export_ __attribute__ ((visibility("default"))) --# else --/* Don't export the symbols */ --# define _sd_export_ __attribute__ ((visibility("hidden"))) --# endif --#else --# define _sd_export_ --#endif -- --_sd_export_ int sd_listen_fds(int unset_environment) { -- --#if defined(DISABLE_SYSTEMD) || !defined(__linux__) -- return 0; --#else -- int r, fd; -- const char *e; -- char *p = NULL; -- unsigned long l; -- -- e = getenv("LISTEN_PID"); -- if (!e) { -- r = 0; -- goto finish; -- } -- -- errno = 0; -- l = strtoul(e, &p, 10); -- -- if (errno > 0) { -- r = -errno; -- goto finish; -- } -- -- if (!p || p == e || *p || l <= 0) { -- r = -EINVAL; -- goto finish; -- } -- -- /* Is this for us? */ -- if (getpid() != (pid_t) l) { -- r = 0; -- goto finish; -- } -- -- e = getenv("LISTEN_FDS"); -- if (!e) { -- r = 0; -- goto finish; -- } -- -- errno = 0; -- l = strtoul(e, &p, 10); -- -- if (errno > 0) { -- r = -errno; -- goto finish; -- } -- -- if (!p || p == e || *p) { -- r = -EINVAL; -- goto finish; -- } -- -- for (fd = SD_LISTEN_FDS_START; fd < SD_LISTEN_FDS_START + (int) l; fd ++) { -- int flags; -- -- flags = fcntl(fd, F_GETFD); -- if (flags < 0) { -- r = -errno; -- goto finish; -- } -- -- if (flags & FD_CLOEXEC) -- continue; -- -- if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) { -- r = -errno; -- goto finish; -- } -- } -- -- r = (int) l; -- --finish: -- if (unset_environment) { -- unsetenv("LISTEN_PID"); -- unsetenv("LISTEN_FDS"); -- } -- -- return r; --#endif --} -- --_sd_export_ int sd_is_fifo(int fd, const char *path) { -- struct stat st_fd; -- -- if (fd < 0) -- return -EINVAL; -- -- if (fstat(fd, &st_fd) < 0) -- return -errno; -- -- if (!S_ISFIFO(st_fd.st_mode)) -- return 0; -- -- if (path) { -- struct stat st_path; -- -- if (stat(path, &st_path) < 0) { -- -- if (errno == ENOENT || errno == ENOTDIR) -- return 0; -- -- return -errno; -- } -- -- return -- st_path.st_dev == st_fd.st_dev && -- st_path.st_ino == st_fd.st_ino; -- } -- -- return 1; --} -- --_sd_export_ int sd_is_special(int fd, const char *path) { -- struct stat st_fd; -- -- if (fd < 0) -- return -EINVAL; -- -- if (fstat(fd, &st_fd) < 0) -- return -errno; -- -- if (!S_ISREG(st_fd.st_mode) && !S_ISCHR(st_fd.st_mode)) -- return 0; -- -- if (path) { -- struct stat st_path; -- -- if (stat(path, &st_path) < 0) { -- -- if (errno == ENOENT || errno == ENOTDIR) -- return 0; -- -- return -errno; -- } -- -- if (S_ISREG(st_fd.st_mode) && S_ISREG(st_path.st_mode)) -- return -- st_path.st_dev == st_fd.st_dev && -- st_path.st_ino == st_fd.st_ino; -- else if (S_ISCHR(st_fd.st_mode) && S_ISCHR(st_path.st_mode)) -- return st_path.st_rdev == st_fd.st_rdev; -- else -- return 0; -- } -- -- return 1; --} -- --static int sd_is_socket_internal(int fd, int type, int listening) { -- struct stat st_fd; -- -- if (fd < 0 || type < 0) -- return -EINVAL; -- -- if (fstat(fd, &st_fd) < 0) -- return -errno; -- -- if (!S_ISSOCK(st_fd.st_mode)) -- return 0; -- -- if (type != 0) { -- int other_type = 0; -- socklen_t l = sizeof(other_type); -- -- if (getsockopt(fd, SOL_SOCKET, SO_TYPE, &other_type, &l) < 0) -- return -errno; -- -- if (l != sizeof(other_type)) -- return -EINVAL; -- -- if (other_type != type) -- return 0; -- } -- -- if (listening >= 0) { -- int accepting = 0; -- socklen_t l = sizeof(accepting); -- -- if (getsockopt(fd, SOL_SOCKET, SO_ACCEPTCONN, &accepting, &l) < 0) -- return -errno; -- -- if (l != sizeof(accepting)) -- return -EINVAL; -- -- if (!accepting != !listening) -- return 0; -- } -- -- return 1; --} -- --union sockaddr_union { -- struct sockaddr sa; -- struct sockaddr_in in4; -- struct sockaddr_in6 in6; -- struct sockaddr_un un; -- struct sockaddr_storage storage; --}; -- --_sd_export_ int sd_is_socket(int fd, int family, int type, int listening) { -- int r; -- -- if (family < 0) -- return -EINVAL; -- -- r = sd_is_socket_internal(fd, type, listening); -- if (r <= 0) -- return r; -- -- if (family > 0) { -- union sockaddr_union sockaddr = {}; -- socklen_t l = sizeof(sockaddr); -- -- if (getsockname(fd, &sockaddr.sa, &l) < 0) -- return -errno; -- -- if (l < sizeof(sa_family_t)) -- return -EINVAL; -- -- return sockaddr.sa.sa_family == family; -- } -- -- return 1; --} -- --_sd_export_ int sd_is_socket_inet(int fd, int family, int type, int listening, uint16_t port) { -- union sockaddr_union sockaddr = {}; -- socklen_t l = sizeof(sockaddr); -- int r; -- -- if (family != 0 && family != AF_INET && family != AF_INET6) -- return -EINVAL; -- -- r = sd_is_socket_internal(fd, type, listening); -- if (r <= 0) -- return r; -- -- if (getsockname(fd, &sockaddr.sa, &l) < 0) -- return -errno; -- -- if (l < sizeof(sa_family_t)) -- return -EINVAL; -- -- if (sockaddr.sa.sa_family != AF_INET && -- sockaddr.sa.sa_family != AF_INET6) -- return 0; -- -- if (family > 0) -- if (sockaddr.sa.sa_family != family) -- return 0; -- -- if (port > 0) { -- if (sockaddr.sa.sa_family == AF_INET) { -- if (l < sizeof(struct sockaddr_in)) -- return -EINVAL; -- -- return htons(port) == sockaddr.in4.sin_port; -- } else { -- if (l < sizeof(struct sockaddr_in6)) -- return -EINVAL; -- -- return htons(port) == sockaddr.in6.sin6_port; -- } -- } -- -- return 1; --} -- --_sd_export_ int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t length) { -- union sockaddr_union sockaddr = {}; -- socklen_t l = sizeof(sockaddr); -- int r; -- -- r = sd_is_socket_internal(fd, type, listening); -- if (r <= 0) -- return r; -- -- if (getsockname(fd, &sockaddr.sa, &l) < 0) -- return -errno; -- -- if (l < sizeof(sa_family_t)) -- return -EINVAL; -- -- if (sockaddr.sa.sa_family != AF_UNIX) -- return 0; -- -- if (path) { -- if (length == 0) -- length = strlen(path); -- -- if (length == 0) -- /* Unnamed socket */ -- return l == offsetof(struct sockaddr_un, sun_path); -- -- if (path[0]) -- /* Normal path socket */ -- return -- (l >= offsetof(struct sockaddr_un, sun_path) + length + 1) && -- memcmp(path, sockaddr.un.sun_path, length+1) == 0; -- else -- /* Abstract namespace socket */ -- return -- (l == offsetof(struct sockaddr_un, sun_path) + length) && -- memcmp(path, sockaddr.un.sun_path, length) == 0; -- } -- -- return 1; --} -- --_sd_export_ int sd_is_mq(int fd, const char *path) { --#if !defined(__linux__) || defined(SD_DAEMON_DISABLE_MQ) -- return 0; --#else -- struct mq_attr attr; -- -- if (fd < 0) -- return -EINVAL; -- -- if (mq_getattr(fd, &attr) < 0) -- return -errno; -- -- if (path) { -- char fpath[PATH_MAX]; -- struct stat a, b; -- -- if (path[0] != '/') -- return -EINVAL; -- -- if (fstat(fd, &a) < 0) -- return -errno; -- -- strncpy(stpcpy(fpath, "/dev/mqueue"), path, sizeof(fpath) - 12); -- fpath[sizeof(fpath)-1] = 0; -- -- if (stat(fpath, &b) < 0) -- return -errno; -- -- if (a.st_dev != b.st_dev || -- a.st_ino != b.st_ino) -- return 0; -- } -- -- return 1; --#endif --} -- --_sd_export_ int sd_notify(int unset_environment, const char *state) { --#if defined(DISABLE_SYSTEMD) || !defined(__linux__) || !defined(SOCK_CLOEXEC) -- return 0; --#else -- int fd = -1, r; -- struct msghdr msghdr; -- struct iovec iovec; -- union sockaddr_union sockaddr; -- const char *e; -- -- if (!state) { -- r = -EINVAL; -- goto finish; -- } -- -- e = getenv("NOTIFY_SOCKET"); -- if (!e) -- return 0; -- -- /* Must be an abstract socket, or an absolute path */ -- if ((e[0] != '@' && e[0] != '/') || e[1] == 0) { -- r = -EINVAL; -- goto finish; -- } -- -- fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0); -- if (fd < 0) { -- r = -errno; -- goto finish; -- } -- -- memset(&sockaddr, 0, sizeof(sockaddr)); -- sockaddr.sa.sa_family = AF_UNIX; -- strncpy(sockaddr.un.sun_path, e, sizeof(sockaddr.un.sun_path)); -- -- if (sockaddr.un.sun_path[0] == '@') -- sockaddr.un.sun_path[0] = 0; -- -- memset(&iovec, 0, sizeof(iovec)); -- iovec.iov_base = (char*) state; -- iovec.iov_len = strlen(state); -- -- memset(&msghdr, 0, sizeof(msghdr)); -- msghdr.msg_name = &sockaddr; -- msghdr.msg_namelen = offsetof(struct sockaddr_un, sun_path) + strlen(e); -- -- if (msghdr.msg_namelen > sizeof(struct sockaddr_un)) -- msghdr.msg_namelen = sizeof(struct sockaddr_un); -- -- msghdr.msg_iov = &iovec; -- msghdr.msg_iovlen = 1; -- -- if (sendmsg(fd, &msghdr, MSG_NOSIGNAL) < 0) { -- r = -errno; -- goto finish; -- } -- -- r = 1; -- --finish: -- if (unset_environment) -- unsetenv("NOTIFY_SOCKET"); -- -- if (fd >= 0) -- close(fd); -- -- return r; --#endif --} -- --_sd_export_ int sd_notifyf(int unset_environment, const char *format, ...) { --#if defined(DISABLE_SYSTEMD) || !defined(__linux__) -- return 0; --#else -- va_list ap; -- char *p = NULL; -- int r; -- -- va_start(ap, format); -- r = vasprintf(&p, format, ap); -- va_end(ap); -- -- if (r < 0 || !p) -- return -ENOMEM; -- -- r = sd_notify(unset_environment, p); -- free(p); -- -- return r; --#endif --} -- --_sd_export_ int sd_booted(void) { --#if defined(DISABLE_SYSTEMD) || !defined(__linux__) -- return 0; --#else -- struct stat st; -- -- /* We test whether the runtime unit file directory has been -- * created. This takes place in mount-setup.c, so is -- * guaranteed to happen very early during boot. */ -- -- if (lstat("/run/systemd/system/", &st) < 0) -- return 0; -- -- return !!S_ISDIR(st.st_mode); --#endif --} -diff --git a/sd-daemon.h b/sd-daemon.h -deleted file mode 100644 -index daa3f4c857..0000000000 ---- a/sd-daemon.h -+++ /dev/null -@@ -1,282 +0,0 @@ --/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -- --#ifndef foosddaemonhfoo --#define foosddaemonhfoo -- --/*** -- Copyright 2010 Lennart Poettering -- -- Permission is hereby granted, free of charge, to any person -- obtaining a copy of this software and associated documentation files -- (the "Software"), to deal in the Software without restriction, -- including without limitation the rights to use, copy, modify, merge, -- publish, distribute, sublicense, and/or sell copies of the Software, -- and to permit persons to whom the Software is furnished to do so, -- subject to the following conditions: -- -- The above copyright notice and this permission notice shall be -- included in all copies or substantial portions of the Software. -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -- SOFTWARE. --***/ -- --#include --#include -- --#ifdef __cplusplus --extern "C" { --#endif -- --/* -- Reference implementation of a few systemd related interfaces for -- writing daemons. These interfaces are trivial to implement. To -- simplify porting we provide this reference implementation. -- Applications are welcome to reimplement the algorithms described -- here if they do not want to include these two source files. -- -- The following functionality is provided: -- -- - Support for logging with log levels on stderr -- - File descriptor passing for socket-based activation -- - Daemon startup and status notification -- - Detection of systemd boots -- -- You may compile this with -DDISABLE_SYSTEMD to disable systemd -- support. This makes all those calls NOPs that are directly related to -- systemd (i.e. only sd_is_xxx() will stay useful). -- -- Since this is drop-in code we don't want any of our symbols to be -- exported in any case. Hence we declare hidden visibility for all of -- them. -- -- You may find an up-to-date version of these source files online: -- -- http://cgit.freedesktop.org/systemd/systemd/plain/src/systemd/sd-daemon.h -- http://cgit.freedesktop.org/systemd/systemd/plain/src/libsystemd-daemon/sd-daemon.c -- -- This should compile on non-Linux systems, too, but with the -- exception of the sd_is_xxx() calls all functions will become NOPs. -- -- See sd-daemon(3) for more information. --*/ -- --#ifndef _sd_printf_attr_ --# if __GNUC__ >= 4 --# define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b))) --# else --# define _sd_printf_attr_(a,b) --# endif --#endif -- --/* -- Log levels for usage on stderr: -- -- fprintf(stderr, SD_NOTICE "Hello World!\n"); -- -- This is similar to printk() usage in the kernel. --*/ --#define SD_EMERG "<0>" /* system is unusable */ --#define SD_ALERT "<1>" /* action must be taken immediately */ --#define SD_CRIT "<2>" /* critical conditions */ --#define SD_ERR "<3>" /* error conditions */ --#define SD_WARNING "<4>" /* warning conditions */ --#define SD_NOTICE "<5>" /* normal but significant condition */ --#define SD_INFO "<6>" /* informational */ --#define SD_DEBUG "<7>" /* debug-level messages */ -- --/* The first passed file descriptor is fd 3 */ --#define SD_LISTEN_FDS_START 3 -- --/* -- Returns how many file descriptors have been passed, or a negative -- errno code on failure. Optionally, removes the $LISTEN_FDS and -- $LISTEN_PID file descriptors from the environment (recommended, but -- problematic in threaded environments). If r is the return value of -- this function you'll find the file descriptors passed as fds -- SD_LISTEN_FDS_START to SD_LISTEN_FDS_START+r-1. Returns a negative -- errno style error code on failure. This function call ensures that -- the FD_CLOEXEC flag is set for the passed file descriptors, to make -- sure they are not passed on to child processes. If FD_CLOEXEC shall -- not be set, the caller needs to unset it after this call for all file -- descriptors that are used. -- -- See sd_listen_fds(3) for more information. --*/ --int sd_listen_fds(int unset_environment); -- --/* -- Helper call for identifying a passed file descriptor. Returns 1 if -- the file descriptor is a FIFO in the file system stored under the -- specified path, 0 otherwise. If path is NULL a path name check will -- not be done and the call only verifies if the file descriptor -- refers to a FIFO. Returns a negative errno style error code on -- failure. -- -- See sd_is_fifo(3) for more information. --*/ --int sd_is_fifo(int fd, const char *path); -- --/* -- Helper call for identifying a passed file descriptor. Returns 1 if -- the file descriptor is a special character device on the file -- system stored under the specified path, 0 otherwise. -- If path is NULL a path name check will not be done and the call -- only verifies if the file descriptor refers to a special character. -- Returns a negative errno style error code on failure. -- -- See sd_is_special(3) for more information. --*/ --int sd_is_special(int fd, const char *path); -- --/* -- Helper call for identifying a passed file descriptor. Returns 1 if -- the file descriptor is a socket of the specified family (AF_INET, -- ...) and type (SOCK_DGRAM, SOCK_STREAM, ...), 0 otherwise. If -- family is 0 a socket family check will not be done. If type is 0 a -- socket type check will not be done and the call only verifies if -- the file descriptor refers to a socket. If listening is > 0 it is -- verified that the socket is in listening mode. (i.e. listen() has -- been called) If listening is == 0 it is verified that the socket is -- not in listening mode. If listening is < 0 no listening mode check -- is done. Returns a negative errno style error code on failure. -- -- See sd_is_socket(3) for more information. --*/ --int sd_is_socket(int fd, int family, int type, int listening); -- --/* -- Helper call for identifying a passed file descriptor. Returns 1 if -- the file descriptor is an Internet socket, of the specified family -- (either AF_INET or AF_INET6) and the specified type (SOCK_DGRAM, -- SOCK_STREAM, ...), 0 otherwise. If version is 0 a protocol version -- check is not done. If type is 0 a socket type check will not be -- done. If port is 0 a socket port check will not be done. The -- listening flag is used the same way as in sd_is_socket(). Returns a -- negative errno style error code on failure. -- -- See sd_is_socket_inet(3) for more information. --*/ --int sd_is_socket_inet(int fd, int family, int type, int listening, uint16_t port); -- --/* -- Helper call for identifying a passed file descriptor. Returns 1 if -- the file descriptor is an AF_UNIX socket of the specified type -- (SOCK_DGRAM, SOCK_STREAM, ...) and path, 0 otherwise. If type is 0 -- a socket type check will not be done. If path is NULL a socket path -- check will not be done. For normal AF_UNIX sockets set length to -- 0. For abstract namespace sockets set length to the length of the -- socket name (including the initial 0 byte), and pass the full -- socket path in path (including the initial 0 byte). The listening -- flag is used the same way as in sd_is_socket(). Returns a negative -- errno style error code on failure. -- -- See sd_is_socket_unix(3) for more information. --*/ --int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t length); -- --/* -- Helper call for identifying a passed file descriptor. Returns 1 if -- the file descriptor is a POSIX Message Queue of the specified name, -- 0 otherwise. If path is NULL a message queue name check is not -- done. Returns a negative errno style error code on failure. --*/ --int sd_is_mq(int fd, const char *path); -- --/* -- Informs systemd about changed daemon state. This takes a number of -- newline separated environment-style variable assignments in a -- string. The following variables are known: -- -- READY=1 Tells systemd that daemon startup is finished (only -- relevant for services of Type=notify). The passed -- argument is a boolean "1" or "0". Since there is -- little value in signaling non-readiness the only -- value daemons should send is "READY=1". -- -- STATUS=... Passes a single-line status string back to systemd -- that describes the daemon state. This is free-from -- and can be used for various purposes: general state -- feedback, fsck-like programs could pass completion -- percentages and failing programs could pass a human -- readable error message. Example: "STATUS=Completed -- 66% of file system check..." -- -- ERRNO=... If a daemon fails, the errno-style error code, -- formatted as string. Example: "ERRNO=2" for ENOENT. -- -- BUSERROR=... If a daemon fails, the D-Bus error-style error -- code. Example: "BUSERROR=org.freedesktop.DBus.Error.TimedOut" -- -- MAINPID=... The main pid of a daemon, in case systemd did not -- fork off the process itself. Example: "MAINPID=4711" -- -- WATCHDOG=1 Tells systemd to update the watchdog timestamp. -- Services using this feature should do this in -- regular intervals. A watchdog framework can use the -- timestamps to detect failed services. -- -- Daemons can choose to send additional variables. However, it is -- recommended to prefix variable names not listed above with X_. -- -- Returns a negative errno-style error code on failure. Returns > 0 -- if systemd could be notified, 0 if it couldn't possibly because -- systemd is not running. -- -- Example: When a daemon finished starting up, it could issue this -- call to notify systemd about it: -- -- sd_notify(0, "READY=1"); -- -- See sd_notifyf() for more complete examples. -- -- See sd_notify(3) for more information. --*/ --int sd_notify(int unset_environment, const char *state); -- --/* -- Similar to sd_notify() but takes a format string. -- -- Example 1: A daemon could send the following after initialization: -- -- sd_notifyf(0, "READY=1\n" -- "STATUS=Processing requests...\n" -- "MAINPID=%lu", -- (unsigned long) getpid()); -- -- Example 2: A daemon could send the following shortly before -- exiting, on failure: -- -- sd_notifyf(0, "STATUS=Failed to start up: %s\n" -- "ERRNO=%i", -- strerror(errno), -- errno); -- -- See sd_notifyf(3) for more information. --*/ --int sd_notifyf(int unset_environment, const char *format, ...) _sd_printf_attr_(2,3); -- --/* -- Returns > 0 if the system was booted with systemd. Returns < 0 on -- error. Returns 0 if the system was not booted with systemd. Note -- that all of the functions above handle non-systemd boots just -- fine. You should NOT protect them with a call to this function. Also -- note that this function checks whether the system, not the user -- session is controlled by systemd. However the functions above work -- for both user and system services. -- -- See sd_booted(3) for more information. --*/ --int sd_booted(void); -- --#ifdef __cplusplus --} --#endif -- --#endif diff --git a/SPECS/rtkit/changelog b/SPECS/rtkit/changelog deleted file mode 100644 index c6504d6..0000000 --- a/SPECS/rtkit/changelog +++ /dev/null @@ -1,141 +0,0 @@ -* Mon Oct 02 2023 Daan De Meyer - 0.11-30 -- Provide a sysusers.d file to get user() and group() provides - (see https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format). - -* Fri Jan 21 2022 Fedora Release Engineering - 0.11-29 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 0.11-28 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.11-27 -- Rebuilt for updated systemd-rpm-macros - See https://pagure.io/fesco/issue/2583. - -* Wed Jan 27 2021 Fedora Release Engineering - 0.11-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sun Jan 24 2021 Zbigniew Jędrzejewski-Szmek - 0.11-22 -- Stop using a bundled subset of libsystemd (#1907730) - -* Sat Aug 01 2020 Fedora Release Engineering - 0.11-25 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 0.11-24 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Thu Jan 30 2020 Fedora Release Engineering - 0.11-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Fri Aug 2 2019 Zbigniew Jędrzejewski-Szmek - 0.11-22 -- Fix %%systemd_postun macro use (#1736594) - -* Fri Jul 26 2019 Fedora Release Engineering - 0.11-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Feb 02 2019 Fedora Release Engineering - 0.11-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Tue Oct 9 2018 Zbigniew Jędrzejewski-Szmek - 0.11-20 -- Modernize a bit and fix BuildRequires (#1637496) - -* Sat Jul 14 2018 Fedora Release Engineering - 0.11-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 0.11-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 0.11-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.11-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri May 12 2017 Stephen Gallagher - 0.11-15 -- Temporarily disable -Werror=format-security to unbreak the build -- Build with verbose command-line visible in the logs -- Resolves: rhbz#1424270 - -* Sat Feb 11 2017 Fedora Release Engineering - 0.11-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Feb 04 2016 Fedora Release Engineering - 0.11-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Nov 4 2015 Zbigniew Jędrzejewski-Szmek - 0.11-12 -- Make dbus interface file non-executable (#1245938) - -* Thu Jun 18 2015 Fedora Release Engineering - 0.11-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Mon Aug 18 2014 Fedora Release Engineering - 0.11-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 0.11-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat Nov 16 2013 Zbigniew Jędrzejewski-Szmek - 0.11-8 -- Use a simpler patch for -lrt. -- Remove ControlGroup setting from the service file - Resolves: #1010534 -- Turn on hardening flags - Resolves: #996735, #1008399 - -* Mon Sep 23 2013 Colin Walters - 0.11-7 -- CVE-2013-4326 - Resolves: #1009543 - -* Thu Aug 22 2013 Colin Walters - 0.11-6 -- Add patch to make this build again - -* Sun Aug 04 2013 Fedora Release Engineering - 0.11-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Thu Feb 14 2013 Fedora Release Engineering - 0.11-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Fri Sep 14 2012 Lennart Poettering - 0.11-3 -- Make use of the new systemd macros - -* Sat Jul 21 2012 Fedora Release Engineering - 0.11-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Tue May 15 2012 Lennart Poettering - 0.11-1 -- New upstream release - -* Sat Jan 14 2012 Fedora Release Engineering - 0.10-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Thu Feb 17 2011 Lennart Poettering - 0.10-1 -- new upstream release - -* Wed Feb 09 2011 Fedora Release Engineering - 0.9-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Aug 4 2010 Lennart Poettering - 0.9-2 -- Convert systemd-install to systemctl - -* Tue Jul 13 2010 Lennart Poettering - 0.9-1 -- New upstream release - -* Tue Jun 29 2010 Lennart Poettering - 0.8-1 -- New upstream release - -* Fri Dec 18 2009 Lennart Poettering - 0.5-1 -- New release -- By default don't demote unknown threads -- Make messages less cute -- Fixes 530582 - -* Wed Aug 5 2009 Lennart Poettering - 0.4-1 -- New release - -* Sun Jul 26 2009 Fedora Release Engineering - 0.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Thu Jul 2 2009 Lennart Poettering - 0.3-1 -- New release - -* Wed Jun 17 2009 Lennart Poettering - 0.2-1 -- Initial packaging diff --git a/SPECS/rtkit/format-security.patch b/SPECS/rtkit/format-security.patch deleted file mode 100644 index 994bebf..0000000 --- a/SPECS/rtkit/format-security.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -ruN rtkit-0.11.orig/Makefile.am rtkit-0.11/Makefile.am ---- rtkit-0.11.orig/Makefile.am 2017-05-12 12:56:52.245623657 -0400 -+++ rtkit-0.11/Makefile.am 2017-05-12 13:24:27.206304970 -0400 -@@ -18,6 +18,8 @@ - AM_CFLAGS = $(WARNINGFLAGS) $(PTHREAD_CFLAGS) - AM_LDFLAGS = $(GCLDFLAGS) - -+CFLAGS += -Wno-error=format-security -+ - ACLOCAL_AMFLAGS = -I m4 - - policykitdir = $(datadir)/polkit-1/actions/ -Binary files rtkit-0.11.orig/.Makefile.am.swp and rtkit-0.11/.Makefile.am.swp differ diff --git a/SPECS/rtkit/remove-debug-messages.patch b/SPECS/rtkit/remove-debug-messages.patch deleted file mode 100644 index 07710a2..0000000 --- a/SPECS/rtkit/remove-debug-messages.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git rtkit-0.11/rtkit-daemon.c~ rtkit-0.11/rtkit-daemon.c -index fdff7f63dc..5f108d842d 100644 ---- rtkit-0.11/rtkit-daemon.c~ -+++ rtkit-0.11/rtkit-daemon.c -@@ -1485,17 +1485,6 @@ static DBusHandlerResult dbus_handler(DBusConnection *c, DBusMessage *m, void *u - } else - return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; - -- syslog(LOG_DEBUG, "Supervising %u threads of %u processes of %u users.\n", -- n_total_threads, -- n_total_processes, -- n_users); -- -- sd_notifyf(0, -- "STATUS=Supervising %u threads of %u processes of %u users.", -- n_total_threads, -- n_total_processes, -- n_users); -- - finish: - if (r) { - assert_se(dbus_connection_send(c, r, NULL)); diff --git a/SPECS/rtkit/rtkit-controlgroup.patch b/SPECS/rtkit/rtkit-controlgroup.patch deleted file mode 100644 index 7a36dee..0000000 --- a/SPECS/rtkit/rtkit-controlgroup.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git rtkit-0.11/rtkit-daemon.service.in~ rtkit-0.11/rtkit-daemon.service.in -index 3dfefa6..d0dc786 100644 ---- rtkit-0.11/rtkit-daemon.service.in~ -+++ rtkit-0.11/rtkit-daemon.service.in -@@ -27,9 +27,5 @@ CapabilityBoundingSet=CAP_SYS_NICE CAP_DAC_READ_SEARCH CAP_SYS_PTRACE CAP_SYS_CH - PrivateTmp=yes - PrivateNetwork=yes - --# Work around the fact that the Linux currently doesn't assign any RT --# budget to CPU control groups that have none configured explicitly --ControlGroup=cpu:/ -- - [Install] - WantedBy=graphical.target diff --git a/SPECS/rtkit/rtkit-mq_getattr.patch b/SPECS/rtkit/rtkit-mq_getattr.patch deleted file mode 100644 index 2cb63c7..0000000 --- a/SPECS/rtkit/rtkit-mq_getattr.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 5a77363..45721a5 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -112,6 +112,7 @@ CC="$PTHREAD_CC" - - AC_SEARCH_LIBS([sched_setscheduler], [rt]) - AC_SEARCH_LIBS([clock_gettime], [rt]) -+AC_SEARCH_LIBS([mq_getattr], [rt]) - AC_SEARCH_LIBS([cap_init], [cap]) - - PKG_CHECK_MODULES(DBUS, dbus-1) diff --git a/SPECS/rtkit/rtkit.spec b/SPECS/rtkit/rtkit.spec deleted file mode 100644 index 12e8fac..0000000 --- a/SPECS/rtkit/rtkit.spec +++ /dev/null @@ -1,87 +0,0 @@ -Name: rtkit -Version: 0.11 -# -b is needed because of https://pagure.io/fedora-infra/rpmautospec/issue/228 -# Remove if the version is ever bumped (or rpmautospec fixed). -Release: %autorelease -b17 -Summary: Realtime Policy and Watchdog Daemon -# The daemon itself is GPLv3+, the reference implementation for the client MIT -# The LICENSE file incorrectly states that the client is under BSD. -License: GPL-3.0-or-later AND MIT -URL: http://git.0pointer.net/rtkit.git/ -Requires: dbus -Requires: polkit -BuildRequires: make -BuildRequires: systemd-devel -BuildRequires: systemd-rpm-macros -BuildRequires: dbus-devel >= 1.2 -BuildRequires: libcap-devel -BuildRequires: polkit-devel -BuildRequires: autoconf automake libtool -Source0: http://0pointer.de/public/%{name}-%{version}.tar.xz -Source1: rtkit.sysusers -Patch: rtkit-mq_getattr.patch -Patch: 0001-SECURITY-Pass-uid-of-caller-to-polkit.patch -Patch: rtkit-controlgroup.patch - -# Temporarily disable -Werror=format-security since it breaks the build -Patch: format-security.patch - -Patch: 0001-Fix-borked-error-check.patch -Patch: 0001-systemd-update-sd-daemon.-ch.patch -Patch: 0002-Remove-bundled-copy-of-sd-daemon.-ch.patch - -Patch: remove-debug-messages.patch - -%description -RealtimeKit is a D-Bus system service that changes the -scheduling policy of user processes/threads to SCHED_RR (i.e. realtime -scheduling mode) on request. It is intended to be used as a secure -mechanism to allow real-time scheduling to be used by normal user -processes. - -%prep -%autosetup -p1 - -%build -autoreconf -fvi -%configure --with-systemdsystemunitdir=%{_unitdir} -%make_build -./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml - -%install -%make_install -install -Dm0644 org.freedesktop.RealtimeKit1.xml %{buildroot}%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml -install -Dpm 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/rtkit.conf - -# Relocate dbus policy to /usr -mkdir -p %{buildroot}%{_datadir}/dbus-1/system.d -mv %{buildroot}%{_sysconfdir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf %{buildroot}%{_datadir}/dbus-1/system.d -rmdir %{buildroot}%{_sysconfdir}/dbus-1/system.d -rmdir %{buildroot}%{_sysconfdir}/dbus-1 -rmdir %{buildroot}%{_sysconfdir} - - -%post -%systemd_post rtkit-daemon.service -dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || : - -%preun -%systemd_preun rtkit-daemon.service - -%postun -%systemd_postun_with_restart rtkit-daemon.service - -%files -%doc README GPL LICENSE rtkit.c rtkit.h -%attr(0755,root,root) %{_sbindir}/rtkitctl -%attr(0755,root,root) %{_libexecdir}/rtkit-daemon -%{_datadir}/dbus-1/system-services/org.freedesktop.RealtimeKit1.service -%{_datadir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf -%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml -%{_datadir}/polkit-1/actions/org.freedesktop.RealtimeKit1.policy -%{_prefix}/lib/systemd/system/rtkit-daemon.service -%{_mandir}/man8/* -%{_sysusersdir}/rtkit.conf - -%changelog -%autochangelog diff --git a/SPECS/rtkit/rtkit.sysusers b/SPECS/rtkit/rtkit.sysusers deleted file mode 100644 index c22fc73..0000000 --- a/SPECS/rtkit/rtkit.sysusers +++ /dev/null @@ -1,2 +0,0 @@ -#Type Name ID GECOS Home directory Shell -u rtkit - "RealtimeKit" - - diff --git a/SPECS/rtkit/sources b/SPECS/rtkit/sources deleted file mode 100644 index 4729ba5..0000000 --- a/SPECS/rtkit/sources +++ /dev/null @@ -1 +0,0 @@ -a96c33b9827de66033d2311f82d79a5d rtkit-0.11.tar.xz