This patch updates lighttpd to the latest version and enables the linux-sendfile call for lighttpd.
Index: feeds/packages/net/lighttpd/Makefile =================================================================== --- feeds/packages/net/lighttpd/Makefile (revision 36664) +++ feeds/packages/net/lighttpd/Makefile (working copy) @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lighttpd -PKG_VERSION:=1.4.30 +PKG_VERSION:=1.4.32 PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://download.lighttpd.net/lighttpd/releases-1.4.x -PKG_MD5SUM:=4630517b8342d4ec0a2d61a0a9e05c82 +PKG_MD5SUM:=e5a6f57fc371a10646ff1a57056fa9c0 PKG_FIXUP:=autoreconf PKG_INSTALL:=1 @@ -266,6 +266,8 @@ $(call Build/Configure/Default) # XXX: override pcre (mis)detection by ./configure when cross-compiling echo "#define HAVE_LIBPCRE 1" >>$(PKG_BUILD_DIR)/config.h echo "#define HAVE_PCRE_H 1" >>$(PKG_BUILD_DIR)/config.h + echo "#undef HAVE_SENDFILE_BROKEN" >>$(PKG_BUILD_DIR)/config.h + echo "#define HAVE_SEND_FILE 1" >>$(PKG_BUILD_DIR)/config.h endef define Package/lighttpd/conffiles Index: feeds/packages/net/lighttpd/files/lighttpd.conf =================================================================== --- feeds/packages/net/lighttpd/files/lighttpd.conf (revision 36664) +++ feeds/packages/net/lighttpd/files/lighttpd.conf (working copy) @@ -22,7 +22,8 @@ #) # force use of the "write" backend (closes: #2401) -server.network-backend = "write" +server.network-backend = "linux-sendfile" +server.event-handler = "linux-sysepoll" ## a static document-root, for virtual-hosting take look at the ## server.virtual-* options _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel