View | Details | Raw Unified | Return to bug 247397 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/squid/Makefile (-2 / +1 lines)
Lines 1-8 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	squid
3
PORTNAME=	squid
4
PORTVERSION=	4.11
4
PORTVERSION=	4.12
5
PORTREVISION=	2
6
CATEGORIES=	www
5
CATEGORIES=	www
7
MASTER_SITES=	http://www.squid-cache.org/Versions/v4/ \
6
MASTER_SITES=	http://www.squid-cache.org/Versions/v4/ \
8
		http://www2.us.squid-cache.org/Versions/v4/ \
7
		http://www2.us.squid-cache.org/Versions/v4/ \
(-)b/www/squid/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1588493552
1
TIMESTAMP = 1592516847
2
SHA256 (squid-4.11.tar.xz) = 4ed947612410263f57ad0e39bfd087e60fb714f028d7d3b0e469943efd34287d
2
SHA256 (squid-4.12.tar.xz) = f42a03c8b3dc020722c88bf1a87da8cb0c087b2f66b41d8256c77ee1b527e317
3
SIZE (squid-4.11.tar.xz) = 2447700
3
SIZE (squid-4.12.tar.xz) = 2450564
(-)b/www/squid/files/patch-configure (-55 / +5 lines)
Lines 1-6 Link Here
1
--- configure.orig	2020-04-19 12:39:06 UTC
1
--- configure.orig	2020-06-18 21:56:43 UTC
2
+++ configure
2
+++ configure
3
@@ -35077,7 +35077,7 @@ done
3
@@ -35092,7 +35092,7 @@ done
4
 ##
4
 ##
5
 
5
 
6
 BUILD_HELPER="NIS"
6
 BUILD_HELPER="NIS"
Lines 9-15 Link Here
9
 do :
9
 do :
10
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11
 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
11
 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
12
@@ -35092,8 +35092,10 @@ if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12
@@ -35107,8 +35107,10 @@ if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14
 _ACEOF
14
 _ACEOF
15
 
15
 
Lines 22-28 Link Here
22
 fi
22
 fi
23
 
23
 
24
 done
24
 done
25
@@ -35566,7 +35568,7 @@ done
25
@@ -35581,7 +35583,7 @@ done
26
 
26
 
27
   # unconditionally requires crypt(3), for now
27
   # unconditionally requires crypt(3), for now
28
   if test "x$ac_cv_func_crypt" != "x"; then
28
   if test "x$ac_cv_func_crypt" != "x"; then
Lines 31-37 Link Here
31
 do :
31
 do :
32
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
32
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
33
 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
33
 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
34
@@ -37958,7 +37960,7 @@ for ac_header in \
34
@@ -37973,7 +37975,7 @@ for ac_header in \
35
   arpa/nameser.h \
35
   arpa/nameser.h \
36
   assert.h \
36
   assert.h \
37
   bstring.h \
37
   bstring.h \
Lines 40-92 Link Here
40
   ctype.h \
40
   ctype.h \
41
   direct.h \
41
   direct.h \
42
   errno.h \
42
   errno.h \
43
@@ -38166,6 +38168,7 @@ ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" 
44
 #include <netinet/ip.h>
45
 #endif
46
 #if HAVE_NETINET_IP_COMPAT_H
47
+#include <net/if.h>	/* IFNAMSIZ */
48
 #include <netinet/ip_compat.h>
49
 #endif
50
 #if HAVE_NETINET_IP_FIL_H
51
@@ -42213,6 +42216,7 @@ if test "x$enable_ipf_transparent" != "xno" ; then
52
 #     include <sys/ioccom.h>
53
 #     include <netinet/in.h>
54
 
55
+#     include <net/if.h>	/* IFNAMSIZ */
56
 #     include <netinet/ip_compat.h>
57
 #     include <netinet/ip_fil.h>
58
 #     include <netinet/ip_nat.h>
59
@@ -42243,6 +42247,7 @@ else
60
 #       include <sys/ioccom.h>
61
 #       include <netinet/in.h>
62
 #undef minor_t
63
+#       include <net/if.h>	/* IFNAMSIZ */
64
 #       include <netinet/ip_compat.h>
65
 #       include <netinet/ip_fil.h>
66
 #       include <netinet/ip_nat.h>
67
@@ -42287,6 +42292,7 @@ _ACEOF
68
 	ip_fil_compat.h \
69
 	ip_fil.h \
70
 	ip_nat.h \
71
+	net/if.h \
72
 	netinet/ip_compat.h \
73
 	netinet/ip_fil_compat.h \
74
 	netinet/ip_fil.h \
75
@@ -42316,6 +42322,7 @@ ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" 
76
 #if HAVE_IP_COMPAT_H
77
 #include <ip_compat.h>
78
 #elif HAVE_NETINET_IP_COMPAT_H
79
+#include <net/if.h>	/* IFNAMSIZ */
80
 #include <netinet/ip_compat.h>
81
 #endif
82
 #if HAVE_IP_FIL_H
83
@@ -42379,8 +42386,7 @@ _ACEOF
84
 
85
 
86
 fi
87
-ac_fn_cxx_check_member "$LINENO" "struct natlookup" "nl_realipaddr.in6"
88
-   "ac_cv_member_struct_natlookup_nl_realipaddr_in6___" "
89
+ac_fn_cxx_check_member "$LINENO" "struct natlookup" "nl_realipaddr.in6" "ac_cv_member_struct_natlookup_nl_realipaddr_in6___" "
90
 #if USE_SOLARIS_IPFILTER_MINOR_T_HACK
91
 #define minor_t fubar
92
 #endif
(-)a/www/squid/files/patch-src_acl_external_eDirectory__userip_ext__edirectory__userip__acl.cc (-15 lines)
Removed Link Here
1
--- src/acl/external/eDirectory_userip/ext_edirectory_userip_acl.cc.orig	2020-04-19 12:38:51 UTC
2
+++ src/acl/external/eDirectory_userip/ext_edirectory_userip_acl.cc
3
@@ -69,6 +69,12 @@
4
 #ifdef HAVE_NETDB_H
5
 #include <netdb.h>
6
 #endif
7
+#ifdef HAVE_SYS_SOCKET_H
8
+#include <sys/socket.h>
9
+#endif
10
+#ifdef HAVE_NETINET_IN_H
11
+#include <netinet/in.h>
12
+#endif
13
 
14
 #ifdef HELPER_INPUT_BUFFER
15
 #define EDUI_MAXLEN     HELPER_INPUT_BUFFER
(-)a/www/squid/files/patch-src_acl_external_kerberos__ldap__group_support__krb5.cc (-19 lines)
Removed Link Here
1
--- src/acl/external/kerberos_ldap_group/support_krb5.cc.orig	2020-04-19 12:38:51 UTC
2
+++ src/acl/external/kerberos_ldap_group/support_krb5.cc
3
@@ -467,10 +467,15 @@ krb5_create_cache(char *domain, char *service_principa
4
                 }
5
 
6
                 // overwrite limitation of enctypes
7
+#if USE_HEIMDAL_KRB5
8
+                creds->session.keytype = 0;
9
+                if (creds->session.keyvalue.length>0)
10
+                    krb5_free_keyblock_contents(kparam.context, &creds->session);
11
+#else
12
                 creds->keyblock.enctype = 0;
13
                 if (creds->keyblock.contents)
14
                     krb5_free_keyblock_contents(kparam.context, &creds->keyblock);
15
-
16
+#endif
17
                 code = krb5_get_credentials(kparam.context, 0, kparam.cc[ccindex], creds, &tgt_creds);
18
                 if (code) {
19
                     k5_error("Error while getting tgt", code);

Return to bug 247397