On Sun, Apr 08, 2012, Richard Brooks wrote: > Recently I discovered that in order to build a port (specifically the > syslog-ng port) that my OpenBSD would need to have X11 installed. Other > than for this requirement I had no desire for X11 on my build of OpenBSD.
Did you try the package? A quick glance at the requirements doesn't look like it requires X. > My first question is, if one is installing X11 purely to facilitate the > building of ports. What are the minimum X11 components one is required to > install? The canonical answer is http://www.openbsd.org/faq/faq4.html#FilesNeeded. > Finally, security wise, to what extent does the installing X11 weaken > security or make the system more vulnerable to attack? That's also addressed in the above, but I can give you specifics. xbase contains two sgid programs, xterm and xlock. xserv contains the only suid root program, Xorg. If you're super concerned, you can strip the s bits.