Landry, I'd like to allow access to all /dev/video* for both firefox.
I had also removed access to /dev/video because it doesn't need one, see: https://github.com/mozilla/libwebrtc/blob/master/modules/video_capture/linux/device_info_v4l2.cc Ok? Index: www/firefox-esr/Makefile =================================================================== RCS file: /home/cvs/ports/www/firefox-esr/Makefile,v diff -u -p -u -p -r1.238 Makefile --- www/firefox-esr/Makefile 7 Jan 2025 16:25:22 -0000 1.238 +++ www/firefox-esr/Makefile 12 Jan 2025 15:04:57 -0000 @@ -2,6 +2,7 @@ COMMENT = Firefox web browser, Extended ONLY_FOR_ARCHS = amd64 aarch64 riscv64 MOZILLA_VERSION = 128.6.0esr +REVISION = 0 MOZILLA_BRANCH = release MOZILLA_PROJECT = firefox-esr MOZILLA_CODENAME = browser Index: www/firefox-esr/files/unveil.main =================================================================== RCS file: /home/cvs/ports/www/firefox-esr/files/unveil.main,v diff -u -p -u -p -r1.13 unveil.main --- www/firefox-esr/files/unveil.main 6 Aug 2024 13:05:42 -0000 1.13 +++ www/firefox-esr/files/unveil.main 12 Jan 2025 15:02:22 -0000 @@ -1,7 +1,9 @@ # for uuid generation? /dev/urandom r -/dev/video rw /dev/video0 rw +/dev/video1 rw +/dev/video2 rw +/dev/video3 rw /dev/fido rw # for webgl info in about:support /dev/dri rw Index: www/firefox-esr/pkg/README =================================================================== RCS file: /home/cvs/ports/www/firefox-esr/pkg/README,v diff -u -p -u -p -r1.11 README --- www/firefox-esr/pkg/README 5 Nov 2024 09:14:25 -0000 1.11 +++ www/firefox-esr/pkg/README 12 Jan 2025 15:02:38 -0000 @@ -117,7 +117,7 @@ You will also need to change the ownersh relevant video(4) device so that your user can access the webcam device e.g.: -# chown youruser /dev/video0 +# chown youruser /dev/video* Screen sharing needs shmget() which isn't available when pledge() is active, so you will have to disable pledge for the main process. Index: www/mozilla-firefox/Makefile =================================================================== RCS file: /home/cvs/ports/www/mozilla-firefox/Makefile,v diff -u -p -u -p -r1.616 Makefile --- www/mozilla-firefox/Makefile 7 Jan 2025 16:23:49 -0000 1.616 +++ www/mozilla-firefox/Makefile 12 Jan 2025 15:05:00 -0000 @@ -4,6 +4,7 @@ ONLY_FOR_ARCHS = amd64 aarch64 riscv64 # Don't forget to bump www/firefox-i18n after updates. MOZILLA_VERSION = 134.0 +REVISION = 0 MOZILLA_BRANCH = release MOZILLA_PROJECT = firefox MOZILLA_CODENAME = browser Index: www/mozilla-firefox/files/unveil.main =================================================================== RCS file: /home/cvs/ports/www/mozilla-firefox/files/unveil.main,v diff -u -p -u -p -r1.22 unveil.main --- www/mozilla-firefox/files/unveil.main 25 Mar 2024 07:35:29 -0000 1.22 +++ www/mozilla-firefox/files/unveil.main 12 Jan 2025 15:03:07 -0000 @@ -1,7 +1,9 @@ # for uuid generation? /dev/urandom r -/dev/video rw /dev/video0 rw +/dev/video1 rw +/dev/video2 rw +/dev/video3 rw /dev/fido rw # for webgl info in about:support /dev/dri rw Index: www/mozilla-firefox/pkg/README =================================================================== RCS file: /home/cvs/ports/www/mozilla-firefox/pkg/README,v diff -u -p -u -p -r1.38 README --- www/mozilla-firefox/pkg/README 5 Nov 2024 09:10:37 -0000 1.38 +++ www/mozilla-firefox/pkg/README 12 Jan 2025 15:02:55 -0000 @@ -117,7 +117,7 @@ You will also need to change the ownersh relevant video(4) device so that your user can access the webcam device e.g.: -# chown youruser /dev/video0 +# chown youruser /dev/video* Screen sharing needs shmget() which isn't available when pledge() is active, so you will have to disable pledge for the main process. -- wbr, Kirill