From 61ea9bb1a659fdef640879fb75bec7056090296f Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Fri, 21 Jan 2022 11:29:54 -0500 Subject: [PATCH] lighttpd: update to lighttpd 1.4.65 release hash * update to lighttpd 1.4.65 release hash * specify lua version w/ -Dlua_version=lua to avoid patching meson.build Signed-off-by: Glenn Strauss (cherry picked from commit db8205e5458e27152b02c57609f2224586843271) --- net/lighttpd/Makefile | 7 ++++--- net/lighttpd/patches/010-meson-lua.patch | 25 ------------------------ 2 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 net/lighttpd/patches/010-meson-lua.patch diff --git a/net/lighttpd/Makefile b/net/lighttpd/Makefile index c9a9cd421..e684b1981 100644 --- a/net/lighttpd/Makefile +++ b/net/lighttpd/Makefile @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lighttpd -PKG_VERSION:=1.4.64 +PKG_VERSION:=1.4.65 PKG_RELEASE:=1 # release candidate ~rcX testing; remove for release -#PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-1.4.64 +#PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-1.4.65 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://download.lighttpd.net/lighttpd/releases-1.4.x -PKG_HASH:=e1489d9fa7496fbf2e071c338b593b2300d38c23f1e5967e52c9ef482e1b0e26 +PKG_HASH:=bf0fa68a629fbc404023a912b377e70049331d6797bcbb4b3e8df4c3b42328be PKG_MAINTAINER:=W. Michael Petullo PKG_LICENSE:=BSD-3-Clause @@ -86,6 +86,7 @@ MESON_ARGS += \ -Dwith_libev=false \ -Dwith_libunwind=false \ -Dwith_lua=$(if $(CONFIG_PACKAGE_lighttpd-mod-magnet),true,false) \ + -Dlua_version=lua \ -Dwith_maxminddb=$(if $(CONFIG_PACKAGE_lighttpd-mod-maxminddb),true,false) \ -Dwith_mbedtls=$(if $(CONFIG_PACKAGE_lighttpd-mod-mbedtls),true,false) \ -Dwith_mysql=$(if $(CONFIG_PACKAGE_lighttpd-mod-vhostdb_mysql),true,false) \ diff --git a/net/lighttpd/patches/010-meson-lua.patch b/net/lighttpd/patches/010-meson-lua.patch deleted file mode 100644 index 16bce1e04..000000000 --- a/net/lighttpd/patches/010-meson-lua.patch +++ /dev/null @@ -1,25 +0,0 @@ -From f47d569311d51ec9ab5dad7452b43c1b5a8290b6 Mon Sep 17 00:00:00 2001 -From: Glenn Strauss -Date: Tue, 1 Dec 2020 16:41:58 -0500 -Subject: [PATCH] [PATCH] [meson] do not search for lua versions - -openwrt net/lighttpd/Makefile declares dependency on liblua, and not on -specific lua versions, so have meson.build look for 'lua' and not for -specific lua versions. - -Signed-off-by: Glenn Strauss ---- - src/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/src/meson.build -+++ b/src/meson.build -@@ -397,7 +397,7 @@ endif - liblua = [] - if get_option('with_lua') - found_lua = false -- foreach l: ['lua5.4', 'lua-5.4', 'lua5.3', 'lua-5.3', 'lua5.2', 'lua-5.2', 'lua5.1', 'lua-5.1', 'lua'] -+ foreach l: ['lua'] - if not(found_lua) - liblua = dependency(l, required: false) - if (liblua.found())