[steam/f28] Update udev controller rules to use uacces
by Simone Caronni
commit bcd71184ad3dcbb26d2162cd56022fa573360e9c
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Fri Jan 18 22:37:59 2019 +0100
Update udev controller rules to use uacces
99-shield-controller.rules | 4 +-
steam-controller-gamepad-emulation.patch | 11 ----
steam-udev-relax-console-user.patch | 91 ++++++++++++++++++++++++++++++++
steam.spec | 11 ++--
4 files changed, 100 insertions(+), 17 deletions(-)
---
diff --git a/99-shield-controller.rules b/99-shield-controller.rules
index e21092f..1a9787f 100644
--- a/99-shield-controller.rules
+++ b/99-shield-controller.rules
@@ -1,4 +1,4 @@
# NVIDIA Shield Portable (2013)
-SUBSYSTEM=="input", ENV{ID_MODEL}=="NVIDIA_Controller_v01.01", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1", ENV{ID_INPUT_MOUSE}=""
+SUBSYSTEM=="input", ENV{ID_MODEL}=="NVIDIA_Controller_v01.01", MODE="0660", TAG+="uaccess", ENV{ID_INPUT_JOYSTICK}="1", ENV{ID_INPUT_MOUSE}=""
# NVIDIA Shield Controller (2015)
-SUBSYSTEM=="input", ENV{ID_MODEL}=="NVIDIA_Controller_v01.03", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1", ENV{ID_INPUT_MOUSE}=""
+SUBSYSTEM=="input", ENV{ID_MODEL}=="NVIDIA_Controller_v01.03", MODE="0660", TAG+="uaccess", ENV{ID_INPUT_JOYSTICK}="1", ENV{ID_INPUT_MOUSE}=""
diff --git a/steam-udev-relax-console-user.patch b/steam-udev-relax-console-user.patch
new file mode 100644
index 0000000..893ddaa
--- /dev/null
+++ b/steam-udev-relax-console-user.patch
@@ -0,0 +1,91 @@
+diff -Naur steam.old/lib/udev/rules.d/60-steam-input.rules steam/lib/udev/rules.d/60-steam-input.rules
+--- steam.old/lib/udev/rules.d/60-steam-input.rules 2019-01-18 22:09:13.955398708 +0100
++++ steam/lib/udev/rules.d/60-steam-input.rules 2019-01-18 23:01:34.022657738 +0100
+@@ -1,64 +1,65 @@
+ # Valve USB devices
+-SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"
++SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0660", TAG+="uaccess"
++
+ # Steam Controller udev write access
+-KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess"
++KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput"
+
+ # Valve HID devices over USB hidraw
+-KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE="0660", TAG+="uaccess"
+
+ # Valve HID devices over bluetooth hidraw
+-KERNEL=="hidraw*", KERNELS=="*28DE:*", MODE="0666"
++KERNEL=="hidraw*", KERNELS=="*28DE:*", MODE="0660", TAG+="uaccess"
+
+ # DualShock 4 over USB hidraw
+-KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0660", TAG+="uaccess"
+
+ # DualShock 4 wireless adapter over USB hidraw
+-KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0660", TAG+="uaccess"
+
+ # DualShock 4 Slim over USB hidraw
+-KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0660", TAG+="uaccess"
+
+ # DualShock 4 over bluetooth hidraw
+-KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0666"
++KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0660", TAG+="uaccess"
+
+ # DualShock 4 Slim over bluetooth hidraw
+-KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0666"
++KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0660", TAG+="uaccess"
+
+ # Nintendo Switch Pro Controller over USB hidraw
+-KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", TAG+="uaccess"
+
+ # Nintendo Switch Pro Controller over bluetooth hidraw
+-KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0666"
++KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0660", TAG+="uaccess"
+
+ # Nacon PS4 Revolution Pro Controller
+-KERNEL=="hidraw*", ATTRS{idVendor}=="146b", ATTRS{idProduct}=="0d01", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="146b", ATTRS{idProduct}=="0d01", MODE="0660", TAG+="uaccess"
+
+ # Razer Raiju PS4 Controller
+-KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="1000", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="1000", MODE="0660", TAG+="uaccess"
+
+ # Razer Panthera Arcade Stick
+-KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0401", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0401", MODE="0660", TAG+="uaccess"
+
+ # Mad Catz - Street Fighter V Arcade FightPad PRO
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0738", ATTRS{idProduct}=="8250", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0738", ATTRS{idProduct}=="8250", MODE="0660", TAG+="uaccess"
+
+ # Mad Catz - Street Fighter V Arcade FightStick TE S+
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0738", ATTRS{idProduct}=="8384", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0738", ATTRS{idProduct}=="8384", MODE="0660", TAG+="uaccess"
+
+ # EMiO Elite Controller for PS4
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="1cf6", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="1cf6", MODE="0660", TAG+="uaccess"
+
+ # HORI RAP4
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="008a", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="008a", MODE="0660", TAG+="uaccess"
+
+ # HORIPAD 4 FPS
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0055", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0055", MODE="0660", TAG+="uaccess"
+
+ # HORIPAD 4 FPS Plus
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0066", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0066", MODE="0660", TAG+="uaccess"
+
+ # Armor Armor 3 Pad PS4
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="0e10", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="0e10", MODE="0660", TAG+="uaccess"
+
+ # STRIKEPAD PS4 Grip Add-on
+-KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c5", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c5", MODE="0660", TAG+="uaccess"
diff --git a/steam.spec b/steam.spec
index c666995..c905366 100644
--- a/steam.spec
+++ b/steam.spec
@@ -3,7 +3,7 @@
Name: steam
Version: 1.0.0.59
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
License: Steam License Agreement
@@ -38,9 +38,9 @@ Patch0: %{name}-3570.patch
# https://github.com/ValveSoftware/steam-for-linux/issues/3273
Patch1: %{name}-3273.patch
-# Make Steam Controller usable as a GamePad:
-# https://steamcommunity.com/app/353370/discussions/0/490123197956024380/
-Patch2: %{name}-controller-gamepad-emulation.patch
+# Use uaccess on device files so only the local console users have access to
+# the files instead of using 666 permissions.
+Patch2: %{name}-udev-relax-console-user.patch
BuildRequires: desktop-file-utils
BuildRequires: firewalld-filesystem
@@ -221,6 +221,9 @@ fi
%endif
%changelog
+* Fri Jan 18 2019 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.59-6
+- Update udev controller rules to use uacces.
+
* Fri Jan 18 2019 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.59-5
- Firewall definitions already bundled in firewalld 0.6.2 on Fedora 29+.
- Update firewall definitions to align with Fedora 29+.
5 years, 10 months
[steam/f28] Update firewall definitions
by Simone Caronni
commit 2db6a90ff7541e544a1799d250197254aab11a55
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Fri Jan 18 22:06:29 2019 +0100
Update firewall definitions
README.Fedora | 4 ++--
steam.xml => steam-streaming.xml | 5 +++--
steam.spec | 21 ++++++++++++++++-----
3 files changed, 21 insertions(+), 9 deletions(-)
---
diff --git a/README.Fedora b/README.Fedora
index 7674a84..184fe19 100644
--- a/README.Fedora
+++ b/README.Fedora
@@ -60,8 +60,8 @@ example, on my system, to get the firewall zone I’m using:
Then enable it permanently (i.e. at reboot) and immediately with these commands:
- # firewall-cmd --zone=public --add-service=steam --permanent
- # firewall-cmd --zone=public --add-service=steam
+ # firewall-cmd --zone=public --add-service=steam-streaming --permanent
+ # firewall-cmd --zone=public --add-service=steam-streaming
Now start up two Steam clients with your user on the same network, and you
should see games installed on both systems as available for playing in both
diff --git a/steam.xml b/steam-streaming.xml
similarity index 65%
rename from steam.xml
rename to steam-streaming.xml
index 369b25f..0e0aca6 100644
--- a/steam.xml
+++ b/steam-streaming.xml
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>Steam In-Home Streaming</short>
- <description>Steam in-home streaming allows you to play a game on one computer when the game process is actually running on another computer elsewhere in your home. Through Steam, game audio and video is captured on the remote computer and sent to the player’s computer. The game input (keyboard, mouse or gamepad) is sent from the player’s computer to the game process on the remote computer.</description>
+ <description>Steam in-home streaming allows you to play a game on one computer when the game process is actually running on another computer elsewhere in your home. Through Steam, game audio and video is captured on the remote computer and sent to the player's computer. The game input (keyboard, mouse or gamepad) is sent from the player's computer to the game process on the remote computer.</description>
<port protocol="tcp" port="27036"/>
<port protocol="tcp" port="27037"/>
- <port protocol="udp" port="27031-27036"/>
+ <port protocol="udp" port="27031"/>
+ <port protocol="udp" port="27036"/>
</service>
diff --git a/steam.spec b/steam.spec
index 7666be2..c666995 100644
--- a/steam.spec
+++ b/steam.spec
@@ -3,7 +3,7 @@
Name: steam
Version: 1.0.0.59
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
License: Steam License Agreement
@@ -13,7 +13,7 @@ ExclusiveArch: i686
Source0: http://repo.steampowered.com/%{name}/pool/%{name}/s/%{name}/%{name}_%{ver...
Source1: %{name}.sh
Source2: %{name}.csh
-Source3: %{name}.xml
+Source3: %{name}-streaming.xml
Source4: %{name}.appdata.xml
# Ghost touches in Big Picture mode:
@@ -97,7 +97,7 @@ Requires(post): firewalld-filesystem
# Required for hardware decoding during In-Home Streaming (intel)
# Since libva-intel-driver on f28+ there is hw detection with appstream
-%if (0%{?fedora} && 0%{?fedora} < 28) || 0%{?rhel} == 7
+%if 0%{?rhel} == 7
Requires: libva-intel-driver%{?_isa}
%else
Requires: libva%{?_isa}
@@ -148,8 +148,10 @@ install -m 644 -p lib/udev/rules.d/* \
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
+%if 0%{?fedora} && 0%{?fedora} < 29 || 0%{?rhel} == 7
install -D -m 644 -p %{SOURCE3} \
- %{buildroot}%{_prefix}/lib/firewalld/services/steam.xml
+ %{buildroot}%{_prefix}/lib/firewalld/services/%{name}-streaming.xml
+%endif
# Environment files
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
@@ -173,7 +175,9 @@ install -m 644 -p %{SOURCE11} %{buildroot}%{_prefix}/lib/systemd/user.conf.d/
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
/usr/bin/update-desktop-database &> /dev/null || :
%endif
+%if 0%{?fedora} && 0%{?fedora} < 29 || 0%{?rhel} == 7
%firewalld_reload
+%endif
%if 0%{?rhel} == 7
@@ -201,10 +205,13 @@ fi
%{_datadir}/pixmaps/%{name}_tray_mono.png
%{_libdir}/%{name}/
%{_mandir}/man6/%{name}.*
-%{_prefix}/lib/firewalld/services/%{name}.xml
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
%{_udevrulesdir}/*
+%if 0%{?fedora} && 0%{?fedora} < 29 || 0%{?rhel} == 7
+%{_prefix}/lib/firewalld/services/%{name}-streaming.xml
+%endif
+
# Since F30 (systemd 240) we don't need to raise NOFILE limit
%if 0%{?fedora} && 0%{?fedora} < 30
%{_prefix}/lib/systemd/system.conf.d/
@@ -214,6 +221,10 @@ fi
%endif
%changelog
+* Fri Jan 18 2019 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.59-5
+- Firewall definitions already bundled in firewalld 0.6.2 on Fedora 29+.
+- Update firewall definitions to align with Fedora 29+.
+
* Wed Jan 16 2019 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.59-4
- Fix Nvidia Shield Portable streaming with SteamLink.
5 years, 10 months
[steam/el7] Update udev controller rules to use uacces
by Simone Caronni
commit 7104a1864d86f90add420e7c3bfe4d6ad1ae067b
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Fri Jan 18 22:37:59 2019 +0100
Update udev controller rules to use uacces
99-shield-controller.rules | 4 +-
steam-controller-gamepad-emulation.patch | 11 ----
steam-udev-relax-console-user.patch | 91 ++++++++++++++++++++++++++++++++
steam.spec | 11 ++--
4 files changed, 100 insertions(+), 17 deletions(-)
---
diff --git a/99-shield-controller.rules b/99-shield-controller.rules
index e21092f..1a9787f 100644
--- a/99-shield-controller.rules
+++ b/99-shield-controller.rules
@@ -1,4 +1,4 @@
# NVIDIA Shield Portable (2013)
-SUBSYSTEM=="input", ENV{ID_MODEL}=="NVIDIA_Controller_v01.01", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1", ENV{ID_INPUT_MOUSE}=""
+SUBSYSTEM=="input", ENV{ID_MODEL}=="NVIDIA_Controller_v01.01", MODE="0660", TAG+="uaccess", ENV{ID_INPUT_JOYSTICK}="1", ENV{ID_INPUT_MOUSE}=""
# NVIDIA Shield Controller (2015)
-SUBSYSTEM=="input", ENV{ID_MODEL}=="NVIDIA_Controller_v01.03", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1", ENV{ID_INPUT_MOUSE}=""
+SUBSYSTEM=="input", ENV{ID_MODEL}=="NVIDIA_Controller_v01.03", MODE="0660", TAG+="uaccess", ENV{ID_INPUT_JOYSTICK}="1", ENV{ID_INPUT_MOUSE}=""
diff --git a/steam-udev-relax-console-user.patch b/steam-udev-relax-console-user.patch
new file mode 100644
index 0000000..893ddaa
--- /dev/null
+++ b/steam-udev-relax-console-user.patch
@@ -0,0 +1,91 @@
+diff -Naur steam.old/lib/udev/rules.d/60-steam-input.rules steam/lib/udev/rules.d/60-steam-input.rules
+--- steam.old/lib/udev/rules.d/60-steam-input.rules 2019-01-18 22:09:13.955398708 +0100
++++ steam/lib/udev/rules.d/60-steam-input.rules 2019-01-18 23:01:34.022657738 +0100
+@@ -1,64 +1,65 @@
+ # Valve USB devices
+-SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"
++SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0660", TAG+="uaccess"
++
+ # Steam Controller udev write access
+-KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess"
++KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput"
+
+ # Valve HID devices over USB hidraw
+-KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE="0660", TAG+="uaccess"
+
+ # Valve HID devices over bluetooth hidraw
+-KERNEL=="hidraw*", KERNELS=="*28DE:*", MODE="0666"
++KERNEL=="hidraw*", KERNELS=="*28DE:*", MODE="0660", TAG+="uaccess"
+
+ # DualShock 4 over USB hidraw
+-KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0660", TAG+="uaccess"
+
+ # DualShock 4 wireless adapter over USB hidraw
+-KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0660", TAG+="uaccess"
+
+ # DualShock 4 Slim over USB hidraw
+-KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0660", TAG+="uaccess"
+
+ # DualShock 4 over bluetooth hidraw
+-KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0666"
++KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0660", TAG+="uaccess"
+
+ # DualShock 4 Slim over bluetooth hidraw
+-KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0666"
++KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0660", TAG+="uaccess"
+
+ # Nintendo Switch Pro Controller over USB hidraw
+-KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", TAG+="uaccess"
+
+ # Nintendo Switch Pro Controller over bluetooth hidraw
+-KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0666"
++KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0660", TAG+="uaccess"
+
+ # Nacon PS4 Revolution Pro Controller
+-KERNEL=="hidraw*", ATTRS{idVendor}=="146b", ATTRS{idProduct}=="0d01", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="146b", ATTRS{idProduct}=="0d01", MODE="0660", TAG+="uaccess"
+
+ # Razer Raiju PS4 Controller
+-KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="1000", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="1000", MODE="0660", TAG+="uaccess"
+
+ # Razer Panthera Arcade Stick
+-KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0401", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0401", MODE="0660", TAG+="uaccess"
+
+ # Mad Catz - Street Fighter V Arcade FightPad PRO
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0738", ATTRS{idProduct}=="8250", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0738", ATTRS{idProduct}=="8250", MODE="0660", TAG+="uaccess"
+
+ # Mad Catz - Street Fighter V Arcade FightStick TE S+
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0738", ATTRS{idProduct}=="8384", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0738", ATTRS{idProduct}=="8384", MODE="0660", TAG+="uaccess"
+
+ # EMiO Elite Controller for PS4
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="1cf6", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="1cf6", MODE="0660", TAG+="uaccess"
+
+ # HORI RAP4
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="008a", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="008a", MODE="0660", TAG+="uaccess"
+
+ # HORIPAD 4 FPS
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0055", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0055", MODE="0660", TAG+="uaccess"
+
+ # HORIPAD 4 FPS Plus
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0066", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0066", MODE="0660", TAG+="uaccess"
+
+ # Armor Armor 3 Pad PS4
+-KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="0e10", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="0e10", MODE="0660", TAG+="uaccess"
+
+ # STRIKEPAD PS4 Grip Add-on
+-KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c5", MODE="0666"
++KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c5", MODE="0660", TAG+="uaccess"
diff --git a/steam.spec b/steam.spec
index c666995..c905366 100644
--- a/steam.spec
+++ b/steam.spec
@@ -3,7 +3,7 @@
Name: steam
Version: 1.0.0.59
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
License: Steam License Agreement
@@ -38,9 +38,9 @@ Patch0: %{name}-3570.patch
# https://github.com/ValveSoftware/steam-for-linux/issues/3273
Patch1: %{name}-3273.patch
-# Make Steam Controller usable as a GamePad:
-# https://steamcommunity.com/app/353370/discussions/0/490123197956024380/
-Patch2: %{name}-controller-gamepad-emulation.patch
+# Use uaccess on device files so only the local console users have access to
+# the files instead of using 666 permissions.
+Patch2: %{name}-udev-relax-console-user.patch
BuildRequires: desktop-file-utils
BuildRequires: firewalld-filesystem
@@ -221,6 +221,9 @@ fi
%endif
%changelog
+* Fri Jan 18 2019 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.59-6
+- Update udev controller rules to use uacces.
+
* Fri Jan 18 2019 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.59-5
- Firewall definitions already bundled in firewalld 0.6.2 on Fedora 29+.
- Update firewall definitions to align with Fedora 29+.
5 years, 10 months
[steam/el7] Update firewall definitions
by Simone Caronni
commit 550baa7bcfdf9e7409d096e589e35f1b469887c6
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Fri Jan 18 22:06:29 2019 +0100
Update firewall definitions
README.Fedora | 4 ++--
steam.xml => steam-streaming.xml | 5 +++--
steam.spec | 21 ++++++++++++++++-----
3 files changed, 21 insertions(+), 9 deletions(-)
---
diff --git a/README.Fedora b/README.Fedora
index 7674a84..184fe19 100644
--- a/README.Fedora
+++ b/README.Fedora
@@ -60,8 +60,8 @@ example, on my system, to get the firewall zone I’m using:
Then enable it permanently (i.e. at reboot) and immediately with these commands:
- # firewall-cmd --zone=public --add-service=steam --permanent
- # firewall-cmd --zone=public --add-service=steam
+ # firewall-cmd --zone=public --add-service=steam-streaming --permanent
+ # firewall-cmd --zone=public --add-service=steam-streaming
Now start up two Steam clients with your user on the same network, and you
should see games installed on both systems as available for playing in both
diff --git a/steam.xml b/steam-streaming.xml
similarity index 65%
rename from steam.xml
rename to steam-streaming.xml
index 369b25f..0e0aca6 100644
--- a/steam.xml
+++ b/steam-streaming.xml
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>Steam In-Home Streaming</short>
- <description>Steam in-home streaming allows you to play a game on one computer when the game process is actually running on another computer elsewhere in your home. Through Steam, game audio and video is captured on the remote computer and sent to the player’s computer. The game input (keyboard, mouse or gamepad) is sent from the player’s computer to the game process on the remote computer.</description>
+ <description>Steam in-home streaming allows you to play a game on one computer when the game process is actually running on another computer elsewhere in your home. Through Steam, game audio and video is captured on the remote computer and sent to the player's computer. The game input (keyboard, mouse or gamepad) is sent from the player's computer to the game process on the remote computer.</description>
<port protocol="tcp" port="27036"/>
<port protocol="tcp" port="27037"/>
- <port protocol="udp" port="27031-27036"/>
+ <port protocol="udp" port="27031"/>
+ <port protocol="udp" port="27036"/>
</service>
diff --git a/steam.spec b/steam.spec
index 7666be2..c666995 100644
--- a/steam.spec
+++ b/steam.spec
@@ -3,7 +3,7 @@
Name: steam
Version: 1.0.0.59
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
License: Steam License Agreement
@@ -13,7 +13,7 @@ ExclusiveArch: i686
Source0: http://repo.steampowered.com/%{name}/pool/%{name}/s/%{name}/%{name}_%{ver...
Source1: %{name}.sh
Source2: %{name}.csh
-Source3: %{name}.xml
+Source3: %{name}-streaming.xml
Source4: %{name}.appdata.xml
# Ghost touches in Big Picture mode:
@@ -97,7 +97,7 @@ Requires(post): firewalld-filesystem
# Required for hardware decoding during In-Home Streaming (intel)
# Since libva-intel-driver on f28+ there is hw detection with appstream
-%if (0%{?fedora} && 0%{?fedora} < 28) || 0%{?rhel} == 7
+%if 0%{?rhel} == 7
Requires: libva-intel-driver%{?_isa}
%else
Requires: libva%{?_isa}
@@ -148,8 +148,10 @@ install -m 644 -p lib/udev/rules.d/* \
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
+%if 0%{?fedora} && 0%{?fedora} < 29 || 0%{?rhel} == 7
install -D -m 644 -p %{SOURCE3} \
- %{buildroot}%{_prefix}/lib/firewalld/services/steam.xml
+ %{buildroot}%{_prefix}/lib/firewalld/services/%{name}-streaming.xml
+%endif
# Environment files
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
@@ -173,7 +175,9 @@ install -m 644 -p %{SOURCE11} %{buildroot}%{_prefix}/lib/systemd/user.conf.d/
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
/usr/bin/update-desktop-database &> /dev/null || :
%endif
+%if 0%{?fedora} && 0%{?fedora} < 29 || 0%{?rhel} == 7
%firewalld_reload
+%endif
%if 0%{?rhel} == 7
@@ -201,10 +205,13 @@ fi
%{_datadir}/pixmaps/%{name}_tray_mono.png
%{_libdir}/%{name}/
%{_mandir}/man6/%{name}.*
-%{_prefix}/lib/firewalld/services/%{name}.xml
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
%{_udevrulesdir}/*
+%if 0%{?fedora} && 0%{?fedora} < 29 || 0%{?rhel} == 7
+%{_prefix}/lib/firewalld/services/%{name}-streaming.xml
+%endif
+
# Since F30 (systemd 240) we don't need to raise NOFILE limit
%if 0%{?fedora} && 0%{?fedora} < 30
%{_prefix}/lib/systemd/system.conf.d/
@@ -214,6 +221,10 @@ fi
%endif
%changelog
+* Fri Jan 18 2019 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.59-5
+- Firewall definitions already bundled in firewalld 0.6.2 on Fedora 29+.
+- Update firewall definitions to align with Fedora 29+.
+
* Wed Jan 16 2019 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.59-4
- Fix Nvidia Shield Portable streaming with SteamLink.
5 years, 10 months
[phonon-backend-vlc/el7] Rebuild for vlc 3.0
by Orion Poplawski
commit 008808c7f65003137d2d1986934fb22cfc4e7e0e
Author: Orion Poplawski <orion(a)nwra.com>
Date: Fri Jan 18 12:30:49 2019 -0700
Rebuild for vlc 3.0
phonon-backend-vlc.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/phonon-backend-vlc.spec b/phonon-backend-vlc.spec
index 11e2359..176a4c4 100644
--- a/phonon-backend-vlc.spec
+++ b/phonon-backend-vlc.spec
@@ -2,7 +2,7 @@
name: phonon-backend-vlc
Summary: VLC phonon backend
Version: 0.6.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Group: Applications/Multimedia
License: LGPLv2+
URL: http://phonon.kde.org/
@@ -67,6 +67,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
+* Fri Jan 18 2019 Orion Poplawski <orion(a)nwra.com> - 0.6.2-3
+- Rebuild for vlc 3.0
+
* Wed Mar 08 2017 Orion Poplawski <orion(a)cora.nwra.com> - 0.6.2-2
- Require vlc instead of vlc-core for GUI applications to work
- Use %%license
5 years, 10 months
[discord/f28] Fix permissions issue on binary in source.
by seancallaway
commit 9ed981a2a466bc23e13e19629f9f301dab9c2c82
Author: Sean Callaway <seancallaway(a)gmail.com>
Date: Fri Jan 18 09:52:40 2019 -0800
Fix permissions issue on binary in source.
discord.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/discord.spec b/discord.spec
index 1f05997..a7a1272 100644
--- a/discord.spec
+++ b/discord.spec
@@ -4,7 +4,7 @@
Name: discord
Version: 0.0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: All-in-one voice and text chat for gamers
# License Information: https://bugzilla.rpmfusion.org/show_bug.cgi?id=4441#c14
@@ -57,9 +57,13 @@ discord.desktop
%{_libdir}/discord/
%{_bindir}/Discord
%{_datadir}/applications/discord.desktop
+%attr(755, root, root) %{_libdir}/discord/Discord
%changelog
+* Fri Jan 18 2019 Sean Callaway <seancallaway(a)fedoraproject.org> - 0.0.8-2
+- Fix permissions issue on binary in source.
+
* Wed Jan 16 2019 Sean Callaway <seancallaway(a)fedoraproject.org> - 0.0.8-1
- Updated to 0.0.8
5 years, 10 months
[discord/f29] Fix permissions issue on binary in source.
by seancallaway
commit c49f92d23b4bc0f98a9781839a86bdc7811cc2ff
Author: Sean Callaway <seancallaway(a)gmail.com>
Date: Fri Jan 18 09:47:29 2019 -0800
Fix permissions issue on binary in source.
discord.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/discord.spec b/discord.spec
index 1f05997..a7a1272 100644
--- a/discord.spec
+++ b/discord.spec
@@ -4,7 +4,7 @@
Name: discord
Version: 0.0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: All-in-one voice and text chat for gamers
# License Information: https://bugzilla.rpmfusion.org/show_bug.cgi?id=4441#c14
@@ -57,9 +57,13 @@ discord.desktop
%{_libdir}/discord/
%{_bindir}/Discord
%{_datadir}/applications/discord.desktop
+%attr(755, root, root) %{_libdir}/discord/Discord
%changelog
+* Fri Jan 18 2019 Sean Callaway <seancallaway(a)fedoraproject.org> - 0.0.8-2
+- Fix permissions issue on binary in source.
+
* Wed Jan 16 2019 Sean Callaway <seancallaway(a)fedoraproject.org> - 0.0.8-1
- Updated to 0.0.8
5 years, 10 months
[discord] Fix permissions issue on binary in source.
by seancallaway
commit a96ca85778bf912f1ad7e40bcce9211c01393e9d
Author: Sean Callaway <seancallaway(a)gmail.com>
Date: Fri Jan 18 09:44:39 2019 -0800
Fix permissions issue on binary in source.
discord.spec | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/discord.spec b/discord.spec
index 6b8ac53..a7a1272 100644
--- a/discord.spec
+++ b/discord.spec
@@ -4,7 +4,7 @@
Name: discord
Version: 0.0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: All-in-one voice and text chat for gamers
# License Information: https://bugzilla.rpmfusion.org/show_bug.cgi?id=4441#c14
@@ -57,11 +57,15 @@ discord.desktop
%{_libdir}/discord/
%{_bindir}/Discord
%{_datadir}/applications/discord.desktop
+%attr(755, root, root) %{_libdir}/discord/Discord
%changelog
-* Wed Jan 16 2019 Sean Callaway <seancallaway(a)fedoraproject.org> 0.0.8-1
-- Update to 0.0.8
+* Fri Jan 18 2019 Sean Callaway <seancallaway(a)fedoraproject.org> - 0.0.8-2
+- Fix permissions issue on binary in source.
+
+* Wed Jan 16 2019 Sean Callaway <seancallaway(a)fedoraproject.org> - 0.0.8-1
+- Updated to 0.0.8
* Sun Aug 19 2018 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 0.0.5-3
- Rebuilt for Fedora 29 Mass Rebuild binutils issue
5 years, 10 months
[VirtualBox-kmod] Update to 6.0.2.
by Vasiliy Glazov
commit 45d43a46922db6d217894fbce41fca856bc157d2
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Fri Jan 18 12:15:28 2019 +0300
Update to 6.0.2.
VirtualBox-kmod.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/VirtualBox-kmod.spec b/VirtualBox-kmod.spec
index 9bcd65d..02309db 100644
--- a/VirtualBox-kmod.spec
+++ b/VirtualBox-kmod.spec
@@ -39,7 +39,7 @@
%global __arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
Name: VirtualBox-kmod
-Version: 6.0.0
+Version: 6.0.2
Release: 1%{?prerel:.%{prerel}}%{?dist}
#Release: 1%%{?dist}
@@ -51,7 +51,6 @@ URL: http://www.virtualbox.org/wiki/VirtualBox
Source1: excludekernel-filter.txt
Source2: https://github.com/jwrdegoede/vboxsf/archive/master.zip
-#Patch1: kernel-4.18.patch
%global AkmodsBuildRequires %{_bindir}/kmodtool, VirtualBox-kmodsrc >= %{version}%{vboxreltag}, xz, time
BuildRequires: %{AkmodsBuildRequires}
@@ -140,6 +139,9 @@ DIRS=$(ls %{name}-%{version} |wc -l)
%changelog
+* Thu Jan 17 2019 Vasiliy N. Glazov <vascom2(a)gmail.com> - 6.0.2-1
+- Update to 6.0.2
+
* Wed Dec 19 2018 Sérgio Basto <sergio(a)serjux.com> - 6.0.0-1
- VirtualBox 6.0
5 years, 10 months