Install

To install LaTeX:

$ doas pkg_add texlive_texmf-full-2020p1

By default, this creates a setuid root binary, used by dbus:

-rwsr-x---  1 root  _dbus  - 73.9K Apr 19 12:36 /usr/local/libexec/dbus-daemon-launch-helper

This makes the system insecure, so we remove the setuid bit:

$ doas chmod 0750 /usr/local/libexec/dbus-daemon-launch-helper
$ ls -lha /usr/local/libexec/dbus-daemon-launch-helper
-rwxr-x---  1 root  _dbus  73.9K Apr 19 12:36 /usr/local/libexec/dbus-daemon-launch-helper