Subject: bin/22202: SUPPORT_UTMP(X) is not defined in sshd/Makefile
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ryo@nerv.org>
List: netbsd-bugs
Date: 07/20/2003 21:55:41
>Number:         22202
>Category:       bin
>Synopsis:       SUPPORT_UTMP(X) is not defined in sshd/Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 20 21:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     ryo
>Release:        1.6U
>Organization:
>Environment:
NetBSD moveq.nerv.org 1.6U NetBSD 1.6U (MOVEQ) #15: Sun Jul 20 08:07:24 JST 2003  ryo@moveq.nerv.org:/usr/src/sys/arch/i386/compile/MOVEQ i386

>Description:
In usr.bin/ssh/sshd/Makefile,
SUPPORT_UTMP and SUPPORT_UTMPX are not defined when USE_KERBEROS=no
>How-To-Repeat:

>Fix:
RCS file: /cvsroot/src/usr.bin/ssh/sshd/Makefile,v
retrieving revision 1.15
diff -a -u -r1.15 Makefile
--- Makefile    2003/05/14 18:22:07     1.15
+++ Makefile    2003/07/20 21:39:22
@@ -23,13 +23,14 @@
 DPADD+=        ${LIBKRB5} ${LIBKAFS} ${LIBASN1}
 
 CPPFLAGS+=-DKRB4 -I${DESTDIR}/usr/include/kerberosIV
-CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX
 SRCS+= auth-krb4.c
 LDADD+=        -lkrb -lcom_err -lroken
 DPADD+=        ${LIBKRB} ${LIBCOM_ERR} ${LIBROKEN}
 .endif
 
 .include <bsd.prog.mk>
+
+CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX
 
 LDADD+=        -lcrypt -lcrypto -lutil -lz
 DPADD+=        ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}

>Release-Note:
>Audit-Trail:
>Unformatted: