Move simple_httpd out of picobsd, add HTTPD option (default OFF)
picobsd/tinyware has had this compact HTTPD server for a long time, and some people do use it. Move it out into usr.sbin well 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. Reviewed by: eugen Differential Revision: https://reviews.freebsd.org/D21724
This commit is contained in:
parent
935dbbeb8b
commit
2d0a92c9ab
@ -198,6 +198,7 @@ __DEFAULT_NO_OPTIONS = \
|
||||
EXPERIMENTAL \
|
||||
GNU_GREP_COMPAT \
|
||||
HESIOD \
|
||||
HTTPD \
|
||||
LIBSOFT \
|
||||
LOADER_FIREWIRE \
|
||||
LOADER_FORCE_LE \
|
||||
|
2
tools/build/options/WITHOUT_HTTPD
Normal file
2
tools/build/options/WITHOUT_HTTPD
Normal file
@ -0,0 +1,2 @@
|
||||
.\" $FreeBSD$
|
||||
Set to neither build nor install httpd
|
2
tools/build/options/WITH_HTTPD
Normal file
2
tools/build/options/WITH_HTTPD
Normal file
@ -0,0 +1,2 @@
|
||||
.\" $FreeBSD$
|
||||
Set to build and install httpd
|
@ -138,6 +138,7 @@ SUBDIR.${MK_FMTREE}+= fmtree
|
||||
SUBDIR.${MK_FREEBSD_UPDATE}+= freebsd-update
|
||||
SUBDIR.${MK_GSSAPI}+= gssd
|
||||
SUBDIR.${MK_GPIO}+= gpioctl
|
||||
SUBDIR.${MK_HTTPD}+= httpd
|
||||
SUBDIR.${MK_INET6}+= ip6addrctl
|
||||
SUBDIR.${MK_INET6}+= mld6query
|
||||
SUBDIR.${MK_INET6}+= ndp
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
PROG=simple_httpd
|
||||
SRCS= simple_httpd.c
|
||||
PROG= httpd
|
||||
SRCS= simple_httpd.c
|
||||
MAN=
|
||||
WARNS?=6
|
||||
|
Loading…
Reference in New Issue
Block a user