already manually disabled).
ok deraadt@
-# $OpenBSD: Makefile,v 1.120 2013/07/23 22:37:02 todd Exp $
+# $OpenBSD: Makefile,v 1.121 2014/04/22 10:21:56 reyk Exp $
#
# For more information on building in tricky environments, please see
SUBDIR+= sys
-.if (${KERBEROS5:L} == "yes")
-SUBDIR+=kerberosV/tools
-SUBDIR+=kerberosV/libexec
-SUBDIR+=kerberosV/usr.bin
-SUBDIR+=kerberosV/usr.sbin
-SUBDIR+=kerberosV/doc
-.endif
-
.if make(clean) || make(cleandir) || make(obj)
SUBDIR+= distrib regress
.endif
-# $OpenBSD: Makefile.bsd-wrapper,v 1.50 2014/04/15 20:55:42 miod Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.51 2014/04/22 10:21:56 reyk Exp $
.include <bsd.own.mk>
doc/cvs.info-8 doc/cvs.info-9 doc/cvsclient.info \
doc/cvsclient.info-1 doc/cvsclient.info-2 doc/cvsclient.info-3
-# KRB=--without-krb4
-#
-# .if (${KERBEROS5:L} == "yes")
-# KRB5=--with-gssapi=/usr --enable-encryption
-# .else
-KRB5=
-# .endif
-
LDFLAGS=${LDSTATIC}
all: config.status
-# $OpenBSD: Makefile,v 1.188 2014/04/19 15:58:56 henning Exp $
+# $OpenBSD: Makefile,v 1.189 2014/04/22 10:21:56 reyk Exp $
# $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $
# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
# Change SYS_INCLUDE in bsd.own.mk to "symlinks" if you don't want copies
SYS_INCLUDE?= copies
-.if ${KERBEROS5:L} == "yes"
-RDIRS+=../kerberosV/lib/libasn1
-RDIRS+=../kerberosV/lib/libgssapi
-RDIRS+=../kerberosV/lib/libhdb
-RDIRS+=../kerberosV/lib/libkadm5clnt
-RDIRS+=../kerberosV/lib/libkafs
-RDIRS+=../kerberosV/lib/libkrb5
-RDIRS+=../kerberosV/lib/libroken
-RDIRS+=../kerberosV/lib/libkdc
-RDIRS+=../kerberosV/lib/libwind
-RDIRS+=../kerberosV/lib/libheimbase
-RDIRS+=../kerberosV/lib/libcom_err
-.endif
-
RUN_MAKE = if test -f Makefile.bsd-wrapper; then ${MAKE} -f Makefile.bsd-wrapper $@; else ${MAKE} $@; fi
prereq:
-# $OpenBSD: Makefile,v 1.66 2014/04/11 22:51:52 miod Exp $
+# $OpenBSD: Makefile,v 1.67 2014/04/22 10:21:56 reyk Exp $
# $NetBSD: Makefile,v 1.20.4.1 1996/06/14 17:22:38 cgd Exp $
SUBDIR= csu libarch libc libcrypto libcurses libedit libevent libexpat \
libocurses libossaudio libpanel libpcap librthread librpcsvc \
libskey libsndio libsqlite3 libssl libusbhid libutil liby libz
-.include <bsd.own.mk>
-
-.if (${KERBEROS5:L} == "yes")
-SUBDIR+=../kerberosV/lib
-.endif
-
.include <bsd.subdir.mk>
# from: @(#)Makefile 5.7 (Berkeley) 4/1/91
-# $OpenBSD: Makefile,v 1.59 2014/04/18 15:57:12 tedu Exp $
+# $OpenBSD: Makefile,v 1.60 2014/04/22 10:21:56 reyk Exp $
.include <bsd.own.mk>
SUBDIR+=rpc.yppasswdd
.endif
-.if (${KERBEROS5:L} == "yes")
-SUBDIR+=login_krb5 login_krb5-or-pwd
-.endif
-
.include <bsd.subdir.mk>
-# $OpenBSD: Makefile,v 1.6 2010/10/13 08:14:22 jsg Exp $
+# $OpenBSD: Makefile,v 1.7 2014/04/22 10:21:56 reyk Exp $
PROG= login_chpass
.PATH: ${.CURDIR}/../../usr.bin/passwd
-.include <bsd.own.mk> # For KERBEROS5 and YP
+.include <bsd.own.mk> # For YP
CFLAGS+=-Wall
-#.if (${KERBEROS5:L} == "yes")
-#SRCS+= krb5_passwd.c
-#CFLAGS+= -DKRB5
-#DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO}
-#LDADD+= -lkrb5 -lasn1 -lcrypto
-#.endif
-
.if (${YP:L} == "yes")
CFLAGS+=-DYP
SRCS+= yp_passwd.c pwd_check.c pwd_gensalt.c
-# $OpenBSD: Makefile,v 1.18 2014/04/15 20:55:42 miod Exp $
+# $OpenBSD: Makefile,v 1.19 2014/04/22 10:21:56 reyk Exp $
.include <bsd.own.mk>
MAN= ${PROG}.8
CFLAGS+=-DPASSWD -Wall -I${.CURDIR}/../login_passwd
-.if (${KERBEROS5:L} == "yes")
-SRCS+= login_krb5.c
-DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBUTIL}
-LDADD+= -lkrb5 -lasn1 -lcrypto -lutil
-LDADD+= -lwind -lroken -lcom_err -lheimbase
-CFLAGS+=-DKRB5
-.PATH: ${.CURDIR}/../login_passwd ${.CURDIR}/../login_krb5 ${.CURDIR}/../../usr.bin/passwd
-.else
DPADD+= ${LIBUTIL}
LDADD+= -lutil
+
.PATH: ${.CURDIR}/../login_passwd ${.CURDIR}/../../usr.bin/passwd
-.endif
BINOWN= root
BINGRP= auth
-# $OpenBSD: Makefile,v 1.37 2014/04/15 20:55:42 miod Exp $
+# $OpenBSD: Makefile,v 1.38 2014/04/22 10:21:56 reyk Exp $
.include <bsd.own.mk>
CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp
.endif
-.include <bsd.own.mk> # For Kerberos
-
-.if (${KERBEROS5:L} == "yes")
-SRCS+= krb5_passwd.c
-CFLAGS+= -DKRB5
-DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO}
-LDADD+= -lkrb5 -lasn1 -lcrypto
-LDADD+= -lwind -lroken -lcom_err -lheimbase
-.endif
-
BINMODE=4555
BINOWN=root
-# $OpenBSD: Makefile,v 1.29 2014/04/15 20:55:42 miod Exp $
+# $OpenBSD: Makefile,v 1.30 2014/04/22 10:21:56 reyk Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
terminal.c tn3270.c utilities.c auth.c encrypt.c genget.c getent.c \
misc.c
-.include <bsd.own.mk> # for KERBEROS
-
-.if (${KERBEROS5:L} == "yes")
-CFLAGS+=-DENCRYPTION -DAUTHENTICATION -DKRB5 -DDES_ENCRYPTION
-DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO}
-LDADD+= -lkrb5 -lasn1 -lcrypto
-LDADD+= -lwind -lroken -lcom_err -lheimbase
-SRCS+= kerberos5.c enc_des.c
-.endif
-
.include <bsd.prog.mk>