misc/95617: /usr/src/etc/Makefile contains logical error

Sebastian Werner blackwing at blackwing.de
Tue Apr 11 09:40:23 UTC 2006

>Number:         95617
>Category:       misc
>Synopsis:       /usr/src/etc/Makefile contains logical error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 11 09:40:16 GMT 2006
>Originator:     Sebastian Werner
>Release:        6.0
FreeBSD blackwing.hawo.stw.uni-erlangen.de 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root at blackwing.hawo.stw.uni-erlangen.de:/usr/obj/usr/src/sys/BLACKSTATION    i386
During make distribution I got an error 64 while trying to install ssh in /usr/src/etc .

I got NO_CRYPT set (jail install stuff), but NOT NO_OPENSSL and NO_OPENSSH.

The error is happening, because the Makefile defines, that SSH= is not set, because NO_CRYPT  is set.  (line 27 of /usr/local/etc/Makefile)

But later in line 115, the variable SSH is used, because neither NO_OPENSSL nor NO_OPENSSH is set. In this case there is no check for NO_CRYPT.
Set NO_CRYPT but do not set NO_OPENSSH

make distribution
--- /usr/local/etc/Makefile       Tue Apr 11 01:52:10 2006
+++ usr/local/etc/Makefilee    Tue Apr 11 01:54:28 2006
@@ -111,6 +111,7 @@
 .if !defined(NO_SENDMAIL)
        cd ${.CURDIR}/sendmail; ${MAKE} distribution
+.if !defined(NO_CRYPT)
 .if !defined(NO_OPENSSL)
 .if !defined(NO_OPENSSH)
        cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
@@ -118,6 +119,7 @@
        cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
            ${SSL} ${DESTDIR}/etc/ssl
 .if !defined(NO_KERBEROS)
        cd ${.CURDIR}/root; \


More information about the freebsd-bugs mailing list