diff --git a/games/linux-steam-utils/Makefile b/games/linux-steam-utils/Makefile index 9c77d995c9d4..e5bbc6ab8ee7 100644 --- a/games/linux-steam-utils/Makefile +++ b/games/linux-steam-utils/Makefile @@ -1,5 +1,5 @@ PORTNAME= steam-utils -DISTVERSION= 20231009 +DISTVERSION= 20240323 CATEGORIES= games linux PKGNAMEPREFIX= linux- @@ -35,8 +35,8 @@ SUB_FILES= pkg-message .include post-install: -.for executable in steam steam-install lsu-register-proton lsu-wine-env - ${LN} -s ../steam-utils/bin/${executable} ${STAGEDIR}${PREFIX}/bin/${executable} -.endfor + ${LN} -s ../steam-utils/bin/steam ${STAGEDIR}${PREFIX}/bin/steam + ${LN} -s ../steam-utils/bin/lsu-bootstrap ${STAGEDIR}${PREFIX}/bin/steam-install # deprecated since 2024-03-23 + ${LN} -s ../steam-utils/bin/lsu-wine-env ${STAGEDIR}${PREFIX}/bin/lsu-wine-env .include diff --git a/games/linux-steam-utils/distinfo b/games/linux-steam-utils/distinfo index 4c9c4a037c3f..a821cc6f81f8 100644 --- a/games/linux-steam-utils/distinfo +++ b/games/linux-steam-utils/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1696806545 -SHA256 (shkhln-linuxulator-steam-utils-20231009_GH0.tar.gz) = ead0c85c8206fc424280dc200d40c8278dc474be672fd3d939c4a37dd2b854e9 -SIZE (shkhln-linuxulator-steam-utils-20231009_GH0.tar.gz) = 24662 +TIMESTAMP = 1711316130 +SHA256 (shkhln-linuxulator-steam-utils-20240323_GH0.tar.gz) = c6b947a31f0311f10c21d28f0e49200a2c98a0847ca35c6cf0be85f9e0d127d3 +SIZE (shkhln-linuxulator-steam-utils-20240323_GH0.tar.gz) = 38533 diff --git a/games/linux-steam-utils/files/pkg-message.in b/games/linux-steam-utils/files/pkg-message.in index 17ebc9637270..1042eebf2eb7 100644 --- a/games/linux-steam-utils/files/pkg-message.in +++ b/games/linux-steam-utils/files/pkg-message.in @@ -7,9 +7,9 @@ and as such it is supported on a best effort basis. Limitations: - Sandbox is disabled for the web browser component. -- Valve Anti-Cheat doesn't work with FreeBSD < 13. - No controller input, no streaming, no VR. -- No support for Linux Proton builds. +- Valve Anti-Cheat is untested. +- Steam's container runtime (pressure-vessel) doesn't work. Additional dependencies: - If you use an NVIDIA card, you need to install a suitable @@ -17,9 +17,11 @@ Additional dependencies: Steam setup: -1. Create a dedicated FreeBSD non-wheel user account for Steam. Switch to it. -2. Run `steam-install` to download the Steam bootstrap executable. -3. Run `steam` to download updates and start Steam. +1. Set security.bsd.unprivileged_chroot and vfs.usermount sysctls to 1. +2. Add nullfs to kld_list, load it. +3. Create a dedicated FreeBSD non-wheel user account for Steam. Switch to it. +4. Run `%%LOCALBASE%%/steam-utils/bin/lsu-bootstrap` to download the Steam bootstrap executable. +5. Run `steam` to download updates and start Steam. For the list of tested Linux games see https://github.com/shkhln/linuxulator-steam-utils/wiki/Compatibility. @@ -28,11 +30,9 @@ Native Proton setup (optional, semi-experimental): 1. Run `sudo pkg install wine-proton libc6-shim python3`. 2. Run `%%LOCALBASE%%/wine-proton/bin/pkg32.sh install wine-proton mesa-dri`. 3. In Steam install Proton 8.0 (appid 2348590). -4. Run `lsu-register-proton` to register emulators/wine-proton as a compatibility tool. -5. Restart Steam. -To enable emulators/wine-proton right click a game title in Steam, -click Properties, click Compatibility, select emulators/wine-proton. +To enable it right click a game title in Steam, click Properties, +click Compatibility, select "FreeBSD Wine (emulators/wine-proton)". EOM } ] diff --git a/games/linux-steam-utils/pkg-plist b/games/linux-steam-utils/pkg-plist index 1c4e26ea4e13..c3064c9f8cec 100644 --- a/games/linux-steam-utils/pkg-plist +++ b/games/linux-steam-utils/pkg-plist @@ -1,36 +1,62 @@ -bin/lsu-register-proton bin/lsu-wine-env bin/steam bin/steam-install -steam-utils/bin/lsu-register-proton +steam-utils/bin/.dpkgs.rb +steam-utils/bin/.utils.rb +steam-utils/bin/lsu-bootstrap +steam-utils/bin/lsu-freebsd-to-linux-env.sh +steam-utils/bin/lsu-kill +steam-utils/bin/lsu-mount-runtime +steam-utils/bin/lsu-patch-steam +steam-utils/bin/lsu-run-in-chroot +steam-utils/bin/lsu-umount +steam-utils/bin/lsu-upgrade-steam-runtime steam-utils/bin/lsu-wine-env steam-utils/bin/steam -steam-utils/bin/steam-install steam-utils/lib32/fakenm/libnm-glib.so.4 steam-utils/lib32/fakenm/libnm.so.0 steam-utils/lib32/fakepulse/libpulse.so.0 steam-utils/lib32/fakeudev/libudev.so.0 steam-utils/lib32/fakeudev/libudev.so.1 +steam-utils/lib32/noepollexcl/noepollexcl.so steam-utils/lib32/pathfix/pathfix.so -@comment steam-utils/lib32/protonfix/protonfix.so +steam-utils/lib32/protonfix/protonfix.so +steam-utils/lib32/shmfix/shmfix.so steam-utils/lib32/steamfix/steamfix.so steam-utils/lib64/fakepulse/libpulse.so.0 steam-utils/lib64/fakeudev/libudev.so.0 steam-utils/lib64/fakeudev/libudev.so.1 +steam-utils/lib64/noepollexcl/noepollexcl.so steam-utils/lib64/pathfix/pathfix.so -@comment steam-utils/lib64/protonfix/protonfix.so +steam-utils/lib64/protonfix/protonfix.so +steam-utils/lib64/shmfix/shmfix.so steam-utils/lib64/webfix/webfix.so steam-utils/lxbin/curl-config steam-utils/lxbin/dbus-launch steam-utils/lxbin/file steam-utils/lxbin/file.rb +steam-utils/lxbin/lsof steam-utils/lxbin/lspci -steam-utils/lxbin/lsu-proton +steam-utils/lxbin/lsu-linux-to-freebsd-env.sh +steam-utils/lxbin/lsu-webhelper-chroot +steam-utils/lxbin/lsu-webhelper-chroot.rb steam-utils/lxbin/tar -steam-utils/lxbin/zenity -@comment steam-utils/lxbin/python3 -steam-utils/lxbin/patch-steam -steam-utils/lxbin/patch-steam.rb -steam-utils/lxbin/upgrade-steam-runtime -steam-utils/lxbin/upgrade-steam-runtime.rb +steam-utils/lxbin/xdg-user-dir steam-utils/lxbin/xrandr +steam-utils/lxbin/zenity +steam-utils/tools/LSU_FreeBSD_Wine/compatibilitytool.vdf +steam-utils/tools/LSU_FreeBSD_Wine/run.rb +steam-utils/tools/LSU_FreeBSD_Wine/run.sh +steam-utils/tools/LSU_FreeBSD_Wine/toolmanifest.vdf +steam-utils/tools/LSU_Proton_8_chroot/compatibilitytool.vdf +steam-utils/tools/LSU_Proton_8_chroot/run.rb +steam-utils/tools/LSU_Proton_8_chroot/run.sh +steam-utils/tools/LSU_Proton_8_chroot/toolmanifest.vdf +steam-utils/tools/LSU_Scout_chroot/compatibilitytool.vdf +steam-utils/tools/LSU_Scout_chroot/run.rb +steam-utils/tools/LSU_Scout_chroot/run.sh +steam-utils/tools/LSU_Scout_chroot/toolmanifest.vdf +steam-utils/tools/LSU_Sniper_chroot/compatibilitytool.vdf +steam-utils/tools/LSU_Sniper_chroot/run.rb +steam-utils/tools/LSU_Sniper_chroot/run.sh +steam-utils/tools/LSU_Sniper_chroot/toolmanifest.vdf