From 2e3c56d6f892b6d13404f2418b4a11495ab9b103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Thu, 18 Apr 2024 12:56:46 +0200 Subject: groups.d/241.native_packages_inet.group: lighttpd: bump to v1.4.76 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- patches/lighttpd-1.4.73.local.patch | 18 ------------------ patches/lighttpd-1.4.73_pre.local.patch | 12 ------------ patches/lighttpd-1.4.76.local.patch | 18 ++++++++++++++++++ patches/lighttpd-1.4.76_pre.local.patch | 23 +++++++++++++++++++++++ 4 files changed, 41 insertions(+), 30 deletions(-) delete mode 100644 patches/lighttpd-1.4.73.local.patch delete mode 100644 patches/lighttpd-1.4.73_pre.local.patch create mode 100644 patches/lighttpd-1.4.76.local.patch create mode 100644 patches/lighttpd-1.4.76_pre.local.patch (limited to 'patches') diff --git a/patches/lighttpd-1.4.73.local.patch b/patches/lighttpd-1.4.73.local.patch deleted file mode 100644 index 50a2ce94..00000000 --- a/patches/lighttpd-1.4.73.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.73_pre.local.patch b/patches/lighttpd-1.4.73_pre.local.patch deleted file mode 100644 index 004f3b3e..00000000 --- a/patches/lighttpd-1.4.73_pre.local.patch +++ /dev/null @@ -1,12 +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 --git a/patches/lighttpd-1.4.76.local.patch b/patches/lighttpd-1.4.76.local.patch new file mode 100644 index 00000000..50a2ce94 --- /dev/null +++ b/patches/lighttpd-1.4.76.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.76_pre.local.patch b/patches/lighttpd-1.4.76_pre.local.patch new file mode 100644 index 00000000..55360673 --- /dev/null +++ b/patches/lighttpd-1.4.76_pre.local.patch @@ -0,0 +1,23 @@ +diff -ru lighttpd-1.4.76.orig/configure.ac lighttpd-1.4.76/configure.ac +--- lighttpd-1.4.76.orig/configure.ac 2024-04-11 07:30:19.000000000 +0200 ++++ lighttpd-1.4.76/configure.ac 2024-04-18 12:53:43.846262167 +0200 +@@ -61,7 +61,6 @@ + + dnl Checks for programs. + AC_PROG_CC +-AC_PROG_CC_C99 + AX_PROG_CC_FOR_BUILD + LT_PATH_LD + AC_PROG_INSTALL +diff -ru lighttpd-1.4.76.orig/src/Makefile.am lighttpd-1.4.76/src/Makefile.am +--- lighttpd-1.4.76.orig/src/Makefile.am 2024-04-11 07:30:19.000000000 +0200 ++++ lighttpd-1.4.76/src/Makefile.am 2024-04-18 12:45:07.642508927 +0200 +@@ -107,7 +107,7 @@ + lib_LTLIBRARIES += liblightcomp.la + liblightcomp_la_SOURCES=$(common_src) + liblightcomp_la_CFLAGS=$(AM_CFLAGS) $(LIBEV_CFLAGS) +-liblightcomp_la_LDFLAGS = $(common_ldflags) --export-all-symbols ++liblightcomp_la_LDFLAGS = $(common_ldflags) + liblightcomp_la_LIBADD = $(PCRE_LIB) $(CRYPTO_LIB) $(FAM_LIBS) $(LIBEV_LIBS) $(ATTR_LIB) $(WS2_32_LIB) + common_libadd = liblightcomp.la + if !LIGHTTPD_STATIC -- cgit v1.2.3