# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/lighttpd/lighttpd.conf # Copyright (C) 2004 - 2023 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- if [ $prefix_auto = 1 ]; then prefix="opt/lighttpd" set_confopt fi var_append confopt ' ' "--enable-fastcgi" pkginstalled pcre && var_append confopt ' ' "--with-pcre" pkginstalled bzip2 && var_append confopt ' ' "--with-bzip2" pkginstalled openssl && var_append confopt ' ' "--with-openssl" if pkginstalled openldap; then pkgprefix -t openldap var_append confopt ' ' "--with-ldap" var_append LDAP_LIB ':' "$(pkgprefix libdir openldap)" var_append LBER_LIB ':' "$(pkgprefix libdir openldap)" export LDAP_LIB LBER_LIB fi if pkginstalled mysql; then var_append confopt ' ' "--with-mysql" fi if pkginstalled gdbm; then var_append confopt ' ' "--with-gdbm" fi if pkginstalled fam; then var_append confopt ' ' "--with-fam" fi if pkginstalled libmemcache; then var_append confopt ' ' "--with-memcache" fi if pkginstalled lua; then var_append confopt ' ' "--with-lua" fi # copy default config file hook_add postmake 5 "cp -vp doc/config/lighttpd.conf $root$sysconfdir/" # pcre cross-build support, patched configure.in atstage cross && hook_add preconf 5 autoconf