From 2b67f2b178638db2194883fbb3573195be722466 Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Thu, 28 Oct 2021 21:51:44 -0400 Subject: [PATCH] lighttpd: update to lighttpd 1.4.61 release hash also remove patches incorporated upstream into lighttpd 1.4.61 Signed-off-by: Glenn Strauss --- net/lighttpd/Makefile | 6 ++--- net/lighttpd/files/lighttpd.conf | 2 +- net/lighttpd/patches/010-meson-lua.patch | 2 +- net/lighttpd/patches/020-decls.patch | 34 ------------------------ 4 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 net/lighttpd/patches/020-decls.patch diff --git a/net/lighttpd/Makefile b/net/lighttpd/Makefile index 7286db3858..8e6687d81c 100644 --- a/net/lighttpd/Makefile +++ b/net/lighttpd/Makefile @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lighttpd -PKG_VERSION:=1.4.60 +PKG_VERSION:=1.4.61 PKG_RELEASE:=1 # release candidate ~rcX testing; remove for release -#PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-1.4.60 +#PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-1.4.61 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://download.lighttpd.net/lighttpd/releases-1.4.x -PKG_HASH:=4bb1dd859e541a3131e5be101557d2e1195b4129d3a849a3a6fbd21fe1c946f0 +PKG_HASH:=43f0d63d04a1b7c5b8aab07e0612e44ccad0afc0614bab784c5b019872363432 PKG_MAINTAINER:=W. Michael Petullo PKG_LICENSE:=BSD-3-Clause diff --git a/net/lighttpd/files/lighttpd.conf b/net/lighttpd/files/lighttpd.conf index 079d2a6884..64640779fa 100644 --- a/net/lighttpd/files/lighttpd.conf +++ b/net/lighttpd/files/lighttpd.conf @@ -28,7 +28,7 @@ server.feature-flags += ("server.graceful-shutdown-timeout" => 5) #include_shell "/usr/share/lighttpd/use-ipv6.pl" #dir-listing.encoding = "utf-8" -#server.dir-listing = "enable" +#dir-listing.activate = "enable" include "/etc/lighttpd/mime.conf" include "/etc/lighttpd/conf.d/*.conf" diff --git a/net/lighttpd/patches/010-meson-lua.patch b/net/lighttpd/patches/010-meson-lua.patch index 52e98e68e8..b67795ea1b 100644 --- a/net/lighttpd/patches/010-meson-lua.patch +++ b/net/lighttpd/patches/010-meson-lua.patch @@ -14,7 +14,7 @@ Signed-off-by: Glenn Strauss --- a/src/meson.build +++ b/src/meson.build -@@ -388,7 +388,7 @@ endif +@@ -390,7 +390,7 @@ endif liblua = [] if get_option('with_lua') found_lua = false diff --git a/net/lighttpd/patches/020-decls.patch b/net/lighttpd/patches/020-decls.patch deleted file mode 100644 index c1d15cfb87..0000000000 --- a/net/lighttpd/patches/020-decls.patch +++ /dev/null @@ -1,34 +0,0 @@ -From cf4dfbe15ef8ead3a7eda974af7d804d447f00db Mon Sep 17 00:00:00 2001 -From: Glenn Strauss -Date: Mon, 4 Oct 2021 09:51:22 -0400 -Subject: [PATCH] [core] define __BEGIN_DECLS, __END_DECLS if needed - ---- - src/first.h | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - ---- a/src/first.h -+++ b/src/first.h -@@ -39,6 +39,22 @@ - #include - #include - -+#ifndef __BEGIN_DECLS -+#ifdef __cplusplus -+#define __BEGIN_DECLS extern "C" { -+#else -+#define __BEGIN_DECLS -+#endif -+#endif -+ -+#ifndef __END_DECLS -+#ifdef __cplusplus -+#define __END_DECLS } -+#else -+#define __END_DECLS -+#endif -+#endif -+ - #if defined HAVE_STDINT_H - # include - #elif defined HAVE_INTTYPES_H -- 2.30.2