Page MenuHomeFreeBSD

Move simple_httpd out of picobsd, add HTTPD option
ClosedPublic

Authored by kevans on Sep 20 2019, 2:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 7, 11:16 AM
Unknown Object (File)
Mon, Dec 2, 6:55 PM
Unknown Object (File)
Oct 2 2024, 8:58 AM
Unknown Object (File)
Sep 8 2024, 9:08 AM
Unknown Object (File)
Sep 5 2024, 9:01 PM
Unknown Object (File)
Sep 3 2024, 7:36 PM
Unknown Object (File)
Sep 3 2024, 6:27 PM
Unknown Object (File)
Sep 1 2024, 5:04 PM

Details

Summary

picobsd/tinyware has had this compact HTTPD server for a long time, and some people do use it. Move it out into usr.sbin in advance of any action being taken on picobsd.

This has been gated behind an HTTPD option defaulted to *off*, primarily for two reasons:
1.) This code likely needs a good audit, as it's been living off in picobsd land for a long time, and
2.) We don't currently ship an httpd and this may not be a welcome surprise.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 20 2019, 4:23 AM

Wouldn't /usr/libexec be a better place for it, like for many other such daemons (like fingerd etc…)?

Wouldn't /usr/libexec be a better place for it, like for many other such daemons (like fingerd etc…)?

I think this is unclear without a better vision for how it actually get used. fingerd and other daemons in /usr/libexec are expected to be driven by, for example, inetd -- other programs in general.

But there is also dma, sendmail and parts of kerberos… :-)

Wouldn't /usr/libexec be a better place for it, like for many other such daemons (like fingerd etc…)?

According to hier(7) it belongs to /usr/sbin because it's stand-alone daemon that needs it's own startup script (to be created).

Files living in /usr/libexec like fingerd etc. are either parts of bigger systems like MTA or NFS, or started by other processes like inetd.