ports/51080: Fixes for Kerberos support in Postgresql

Andy Gerweck andy at gerweck.dyndns.org
Thu Apr 17 06:50:20 UTC 2003


>Number:         51080
>Category:       ports
>Synopsis:       Fixes for Kerberos support in Postgresql
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 16 23:50:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andy Gerweck
>Release:        FreeBSD 5.0-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD gerweck.dyndns.org 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #9: Wed Apr 16 19:46:25 PDT 2003 root at gerweck.dyndns.org:/usr/obj/usr/src/sys/ENRIQUE i386


	
>Description:
The major problem is that the MIT kerberos ports conflict in terrible
ways with the OS libraries.  The port tries to deal with this, but it
doesn't actually set the variable it needs to pass the LDFLAGS through.

Some of the detection stuff also needs bsd.port.pre.mk to work at all.

There's a repeated optimization switch, for no apparent reason.
	
>How-To-Repeat:
	
>Fix:

	

--- pgsql.diff begins here ---
10c10
< PORTREVISION=	1
---
> PORTREVISION=	2
49a50
> CONFIGURE_ENV=  LDFLAGS="${LDFLAGS}"
89a91
> .include <bsd.port.pre.mk>
106,109d107
< .if defined(WITH_OPTIMIZED_CFLAGS)
< CFLAGS+= -O3 -funroll-loops
< .endif
< 
160a159,174
> .if defined(WITH_MIT_KRB5) && defined(WITH_HEIMDAL_KRB5)
> 	@${ECHO} "WITH_MIT_KRB5 and WITH_HEIMDAL_KRB5 are mutually exclusive."
> 	@${ECHO} "Please choose one or the other."
> 	@exit 1
> .endif
> .if defined(WITH_MIT_KRB5) && !exists(${KRB5CONF})
> 	@${ECHO} "Unable to find krb5-config in your local base, please verify that"
> 	@${ECHO} "security/krb5 is installed or undefine the WITH_MIT_KRB5 tunable."
> 	@exit 1
> .endif
> .if defined(WITH_HEIMDAL_KRB5) && !exists(${KRB5CONF})
> 	@${ECHO} "Unable to find krb5-config in the base system.  Undefine"
> 	@${ECHO} "WITH_HEIMDAL_KRB5 or add MAKE_KERBEROS5=yes to /etc/make.conf"
> 	@${ECHO} "and remake world (or undefine the WITH_HEIMDAL_KRB5 tunable)."
> 	@exit 1
> .endif
211a226
> .include <bsd.port.post.mk>
213d227
< .include <bsd.port.mk>
--- pgsql.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list