From rwsys!sneaky.lonestar.org!gordon@lerami.lerctr.org  Fri Jul 14 03:53:55 1995
Received: from news.onramp.net (news.onramp.net [199.1.11.7])
          by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id DAA03621
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Jul 1995 03:53:54 -0700
Received: from rwsys!sneaky.lonestar.org (uucp@localhost) 
	by news.onramp.net (8.6.12/8.6.9) with UUCP id FAA15359 for FreeBSD-gnats-submit@freebsd.org; Fri, 14 Jul 1995 05:53:53 -0500
Received: by lerami.lerctr.org (/\oo/\ Smail3.1.29.1 #29.2)
	id <m0sWi53-0000stC@lerami.lerctr.org>; Fri, 14 Jul 95 05:34 CDT
Received: by rwsys.lonestar.org (Smail3.1.27.1 #1)
	id m0sWfKN-0000hgC; Fri, 14 Jul 95 02:38 CDT
Received: by hammy.lonestar.org (Smail3.1.29.0 #1)
	id m0sWYwD-0001hDC; Thu, 13 Jul 95 19:49 CDT
Message-Id: <m0sWYwD-0001hDC@hammy.lonestar.org>
Date: Thu, 13 Jul 95 19:49 CDT
From: gordon@sneaky.lonestar.org
Reply-To: gordon@sneaky.lonestar.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: xntpd won't use DES encryption if it's available.
X-Send-Pr-Version: 3.2

>Number:         615
>Category:       bin
>Synopsis:       xntpd won't use DES encryption if it's available.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 14 04:00:05 1995
>Closed-Date:    Fri Jul 14 17:09:42 PDT 1995
>Last-Modified:
>Originator:     Gordon Burditt
>Release:        FreeBSD 2.0-BUILT-19950603 i386
>Organization:
what organization? 
>Environment:
	FreeBSD 2.0.5, with /usr/src/secure tree installed.

>Description:

	The xntpd Makefile.inc does not recognize the no-export
	authdes.c if it's present because it's looking in the
	wrong directory for it.  Because it doesn't find it,
	it doesn't define DES and therefore the routines to call
	code in authdes.c aren't included.

	${.CURDIR} is one directory level below Makefile.inc, and
	path names need to be relative to ${.CURDIR}.

>How-To-Repeat:

	Install the /usr/src/secure tree.
	cd /usr/src/usr.sbin/xntpd; make
	Note that -DDES is not included on the command line of the compiles.

>Fix:

	Apply the following patch.
	
Index: /usr/src/usr.sbin/xntpd/Makefile.inc
*** 1.1	1995/07/13 22:33:38
--- Makefile.inc	1995/07/13 22:46:38
***************
*** 7,12 ****
  CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${AUTHDEFS} ${CLOCKDEFS} ${COPTS}
  BINDIR?= /usr/sbin
  
! .if !defined(NOCRYPT) && exists(${.CURDIR}/../../secure/usr.sbin/xntpd/lib)
  AUTHDEFS+=	-DDES
  .endif
--- 7,12 ----
  CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${AUTHDEFS} ${CLOCKDEFS} ${COPTS}
  BINDIR?= /usr/sbin
  
! .if !defined(NOCRYPT) && exists(${.CURDIR}/../../../secure/usr.sbin/xntpd/lib)
  AUTHDEFS+=	-DDES
  .endif

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ache 
State-Changed-When: Fri Jul 14 17:09:42 PDT 1995 
State-Changed-Why:  
Fixed in v1.12 Makefile.inc 
>Unformatted:



