From nobody@FreeBSD.org  Sat Mar 11 02:03:04 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4561C16A7FC
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 11 Mar 2006 02:02:51 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3CD7F4A5E6
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 10 Mar 2006 21:17:34 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2ALHOou002660
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 10 Mar 2006 21:17:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k2ALHNRl002659;
	Fri, 10 Mar 2006 21:17:24 GMT
	(envelope-from nobody)
Message-Id: <200603102117.k2ALHNRl002659@www.freebsd.org>
Date: Fri, 10 Mar 2006 21:17:24 GMT
From: Matthias Lederhofer <matled@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: src/etc/Makefile fails with NO_CRYPT=yes
X-Send-Pr-Version: www-2.3

>Number:         94309
>Category:       misc
>Synopsis:       [patch] src/etc/Makefile fails with NO_CRYPT=yes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 11 02:10:40 GMT 2006
>Closed-Date:    Thu May 11 15:57:21 GMT 2006
>Last-Modified:  Thu May 11 15:57:21 GMT 2006
>Originator:     Matthias Lederhofer
>Release:        6.0
>Organization:
>Environment:
FreeBSD 6.0-RELEASE-p5 FreeBSD 6.0-RELEASE-p5 #0: Tue Mar  7 20:52:38 CET 2006 i386
>Description:
Running make distribution in /usr/src/etc/ with NO_CRYPT=yes but NO_OPENSSL/NO_OPENSSH fails. The variable SSH is only set in line 29 if NO_CRYPT is undefined. But ${SSH} is used as parameter to install in line 117.
>How-To-Repeat:
cd /usr/src/etc; make distribution NO_CRYPT=yes

with NO_OPENSSL/NO_OPENSSH undefined
>Fix:
--- /usr/src/etc/Makefile.orig      Fri Mar 10 21:57:47 2006
+++ /usr/src/etc/Makefile       Fri Mar 10 22:12:16 2006
@@ -111,7 +111,7 @@
 .if !defined(NO_SENDMAIL)
        cd ${.CURDIR}/sendmail; ${MAKE} distribution
 .endif
-.if !defined(NO_OPENSSL)
+.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
 .if !defined(NO_OPENSSH)
        cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
            ${SSH} ${DESTDIR}/etc/ssh

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: ru 
State-Changed-When: Sat Mar 11 08:51:45 UTC 2006 
State-Changed-Why:  
Fixed in HEAD, src/etc/Makefile,v 1.353. 
Will MFC to RELENG_6 shortly. 
Thanks! 


Responsible-Changed-From-To: freebsd-bugs->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Sat Mar 11 08:51:45 UTC 2006 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=94309 
State-Changed-From-To: patched->closed 
State-Changed-By: ru 
State-Changed-When: Thu May 11 15:57:08 UTC 2006 
State-Changed-Why:  
Merged into RELENG_6. 

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