diff options
| author | Glenn Strauss <gstrauss@gluelogic.com> | 2023-01-20 20:07:36 -0500 |
|---|---|---|
| committer | Glenn Strauss <gstrauss@gluelogic.com> | 2023-04-14 13:58:33 -0400 |
| commit | b6f0f40d7ada4e9e3b83efaaa44fa2dbdf0cbc66 (patch) | |
| tree | 858554174a1e588e175e324f52462e4ef72dc80d /net | |
| parent | 4659527c3510a461486403e61682b0b1cb5fd1d9 (diff) | |
lighttpd: add lighttpd-mod-webdav_min package
add lighttpd-mod-webdav_min package alternative to lighttpd-mod-webdav
lighttpd-mod-webdav_min is more minimal than full lighttpd-mod-webdav.
lighttpd-mod-webdav_min does not support PROPPATCH, LOCK, UNLOCK, and
by not supporting those methods, removes dependencies on libxml2,
libsqlite3, and libuuid.
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit ed6fe528c1efc549891144967eefe51a73999511)
Diffstat (limited to 'net')
| -rw-r--r-- | net/lighttpd/Makefile | 1 | ||||
| -rw-r--r-- | net/lighttpd/patches/020-meson-mod_webdav_min.patch | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/net/lighttpd/Makefile b/net/lighttpd/Makefile index c2fb0ef9f..e91bcb08c 100644 --- a/net/lighttpd/Makefile +++ b/net/lighttpd/Makefile @@ -276,6 +276,7 @@ $(eval $(call BuildPlugin,vhostdb_ldap,Virtual Host Database (LDAP),lighttpd-mod $(eval $(call BuildPlugin,vhostdb_mysql,Virtual Host Database (MariaDB),lighttpd-mod-vhostdb +PACKAGE_lighttpd-mod-vhostdb_mysql:libmariadb,30)) $(eval $(call BuildPlugin,vhostdb_pgsql,Virtual Host Database (PostgreSQL),lighttpd-mod-vhostdb +PACKAGE_lighttpd-mod-vhostdb_pgsql:libpq,30)) $(eval $(call BuildPlugin,webdav,WebDAV,+PACKAGE_lighttpd-mod-webdav:libsqlite3 +PACKAGE_lighttpd-mod-webdav:libuuid +PACKAGE_lighttpd-mod-webdav:libxml2,30)) +$(eval $(call BuildPlugin,webdav_min,WebDAV,,30)) $(eval $(call BuildPlugin,wolfssl,TLS using wolfssl,@LIGHTTPD_SSL +PACKAGE_lighttpd-mod-wolfssl:libwolfssl,30)) $(eval $(call BuildPlugin,wstunnel,Websocket tunneling,$(if $(cryptolib),+PACKAGE_lighttpd-mod-wstunnel:$(cryptolib),),30)) diff --git a/net/lighttpd/patches/020-meson-mod_webdav_min.patch b/net/lighttpd/patches/020-meson-mod_webdav_min.patch new file mode 100644 index 000000000..6c7ab078e --- /dev/null +++ b/net/lighttpd/patches/020-meson-mod_webdav_min.patch @@ -0,0 +1,28 @@ +From fe6895e5eb2c17ddad6e95faaac7d56d4dd73256 Mon Sep 17 00:00:00 2001 +From: Glenn Strauss <gstrauss@gluelogic.com> +Date: Fri, 20 Jan 2023 18:48:14 -0500 +Subject: [PATCH] [meson] mod_webdav_min w/o deps: xml2 sqlite3 uuid + +--- + src/meson.build | 8 ++++++++ + 1 file changed, 8 insertions(+) + +--- a/src/meson.build ++++ b/src/meson.build +@@ -865,6 +865,16 @@ if libsasl.found() + ] + endif + ++modules += [ ++ [ 'mod_webdav_min', [ 'mod_webdav.c' ], ++ [ libelftc, ++ declare_dependency(compile_args: [ ++ '-DMOD_WEBDAV_BUILD_MINIMAL', ++ '-Dmod_webdav_plugin_init=mod_webdav_min_plugin_init' ] ) ++ ] ++ ] ++] ++ + foreach mod: modules + mod_name = mod.get(0) + mod_sources = mod.get(1) |
