diff options
Diffstat (limited to 'www/squid')
-rw-r--r-- | www/squid/Makefile | 21 | ||||
-rw-r--r-- | www/squid/distinfo | 6 | ||||
-rw-r--r-- | www/squid/files/patch-configure | 34 | ||||
-rw-r--r-- | www/squid/files/patch-src_cf.data.pre (renamed from www/squid/files/patch-src-cf.data.pre) | 4 | ||||
-rw-r--r-- | www/squid/files/squid.in | 17 |
5 files changed, 36 insertions, 46 deletions
diff --git a/www/squid/Makefile b/www/squid/Makefile index 33b326d4413a..43984fbbbe58 100644 --- a/www/squid/Makefile +++ b/www/squid/Makefile @@ -1,12 +1,7 @@ PORTNAME= squid -DISTVERSION= 6.12 -PORTREVISION= 1 +DISTVERSION= 6.13 CATEGORIES= www -MASTER_SITES= http://www2.pl.squid-cache.org/Versions/v6/ \ - http://www1.il.squid-cache.org/Versions/v6/ \ - http://www2.gr.squid-cache.org/Versions/v6/ \ - http://ca2.squid-cache.org/Versions/v6/ \ - https://www.squid-cache.org/Versions/v6/ +MASTER_SITES= https://github.com/${PORTNAME}-cache/${PORTNAME}/releases/download/${PORTNAME:tu}_${DISTVERSION:S|.|_|g}/ PATCH_SITES= http://www2.pl.squid-cache.org/%SUBDIR%/ \ http://www1.il.squid-cache.org/%SUBDIR%/ \ @@ -17,7 +12,8 @@ PATCH_SITE_SUBDIR= Versions/v6/changesets MAINTAINER= timp87@gmail.com COMMENT= HTTP Caching Proxy -WWW= https://www.squid-cache.org/ +WWW= https://www.squid-cache.org/ \ + https://github.com/squid-cache/squid/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING @@ -209,9 +205,11 @@ WCCP_CONFIGURE_ENABLE= wccp MYDOCS= QUICKSTART README RELEASENOTES.html doc/debug-sections.txt change_files= ChangeLog errors/Makefile.am errors/Makefile.in \ - src/auth/basic/SMB_LM/README.html src/Makefile.am \ - src/Makefile.in src/cf_gen.cc src/squid.8.in \ - test-suite/Makefile.in tools/Makefile.am tools/Makefile.in + src/auth/basic/SMB_LM/README.html \ + src/Makefile.am src/Makefile.in \ + src/cf_gen.cc src/squid.8.in \ + test-suite/Makefile.in test-suite/Makefile.am \ + tools/Makefile.am tools/Makefile.in .include <bsd.port.options.mk> @@ -223,6 +221,7 @@ EXTERNAL_ACL+= file_userip unix_group delayer # POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too: .if ${PORT_OPTIONS:MAUTH_NIS} && !defined(NO_NIS) && !defined(WITHOUT_NIS) BASIC_AUTH+= NIS +CPPFLAGS+= -DBOOL_DEFINED .endif # POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too: diff --git a/www/squid/distinfo b/www/squid/distinfo index a716d8c3cf74..3482b7d60f5c 100644 --- a/www/squid/distinfo +++ b/www/squid/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1733684468 -SHA256 (squid-6.12.tar.xz) = f3df3abb2603a513266f24a5d4699a9f0d76b9f554d1848b67f9c51cd3b3cb50 -SIZE (squid-6.12.tar.xz) = 2548220 +TIMESTAMP = 1749986346 +SHA256 (squid-6.13.tar.xz) = 232e0567946ccc0115653c3c18f01e83f2d9cc49c43d9dead8b319af0b35ad52 +SIZE (squid-6.13.tar.xz) = 2548680 diff --git a/www/squid/files/patch-configure b/www/squid/files/patch-configure index c98cda36c325..0aa171813c01 100644 --- a/www/squid/files/patch-configure +++ b/www/squid/files/patch-configure @@ -1,27 +1,15 @@ ---- configure.orig 2024-10-11 07:24:17 UTC +--- configure.orig 2025-02-01 11:08:28 UTC +++ configure -@@ -29452,7 +29452,7 @@ fi - fi +@@ -43956,7 +43956,7 @@ BUILD_HELPER="NIS" + ## - --if test "x$with_nettle" != "xno"] -+if test "x$with_nettle" != "xno" - then : - - -@@ -44043,7 +44043,10 @@ else $as_nop - - else $as_nop - -- BUILD_HELPER="" -+# XXX: On FreeBSD we have to do this to make NIS work -+# until https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188247 -+# is resolved. -+ BUILD_HELPER="NIS" - - fi - -@@ -50892,6 +50895,7 @@ ac_fn_cxx_check_type "$LINENO" "cpu_set_t" "ac_cv_type + BUILD_HELPER="NIS" +- for ac_header in sys/types.h rpc/rpc.h rpcsvc/ypclnt.h rpcsvc/yp_prot.h crypt.h ++ for ac_header in sys/types.h rpc/rpc.h rpcsvc/ypclnt.h rpcsvc/yp_prot.h rpcsvc/crypt.h + do : + as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` + ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " +@@ -50825,6 +50825,7 @@ ac_fn_cxx_check_type "$LINENO" "cpu_set_t" "ac_cv_type ac_fn_cxx_check_type "$LINENO" "cpu_set_t" "ac_cv_type_cpu_set_t" " #if HAVE_SCHED_H @@ -29,7 +17,7 @@ #include <sched.h> #endif -@@ -53860,6 +53864,7 @@ else $as_nop +@@ -53793,6 +53794,7 @@ else $as_nop # include <sys/ioccom.h> # include <netinet/in.h> #undef minor_t diff --git a/www/squid/files/patch-src-cf.data.pre b/www/squid/files/patch-src_cf.data.pre index bfcdb4b2bc8a..5d2e4ecc1086 100644 --- 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 2024-03-04 05:45:51 UTC +--- src/cf.data.pre.orig 2025-01-31 08:52:43 UTC +++ src/cf.data.pre -@@ -5526,6 +5526,10 @@ DEFAULT: @DEFAULT_PID_FILE@ +@@ -5552,6 +5552,10 @@ DOC_START LOC: Config.pidFilename DOC_START A filename to write the process-id to. To disable, enter "none". diff --git a/www/squid/files/squid.in b/www/squid/files/squid.in index e8ea315cc356..b1ba8938bf56 100644 --- a/www/squid/files/squid.in +++ b/www/squid/files/squid.in @@ -60,14 +60,16 @@ rcvar=squid_enable # Make sure that we invoke squid with "-f ${squid_conf}"; define this # variable early so reload_cmd and stop_precmd pick it up: -extra_commands="reload configtest" -reload_cmd=squid_reload +# Workaround for https://bugs.squid-cache.org/show_bug.cgi?id=5390 until squid-7 is ported +#extra_commands="reload configtest" +#reload_cmd=squid_reload start_precmd=squid_prestart start_postcmd=squid_getpid -stop_precmd=squid_prestop -configtest_cmd=squid_configtest -reload_precmd=squid_configtest -restart_precmd=squid_configtest +# Workaround for https://bugs.squid-cache.org/show_bug.cgi?id=5390 until squid-7 is ported +#stop_precmd=squid_prestop +#configtest_cmd=squid_configtest +#reload_precmd=squid_configtest +#restart_precmd=squid_configtest # squid(8) will not start if ${squid_conf} is not present so try # to catch that beforehand via ${required_files} rather than make @@ -128,7 +130,8 @@ squid_prestart() return 0 fi - squid_configtest + # Workaround for https://bugs.squid-cache.org/show_bug.cgi?id=5390 until squid-7 is ported + #squid_configtest } squid_reload() |