1comment "lighttpd needs a toolchain w/ dynamic library"
2	depends on BR2_USE_MMU
3	depends on BR2_STATIC_LIBS
4
5config BR2_PACKAGE_LIGHTTPD
6	bool "lighttpd"
7	depends on BR2_USE_MMU # fork()
8	depends on !BR2_STATIC_LIBS
9	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
10	select BR2_PACKAGE_XXHASH
11	help
12	  lighttpd a secure, fast, compliant and very flexible
13	  web-server which has been optimized for high-performance
14	  environments. It has a very low memory footprint compared to
15	  other webservers and takes care of cpu-load. Its advanced
16	  feature-set (FastCGI, CGI, Auth, Output-Compression,
17	  URL-Rewriting and many more) make lighttpd the perfect
18	  webserver-software for every server that is suffering load
19	  problems.
20
21	  https://www.lighttpd.net/
22
23if BR2_PACKAGE_LIGHTTPD
24
25config BR2_PACKAGE_LIGHTTPD_BROTLI
26	bool "brotli support"
27	select BR2_PACKAGE_BROTLI
28	help
29	  Enable brotli support for lighttpd mod_deflate.
30
31config BR2_PACKAGE_LIGHTTPD_BZIP2
32	bool "bzip2 support"
33	select BR2_PACKAGE_BZIP2
34	help
35	  Enable bzip2 support for lighttpd mod_deflate.
36
37config BR2_PACKAGE_LIGHTTPD_KRB5
38	bool "krb5 support"
39	select BR2_PACKAGE_LIBKRB5
40	help
41	  Enable Kerberos5 support for lighttpd mod_auth.
42
43config BR2_PACKAGE_LIGHTTPD_LDAP
44	bool "ldap support"
45	depends on BR2_USE_WCHAR # openldap
46	select BR2_PACKAGE_OPENLDAP
47	help
48	  Enable LDAP support for lighttpd mod_auth mod_vhostdb_ldap.
49
50comment "ldap support needs a toolchain w/ wchar"
51	depends on !BR2_USE_WCHAR
52
53config BR2_PACKAGE_LIGHTTPD_LUA
54	bool "lua support"
55	depends on BR2_PACKAGE_LUA
56	help
57	  Enable Lua support. Needed to support mod_magnet
58
59config BR2_PACKAGE_LIGHTTPD_MAXMINDDB
60	bool "maxminddb support"
61	select BR2_PACKAGE_LIBMAXMINDDB
62	help
63	  Enable MaxMind GeoIP2 support. Needed to support mod_maxminddb
64
65config BR2_PACKAGE_LIGHTTPD_MYSQL
66	bool "mysql support"
67	depends on BR2_PACKAGE_MARIADB
68	help
69	  Enable mysql support for lighttpd mod_vhostdb_mysql.
70
71comment "mysql support needs mariadb"
72	depends on !BR2_PACKAGE_MARIADB
73
74config BR2_PACKAGE_LIGHTTPD_OPENSSL
75	bool "openssl support"
76	select BR2_PACKAGE_OPENSSL
77	help
78	  Enable OpenSSL support for lighttpd.
79
80config BR2_PACKAGE_LIGHTTPD_PAM
81	bool "pam authentication support"
82	default y
83	depends on BR2_PACKAGE_LINUX_PAM
84	help
85	  Enable PAM authentication support for lighttpd.
86
87config BR2_PACKAGE_LIGHTTPD_PCRE
88	bool "pcre support"
89	select BR2_PACKAGE_PCRE2
90	help
91	  Enable PCRE support. Needed to support mod_rewrite
92
93config BR2_PACKAGE_LIGHTTPD_PGSQL
94	bool "pgsql support"
95	depends on BR2_USE_MMU # postgresql
96	depends on BR2_USE_WCHAR # postgresql
97	depends on !BR2_OPTIMIZE_FAST # postgresql
98	select BR2_PACKAGE_POSTGRESQL
99	help
100	  Enable postgres support for lighttpd mod_vhostdb_pgsql.
101
102comment "pgsql support needs a toolchain w/ wchar"
103	depends on BR2_USE_MMU
104	depends on !BR2_USE_WCHAR
105
106comment "pgsql support can't be built with Optimize for fast"
107	depends on BR2_OPTIMIZE_FAST
108
109config BR2_PACKAGE_LIGHTTPD_WEBDAV
110	bool "webdav support"
111	select BR2_PACKAGE_LIBXML2
112	select BR2_PACKAGE_SQLITE
113	help
114	  Enable webdav support. Needed to support mod_webdav
115
116config BR2_PACKAGE_LIGHTTPD_ZLIB
117	bool "zlib support"
118	select BR2_PACKAGE_ZLIB
119	help
120	  Enable zlib support for lighttpd mod_deflate.
121
122config BR2_PACKAGE_LIGHTTPD_ZSTD
123	bool "zstd support"
124	select BR2_PACKAGE_ZSTD
125	help
126	  Enable zstd support for lighttpd mod_deflate.
127
128endif
129