Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2000 01:49:20 -0700 (PDT)
From:      Matthew Braithwaite <mab@lathian.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   gnu/18857: Enable GSSAPI in cvs if available
Message-ID:  <20000528084920.BBD2A2C923@enzian.lathian>

next in thread | raw e-mail | index | archive | help

>Number:         18857
>Category:       gnu
>Synopsis:       Enable GSSAPI in CVS if available
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 28 01:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Braithwaite
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Lathian
>Environment:

security/krb5 port installed.

>Description:

The enclosed patch does the job, but I am not subtle enough to guess
what the .if statement really ought to be.  I also don't know whether
this works with KTH Heimdal.

>How-To-Repeat:
>Fix:

--- gnu/usr.bin/cvs/cvs/Makefile~       Sun May 28 01:45:03 2000
+++ gnu/usr.bin/cvs/cvs/Makefile        Sat May 27 01:46:41 2000
@@ -29,6 +29,12 @@
 DPADD+=        ${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
 LDADD+=        ${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz
 
+.if exists(/usr/local/lib/libkrb5.so)
+CFLAGS+=-I/usr/local/include -DHAVE_GSSAPI -DHAVE_GSSAPI_GSSAPI_H -DHAVE_GSSAPI_GSSAPI_GENERIC_H
+LDADD+=-L/usr/local/lib -lgssapi_krb5
+CFLAGS+= -DENCRYPTION
+.endif
+
 .if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
 CFLAGS+=-DHAVE_KERBEROS -DHAVE_KRB_GET_ERR_TEXT
 LDADD+=        -lkrb -lcrypto -lcom_err

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000528084920.BBD2A2C923>