Date: Tue, 30 Jun 1998 20:25:40 PDT From: Bill Fenner <fenner@parc.xerox.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: gnu/7135: [PATCH] It's not easy to build a cvs binary that uses kerberos Message-ID: <199807010325.UAA05646@mango.parc.xerox.com>
index | next in thread | raw e-mail
>Number: 7135
>Category: gnu
>Synopsis: [PATCH] It's not easy to build a cvs binary that uses kerberos
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 30 20:30:01 PDT 1998
>Last-Modified:
>Originator: Bill Fenner
>Organization:
Xerox
>Release: FreeBSD 2.2.6-RELEASE i386
>Environment:
FreeBSD 2.2.6, with kerberos.
>Description:
It's not easy (and in particular, not automatic) to build a kerberized
cvs binary.
>How-To-Repeat:
put MAKE_KERBEROS4 = yes in /etc/make.conf
cd /usr/src/gnu/usr.bin/cvs
make
make install
realize that cvs still doesn't have kerberos
>Fix:
--- gnu/usr.bin/cvs/cvs/Makefile.orig Tue Jun 30 20:16:26 1998
+++ gnu/usr.bin/cvs/cvs/Makefile Tue Jun 30 20:18:12 1998
@@ -22,6 +22,12 @@
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../lib -I${CVSDIR}/src -I${CVSDIR}/lib -DHAVE_CONFIG_H
DPADD+= ${LIBCVS} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
LDADD+= -lcvs -lgnuregex -lmd -lcrypt -lz
+
+.if !defined(NOCRYPT) && defined(MAKE_KERBEROS4)
+CFLAGS+= -DHAVE_KERBEROS
+DPADD+= ${LIBKRB} ${LIBDES}
+LDADD+= -lkrb -ldes
+.endif
.include <bsd.prog.mk>
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807010325.UAA05646>
