@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xaf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/squid/01_squid-gcc11.patch
- cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/squid/patch_to_2024-03-07.patch
cd $(DIR_APP) && autoreconf -vfi
cd $(DIR_APP)/libltdl && autoreconf -vfi
+++ /dev/null
---- src/auth/basic/NIS/nis_support.h Mon Mar 4 06:45:51 2024
-+++ src/auth/basic/NIS/nis_support.h Thu Mar 7 08:51:06 2024
-@@ -8,9 +8,6 @@
- #ifndef SQUID_SRC_AUTH_BASIC_NIS_NIS_SUPPORT_H
- #define SQUID_SRC_AUTH_BASIC_NIS_NIS_SUPPORT_H
-
--#ifndef SQUID_SRC_AUTH_BASIC_NIS_NIS_SUPPORT_H
--#define SQUID_SRC_AUTH_BASIC_NIS_NIS_SUPPORT_H
--
- extern char * get_nis_password(char *user, char *nisdomain, char *nismap);
-
- #endif /* SQUID_SRC_AUTH_BASIC_NIS_NIS_SUPPORT_H */
---- src/comm/TcpAcceptor.cc Mon Mar 4 06:45:51 2024
-+++ src/comm/TcpAcceptor.cc Thu Mar 7 08:51:06 2024
-@@ -381,7 +381,10 @@
- if (getsockname(sock, gai->ai_addr, &gai->ai_addrlen) != 0) {
- int xerrno = errno;
- Ip::Address::FreeAddr(gai);
-- throw TextException(ToSBuf("getsockname() failed to locate local-IP on ", details, ": ", xstrerr(xerrno)), Here());
-+ debugs(50, DBG_IMPORTANT, "ERROR: Closing accepted TCP connection after failing to obtain its local IP address" <<
-+ Debug::Extra << "accepted connection: " << details <<
-+ Debug::Extra << "getsockname(2) error: " << xstrerr(xerrno));
-+ return false;
- }
- details->local = *gai;
- Ip::Address::FreeAddr(gai);