summaryrefslogtreecommitdiffstats
path: root/rules/thttpd.in
blob: b00abfc59f79ee53e2cb901a74587ae3a14958ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
## SECTION=networking
menuconfig THTTPD
	tristate
	prompt "thttpd                        "
	help
	  thttpd (thin httpd) is a small, fast secure webserver.

	  It features CGI support, URL-traffic-based throttling
	  and basic authentication. thttpd has a very small memory
	  footprint as it only forks itself in order to execute
	  CGI scripts. It is designed to be as fast as fully
	  featured web-servers and it performs extremely well
	  under high load.

	comment "runtime options  ---"
	depends on THTTPD

if THTTPD

choice
	prompt "Kind of startup script"
	default THTTPD__ETC_INITD_GENERIC
	depends on THTTPD
	help
	  The /etc/init.d/thttpd script lets you control the thttpd daemon.

	config THTTPD__ETC_INITD_NONE
		bool
		prompt "no init.d script"

	config THTTPD__ETC_INITD_GENERIC
		bool
		prompt "Use generic"
		help
		  Installs a generic /etc/init.d/thttpd startup
		  script. The file from
		  <ptxdist-install>/generic/etc/init.d/thttpd
		  will be used.

	config THTTPD__ETC_INITD_USER
		bool
		prompt "User defined"
		help
		  This uses a user defined thttpd. PTXdist uses
		  file projectroot/etc/init.d/thttpd in your
		  local project
endchoice

config THTTPD__GENERIC_SITE
	depends on THTTPD
	bool
	default y
	prompt "Populate a generic website"
	help
	  This install a generic website into /var/www/index.html
	  from <ptxdist-install>/generic/var/www/thttpd.html

config THTTPD__INSTALL_HTPASSWD
	bool "Install mkpasswd tool."
	default y
	help
	  Install the mkpasswd tool. It can create and manage .htpasswd file
	  for authentication of users.
endif