Skip to content

Commit

Permalink
www/squid: update to 6.8
Browse files Browse the repository at this point in the history
remove patch no longer needed
add patch to remove ifdef duplicate

PR:	277672
Approved by:	maintainer, bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D44431
  • Loading branch information
jadawin committed Mar 20, 2024
1 parent 9998881 commit df24358
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 28 deletions.
2 changes: 1 addition & 1 deletion 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/ \
Expand Down
6 changes: 3 additions & 3 deletions 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
8 changes: 4 additions & 4 deletions 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

Expand All @@ -12,15 +12,15 @@

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
+#define _WITH_CPU_SET_T
#include <sched.h>
#endif

@@ -54169,6 +54173,7 @@ else $as_nop
@@ -54020,6 +54024,7 @@ else $as_nop
# include <sys/ioccom.h>
# include <netinet/in.h>
#undef minor_t
Expand Down
6 changes: 3 additions & 3 deletions 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 */
Expand Down
4 changes: 2 additions & 2 deletions 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".
Expand Down
12 changes: 12 additions & 0 deletions 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 */
10 changes: 0 additions & 10 deletions www/squid/files/patch-src_base_RandomUuid.cc

This file was deleted.

6 changes: 3 additions & 3 deletions 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
Expand Down
4 changes: 2 additions & 2 deletions 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 */
Expand Down

0 comments on commit df24358

Please sign in to comment.