From mab@lathian.com  Sun May 28 01:49:28 2000
Return-Path: <mab@lathian.com>
Received: from lathian.com (adsl-63-200-45-30.dsl.snfc21.pacbell.net [63.200.45.30])
	by hub.freebsd.org (Postfix) with ESMTP id 4592237B5BA
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 May 2000 01:49:26 -0700 (PDT)
	(envelope-from mab@lathian.com)
Received: from enzian.lathian (enzian.lathian [10.0.0.33])
	by lathian.com (Postfix) with ESMTP id 804161B202
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 May 2000 01:49:26 -0700 (PDT)
Received: by enzian.lathian (Postfix, from userid 1000)
	id BBD2A2C923; Sun, 28 May 2000 01:49:20 -0700 (PDT)
Message-Id: <20000528084920.BBD2A2C923@enzian.lathian>
Date: Sun, 28 May 2000 01:49:20 -0700 (PDT)
From: Matthew Braithwaite <mab@lathian.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Enable GSSAPI in cvs if available
X-Send-Pr-Version: 3.2

>Number:         18857
>Category:       gnu
>Synopsis:       Enable GSSAPI in CVS if available
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    peter
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 28 01:50:00 PDT 2000
>Closed-Date:    Wed Sep 14 18:41:26 UTC 2011
>Last-Modified:  Wed Sep 14 18:41:26 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-bugs->peter 
Responsible-Changed-By: johan 
Responsible-Changed-When: Mon Aug 19 10:51:42 PDT 2002 
Responsible-Changed-Why:  
Over to csv maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18857 
State-Changed-From-To: open->closed 
State-Changed-By: peter 
State-Changed-When: Wed Sep 14 18:39:18 UTC 2011 
State-Changed-Why:  
Sorry, the patch is no longer relevant to the base system 
cvs.  We have the GSSAPI stuff in the core system now, so 
external references to /usr/local aren't going to happen.  I 
think I read Makefile glue to use the embedded GSSAPI stuff, 
but even if it's not there, cvs will likely go away from our 
base system before it gets implemented. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18857 
>Unformatted:
