Unix Technical Forum

GSSAPI support on solaris

This is a discussion on GSSAPI support on solaris within the Pgsql Patches forums, part of the PostgreSQL category; --> the attached patch adds -lgss to the autoconf tests and enables --with-gssapi builds on solaris 10 (and probably others). ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 11:22 AM
Stefan Kaltenbrunner
 
Posts: n/a
Default GSSAPI support on solaris

the attached patch adds -lgss to the autoconf tests and enables
--with-gssapi builds on solaris 10 (and probably others).


Stefan

Index: configure
================================================== =================
RCS file: /projects/cvsroot/pgsql/configure,v
retrieving revision 1.553
diff -c -r1.553 configure
*** configure 12 Jul 2007 14:36:52 -0000 1.553
--- configure 14 Jul 2007 07:53:56 -0000
***************
*** 6824,6830 ****
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_gss_init_sec_context" = no; then
! for ac_lib in gssapi_krb5 'gssapi -lkrb5 -lcrypto'; do
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
--- 6824,6830 ----
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_gss_init_sec_context" = no; then
! for ac_lib in gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'; do
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
Index: configure.in
================================================== =================
RCS file: /projects/cvsroot/pgsql/configure.in,v
retrieving revision 1.520
diff -c -r1.520 configure.in
*** configure.in 12 Jul 2007 14:36:52 -0000 1.520
--- configure.in 14 Jul 2007 07:53:57 -0000
***************
*** 767,773 ****

if test "$with_gssapi" = yes ; then
if test "$PORTNAME" != "win32"; then
! AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 'gssapi -lkrb5 -lcrypto'], [],
[AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
else
LIBS="$LIBS -lgssapi32"
--- 767,773 ----

if test "$with_gssapi" = yes ; then
if test "$PORTNAME" != "win32"; then
! AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
[AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
else
LIBS="$LIBS -lgssapi32"


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-18-2008, 11:23 AM
Magnus Hagander
 
Posts: n/a
Default Re: GSSAPI support on solaris

Stefan Kaltenbrunner wrote:
> the attached patch adds -lgss to the autoconf tests and enables
> --with-gssapi builds on solaris 10 (and probably others).


Applied, thanks.

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:45 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com