www/obhttpd: Patch for OpenBSD 6.0 errata.
PR 216752 submitted by t@tobik.me
While here
- patch the man pages to refer to the correct names and file paths on FreeBSD
- create directories for a simple, working default configuration
Differential D9574
www/obhttpd: Patch for OpenBSD 6.0 errata. jrm on Feb 13 2017, 8:17 PM. Authored by Tags None Referenced Files
Subscribers
Details www/obhttpd: Patch for OpenBSD 6.0 errata. PR 216752 submitted by t@tobik.me While here
portlint -C: OK
Diff Detail
Event TimelineComment Actions Works fine for me. This is much better than having to create all those dirs yourself. :)
Comment Actions Thanks for testing. Setting the default chroot directory sounds reasonable. Since this is an important change with possible unintended implications, I would like to get feedback from someone on port-secteam and the maintainer. Another possible option would be to create a new user account, set its home directory, and have obhttpd run as a that user. I believe that would require just a one-line patch in httpd.h. Comment Actions
Comment Actions
service obhttpd onestart it would fail. Now it does not.
Comment Actions To elaborate on 1., the current default is the www user's home directory. On OpenBSD this is /var/root. On FreeBSD, the www user has a nonexistent home directory. |