summaryrefslogtreecommitdiffstats
path: root/kerberosIV
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1997-09-24 20:37:15 +0000
committermarkm <markm@FreeBSD.org>1997-09-24 20:37:15 +0000
commita4a1a839ad4c4648d8c7c7e6bba576dec6bec55b (patch)
treebb4c87ee5d5f853077dd867cbc377ca2c4b2d519 /kerberosIV
parenta6d86de36db5b92e3053ed87d81a2984ac5ee2b9 (diff)
downloadFreeBSD-src-a4a1a839ad4c4648d8c7c7e6bba576dec6bec55b.zip
FreeBSD-src-a4a1a839ad4c4648d8c7c7e6bba576dec6bec55b.tar.gz
Initial import of the new kerberosIV Makefiles.
I will follow up with the userland sources over the next few days. The impatient of you can play with this, but you do this without support or blessing until I am finished ;-)
Diffstat (limited to 'kerberosIV')
-rw-r--r--kerberosIV/Makefile47
-rw-r--r--kerberosIV/Makefile.inc102
-rw-r--r--kerberosIV/README13
-rw-r--r--kerberosIV/include/Makefile18
-rw-r--r--kerberosIV/include/config.h985
-rw-r--r--kerberosIV/include/version.h2
-rw-r--r--kerberosIV/lib/Makefile5
-rw-r--r--kerberosIV/lib/Makefile.inc6
-rw-r--r--kerberosIV/lib/libacl/Makefile21
-rw-r--r--kerberosIV/lib/libkadm/Makefile21
-rw-r--r--kerberosIV/lib/libkafs/Makefile20
-rw-r--r--kerberosIV/lib/libkdb/Makefile17
-rw-r--r--kerberosIV/lib/libkrb/Makefile66
-rw-r--r--kerberosIV/lib/libroken/Makefile16
-rw-r--r--kerberosIV/lib/libsl/Makefile15
-rw-r--r--kerberosIV/lib/libtelnet/Makefile14
-rw-r--r--kerberosIV/libexec/Makefile5
-rw-r--r--kerberosIV/libexec/Makefile.inc5
-rw-r--r--kerberosIV/libexec/kauthd/Makefile16
-rw-r--r--kerberosIV/libexec/kipd/Makefile15
-rw-r--r--kerberosIV/libexec/kpropd/Makefile18
-rw-r--r--kerberosIV/libexec/telnetd/Makefile22
-rw-r--r--kerberosIV/share/info/Makefile15
-rw-r--r--kerberosIV/usr.bin/Makefile5
-rw-r--r--kerberosIV/usr.bin/Makefile.inc5
-rw-r--r--kerberosIV/usr.bin/kadmin/Makefile28
-rw-r--r--kerberosIV/usr.bin/kauth/Makefile17
-rw-r--r--kerberosIV/usr.bin/kdestroy/Makefile19
-rw-r--r--kerberosIV/usr.bin/kinit/Makefile18
-rw-r--r--kerberosIV/usr.bin/klist/Makefile19
-rw-r--r--kerberosIV/usr.bin/ksrvtgt/Makefile13
-rw-r--r--kerberosIV/usr.bin/telnet/Makefile17
-rw-r--r--kerberosIV/usr.sbin/Makefile6
-rw-r--r--kerberosIV/usr.sbin/Makefile.inc5
-rw-r--r--kerberosIV/usr.sbin/ext_srvtab/Makefile18
-rw-r--r--kerberosIV/usr.sbin/kadmind/Makefile29
-rw-r--r--kerberosIV/usr.sbin/kdb_destroy/Makefile18
-rw-r--r--kerberosIV/usr.sbin/kdb_edit/Makefile18
-rw-r--r--kerberosIV/usr.sbin/kdb_init/Makefile18
-rw-r--r--kerberosIV/usr.sbin/kdb_util/Makefile18
-rw-r--r--kerberosIV/usr.sbin/kerberos/Makefile22
-rw-r--r--kerberosIV/usr.sbin/kip/Makefile17
-rw-r--r--kerberosIV/usr.sbin/kprop/Makefile18
-rw-r--r--kerberosIV/usr.sbin/ksrvutil/Makefile19
-rw-r--r--kerberosIV/usr.sbin/kstash/Makefile18
45 files changed, 1829 insertions, 0 deletions
diff --git a/kerberosIV/Makefile b/kerberosIV/Makefile
new file mode 100644
index 0000000..c0a7072
--- /dev/null
+++ b/kerberosIV/Makefile
@@ -0,0 +1,47 @@
+# $Id$
+
+SUBDIR= include lib libexec usr.bin usr.sbin
+
+SDIR= ${.CURDIR}/..
+
+CODAI= ${MAKE} ${MFLAGS} cleandir; \
+ ${MAKE} ${MFLAGS} obj; \
+ ${MAKE} ${MFLAGS} depend all install
+
+CODAD= ${MAKE} ${MFLAGS} MAKE_EBONES=yes cleandir; \
+ ${MAKE} ${MFLAGS} MAKE_EBONES=yes obj; \
+ ${MAKE} ${MFLAGS} MAKE_EBONES=yes depend all distribute
+
+# These are the programs which depend on kerberos
+kprog:
+ cd ${SDIR}/bin/rcp; ${CODAI}
+ cd ${SDIR}/libexec/rlogind; ${CODAI}
+ cd ${SDIR}/libexec/rshd; ${CODAI}
+ cd ${SDIR}/libexec/telnetd; ${CODAI}
+ cd ${SDIR}/usr.bin/login; ${CODAI}
+ cd ${SDIR}/usr.bin/passwd; ${CODAI}
+ cd ${SDIR}/usr.bin/rlogin; ${CODAI}
+ cd ${SDIR}/usr.bin/rsh; ${CODAI}
+ cd ${SDIR}/usr.bin/su; ${CODAI}
+ cd ${SDIR}/usr.bin/telnet; ${CODAI}
+ cd ${SDIR}/sbin/dump; ${CODAI}
+ cd ${SDIR}/sbin/restore; ${CODAI}
+
+bootstrap:
+ ${MAKE} ${MFLAGS} cleandir; \
+ ${MAKE} ${MFLAGS} obj; \
+ ${MAKE} ${MFLAGS} depend all install kprog )
+
+help-distribute: distribute
+ cd ${SDIR}/bin/rcp; ${CODAD}
+ cd ${SDIR}/libexec/rlogind; ${CODAD}
+ cd ${SDIR}/libexec/rshd; ${CODAD}
+ cd ${SDIR}/usr.bin/login; ${CODAD}
+ cd ${SDIR}/usr.bin/passwd; ${CODAD}
+ cd ${SDIR}/usr.bin/rlogin; ${CODAD}
+ cd ${SDIR}/usr.bin/rsh; ${CODAD}
+ cd ${SDIR}/usr.bin/su; ${CODAD}
+ cd ${SDIR}/usr.sbin/dump; ${CODAD}
+ cd ${SDIR}/usr.sbin/restore; ${CODAD}
+
+.include <bsd.subdir.mk>
diff --git a/kerberosIV/Makefile.inc b/kerberosIV/Makefile.inc
new file mode 100644
index 0000000..7fed9c3
--- /dev/null
+++ b/kerberosIV/Makefile.inc
@@ -0,0 +1,102 @@
+# $Id$
+
+.if !defined(DISTRIBUTION)
+
+DISTRIBUTION= krb
+
+.if !defined(INCLUDEOBJDIR)
+
+KRB4DIR= ${.CURDIR}/../../../crypto/kerberosIV
+TELNETDIR= ${.CURDIR}/../../../crypto/telnet
+
+.if exists(${.OBJDIR}/../../include)
+INCLUDEOBJDIR= ${.OBJDIR}/../../include
+.else
+INCLUDEOBJDIR= ${.CURDIR}/../../include
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libacl)
+ACLOBJDIR= ${.OBJDIR}/../../lib/libacl
+.else
+ACLOBJDIR= ${.CURDIR}/../../lib/libacl
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libkadm)
+KADMOBJDIR= ${.OBJDIR}/../../lib/libkadm
+.else
+KADMOBJDIR= ${.CURDIR}/../../lib/libkadm
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libkafs)
+KAFSOBJDIR= ${.OBJDIR}/../../lib/libkafs
+.else
+KAFSOBJDIR= ${.CURDIR}/../../lib/libkafs
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libkdb)
+KDBOBJDIR= ${.OBJDIR}/../../lib/libkdb
+.else
+KDBOBJDIR= ${.CURDIR}/../../lib/libkdb
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libkrb)
+KRBOBJDIR= ${.OBJDIR}/../../lib/libkrb
+.else
+KRBOBJDIR= ${.CURDIR}/../../lib/libkrb
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libroken)
+ROKENOBJDIR= ${.OBJDIR}/../../lib/libroken
+.else
+ROKENOBJDIR= ${.CURDIR}/../../lib/libroken
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libsl)
+SLOBJDIR= ${.OBJDIR}/../../lib/libsl
+.else
+SLOBJDIR= ${.CURDIR}/../../lib/libsl
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libtelnet)
+TELNETOBJDIR= ${.OBJDIR}/../../lib/libtelnet
+.else
+TELNETOBJDIR= ${.CURDIR}/../../lib/libtelnet
+.endif
+
+CFLAGS+= -I${.CURDIR}/../../include -Wall -DHAVE_CONFIG_H \
+ -I${INCLUDEOBJDIR} -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\"
+
+#${INCLUDEOBJDIR}/protos.h: ${KRB4DIR}/include/protos.H
+# cd ${INCLUDEOBJDIR} ; ln -sf ${.ALLSRC} ${.TARGET}
+
+COMPILE_ET= compile_et
+
+${KADMOBJDIR}/kadm_err.c ${KADMOBJDIR}/kadm_err.h: ${KRB4DIR}/lib/kadm/kadm_err.et
+ test -e ${KADMOBJDIR}/kadm_err.et || ln -s ${.ALLSRC} ${KADMOBJDIR}
+ cd ${KADMOBJDIR}; ${COMPILE_ET} kadm_err.et
+
+CLEANFILES+=${KADMOBJDIR}/kadm_err.h ${KADMOBJDIR}/kadm_err.c ${KADMOBJDIR}/kadm_err.et
+
+${KRBOBJDIR}/krb_err.c ${KRBOBJDIR}/krb_err.h: ${KRB4DIR}/lib/krb/krb_err.et
+ test -e ${KRBOBJDIR}/krb_err.et || ln -s ${.ALLSRC} ${KRBOBJDIR}
+ cd ${KRBOBJDIR}; ${COMPILE_ET} krb_err.et
+
+CLEANFILES+=${KRBOBJDIR}/krb_err.h ${KRBOBJDIR}/krb_err.c ${KRBOBJDIR}/krb_err.et
+
+#beforedepend all: ${INCLUDEOBJDIR}/protos.h
+
+.if defined(INCLUDES)
+beforeinstall: ${INCLUDES}
+.for INC in ${INCLUDES}
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${INC} ${DESTDIR}/usr/include
+.endfor
+.endif
+
+.else
+
+KRB4DIR= ${.CURDIR}/../../crypto/kerberosIV
+
+.endif
+
+.endif
diff --git a/kerberosIV/README b/kerberosIV/README
new file mode 100644
index 0000000..9f97cf6
--- /dev/null
+++ b/kerberosIV/README
@@ -0,0 +1,13 @@
+This subtree is world-exportable, as it does not contain any
+cryptographic code.
+
+At the time of writing, it did not even contain source code, only
+Makefiles and headers.
+
+Please maintain this "exportable" status quo.
+
+Thanks!
+
+MarkM
+markm@freebsd.org
+20th Sept 1997
diff --git a/kerberosIV/include/Makefile b/kerberosIV/include/Makefile
new file mode 100644
index 0000000..504da2e
--- /dev/null
+++ b/kerberosIV/include/Makefile
@@ -0,0 +1,18 @@
+# $Id$
+
+.if exists(${.OBJDIR}/../../include)
+INCLUDEOBJDIR= ${.OBJDIR}/../include
+.else
+INCLUDEOBJDIR= ${.CURDIR}/../include
+.endif
+
+depend lint tags:
+
+.include <bsd.prog.mk>
+
+#${INCLUDEOBJDIR}/protos.h: ${KRB4DIR}/include/protos.H
+# cd ${INCLUDEOBJDIR} ; ln -sf ${.ALLSRC} ${.TARGET}
+
+#all: ${INCLUDEOBJDIR}/protos.h
+
+#CLEANFILES= ${INCLUDEOBJDIR}/protos.h
diff --git a/kerberosIV/include/config.h b/kerberosIV/include/config.h
new file mode 100644
index 0000000..6d0b8bc
--- /dev/null
+++ b/kerberosIV/include/config.h
@@ -0,0 +1,985 @@
+/* include/config.h. Generated automatically by configure. */
+/* include/config.h.in. Generated automatically from configure.in by autoheader. */
+
+/* Define if using alloca.c. */
+/* #undef C_ALLOCA */
+
+/* Define to empty if the keyword does not work. */
+/* #undef const */
+
+/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
+ This function is required for alloca.c support on those systems. */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+/* #undef gid_t */
+
+/* Define if you have alloca, as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
+/* #undef HAVE_ALLOCA_H */
+
+/* Define if you have a working `mmap' system call. */
+#define HAVE_MMAP 1
+
+/* Define if your struct stat has st_blksize. */
+#define HAVE_ST_BLKSIZE 1
+
+/* Define to `long' if <sys/types.h> doesn't define. */
+/* #undef off_t */
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+/* #undef pid_t */
+
+/* Define if you need to in order for stat and other things to work. */
+/* #undef _POSIX_SOURCE */
+
+/* Define as the return type of signal handlers (int or void). */
+#define RETSIGTYPE void
+
+/* Define to `unsigned' if <sys/types.h> doesn't define. */
+/* #undef size_t */
+
+/* If using the C implementation of alloca, define if you know the
+ direction of stack growth for your system; otherwise it will be
+ automatically deduced at run-time.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown
+ */
+/* #undef STACK_DIRECTION */
+
+/* Define if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define if `sys_siglist' is declared by <signal.h>. */
+#define SYS_SIGLIST_DECLARED 1
+
+/* Define if you can safely include both <sys/time.h> and <time.h>. */
+#define TIME_WITH_SYS_TIME 1
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+/* #undef uid_t */
+
+/* Define if your processor stores words with the most significant
+ byte first (like Motorola and SPARC, unlike Intel and VAX). */
+/* #undef WORDS_BIGENDIAN */
+
+/* Define if the X Window System is missing or not being used. */
+/* #undef X_DISPLAY_MISSING */
+
+/* Define this if RETSIGTYPE == void */
+#define VOID_RETSIGTYPE 1
+
+/* Define this if struct utmp have ut_user */
+/* #undef HAVE_UT_USER */
+
+/* Define this if struct utmp have ut_host */
+#define HAVE_UT_HOST 1
+
+/* Define this if struct utmp have ut_addr */
+/* #undef HAVE_UT_ADDR */
+
+/* Define this if struct utmp have ut_type */
+/* #undef HAVE_UT_TYPE */
+
+/* Define this if struct utmp have ut_pid */
+/* #undef HAVE_UT_PID */
+
+/* Define this if struct utmp have ut_id */
+/* #undef HAVE_UT_ID */
+
+/* Define this if struct utmpx have ut_syslen */
+/* #undef HAVE_UT_SYSLEN */
+
+/* Define this if struct winsize is declared in sys/termios.h */
+#define HAVE_STRUCT_WINSIZE 1
+
+/* Define this if struct winsize have ws_xpixel */
+#define HAVE_WS_XPIXEL 1
+
+/* Define this if struct winsize have ws_ypixel */
+#define HAVE_WS_YPIXEL 1
+
+/* Define this to be the directory where the dictionary for cracklib */
+/* resides */
+/* #undef DICTPATH */
+
+/* Define this if you want to use SOCKS v5 */
+/* #undef SOCKS */
+
+/* Define this to the path of the mail spool directory */
+/* #undef KRB4_MAILDIR */
+
+/* Define this if `struct sockaddr' includes sa_len */
+#define SOCKADDR_HAS_SA_LEN 1
+
+/* Define this if `struct siaentity' includes ouid */
+/* #undef SIAENTITY_HAS_OUID */
+
+/* Define if getlogin has POSIX flavour, as opposed to BSD */
+/* #undef POSIX_GETLOGIN */
+
+/* Define if getpwnam_r has POSIX flavour */
+/* #undef POSIX_GETPWNAM_R */
+
+/* define if getcwd() is broken (such as in SunOS) */
+/* #undef BROKEN_GETCWD */
+
+/* define if the system is missing a prototype for crypt() */
+/* #undef NEED_CRYPT_PROTO */
+
+/* define if the system is missing a prototype for strtok_r() */
+#define NEED_STRTOK_R_PROTO 1
+
+/* define if /bin/ls takes -A */
+#define HAVE_LS_A 1
+
+/* define if you have h_errno */
+#define HAVE_H_ERRNO 1
+
+/* define if you have h_errlist but not hstrerror */
+#define HAVE_H_ERRLIST 1
+
+/* define if you have h_nerr but not hstrerror */
+#define HAVE_H_NERR 1
+
+/* define if your system doesn't declare h_errlist */
+/* #undef HAVE_H_ERRLIST_DECLARATION */
+
+/* define if your system doesn't declare h_nerr */
+/* #undef HAVE_H_NERR_DECLARATION */
+
+/* define this if you need a declaration for h_errno */
+#define HAVE_H_ERRNO_DECLARATION 1
+
+/* define if you need a declaration for optarg */
+/* #undef HAVE_OPTARG_DECLARATION */
+
+/* define if you need a declaration for optind */
+/* #undef HAVE_OPTIND_DECLARATION */
+
+/* define if you need a declaration for opterr */
+/* #undef HAVE_OPTERR_DECLARATION */
+
+/* define if you need a declaration for optopt */
+/* #undef HAVE_OPTOPT_DECLARATION */
+
+/* define if you need a declaration for __progname */
+/* #undef HAVE___PROGNAME_DECLARATION */
+
+/* Define if you have the XauReadAuth function. */
+#define HAVE_XAUREADAUTH 1
+
+/* Define if you have the XauWriteAuth function. */
+#define HAVE_XAUWRITEAUTH 1
+
+/* Define if you have the _getpty function. */
+/* #undef HAVE__GETPTY */
+
+/* Define if you have the _scrsize function. */
+/* #undef HAVE__SCRSIZE */
+
+/* Define if you have the _setsid function. */
+/* #undef HAVE__SETSID */
+
+/* Define if you have the _stricmp function. */
+/* #undef HAVE__STRICMP */
+
+/* Define if you have the asnprintf function. */
+/* #undef HAVE_ASNPRINTF */
+
+/* Define if you have the asprintf function. */
+#define HAVE_ASPRINTF 1
+
+/* Define if you have the chown function. */
+#define HAVE_CHOWN 1
+
+/* Define if you have the daemon function. */
+#define HAVE_DAEMON 1
+
+/* Define if you have the dbm_firstkey function. */
+#define HAVE_DBM_FIRSTKEY 1
+
+/* Define if you have the dbopen function. */
+#define HAVE_DBOPEN 1
+
+/* Define if you have the dn_expand function. */
+#define HAVE_DN_EXPAND 1
+
+/* Define if you have the el_init function. */
+#define HAVE_EL_INIT 1
+
+/* Define if you have the err function. */
+#define HAVE_ERR 1
+
+/* Define if you have the errx function. */
+#define HAVE_ERRX 1
+
+/* Define if you have the fchmod function. */
+#define HAVE_FCHMOD 1
+
+/* Define if you have the fchown function. */
+#define HAVE_FCHOWN 1
+
+/* Define if you have the fcntl function. */
+#define HAVE_FCNTL 1
+
+/* Define if you have the flock function. */
+#define HAVE_FLOCK 1
+
+/* Define if you have the forkpty function. */
+#define HAVE_FORKPTY 1
+
+/* Define if you have the frevoke function. */
+/* #undef HAVE_FREVOKE */
+
+/* Define if you have the getattr function. */
+/* #undef HAVE_GETATTR */
+
+/* Define if you have the getcwd function. */
+#define HAVE_GETCWD 1
+
+/* Define if you have the getdtablesize function. */
+#define HAVE_GETDTABLESIZE 1
+
+/* Define if you have the gethostbyname function. */
+#define HAVE_GETHOSTBYNAME 1
+
+/* Define if you have the gethostname function. */
+#define HAVE_GETHOSTNAME 1
+
+/* Define if you have the getlogin function. */
+#define HAVE_GETLOGIN 1
+
+/* Define if you have the getopt function. */
+#define HAVE_GETOPT 1
+
+/* Define if you have the getpagesize function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define if you have the getpriority function. */
+#define HAVE_GETPRIORITY 1
+
+/* Define if you have the getpwnam_r function. */
+/* #undef HAVE_GETPWNAM_R */
+
+/* Define if you have the getservbyname function. */
+#define HAVE_GETSERVBYNAME 1
+
+/* Define if you have the getsockopt function. */
+#define HAVE_GETSOCKOPT 1
+
+/* Define if you have the getspnam function. */
+/* #undef HAVE_GETSPNAM */
+
+/* Define if you have the getspuid function. */
+/* #undef HAVE_GETSPUID */
+
+/* Define if you have the gettimeofday function. */
+#define HAVE_GETTIMEOFDAY 1
+
+/* Define if you have the getudbnam function. */
+/* #undef HAVE_GETUDBNAM */
+
+/* Define if you have the getuid function. */
+#define HAVE_GETUID 1
+
+/* Define if you have the getusershell function. */
+#define HAVE_GETUSERSHELL 1
+
+/* Define if you have the grantpt function. */
+/* #undef HAVE_GRANTPT */
+
+/* Define if you have the hstrerror function. */
+#define HAVE_HSTRERROR 1
+
+/* Define if you have the inet_aton function. */
+#define HAVE_INET_ATON 1
+
+/* Define if you have the initgroups function. */
+#define HAVE_INITGROUPS 1
+
+/* Define if you have the innetgr function. */
+#define HAVE_INNETGR 1
+
+/* Define if you have the iruserok function. */
+#define HAVE_IRUSEROK 1
+
+/* Define if you have the logout function. */
+#define HAVE_LOGOUT 1
+
+/* Define if you have the logwtmp function. */
+#define HAVE_LOGWTMP 1
+
+/* Define if you have the lstat function. */
+#define HAVE_LSTAT 1
+
+/* Define if you have the memmove function. */
+#define HAVE_MEMMOVE 1
+
+/* Define if you have the mkstemp function. */
+#define HAVE_MKSTEMP 1
+
+/* Define if you have the mktime function. */
+#define HAVE_MKTIME 1
+
+/* Define if you have the odm_initialize function. */
+/* #undef HAVE_ODM_INITIALIZE */
+
+/* Define if you have the ptsname function. */
+/* #undef HAVE_PTSNAME */
+
+/* Define if you have the putenv function. */
+#define HAVE_PUTENV 1
+
+/* Define if you have the rand function. */
+#define HAVE_RAND 1
+
+/* Define if you have the random function. */
+#define HAVE_RANDOM 1
+
+/* Define if you have the rcmd function. */
+#define HAVE_RCMD 1
+
+/* Define if you have the readline function. */
+#define HAVE_READLINE 1
+
+/* Define if you have the res_search function. */
+#define HAVE_RES_SEARCH 1
+
+/* Define if you have the revoke function. */
+#define HAVE_REVOKE 1
+
+/* Define if you have the setegid function. */
+#define HAVE_SETEGID 1
+
+/* Define if you have the setenv function. */
+#define HAVE_SETENV 1
+
+/* Define if you have the seteuid function. */
+#define HAVE_SETEUID 1
+
+/* Define if you have the setitimer function. */
+#define HAVE_SETITIMER 1
+
+/* Define if you have the setlim function. */
+/* #undef HAVE_SETLIM */
+
+/* Define if you have the setlogin function. */
+#define HAVE_SETLOGIN 1
+
+/* Define if you have the setpcred function. */
+/* #undef HAVE_SETPCRED */
+
+/* Define if you have the setpgid function. */
+#define HAVE_SETPGID 1
+
+/* Define if you have the setpriority function. */
+#define HAVE_SETPRIORITY 1
+
+/* Define if you have the setproctitle function. */
+#define HAVE_SETPROCTITLE 1
+
+/* Define if you have the setregid function. */
+#define HAVE_SETREGID 1
+
+/* Define if you have the setresgid function. */
+/* #undef HAVE_SETRESGID */
+
+/* Define if you have the setresuid function. */
+/* #undef HAVE_SETRESUID */
+
+/* Define if you have the setreuid function. */
+#define HAVE_SETREUID 1
+
+/* Define if you have the setsid function. */
+#define HAVE_SETSID 1
+
+/* Define if you have the setsockopt function. */
+#define HAVE_SETSOCKOPT 1
+
+/* Define if you have the setutent function. */
+/* #undef HAVE_SETUTENT */
+
+/* Define if you have the snprintf function. */
+#define HAVE_SNPRINTF 1
+
+/* Define if you have the socket function. */
+#define HAVE_SOCKET 1
+
+/* Define if you have the strcasecmp function. */
+#define HAVE_STRCASECMP 1
+
+/* Define if you have the strdup function. */
+#define HAVE_STRDUP 1
+
+/* Define if you have the strerror function. */
+#define HAVE_STRERROR 1
+
+/* Define if you have the strftime function. */
+#define HAVE_STRFTIME 1
+
+/* Define if you have the strlwr function. */
+/* #undef HAVE_STRLWR */
+
+/* Define if you have the strnlen function. */
+/* #undef HAVE_STRNLEN */
+
+/* Define if you have the strtok_r function. */
+/* #undef HAVE_STRTOK_R */
+
+/* Define if you have the strupr function. */
+/* #undef HAVE_STRUPR */
+
+/* Define if you have the swab function. */
+#define HAVE_SWAB 1
+
+/* Define if you have the syslog function. */
+#define HAVE_SYSLOG 1
+
+/* Define if you have the tgetent function. */
+#define HAVE_TGETENT 1
+
+/* Define if you have the ttyname function. */
+#define HAVE_TTYNAME 1
+
+/* Define if you have the ttyslot function. */
+#define HAVE_TTYSLOT 1
+
+/* Define if you have the ulimit function. */
+/* #undef HAVE_ULIMIT */
+
+/* Define if you have the uname function. */
+#define HAVE_UNAME 1
+
+/* Define if you have the unlockpt function. */
+/* #undef HAVE_UNLOCKPT */
+
+/* Define if you have the unsetenv function. */
+#define HAVE_UNSETENV 1
+
+/* Define if you have the vasnprintf function. */
+/* #undef HAVE_VASNPRINTF */
+
+/* Define if you have the vasprintf function. */
+#define HAVE_VASPRINTF 1
+
+/* Define if you have the verr function. */
+#define HAVE_VERR 1
+
+/* Define if you have the verrx function. */
+#define HAVE_VERRX 1
+
+/* Define if you have the vhangup function. */
+/* #undef HAVE_VHANGUP */
+
+/* Define if you have the vsnprintf function. */
+#define HAVE_VSNPRINTF 1
+
+/* Define if you have the vwarn function. */
+#define HAVE_VWARN 1
+
+/* Define if you have the vwarnx function. */
+#define HAVE_VWARNX 1
+
+/* Define if you have the warn function. */
+#define HAVE_WARN 1
+
+/* Define if you have the warnx function. */
+#define HAVE_WARNX 1
+
+/* Define if you have the yp_get_default_domain function. */
+#define HAVE_YP_GET_DEFAULT_DOMAIN 1
+
+/* Define if you have the <arpa/ftp.h> header file. */
+#define HAVE_ARPA_FTP_H 1
+
+/* Define if you have the <arpa/inet.h> header file. */
+#define HAVE_ARPA_INET_H 1
+
+/* Define if you have the <arpa/nameser.h> header file. */
+#define HAVE_ARPA_NAMESER_H 1
+
+/* Define if you have the <arpa/telnet.h> header file. */
+#define HAVE_ARPA_TELNET_H 1
+
+/* Define if you have the <bind/bitypes.h> header file. */
+/* #undef HAVE_BIND_BITYPES_H */
+
+/* Define if you have the <bsd/bsd.h> header file. */
+/* #undef HAVE_BSD_BSD_H */
+
+/* Define if you have the <bsdsetjmp.h> header file. */
+/* #undef HAVE_BSDSETJMP_H */
+
+/* Define if you have the <crypt.h> header file. */
+/* #undef HAVE_CRYPT_H */
+
+/* Define if you have the <dbm.h> header file. */
+/* #undef HAVE_DBM_H */
+
+/* Define if you have the <dirent.h> header file. */
+#define HAVE_DIRENT_H 1
+
+/* Define if you have the <err.h> header file. */
+#define HAVE_ERR_H 1
+
+/* Define if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define if you have the <grp.h> header file. */
+#define HAVE_GRP_H 1
+
+/* Define if you have the <io.h> header file. */
+/* #undef HAVE_IO_H */
+
+/* Define if you have the <lastlog.h> header file. */
+/* #undef HAVE_LASTLOG_H */
+
+/* Define if you have the <login.h> header file. */
+/* #undef HAVE_LOGIN_H */
+
+/* Define if you have the <maillock.h> header file. */
+/* #undef HAVE_MAILLOCK_H */
+
+/* Define if you have the <ndbm.h> header file. */
+#define HAVE_NDBM_H 1
+
+/* Define if you have the <net/if.h> header file. */
+#define HAVE_NET_IF_H 1
+
+/* Define if you have the <net/if_tun.h> header file. */
+#define HAVE_NET_IF_TUN_H 1
+
+/* Define if you have the <net/if_var.h> header file. */
+#define HAVE_NET_IF_VAR_H 1
+
+/* Define if you have the <netdb.h> header file. */
+#define HAVE_NETDB_H 1
+
+/* Define if you have the <netinet/in.h> header file. */
+#define HAVE_NETINET_IN_H 1
+
+/* Define if you have the <netinet/in6_machtypes.h> header file. */
+/* #undef HAVE_NETINET_IN6_MACHTYPES_H */
+
+/* Define if you have the <netinet/in_systm.h> header file. */
+#define HAVE_NETINET_IN_SYSTM_H 1
+
+/* Define if you have the <netinet/ip.h> header file. */
+#define HAVE_NETINET_IP_H 1
+
+/* Define if you have the <netinet/tcp.h> header file. */
+#define HAVE_NETINET_TCP_H 1
+
+/* Define if you have the <paths.h> header file. */
+#define HAVE_PATHS_H 1
+
+/* Define if you have the <pty.h> header file. */
+/* #undef HAVE_PTY_H */
+
+/* Define if you have the <pwd.h> header file. */
+#define HAVE_PWD_H 1
+
+/* Define if you have the <resolv.h> header file. */
+#define HAVE_RESOLV_H 1
+
+/* Define if you have the <rpcsvc/dbm.h> header file. */
+/* #undef HAVE_RPCSVC_DBM_H */
+
+/* Define if you have the <sac.h> header file. */
+/* #undef HAVE_SAC_H */
+
+/* Define if you have the <security/pam_modules.h> header file. */
+/* #undef HAVE_SECURITY_PAM_MODULES_H */
+
+/* Define if you have the <shadow.h> header file. */
+/* #undef HAVE_SHADOW_H */
+
+/* Define if you have the <siad.h> header file. */
+/* #undef HAVE_SIAD_H */
+
+/* Define if you have the <signal.h> header file. */
+#define HAVE_SIGNAL_H 1
+
+/* Define if you have the <stropts.h> header file. */
+/* #undef HAVE_STROPTS_H */
+
+/* Define if you have the <sys/bitypes.h> header file. */
+/* #undef HAVE_SYS_BITYPES_H */
+
+/* Define if you have the <sys/category.h> header file. */
+/* #undef HAVE_SYS_CATEGORY_H */
+
+/* Define if you have the <sys/cdefs.h> header file. */
+#define HAVE_SYS_CDEFS_H 1
+
+/* Define if you have the <sys/file.h> header file. */
+#define HAVE_SYS_FILE_H 1
+
+/* Define if you have the <sys/filio.h> header file. */
+#define HAVE_SYS_FILIO_H 1
+
+/* Define if you have the <sys/ioccom.h> header file. */
+#define HAVE_SYS_IOCCOM_H 1
+
+/* Define if you have the <sys/ioctl.h> header file. */
+#define HAVE_SYS_IOCTL_H 1
+
+/* Define if you have the <sys/locking.h> header file. */
+/* #undef HAVE_SYS_LOCKING_H */
+
+/* Define if you have the <sys/mman.h> header file. */
+#define HAVE_SYS_MMAN_H 1
+
+/* Define if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define if you have the <sys/proc.h> header file. */
+#define HAVE_SYS_PROC_H 1
+
+/* Define if you have the <sys/ptyio.h> header file. */
+/* #undef HAVE_SYS_PTYIO_H */
+
+/* Define if you have the <sys/ptyvar.h> header file. */
+/* #undef HAVE_SYS_PTYVAR_H */
+
+/* Define if you have the <sys/resource.h> header file. */
+#define HAVE_SYS_RESOURCE_H 1
+
+/* Define if you have the <sys/select.h> header file. */
+#define HAVE_SYS_SELECT_H 1
+
+/* Define if you have the <sys/socket.h> header file. */
+#define HAVE_SYS_SOCKET_H 1
+
+/* Define if you have the <sys/sockio.h> header file. */
+#define HAVE_SYS_SOCKIO_H 1
+
+/* Define if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define if you have the <sys/str_tty.h> header file. */
+/* #undef HAVE_SYS_STR_TTY_H */
+
+/* Define if you have the <sys/stream.h> header file. */
+/* #undef HAVE_SYS_STREAM_H */
+
+/* Define if you have the <sys/stropts.h> header file. */
+/* #undef HAVE_SYS_STROPTS_H */
+
+/* Define if you have the <sys/strtty.h> header file. */
+/* #undef HAVE_SYS_STRTTY_H */
+
+/* Define if you have the <sys/syscall.h> header file. */
+#define HAVE_SYS_SYSCALL_H 1
+
+/* Define if you have the <sys/sysctl.h> header file. */
+#define HAVE_SYS_SYSCTL_H 1
+
+/* Define if you have the <sys/termio.h> header file. */
+/* #undef HAVE_SYS_TERMIO_H */
+
+/* Define if you have the <sys/time.h> header file. */
+#define HAVE_SYS_TIME_H 1
+
+/* Define if you have the <sys/timeb.h> header file. */
+#define HAVE_SYS_TIMEB_H 1
+
+/* Define if you have the <sys/times.h> header file. */
+#define HAVE_SYS_TIMES_H 1
+
+/* Define if you have the <sys/tty.h> header file. */
+#define HAVE_SYS_TTY_H 1
+
+/* Define if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define if you have the <sys/uio.h> header file. */
+#define HAVE_SYS_UIO_H 1
+
+/* Define if you have the <sys/un.h> header file. */
+#define HAVE_SYS_UN_H 1
+
+/* Define if you have the <sys/utsname.h> header file. */
+#define HAVE_SYS_UTSNAME_H 1
+
+/* Define if you have the <sys/wait.h> header file. */
+#define HAVE_SYS_WAIT_H 1
+
+/* Define if you have the <syslog.h> header file. */
+#define HAVE_SYSLOG_H 1
+
+/* Define if you have the <termio.h> header file. */
+/* #undef HAVE_TERMIO_H */
+
+/* Define if you have the <termios.h> header file. */
+#define HAVE_TERMIOS_H 1
+
+/* Define if you have the <tmpdir.h> header file. */
+/* #undef HAVE_TMPDIR_H */
+
+/* Define if you have the <ttyent.h> header file. */
+#define HAVE_TTYENT_H 1
+
+/* Define if you have the <udb.h> header file. */
+/* #undef HAVE_UDB_H */
+
+/* Define if you have the <ulimit.h> header file. */
+/* #undef HAVE_ULIMIT_H */
+
+/* Define if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define if you have the <userpw.h> header file. */
+/* #undef HAVE_USERPW_H */
+
+/* Define if you have the <usersec.h> header file. */
+/* #undef HAVE_USERSEC_H */
+
+/* Define if you have the <util.h> header file. */
+/* #undef HAVE_UTIL_H */
+
+/* Define if you have the <utime.h> header file. */
+#define HAVE_UTIME_H 1
+
+/* Define if you have the <utmp.h> header file. */
+#define HAVE_UTMP_H 1
+
+/* Define if you have the <utmpx.h> header file. */
+/* #undef HAVE_UTMPX_H */
+
+/* Define if you have the <wait.h> header file. */
+/* #undef HAVE_WAIT_H */
+
+/* Define if you have the <winsock.h> header file. */
+/* #undef HAVE_WINSOCK_H */
+
+/* Define if you have the X11 library (-lX11). */
+/* #undef HAVE_LIBX11 */
+
+/* Define if you have the Xau library (-lXau). */
+#define HAVE_LIBXAU 1
+
+/* Define if you have the c_r library (-lc_r). */
+/* #undef HAVE_LIBC_R */
+
+/* Define if you have the cfg library (-lcfg). */
+/* #undef HAVE_LIBCFG */
+
+/* Define if you have the edit library (-ledit). */
+#define HAVE_LIBEDIT 1
+
+/* Define if you have the gdbm library (-lgdbm). */
+/* #undef HAVE_LIBGDBM */
+
+/* Define if you have the ndbm library (-lndbm). */
+/* #undef HAVE_LIBNDBM */
+
+/* Define if you have the nsl library (-lnsl). */
+/* #undef HAVE_LIBNSL */
+
+/* Define if you have the odm library (-lodm). */
+/* #undef HAVE_LIBODM */
+
+/* Define if you have the readline library (-lreadline). */
+#define HAVE_LIBREADLINE 1
+
+/* Define if you have the resolv library (-lresolv). */
+/* #undef HAVE_LIBRESOLV */
+
+/* Define if you have the s library (-ls). */
+/* #undef HAVE_LIBS */
+
+/* Define if you have the socket library (-lsocket). */
+/* #undef HAVE_LIBSOCKET */
+
+/* Define if you have the syslog library (-lsyslog). */
+/* #undef HAVE_LIBSYSLOG */
+
+/* Define if you have the termcap library (-ltermcap). */
+#define HAVE_LIBTERMCAP 1
+
+/* Define if you have the util library (-lutil). */
+#define HAVE_LIBUTIL 1
+
+#define HAVE_INT8_T 1
+#define HAVE_INT16_T 1
+#define HAVE_INT32_T 1
+#define HAVE_INT64_T 1
+#define HAVE_U_INT8_T 1
+#define HAVE_U_INT16_T 1
+#define HAVE_U_INT32_T 1
+#define HAVE_U_INT64_T 1
+
+#define RCSID(msg) \
+static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
+
+/*
+ * Set ORGANIZATION to be the desired organization string printed
+ * by the 'kinit' program. It may have spaces.
+ */
+#define ORGANIZATION "eBones International"
+
+#if 0
+#define BINDIR "/usr/athena/bin"
+#define LIBDIR "/usr/athena/lib"
+#define LIBEXECDIR "/usr/athena/libexec"
+#define SBINDIR "/usr/athena/sbin"
+#endif
+
+#if 0
+#define KRB_CNF_FILES { "/etc/krb.conf", "/etc/kerberosIV/krb.conf", 0}
+#define KRB_RLM_FILES { "/etc/krb.realms", "/etc/kerberosIV/krb.realms", 0}
+#define KRB_EQUIV "/etc/krb.equiv"
+
+#define KEYFILE "/etc/srvtab"
+
+#define KRBDIR "/var/kerberos"
+#define DBM_FILE KRBDIR "/principal"
+#define DEFAULT_ACL_DIR KRBDIR
+
+#define KRBLOG "/var/log/kerberos.log" /* master server */
+#define KRBSLAVELOG "/var/log/kerberos_slave.log" /* slave server */
+#define KADM_SYSLOG "/var/log/admin_server.syslog"
+#define K_LOGFIL "/var/log/kpropd.log"
+#endif
+
+/* Maximum values on all known systems */
+#define MaxHostNameLen (64+4)
+#define MaxPathLen (1024+4)
+
+/*
+ * Define NDBM if you are using the 4.3 ndbm library (which is part of
+ * libc). If not defined, 4.2 dbm will be assumed.
+ */
+#if defined(HAVE_DBM_FIRSTKEY)
+#define NDBM
+#endif
+
+/* ftp stuff -------------------------------------------------- */
+
+#define KERBEROS
+
+/* telnet stuff ----------------------------------------------- */
+
+/* define this if you have kerberos 4 */
+#define KRB4 1
+
+/* define this if you want encryption */
+#define ENCRYPTION 1
+
+/* define this if you want authentication */
+#define AUTHENTICATION 1
+
+#if defined(ENCRYPTION) && !defined(AUTHENTICATION)
+#define AUTHENTICATION 1
+#endif
+
+/* Set this if you want des encryption */
+#define DES_ENCRYPTION 1
+
+/* Set this to the default system lead string for telnetd
+ * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
+ * %v=os-version, %t=tty, %h=hostname, %d=date and time
+ */
+/* #undef USE_IM */
+
+/* define this if you want diagnostics in telnetd */
+#define DIAGNOSTICS 1
+
+/* define this if you want support for broken ENV_{VALUE,VAR} systems */
+/* #undef ENV_HACK */
+
+/* */
+#define OLD_ENVIRON 1
+
+/* Used with login -p */
+/* #undef LOGIN_ARGS */
+
+/* Define if there are working stream ptys */
+/* #undef STREAMSPTY */
+
+/* set this to a sensible login */
+#ifndef LOGIN_PATH
+#define LOGIN_PATH BINDIR "/login"
+#endif
+
+
+/* ------------------------------------------------------------ */
+
+/*
+ * Define this if your ndbm-library really is berkeley db and creates
+ * files that ends in .db.
+ */
+#define HAVE_NEW_DB 1
+
+/* Define this if you have a working getmsg */
+/* #undef HAVE_GETMSG */
+
+/* Define to enable new master key code */
+/* #undef RANDOM_MKEY */
+
+/* Location of the master key file, default value lives in <kdc.h> */
+/* #undef MKEYFILE */
+
+/* Define if you don't want support for afs, might be a good idea on
+ AIX if you don't have afs */
+#define NO_AFS 1
+
+/* Define if you have a readline compatible library */
+#define HAVE_READLINE 1
+
+#ifdef VOID_RETSIGTYPE
+#define SIGRETURN(x) return
+#else
+#define SIGRETURN(x) return (RETSIGTYPE)(x)
+#endif
+
+/* Define this if your compiler supports '#pragma weak' */
+#define HAVE_PRAGMA_WEAK 1
+
+/* Temporary fixes for krb_{rd,mk}_safe */
+#define DES_QUAD_GUESS 0
+#define DES_QUAD_NEW 1
+#define DES_QUAD_OLD 2
+
+/* Set this to one of the constants above to specify default checksum
+ type to emit */
+#define DES_QUAD_DEFAULT DES_QUAD_GUESS
+
+/*
+ * AIX braindamage!
+ */
+#if _AIX
+#define _ALL_SOURCE
+#define _POSIX_SOURCE
+/* this is left for hysteric reasons :-) */
+#define unix /* well, ok... */
+#endif
+
+/*
+ * SunOS braindamage! (Sun include files are generally braindead)
+ */
+#if (defined(sun) || defined(__sun))
+#if defined(__svr4__) || defined(__SVR4)
+#define SunOS 5
+#else
+#define SunOS 4
+#endif
+#endif
+
+#if defined(__sgi) || defined(sgi)
+#if defined(__SYSTYPE_SVR4) || defined(_SYSTYPE_SVR4)
+#define IRIX 5
+#else
+#define IRIX 4
+#endif
+#endif
+
+/* IRIX 4 braindamage */
+#if IRIX == 4 && !defined(__STDC__)
+#define __STDC__ 0
+#endif
diff --git a/kerberosIV/include/version.h b/kerberosIV/include/version.h
new file mode 100644
index 0000000..ae8ca52
--- /dev/null
+++ b/kerberosIV/include/version.h
@@ -0,0 +1,2 @@
+char *krb4_long_version = "@(#)$Version: krb4-0.9.6 by root on greenpeace.grondar.za (i386-unknown-freebsd3.0) Sun Jun 22 18:14:59 SAT 1997 $";
+char *krb4_version = "krb4-0.9.6";
diff --git a/kerberosIV/lib/Makefile b/kerberosIV/lib/Makefile
new file mode 100644
index 0000000..7ec7481
--- /dev/null
+++ b/kerberosIV/lib/Makefile
@@ -0,0 +1,5 @@
+# $Id$
+
+SUBDIR= libroken libsl libacl libkadm libkafs libkdb libkrb libtelnet
+
+.include <bsd.subdir.mk>
diff --git a/kerberosIV/lib/Makefile.inc b/kerberosIV/lib/Makefile.inc
new file mode 100644
index 0000000..8e7fb59
--- /dev/null
+++ b/kerberosIV/lib/Makefile.inc
@@ -0,0 +1,6 @@
+# $Id$
+
+SHLIB_MAJOR?= 3
+SHLIB_MINOR?= 0
+
+.include "../Makefile.inc"
diff --git a/kerberosIV/lib/libacl/Makefile b/kerberosIV/lib/libacl/Makefile
new file mode 100644
index 0000000..1233c0f
--- /dev/null
+++ b/kerberosIV/lib/libacl/Makefile
@@ -0,0 +1,21 @@
+# $Id$
+
+LIB= acl
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${INCLUDEOBJDIR} \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/lib/acl
+SRCS= acl_files.c
+MAN3= ${KRB4DIR}/man/acl_check.3
+MLINKS= acl_check.3 acl_canonicalize_principal.3 \
+ acl_check.3 acl_exact_match.3 \
+ acl_check.3 acl_add.3 \
+ acl_check.3 acl_delete.3 \
+ acl_check.3 acl_initialize.3
+
+INCLUDES= ${KRB4DIR}/lib/acl/acl.h
+
+.include <bsd.lib.mk>
+
+.PATH: ${KRB4DIR}/lib/acl
diff --git a/kerberosIV/lib/libkadm/Makefile b/kerberosIV/lib/libkadm/Makefile
new file mode 100644
index 0000000..7c7f522
--- /dev/null
+++ b/kerberosIV/lib/libkadm/Makefile
@@ -0,0 +1,21 @@
+# $Id$
+
+LIB= kadm
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${INCLUDEOBJDIR} \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/lib/kdb \
+ -I${KRB4DIR}/lib/kadm \
+ -I${KRBOBJDIR} \
+ -I${KADMOBJDIR}
+SRCS= kadm_cli_wrap.c kadm_stream.c kadm_supp.c \
+ ${KADMOBJDIR}/kadm_err.c
+
+INCLUDES= ${KRB4DIR}/lib/kadm/kadm.h ${KADMOBJDIR}/kadm_err.h
+
+.include <bsd.lib.mk>
+
+.PATH: ${KRB4DIR}/lib/kadm
+
+beforedepend all: ${KADMOBJDIR}/kadm_err.h ${KRBOBJDIR}/krb_err.h
diff --git a/kerberosIV/lib/libkafs/Makefile b/kerberosIV/lib/libkafs/Makefile
new file mode 100644
index 0000000..d99425e
--- /dev/null
+++ b/kerberosIV/lib/libkafs/Makefile
@@ -0,0 +1,20 @@
+# $Id$
+
+LIB= kafs
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${INCLUDEOBJDIR} \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/lib/kafs
+SRCS= afssys.c afskrb.c
+MAN3= ${KRB4DIR}/man/kafs.3
+MLINKS= kafs.3 k_hasafs.3 kafs.3 k_afsklog.3 kafs.3 k_afsklog_uid.3 \
+ kafs.3 k_pioctl.3 kafs.3 k_unlog.3 kafs.3 k_setpag.3 \
+ kafs.3 k_afs_cell_of_file.3
+
+
+INCLUDES= ${KRB4DIR}/lib/kafs/kafs.h
+
+.include <bsd.lib.mk>
+
+.PATH: ${KRB4DIR}/lib/kafs
diff --git a/kerberosIV/lib/libkdb/Makefile b/kerberosIV/lib/libkdb/Makefile
new file mode 100644
index 0000000..b38eb2a
--- /dev/null
+++ b/kerberosIV/lib/libkdb/Makefile
@@ -0,0 +1,17 @@
+# $Id$
+
+LIB= kdb
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${INCLUDEOBJDIR} \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/lib/kdb \
+ -I${KADMOBJDIR}
+SRCS= krb_cache.c krb_kdb_utils.c copykey.c krb_lib.c krb_dbm.c \
+ print_princ.c base64.c
+
+INCLUDES= ${KRB4DIR}/lib/kdb/kdc.h ${KRB4DIR}/lib/kdb/krb_db.h
+
+.include <bsd.lib.mk>
+
+.PATH: ${KRB4DIR}/lib/kdb
diff --git a/kerberosIV/lib/libkrb/Makefile b/kerberosIV/lib/libkrb/Makefile
new file mode 100644
index 0000000..8481240
--- /dev/null
+++ b/kerberosIV/lib/libkrb/Makefile
@@ -0,0 +1,66 @@
+# $Id$
+
+LIB= krb
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${INCLUDEOBJDIR} \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRBOBJDIR}
+SRCS= cr_err_reply.c create_auth_reply.c create_ciph.c \
+ create_death_packet.c create_ticket.c dest_tkt.c get_in_tkt.c \
+ get_svc_in_tkt.c getrealm.c k_localtime.c krb_err_txt.c \
+ krb_get_in_tkt.c kuserok.c parse_name.c kntoln.c mk_auth.c \
+ krb_check_auth.c mk_err.c mk_safe.c rd_err.c rd_safe.c \
+ recvauth.c mk_priv.c rd_req.c decomp_ticket.c lifetime.c \
+ month_sname.c stime.c read_service_key.c getst.c sendauth.c \
+ netread.c netwrite.c rd_priv.c krb_equiv.c str2key.c \
+ get_ad_tkt.c mk_req.c get_cred.c get_tf_realm.c \
+ get_tf_fullname.c one.c save_credentials.c send_to_kdc.c \
+ get_host.c get_krbrlm.c k_gethostname.c tf_util.c \
+ debug_decl.c k_flock.c tkt_string.c getaddrs.c \
+ k_getsockinst.c k_getport.c lsb_addr_comp.c name2name.c \
+ get_default_principal.c realm_parse.c verify_user.c \
+ rw.c kdc_reply.c encrypt_ktext.c swab.c gettimeofday.c \
+ check_time.c krb_err.c et_list.c resolve.c unparse_name.c \
+ logging.c k_concat.c \
+ snprintf.c strdup.c strtok_r.c strcasecmp.c
+MAN3= ${KRB4DIR}/man/kerberos.3 \
+ ${KRB4DIR}/man/krb_realmofhost.3 \
+ ${KRB4DIR}/man/krb_sendauth.3 \
+ ${KRB4DIR}/man/krb_set_tkt_string.3 \
+ ${KRB4DIR}/man/kuserok.3 \
+ ${KRB4DIR}/man/tf_util.3
+MLINKS= kerberos.3 krb_mk_req.3 \
+ kerberos.3 krb_rd_req.3 \
+ kerberos.3 krb_kntoln.3 \
+ kerberos.3 krb_set_key.3 \
+ kerberos.3 krb_get_cred.3 \
+ kerberos.3 krb_mk_priv.3 \
+ kerberos.3 krb_rd_priv.3 \
+ kerberos.3 krb_mk_safe.3 \
+ kerberos.3 krb_rd_safe.3 \
+ kerberos.3 krb_mk_err.3 \
+ kerberos.3 krb_rd_err.3 \
+ kerberos.3 krb_ck_repl.3 \
+ krb_realmofhost.3 krb_get_phost.3 \
+ krb_realmofhost.3 krb_get_krbhst.3 \
+ krb_realmofhost.3 krb_get_admhst.3 \
+ krb_realmofhost.3 krb_get_lrealm.3 \
+ krb_sendauth.3 krb_recvauth.3 \
+ krb_sendauth.3 krb_net_write.3 \
+ krb_sendauth.3 krb_net_read.3 \
+ tf_util.3 tf_init.3 \
+ tf_util.3 tf_get_pname.3 \
+ tf_util.3 tf_get_pinst.3 \
+ tf_util.3 tf_get_cred.3 \
+ tf_util.3 tf_close.3
+
+INCLUDES= ${KRB4DIR}/lib/krb/krb.h ${KRB4DIR}/lib/krb/klog.h \
+ ${KRB4DIR}/lib/krb/prot.h ${KRBOBJDIR}/krb_err.h
+
+.include <bsd.lib.mk>
+
+.PATH: ${KRB4DIR}/lib/krb
+.PATH: ${KRB4DIR}/lib/roken
+
+beforedepend all: ${KRBOBJDIR}/krb_err.h
diff --git a/kerberosIV/lib/libroken/Makefile b/kerberosIV/lib/libroken/Makefile
new file mode 100644
index 0000000..cf5f420
--- /dev/null
+++ b/kerberosIV/lib/libroken/Makefile
@@ -0,0 +1,16 @@
+# $Id$
+
+LIB= roken
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${INCLUDEOBJDIR} \
+ -I${KRB4DIR}/lib/roken
+SRCS= k_getpwuid.c k_getpwnam.c signal.c tm2time.c \
+ verify.c inaddr2str.c mini_inetd.c get_window_size.c \
+ warnerr.c snprintf.c strlwr.c strnlen.c strtok_r.c strupr.c
+NOPIC= yes
+
+install:
+
+.include <bsd.lib.mk>
+
+.PATH: ${KRB4DIR}/lib/roken
diff --git a/kerberosIV/lib/libsl/Makefile b/kerberosIV/lib/libsl/Makefile
new file mode 100644
index 0000000..7b3a06c
--- /dev/null
+++ b/kerberosIV/lib/libsl/Makefile
@@ -0,0 +1,15 @@
+# $Id$
+
+LIB= sl
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${INCLUDEOBJDIR} \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/sl
+SRCS= sl.c
+NOPIC= yes
+
+install:
+
+.include <bsd.lib.mk>
+
+.PATH: ${KRB4DIR}/lib/sl
diff --git a/kerberosIV/lib/libtelnet/Makefile b/kerberosIV/lib/libtelnet/Makefile
new file mode 100644
index 0000000..334caf7
--- /dev/null
+++ b/kerberosIV/lib/libtelnet/Makefile
@@ -0,0 +1,14 @@
+# $Id$
+
+LIB= telnet
+
+SRCS= genget.c getent.c misc.c encrypt.c auth.c kerberos.c enc_des.c
+
+CFLAGS+= -DHAS_CGETENT -DENCRYPTION -DDES_ENCRYPTION -DAUTHENTICATION \
+ -DKRB4 -I${TELNETDIR}
+
+INCLUDES= ${TELNETDIR}/arpa/telnet.h
+
+.include <bsd.lib.mk>
+
+.PATH: ${TELNETDIR}/libtelnet
diff --git a/kerberosIV/libexec/Makefile b/kerberosIV/libexec/Makefile
new file mode 100644
index 0000000..36f9a31
--- /dev/null
+++ b/kerberosIV/libexec/Makefile
@@ -0,0 +1,5 @@
+# $Id$
+
+SUBDIR= kauthd kipd kpropd telnetd
+
+.include <bsd.subdir.mk>
diff --git a/kerberosIV/libexec/Makefile.inc b/kerberosIV/libexec/Makefile.inc
new file mode 100644
index 0000000..496b56e
--- /dev/null
+++ b/kerberosIV/libexec/Makefile.inc
@@ -0,0 +1,5 @@
+# $Id$
+
+BINDIR= /usr/libexec
+
+.include "../Makefile.inc"
diff --git a/kerberosIV/libexec/kauthd/Makefile b/kerberosIV/libexec/kauthd/Makefile
new file mode 100644
index 0000000..e3166c3
--- /dev/null
+++ b/kerberosIV/libexec/kauthd/Makefile
@@ -0,0 +1,16 @@
+# $Id$
+
+PROG= kauthd
+MAN8= ${KRB4DIR}/man/kauthd.8
+SRCS= kauthd.c encdata.c marshall.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/kafs \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/appl/kauth
+LDADD= -L${ROKENOBJDIR} -lroken -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKRB} ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/appl/kauth
diff --git a/kerberosIV/libexec/kipd/Makefile b/kerberosIV/libexec/kipd/Makefile
new file mode 100644
index 0000000..2001257
--- /dev/null
+++ b/kerberosIV/libexec/kipd/Makefile
@@ -0,0 +1,15 @@
+# $Id$
+
+PROG= kipd
+NOMAN= yes
+SRCS= kipd.c common.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/appl/kip
+LDADD= -L${ROKENOBJDIR} -lroken -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKRB} ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/appl/kip
diff --git a/kerberosIV/libexec/kpropd/Makefile b/kerberosIV/libexec/kpropd/Makefile
new file mode 100644
index 0000000..5e1d1f5
--- /dev/null
+++ b/kerberosIV/libexec/kpropd/Makefile
@@ -0,0 +1,18 @@
+# $Id$
+
+PROG= kpropd
+MAN8= ${KRB4DIR}/man/kpropd.8
+SRCS= kpropd.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/kdb \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/slave \
+ -I${INCLOBJDIR} \
+ -I${.CURDIR}/../include
+LDADD= -L${ROKENOBJDIR} -lroken -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKRB} ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/slave
diff --git a/kerberosIV/libexec/telnetd/Makefile b/kerberosIV/libexec/telnetd/Makefile
new file mode 100644
index 0000000..9301d1b
--- /dev/null
+++ b/kerberosIV/libexec/telnetd/Makefile
@@ -0,0 +1,22 @@
+# $Id$
+
+# Do not define -DKLUDGELINEMODE, as it does not interact well with many
+# telnet implementations.
+
+PROG= telnetd
+MAN8= telnetd.8
+
+CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
+ -DENV_HACK -DAUTHENTICATION -DENCRYPTION \
+ -I${TELNETDIR}
+
+SRCS= global.c slc.c state.c sys_term.c telnetd.c \
+ termstat.c utility.c authenc.c
+
+DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBDES} ${LIBKRB}
+LDADD= -lutil -ltermcap -L${TELNETOBJDIR} -ltelnet -ldes \
+ -L${KRBOBJDIR} -lkrb
+
+.include <bsd.prog.mk>
+
+.PATH: ${TELNETDIR}/telnetd
diff --git a/kerberosIV/share/info/Makefile b/kerberosIV/share/info/Makefile
new file mode 100644
index 0000000..0360a58
--- /dev/null
+++ b/kerberosIV/share/info/Makefile
@@ -0,0 +1,15 @@
+# @(#)Makefile 8.1 (Berkeley) 6/5/93
+
+NOOBJ= noobj
+
+all clean cleandir depend lint tags:
+
+beforeinstall:
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 dir-tmpl \
+ ${DESTDIR}${BINDIR}/info/dir-tmpl
+ if [ ! -f ${DESTDIR}${BINDIR}/info/dir ]; then \
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 dir-tmpl \
+ ${DESTDIR}${BINDIR}/info/dir ; \
+ fi
+
+.include <bsd.prog.mk>
diff --git a/kerberosIV/usr.bin/Makefile b/kerberosIV/usr.bin/Makefile
new file mode 100644
index 0000000..1af6e53
--- /dev/null
+++ b/kerberosIV/usr.bin/Makefile
@@ -0,0 +1,5 @@
+# $Id$
+
+SUBDIR= kadmin kauth kdestroy kinit klist ksrvtgt telnet
+
+.include <bsd.subdir.mk>
diff --git a/kerberosIV/usr.bin/Makefile.inc b/kerberosIV/usr.bin/Makefile.inc
new file mode 100644
index 0000000..61e68a7
--- /dev/null
+++ b/kerberosIV/usr.bin/Makefile.inc
@@ -0,0 +1,5 @@
+# $Id$
+
+BINDIR= /usr/bin
+
+.include "../Makefile.inc"
diff --git a/kerberosIV/usr.bin/kadmin/Makefile b/kerberosIV/usr.bin/kadmin/Makefile
new file mode 100644
index 0000000..b239c94
--- /dev/null
+++ b/kerberosIV/usr.bin/kadmin/Makefile
@@ -0,0 +1,28 @@
+# $Id$
+
+PROG= kadmin
+MAN8= ${KRB4DIR}/man/kadmin.8
+SRCS= kadmin.c new_pwd.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/sl \
+ -I${KRB4DIR}/lib/acl \
+ -I${KRB4DIR}/lib/kadm \
+ -I${KRB4DIR}/lib/kdb \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/kadmin \
+ -I${KADMOBJDIR} \
+ -I${KRBOBJDIR} \
+ -I${.CURDIR}/../include
+LDADD= -L${ROKENOBJDIR} -lroken -L${SLOBJDIR} -lsl \
+ -L${ACLOBJDIR} -lacl -L${KADMOBJDIR} -lkadm \
+ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb \
+ -ldes -lcom_err -lreadline
+DPADD= ${LIBROKEN} ${LIBSL} ${LIBACL} ${LIBKADM} ${LIBKDB} ${LIBKRB} \
+ ${LIBDES} ${LIBCOM_ERR}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/kadmin
+
+beforedepend all: ${KADMOBJDIR}/kadm_err.h ${KRBOBJDIR}/krb_err.h
diff --git a/kerberosIV/usr.bin/kauth/Makefile b/kerberosIV/usr.bin/kauth/Makefile
new file mode 100644
index 0000000..35265dc
--- /dev/null
+++ b/kerberosIV/usr.bin/kauth/Makefile
@@ -0,0 +1,17 @@
+# $Id$
+
+PROG= kauth
+MAN1= ${KRB4DIR}/man/kauth.1
+SRCS= kauth.c rkinit.c encdata.c marshall.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/kafs \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/appl/kauth
+LDADD= -L${ROKENOBJDIR} -lroken -L${KAFSOBJDIR} -lkafs \
+ -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKAFS} ${LIBKRB} ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/appl/kauth
diff --git a/kerberosIV/usr.bin/kdestroy/Makefile b/kerberosIV/usr.bin/kdestroy/Makefile
new file mode 100644
index 0000000..4bb0aef
--- /dev/null
+++ b/kerberosIV/usr.bin/kdestroy/Makefile
@@ -0,0 +1,19 @@
+# $Id$
+
+PROG= kdestroy
+MAN1= ${KRB4DIR}/man/kdestroy.1
+SRCS= kdestroy.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/kafs \
+ -I${KRB4DIR}/lib/kadm \
+ -I${KRB4DIR}/lib/kdb \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/kuser
+LDADD= -L${ROKENOBJDIR} -lroken \
+ -L${KAFSOBJDIR} -lkafs -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKAFS} ${LIBKRB} ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/kuser
diff --git a/kerberosIV/usr.bin/kinit/Makefile b/kerberosIV/usr.bin/kinit/Makefile
new file mode 100644
index 0000000..3b1d905
--- /dev/null
+++ b/kerberosIV/usr.bin/kinit/Makefile
@@ -0,0 +1,18 @@
+# $Id$
+
+PROG= kinit
+MAN1= ${KRB4DIR}/man/kinit.1
+SRCS= kinit.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/kadm \
+ -I${KRB4DIR}/lib/kdb \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/kuser
+LDADD= -L${ROKENOBJDIR} -lroken \
+ -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKRB} ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/kuser
diff --git a/kerberosIV/usr.bin/klist/Makefile b/kerberosIV/usr.bin/klist/Makefile
new file mode 100644
index 0000000..2159fa0
--- /dev/null
+++ b/kerberosIV/usr.bin/klist/Makefile
@@ -0,0 +1,19 @@
+# $Id$
+
+PROG= klist
+MAN1= ${KRB4DIR}/man/klist.1
+SRCS= klist.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/kafs \
+ -I${KRB4DIR}/lib/kadm \
+ -I${KRB4DIR}/lib/kdb \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/kuser
+LDADD= -L${ROKENOBJDIR} -lroken \
+ -L${KAFSOBJDIR} -lkafs -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKAFS} ${LIBKRB} ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/kuser
diff --git a/kerberosIV/usr.bin/ksrvtgt/Makefile b/kerberosIV/usr.bin/ksrvtgt/Makefile
new file mode 100644
index 0000000..5a8f189
--- /dev/null
+++ b/kerberosIV/usr.bin/ksrvtgt/Makefile
@@ -0,0 +1,13 @@
+# $Id$
+
+MAN1= ${KRB4DIR}/man/ksrvtgt.1
+
+beforeinstall:
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${KRB4DIR}/appl/kauth/ksrvtgt.in ${DESTDIR}${BINDIR}/ksrvtgt
+
+depend all:
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/appl/kauth
diff --git a/kerberosIV/usr.bin/telnet/Makefile b/kerberosIV/usr.bin/telnet/Makefile
new file mode 100644
index 0000000..1e19cb1
--- /dev/null
+++ b/kerberosIV/usr.bin/telnet/Makefile
@@ -0,0 +1,17 @@
+# $Id$
+
+PROG= telnet
+
+CFLAGS+= -DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DSKEY \
+ -DENCRYPTION -DAUTHENTICATION -DKRB4 \
+ -I${TELNETDIR}
+
+SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c \
+ telnet.c terminal.c tn3270.c utilities.c
+
+DPADD= ${LIBTERMCAP} ${LIBTELNET} ${LIBDES} ${LIBKRB}
+LDADD= -ltermcap -L${TELNETOBJDIR} -ltelnet -ldes -L${KRBOBJDIR} -lkrb
+
+.include <bsd.prog.mk>
+
+.PATH: ${TELNETDIR}/telnet
diff --git a/kerberosIV/usr.sbin/Makefile b/kerberosIV/usr.sbin/Makefile
new file mode 100644
index 0000000..ee5e94f
--- /dev/null
+++ b/kerberosIV/usr.sbin/Makefile
@@ -0,0 +1,6 @@
+# $Id$
+
+SUBDIR= ext_srvtab kadmind kdb_destroy kdb_edit kdb_init kdb_util \
+ kerberos kip kprop ksrvutil kstash
+
+.include <bsd.subdir.mk>
diff --git a/kerberosIV/usr.sbin/Makefile.inc b/kerberosIV/usr.sbin/Makefile.inc
new file mode 100644
index 0000000..3b63d97
--- /dev/null
+++ b/kerberosIV/usr.sbin/Makefile.inc
@@ -0,0 +1,5 @@
+# $Id$
+
+BINDIR= /usr/sbin
+
+.include "../Makefile.inc"
diff --git a/kerberosIV/usr.sbin/ext_srvtab/Makefile b/kerberosIV/usr.sbin/ext_srvtab/Makefile
new file mode 100644
index 0000000..6dbd6ad
--- /dev/null
+++ b/kerberosIV/usr.sbin/ext_srvtab/Makefile
@@ -0,0 +1,18 @@
+# $Id$
+
+PROG= ext_srvtab
+MAN8= ${KRB4DIR}/man/ext_srvtab.8
+SRCS= ext_srvtab.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/admin \
+ -I${.CURDIR}/../include
+LDADD= -L${ROKENOBJDIR} -lroken \
+ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} \
+ ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/admin
diff --git a/kerberosIV/usr.sbin/kadmind/Makefile b/kerberosIV/usr.sbin/kadmind/Makefile
new file mode 100644
index 0000000..1ee92b9
--- /dev/null
+++ b/kerberosIV/usr.sbin/kadmind/Makefile
@@ -0,0 +1,29 @@
+# $Id$
+
+PROG= kadmind
+MAN8= ${KRB4DIR}/man/kadmind.8
+SRCS= kadm_server.c kadm_funcs.c admin_server.c kadm_ser_wrap.c \
+ pw_check.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/sl \
+ -I${KRB4DIR}/lib/acl \
+ -I${KRB4DIR}/lib/kadm \
+ -I${KRB4DIR}/lib/kdb \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/kadmin \
+ -I${KADMOBJDIR} \
+ -I${KRBOBJDIR} \
+ -I${.CURDIR}/../include
+LDADD= -L${ROKENOBJDIR} -lroken -L${SLOBJDIR} -lsl \
+ -L${ACLOBJDIR} -lacl -L${KADMOBJDIR} -lkadm \
+ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb \
+ -ldes -lcom_err
+DPADD= ${LIBROKEN} ${LIBSL} ${LIBACL} ${LIBKADM} ${LIBKDB} ${LIBKRB} \
+ ${LIBDES} ${LIBCOM_ERR}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/kadmin
+
+beforedepend all: ${KADMOBJDIR}/kadm_err.h ${KRBOBJDIR}/krb_err.h
diff --git a/kerberosIV/usr.sbin/kdb_destroy/Makefile b/kerberosIV/usr.sbin/kdb_destroy/Makefile
new file mode 100644
index 0000000..e89b3d9
--- /dev/null
+++ b/kerberosIV/usr.sbin/kdb_destroy/Makefile
@@ -0,0 +1,18 @@
+# $Id$
+
+PROG= kdb_destroy
+MAN8= ${KRB4DIR}/man/kdb_destroy.8
+SRCS= kdb_destroy.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/admin \
+ -I${.CURDIR}/../include
+LDADD= -L${ROKENOBJDIR} -lroken \
+ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} \
+ ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/admin
diff --git a/kerberosIV/usr.sbin/kdb_edit/Makefile b/kerberosIV/usr.sbin/kdb_edit/Makefile
new file mode 100644
index 0000000..9ebc023
--- /dev/null
+++ b/kerberosIV/usr.sbin/kdb_edit/Makefile
@@ -0,0 +1,18 @@
+# $Id$
+
+PROG= kdb_edit
+MAN8= ${KRB4DIR}/man/kdb_edit.8
+SRCS= kdb_edit.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/admin \
+ -I${.CURDIR}/../include
+LDADD= -L${ROKENOBJDIR} -lroken \
+ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} \
+ ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/admin
diff --git a/kerberosIV/usr.sbin/kdb_init/Makefile b/kerberosIV/usr.sbin/kdb_init/Makefile
new file mode 100644
index 0000000..b0f4945
--- /dev/null
+++ b/kerberosIV/usr.sbin/kdb_init/Makefile
@@ -0,0 +1,18 @@
+# $Id$
+
+PROG= kdb_init
+MAN8= ${KRB4DIR}/man/kdb_init.8
+SRCS= kdb_init.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/admin \
+ -I${.CURDIR}/../include
+LDADD= -L${ROKENOBJDIR} -lroken \
+ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} \
+ ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/admin
diff --git a/kerberosIV/usr.sbin/kdb_util/Makefile b/kerberosIV/usr.sbin/kdb_util/Makefile
new file mode 100644
index 0000000..a2dc91c
--- /dev/null
+++ b/kerberosIV/usr.sbin/kdb_util/Makefile
@@ -0,0 +1,18 @@
+# $Id$
+
+PROG= kdb_util
+MAN8= ${KRB4DIR}/man/kdb_util.8
+SRCS= kdb_util.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/admin \
+ -I${.CURDIR}/../include
+LDADD= -L${ROKENOBJDIR} -lroken \
+ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} \
+ ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/admin
diff --git a/kerberosIV/usr.sbin/kerberos/Makefile b/kerberosIV/usr.sbin/kerberos/Makefile
new file mode 100644
index 0000000..444d623
--- /dev/null
+++ b/kerberosIV/usr.sbin/kerberos/Makefile
@@ -0,0 +1,22 @@
+# $Id$
+
+PROG= kerberos
+MAN1= ${KRB4DIR}/man/kerberos.1
+MAN5= ${KRB4DIR}/man/krb.conf.5 ${KRB4DIR}/man/krb.realms.5 \
+ ${KRB4DIR}/man/krb.equiv.5
+MAN8= ${KRB4DIR}/man/kerberos.8
+SRCS= kerberos.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KADMOBJDIR} \
+ -I${KRBOBJDIR} \
+ -I${.CURDIR}/../include
+LDADD= -L${ROKENOBJDIR} -lroken \
+ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb \
+ -ldes
+DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/server
diff --git a/kerberosIV/usr.sbin/kip/Makefile b/kerberosIV/usr.sbin/kip/Makefile
new file mode 100644
index 0000000..17dfb39
--- /dev/null
+++ b/kerberosIV/usr.sbin/kip/Makefile
@@ -0,0 +1,17 @@
+# $Id$
+
+PROG= kip
+NOMAN= true
+SRCS= kip.c common.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/kadmin \
+ -I${KRBOBJDIR} \
+ -I${.CURDIR}/../include
+LDADD= -L${ROKENOBJDIR} -lroken -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKRB} ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/appl/kip
diff --git a/kerberosIV/usr.sbin/kprop/Makefile b/kerberosIV/usr.sbin/kprop/Makefile
new file mode 100644
index 0000000..1fc0515d
--- /dev/null
+++ b/kerberosIV/usr.sbin/kprop/Makefile
@@ -0,0 +1,18 @@
+# $Id$
+
+PROG= kprop
+MAN8= ${KRB4DIR}/man/kprop.8
+SRCS= kprop.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/kdb \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/slave \
+ -I${INCLOBJDIR} \
+ -I${.CURDIR}/../include
+LDADD= -L${ROKENOBJDIR} -lroken -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKRB} ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/slave
diff --git a/kerberosIV/usr.sbin/ksrvutil/Makefile b/kerberosIV/usr.sbin/ksrvutil/Makefile
new file mode 100644
index 0000000..a41f671
--- /dev/null
+++ b/kerberosIV/usr.sbin/ksrvutil/Makefile
@@ -0,0 +1,19 @@
+# $Id$
+
+PROG= ksrvutil
+MAN8= ${KRB4DIR}/man/ksrvutil.8
+SRCS= ksrvutil.c ksrvutil_get.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/sl \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/admin \
+ -I${.CURDIR}/../include
+LDADD= -L${ROKENOBJDIR} -lroken -L${KADMOBJDIR} -lkadm \
+ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes -lcom_err
+DPADD= ${LIBROKEN} ${LIBKADM} ${LIBKDB} ${LIBKRB} \
+ ${LIBDES} ${LIBCOM_ERR}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/kadmin
diff --git a/kerberosIV/usr.sbin/kstash/Makefile b/kerberosIV/usr.sbin/kstash/Makefile
new file mode 100644
index 0000000..1bacfe9
--- /dev/null
+++ b/kerberosIV/usr.sbin/kstash/Makefile
@@ -0,0 +1,18 @@
+# $Id$
+
+PROG= kstash
+MAN8= ${KRB4DIR}/man/kstash.8
+SRCS= kstash.c
+CFLAGS+= -I${KRB4DIR}/include \
+ -I${KRB4DIR}/lib/roken \
+ -I${KRB4DIR}/lib/krb \
+ -I${KRB4DIR}/admin \
+ -I${.CURDIR}/../include
+LDADD= -L${ROKENOBJDIR} -lroken \
+ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes
+DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} \
+ ${LIBDES}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB4DIR}/admin
OpenPOWER on IntegriCloud