openbsd-ports/www/chromium/pkg
robert 30756c48b1 bundle libudev.so from sysutils/libudev-openbsd for now until it gets enabled
in the builds so that fido hotplug can be used in the meantime
2022-12-13 13:40:35 +00:00
..
DESCR
PFRAG.component update to 100.0.4896.60 2022-03-29 19:41:01 +00:00
PFRAG.swiftshader update to 102.0.5005.61 2022-05-24 20:17:30 +00:00
PLIST bundle libudev.so from sysutils/libudev-openbsd for now until it gets enabled 2022-12-13 13:40:35 +00:00
README drop RCS Ids 2022-03-11 20:09:36 +00:00

+-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-------------------------------------------------------------------------------

Chromium uses several mitigations on OpenBSD:

- each category of process uses pledge(2) to limit system call access
- each category of process uses unveil(2) to limit filesystem access.

Occasionally, some extensions may violate some pledge(2) specifications.
This will appear in syslog's /var/log/messages as

    chromium[<pid>]: pledge "<name>", syscall <n>.

along with the more obvious "Oops" in chromium tabs.

Disabling pledge() or unveil() is not recommended!

THE FOLLOWING INFORMATION IS FOR DEBUG PURPOSES ONLY

- global pledge knob: invoke chromium with --no-sandbox
- specific pledge for specific processes:
${SYSCONFDIR}/chromium/pledge.*

- global unveil knob: invoke chromium with --disable-unveil
- specific unveil for specific processes:
${SYSCONFDIR}/chromium/unveil.*

Specific situations
-------------------
If you need to access files from alternative locations (for example
opening files in /var/www/htdocs directly in chromium), add the paths
to ${SYSCONFDIR}/chromium/unveil.main and merge with changes in files in
${PREFIX}/share/examples/chromium/ at update time.

webgl and 3d and acceleration support:
- some DRM supported cards are marked as unsupported by chromium
Using --ignore-gpu-blacklist may allow you to test

Interoperability with base window managers:
- some window managers do not have compositing support; for instance, fvwm.
In order to have decent graphic rendering, they should be supplemented by
a compositing manager. For instance, xcompmgr in base.