FreeBSD Bugzilla – Attachment 203509 Details for
Bug 236959
www/squid: Broken with GSSAPI_MIT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build with GSSAPI (Take #3)
squid-fix-krb5.diff (text/plain), 4.54 KB, created by
Renato Botelho
on 2019-04-08 23:53:41 UTC
(
hide
)
Description:
Fix build with GSSAPI (Take #3)
Filename:
MIME Type:
Creator:
Renato Botelho
Created:
2019-04-08 23:53:41 UTC
Size:
4.54 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 498410) >+++ Makefile (working copy) >@@ -2,6 +2,7 @@ > > PORTNAME= squid > PORTVERSION= 4.6 >+PORTREVISION= 1 > CATEGORIES= www ipv6 > MASTER_SITES= http://www.squid-cache.org/Versions/v4/ \ > http://www2.us.squid-cache.org/Versions/v4/ \ >@@ -137,15 +138,21 @@ > --without-gss > > GSSAPI_BASE_USES= gssapi >-GSSAPI_BASE_CONFIGURE_ON= --with-heimdal-krb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} >+GSSAPI_BASE_CONFIGURE_ON= --with-heimdal-krb5=${GSSAPIBASEDIR} \ >+ ${GSSAPI_CONFIGURE_ARGS} \ >+ krb5_config=${GSSAPIBASEDIR}/bin/krb5-config > GSSAPI_BASE_PLIST_SUB= AUTH_KERB="" > > GSSAPI_HEIMDAL_USES= gssapi:heimdal >-GSSAPI_HEIMDAL_CONFIGURE_ON= --with-heimdal-krb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} >+GSSAPI_HEIMDAL_CONFIGURE_ON= --with-heimdal-krb5=${GSSAPIBASEDIR} \ >+ ${GSSAPI_CONFIGURE_ARGS} \ >+ krb5_config=${GSSAPIBASEDIR}/bin/krb5-config > GSSAPI_HEIMDAL_PLIST_SUB= AUTH_KERB="" > > GSSAPI_MIT_USES= gssapi:mit >-GSSAPI_MIT_CONFIGURE_ON= --with-mit-krb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} >+GSSAPI_MIT_CONFIGURE_ON= --with-mit-krb5=${GSSAPIBASEDIR} \ >+ ${GSSAPI_CONFIGURE_ARGS} \ >+ krb5_config=${GSSAPIBASEDIR}/bin/krb5-config > GSSAPI_MIT_PLIST_SUB= AUTH_KERB="" > > ARP_ACL_DESC= ARP/MAC/EUI based authentification >Index: files/patch-configure >=================================================================== >--- files/patch-configure (revision 498410) >+++ files/patch-configure (working copy) >@@ -1,6 +1,24 @@ >---- configure.orig 2018-07-02 03:32:06 UTC >+--- configure.orig 2019-02-19 03:04:42 UTC > +++ configure >-@@ -34345,7 +34345,7 @@ done >+@@ -26173,7 +26173,7 @@ else >+ ;; >+ *) >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+-for as_dir in $PATH >++for as_dir in $krb5confpatth >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+@@ -26321,7 +26321,7 @@ else >+ ;; >+ *) >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+-for as_dir in $PATH >++for as_dir in $krb5confpatth >+ do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+@@ -34701,7 +34701,7 @@ done > ## > > BUILD_HELPER="NIS" >@@ -9,7 +27,7 @@ > do : > as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` > ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " >-@@ -34360,8 +34360,10 @@ if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : >+@@ -34716,8 +34716,10 @@ if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : > #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 > _ACEOF > >@@ -22,7 +40,7 @@ > fi > > done >-@@ -34834,7 +34836,7 @@ done >+@@ -35190,7 +35192,7 @@ done > > # unconditionally requires crypt(3), for now > if test "x$ac_cv_func_crypt" != "x"; then >@@ -31,7 +49,7 @@ > do : > as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` > ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" >-@@ -37226,7 +37228,7 @@ for ac_header in \ >+@@ -37582,7 +37584,7 @@ for ac_header in \ > arpa/nameser.h \ > assert.h \ > bstring.h \ >@@ -40,7 +58,7 @@ > ctype.h \ > direct.h \ > errno.h \ >-@@ -37434,6 +37436,7 @@ ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" >+@@ -37790,6 +37792,7 @@ ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" > #include <netinet/ip.h> > #endif > #if HAVE_NETINET_IP_COMPAT_H >@@ -48,7 +66,7 @@ > #include <netinet/ip_compat.h> > #endif > #if HAVE_NETINET_IP_FIL_H >-@@ -41463,6 +41466,7 @@ if test "x$enable_ipf_transparent" != "xno" ; then >+@@ -41819,6 +41822,7 @@ if test "x$enable_ipf_transparent" != "xno" ; then > # include <sys/ioccom.h> > # include <netinet/in.h> > >@@ -56,7 +74,7 @@ > # include <netinet/ip_compat.h> > # include <netinet/ip_fil.h> > # include <netinet/ip_nat.h> >-@@ -41493,6 +41497,7 @@ else >+@@ -41849,6 +41853,7 @@ else > # include <sys/ioccom.h> > # include <netinet/in.h> > #undef minor_t >@@ -64,7 +82,7 @@ > # include <netinet/ip_compat.h> > # include <netinet/ip_fil.h> > # include <netinet/ip_nat.h> >-@@ -41537,6 +41542,7 @@ _ACEOF >+@@ -41893,6 +41898,7 @@ _ACEOF > ip_fil_compat.h \ > ip_fil.h \ > ip_nat.h \ >@@ -72,7 +90,7 @@ > netinet/ip_compat.h \ > netinet/ip_fil_compat.h \ > netinet/ip_fil.h \ >-@@ -41566,6 +41572,7 @@ ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" >+@@ -41922,6 +41928,7 @@ ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" > #if HAVE_IP_COMPAT_H > #include <ip_compat.h> > #elif HAVE_NETINET_IP_COMPAT_H >@@ -80,7 +98,7 @@ > #include <netinet/ip_compat.h> > #endif > #if HAVE_IP_FIL_H >-@@ -41629,8 +41636,7 @@ _ACEOF >+@@ -41985,8 +41992,7 @@ _ACEOF > > > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
garga
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 236959
:
203475
|
203477
| 203509