From 11ea53275f5ba08e4ce01804774af2cbce5cad57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Wed, 15 Nov 2023 21:29:35 +0100 Subject: groups.d/241.native_packages_inet.group: lighttpd: bump to v1.4.73 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- groups.d/241.native_packages_inet.group | 5 +++-- patches/lighttpd-1.4.72.local.patch | 18 ------------------ patches/lighttpd-1.4.72_pre.local.patch | 33 --------------------------------- patches/lighttpd-1.4.73.local.patch | 18 ++++++++++++++++++ patches/lighttpd-1.4.73_pre.local.patch | 33 +++++++++++++++++++++++++++++++++ 5 files changed, 54 insertions(+), 53 deletions(-) delete mode 100644 patches/lighttpd-1.4.72.local.patch delete mode 100644 patches/lighttpd-1.4.72_pre.local.patch create mode 100644 patches/lighttpd-1.4.73.local.patch create mode 100644 patches/lighttpd-1.4.73_pre.local.patch diff --git a/groups.d/241.native_packages_inet.group b/groups.d/241.native_packages_inet.group index a3490065..dae1088e 100644 --- a/groups.d/241.native_packages_inet.group +++ b/groups.d/241.native_packages_inet.group @@ -128,11 +128,12 @@ gl_cv_ld_output_def=no"}; : ${PKG_LDNS_CONFIGURE_ARGS_EXTRA:="--with-ssl=${PREFIX_NATIVE} --disable-dane-ta-usage --disable-gost --with-drill --with-examples"}; : ${PKG_LDNS_MAKEFLAGS_PARALLELISE:="-j1"}; : ${PKG_LIGHTTPD_DEPENDS:="bzip2 pcre libressl libsasl2 libz gnutls"}; -: ${PKG_LIGHTTPD_SHA256SUM:=f7cade4d69b754a0748c01463c33cd8b456ca9cc03bb09e85a71bcbcd54e55ec}; -: ${PKG_LIGHTTPD_VERSION:=1.4.72}; +: ${PKG_LIGHTTPD_SHA256SUM:=818816d0b314b0aa8728a7076513435f6d5eb227f3b61323468e1f10dbe84ca8}; +: ${PKG_LIGHTTPD_VERSION:=1.4.73}; : ${PKG_LIGHTTPD_URL:=https://download.lighttpd.net/lighttpd/releases-${PKG_LIGHTTPD_VERSION%.*}.x/lighttpd-${PKG_LIGHTTPD_VERSION}.tar.xz}; : ${PKG_LIGHTTPD_CONFIGURE_ARGS_EXTRA:="--with-pcre2 --with-bzip2 --with-openssl --with-gnutls --with-libxml --with-sasl"}; : ${PKG_LIGHTTPD_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/lua5.4"}; +: ${PKG_LIGHTTPD_CONFIG_CACHE_EXTRA:="ac_cv_func_copy_file_range=no"}; : ${PKG_LINKS_DEPENDS:="bzip2 libz libpng libX11 libressl tiff libjpeg_turbo xz zstd"}; : ${PKG_LINKS_SHA256SUM:=2fd5499b13dee59457c132c167b8495c40deda75389489c6cccb683193f454b4}; : ${PKG_LINKS_VERSION:=2.28}; diff --git a/patches/lighttpd-1.4.72.local.patch b/patches/lighttpd-1.4.72.local.patch deleted file mode 100644 index 50a2ce94..00000000 --- a/patches/lighttpd-1.4.72.local.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- lighttpd-1.4.45/src/network.c.orig 2017-01-14 05:05:17.000000000 +0000 -+++ lighttpd-1.4.45/src/network.c 2018-02-17 20:39:33.920000000 +0000 -@@ -53,6 +53,7 @@ - void - network_accept_tcp_nagle_disable (const int fd) - { -+#ifndef __midipix__ - static int noinherit_tcpnodelay = -1; - int opt; - -@@ -70,6 +71,7 @@ - - opt = 1; - (void)setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof(opt)); -+#endif - } - - static handler_t network_server_handle_fdevent(server *srv, void *context, int revents) { diff --git a/patches/lighttpd-1.4.72_pre.local.patch b/patches/lighttpd-1.4.72_pre.local.patch deleted file mode 100644 index 3a114822..00000000 --- a/patches/lighttpd-1.4.72_pre.local.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -ru lighttpd-1.4.70.orig/src/Makefile.in lighttpd-1.4.70/src/Makefile.in ---- lighttpd-1.4.70.orig/src/Makefile.in 2023-05-10 09:21:16.000000000 +0200 -+++ lighttpd-1.4.70/src/Makefile.in 2023-05-21 14:12:46.984527740 +0200 -@@ -1469,7 +1469,7 @@ - @NO_RDYNAMIC_TRUE@common_ldflags = -avoid-version -no-undefined - @NO_RDYNAMIC_TRUE@liblightcomp_la_SOURCES = $(common_src) - @NO_RDYNAMIC_TRUE@liblightcomp_la_CFLAGS = $(AM_CFLAGS) $(LIBEV_CFLAGS) --@NO_RDYNAMIC_TRUE@liblightcomp_la_LDFLAGS = $(common_ldflags) --export-all-symbols -+@NO_RDYNAMIC_TRUE@liblightcomp_la_LDFLAGS = $(common_ldflags) - @NO_RDYNAMIC_TRUE@liblightcomp_la_LIBADD = $(PCRE_LIB) $(CRYPTO_LIB) $(FAM_LIBS) $(LIBEV_LIBS) $(ATTR_LIB) $(WS2_32_LIB) - @NO_RDYNAMIC_FALSE@common_libadd = - @NO_RDYNAMIC_TRUE@common_libadd = liblightcomp.la -diff -ru lighttpd-1.4.68.orig/configure lighttpd-1.4.68/configure ---- lighttpd-1.4.68.orig/configure 2023-01-03 14:05:40.000000000 +0100 -+++ lighttpd-1.4.68/configure 2023-01-07 13:13:44.702656206 +0100 -@@ -18388,7 +18388,7 @@ - ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then -- pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 3.3.0" 2>/dev/null` -+ pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs-only-l "gnutls >= 3.3.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes - else - pkg_failed=yes -@@ -18771,7 +18771,7 @@ - ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then -- pkg_cv_PCRE2_LIBS=`$PKG_CONFIG --libs "libpcre2-8" 2>/dev/null` -+ pkg_cv_PCRE2_LIBS=`$PKG_CONFIG --libs-only-l "libpcre2-8" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes - else - pkg_failed=yes diff --git a/patches/lighttpd-1.4.73.local.patch b/patches/lighttpd-1.4.73.local.patch new file mode 100644 index 00000000..50a2ce94 --- /dev/null +++ b/patches/lighttpd-1.4.73.local.patch @@ -0,0 +1,18 @@ +--- lighttpd-1.4.45/src/network.c.orig 2017-01-14 05:05:17.000000000 +0000 ++++ lighttpd-1.4.45/src/network.c 2018-02-17 20:39:33.920000000 +0000 +@@ -53,6 +53,7 @@ + void + network_accept_tcp_nagle_disable (const int fd) + { ++#ifndef __midipix__ + static int noinherit_tcpnodelay = -1; + int opt; + +@@ -70,6 +71,7 @@ + + opt = 1; + (void)setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof(opt)); ++#endif + } + + static handler_t network_server_handle_fdevent(server *srv, void *context, int revents) { diff --git a/patches/lighttpd-1.4.73_pre.local.patch b/patches/lighttpd-1.4.73_pre.local.patch new file mode 100644 index 00000000..3a114822 --- /dev/null +++ b/patches/lighttpd-1.4.73_pre.local.patch @@ -0,0 +1,33 @@ +diff -ru lighttpd-1.4.70.orig/src/Makefile.in lighttpd-1.4.70/src/Makefile.in +--- lighttpd-1.4.70.orig/src/Makefile.in 2023-05-10 09:21:16.000000000 +0200 ++++ lighttpd-1.4.70/src/Makefile.in 2023-05-21 14:12:46.984527740 +0200 +@@ -1469,7 +1469,7 @@ + @NO_RDYNAMIC_TRUE@common_ldflags = -avoid-version -no-undefined + @NO_RDYNAMIC_TRUE@liblightcomp_la_SOURCES = $(common_src) + @NO_RDYNAMIC_TRUE@liblightcomp_la_CFLAGS = $(AM_CFLAGS) $(LIBEV_CFLAGS) +-@NO_RDYNAMIC_TRUE@liblightcomp_la_LDFLAGS = $(common_ldflags) --export-all-symbols ++@NO_RDYNAMIC_TRUE@liblightcomp_la_LDFLAGS = $(common_ldflags) + @NO_RDYNAMIC_TRUE@liblightcomp_la_LIBADD = $(PCRE_LIB) $(CRYPTO_LIB) $(FAM_LIBS) $(LIBEV_LIBS) $(ATTR_LIB) $(WS2_32_LIB) + @NO_RDYNAMIC_FALSE@common_libadd = + @NO_RDYNAMIC_TRUE@common_libadd = liblightcomp.la +diff -ru lighttpd-1.4.68.orig/configure lighttpd-1.4.68/configure +--- lighttpd-1.4.68.orig/configure 2023-01-03 14:05:40.000000000 +0100 ++++ lighttpd-1.4.68/configure 2023-01-07 13:13:44.702656206 +0100 +@@ -18388,7 +18388,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 3.3.0" 2>/dev/null` ++ pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs-only-l "gnutls >= 3.3.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -18771,7 +18771,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_PCRE2_LIBS=`$PKG_CONFIG --libs "libpcre2-8" 2>/dev/null` ++ pkg_cv_PCRE2_LIBS=`$PKG_CONFIG --libs-only-l "libpcre2-8" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes -- cgit v1.2.3