diff --git a/www/squid/Makefile b/www/squid/Makefile --- a/www/squid/Makefile +++ b/www/squid/Makefile @@ -1,5 +1,5 @@ PORTNAME= squid -DISTVERSION= 6.7 +DISTVERSION= 6.8 CATEGORIES= www MASTER_SITES= http://www2.pl.squid-cache.org/Versions/v6/ \ http://www1.il.squid-cache.org/Versions/v6/ \ diff --git a/www/squid/distinfo b/www/squid/distinfo --- a/www/squid/distinfo +++ b/www/squid/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1708443648 -SHA256 (squid-6.7.tar.xz) = e14daa4eae41925d1ae3f08e64439a6aaa3011bdced686628b8de697d5ab8428 -SIZE (squid-6.7.tar.xz) = 2427468 +TIMESTAMP = 1710267260 +SHA256 (squid-6.8.tar.xz) = 11cc5650b51809d99483ccfae24744a2e51cd16199f5ff0c917e84fce695870f +SIZE (squid-6.8.tar.xz) = 2547796 diff --git a/www/squid/files/patch-configure b/www/squid/files/patch-configure --- a/www/squid/files/patch-configure +++ b/www/squid/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig 2023-02-28 09:24:52 UTC +--- configure.orig 2024-03-04 05:50:28 UTC +++ configure -@@ -44124,7 +44124,10 @@ _ACEOF +@@ -43985,7 +43985,10 @@ _ACEOF else $as_nop @@ -12,7 +12,7 @@ fi -@@ -50983,6 +50986,7 @@ fi +@@ -50834,6 +50837,7 @@ fi ac_fn_cxx_check_type "$LINENO" "cpu_set_t" "ac_cv_type_cpu_set_t" " #if HAVE_SCHED_H @@ -20,7 +20,7 @@ #include #endif -@@ -54169,6 +54173,7 @@ else $as_nop +@@ -54020,6 +54024,7 @@ else $as_nop # include # include #undef minor_t diff --git a/www/squid/files/patch-include_squid.h b/www/squid/files/patch-include_squid.h --- a/www/squid/files/patch-include_squid.h +++ b/www/squid/files/patch-include_squid.h @@ -1,8 +1,8 @@ ---- include/squid.h.orig 2023-02-28 09:10:25 UTC +--- include/squid.h.orig 2024-03-04 05:45:51 UTC +++ include/squid.h @@ -9,6 +9,7 @@ - #ifndef SQUID_CONFIG_H - #define SQUID_CONFIG_H + #ifndef SQUID_INCLUDE_SQUID_H + #define SQUID_INCLUDE_SQUID_H +#define _WITH_CPU_SET_T #include "autoconf.h" /* For GNU autoconf variables */ diff --git a/www/squid/files/patch-src-cf.data.pre b/www/squid/files/patch-src-cf.data.pre --- a/www/squid/files/patch-src-cf.data.pre +++ b/www/squid/files/patch-src-cf.data.pre @@ -1,6 +1,6 @@ ---- src/cf.data.pre.orig 2023-02-28 09:10:25 UTC +--- src/cf.data.pre.orig 2024-03-04 05:45:51 UTC +++ src/cf.data.pre -@@ -5507,6 +5507,10 @@ DEFAULT: @DEFAULT_PID_FILE@ +@@ -5526,6 +5526,10 @@ DEFAULT: @DEFAULT_PID_FILE@ LOC: Config.pidFilename DOC_START A filename to write the process-id to. To disable, enter "none". diff --git a/www/squid/files/patch-src_auth_basic_NIS_nis__support.h b/www/squid/files/patch-src_auth_basic_NIS_nis__support.h new file mode 100644 --- /dev/null +++ b/www/squid/files/patch-src_auth_basic_NIS_nis__support.h @@ -0,0 +1,12 @@ +--- src/auth/basic/NIS/nis_support.h.orig 2024-03-04 05:45:51 UTC ++++ src/auth/basic/NIS/nis_support.h +@@ -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 */ diff --git a/www/squid/files/patch-src_base_RandomUuid.cc b/www/squid/files/patch-src_base_RandomUuid.cc deleted file mode 100644 --- a/www/squid/files/patch-src_base_RandomUuid.cc +++ /dev/null @@ -1,10 +0,0 @@ ---- src/base/RandomUuid.cc.orig 2023-02-28 09:10:25 UTC -+++ src/base/RandomUuid.cc -@@ -13,6 +13,7 @@ - #include "base/TextException.h" - #include "defines.h" - -+#include - #include - - static_assert(sizeof(RandomUuid) == 128/8, "RandomUuid has RFC 4122-prescribed 128-bit size"); diff --git a/www/squid/files/patch-src_enums.h b/www/squid/files/patch-src_enums.h --- a/www/squid/files/patch-src_enums.h +++ b/www/squid/files/patch-src_enums.h @@ -1,8 +1,8 @@ ---- src/enums.h.orig 2020-04-19 10:50:48 UTC +--- src/enums.h.orig 2024-03-04 05:45:51 UTC +++ src/enums.h @@ -9,6 +9,9 @@ - #ifndef SQUID_ENUMS_H - #define SQUID_ENUMS_H + #ifndef SQUID_SRC_ENUMS_H + #define SQUID_SRC_ENUMS_H +/* Namespace pollution from fcntl.h as of FreeBSD r345982 */ +#undef FD_NONE diff --git a/www/squid/files/patch-src_ip_Intercept.cc b/www/squid/files/patch-src_ip_Intercept.cc --- a/www/squid/files/patch-src_ip_Intercept.cc +++ b/www/squid/files/patch-src_ip_Intercept.cc @@ -1,6 +1,6 @@ ---- src/ip/Intercept.cc.orig 2023-02-28 09:10:25 UTC +--- src/ip/Intercept.cc.orig 2024-03-04 05:45:51 UTC +++ src/ip/Intercept.cc -@@ -217,10 +217,10 @@ Ip::Intercept::IpfInterception(const Comm::ConnectionP +@@ -218,10 +218,10 @@ Ip::Intercept::IpfInterception(const Comm::ConnectionP newConn->remote.getInAddr(natLookup.nl_outipaddr.in4); } #else /* HAVE_STRUCT_NATLOOKUP_NL_INIPADDR_IN6 */