Index: stable/3/kerberosIV/Makefile =================================================================== --- stable/3/kerberosIV/Makefile (revision 62579) +++ stable/3/kerberosIV/Makefile (revision 62580) @@ -1,63 +1,68 @@ # $FreeBSD$ +MAINTAINER= markm@FreeBSD.org + SUBDIR= include lib libexec usr.bin usr.sbin SDIR= ${.CURDIR}/.. CODAI= ${MAKE} ${MFLAGS} MAKE_KERBEROS4=yes cleandir && \ ${MAKE} ${MFLAGS} MAKE_KERBEROS4=yes obj && \ ${MAKE} ${MFLAGS} MAKE_KERBEROS4=yes depend all install CODAIN= ${MAKE} ${MFLAGS} cleandir && \ ${MAKE} ${MFLAGS} obj && \ ${MAKE} ${MFLAGS} depend all install CODAD= ${MAKE} ${MFLAGS} MAKE_KERBEROS4=yes cleandir && \ ${MAKE} ${MFLAGS} MAKE_KERBEROS4=yes obj && \ ${MAKE} ${MFLAGS} MAKE_KERBEROS4=yes depend all distribute # These are the programs which depend on kerberos kprog: cd ${SDIR}/bin/rcp; ${CODAI} cd ${SDIR}/gnu/usr.bin/cvs; ${CODAI} + cd ${SDIR}/libexec/ftpd; ${CODAI} cd ${SDIR}/libexec/rlogind; ${CODAI} cd ${SDIR}/libexec/rshd; ${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}/sbin/dump; ${CODAI} cd ${SDIR}/sbin/restore; ${CODAI} # These are the programs which depend on kerberos # This target us used to rebuild these programs WITHOUT kerberos dekerberise: cd ${SDIR}/bin/rcp; ${CODAIN} cd ${SDIR}/gnu/usr.bin/cvs; ${CODAIN} + cd ${SDIR}/libexec/ftpd; ${CODAIN} cd ${SDIR}/libexec/rlogind; ${CODAIN} cd ${SDIR}/libexec/rshd; ${CODAIN} cd ${SDIR}/usr.bin/login; ${CODAIN} cd ${SDIR}/usr.bin/passwd; ${CODAIN} cd ${SDIR}/usr.bin/rlogin; ${CODAIN} cd ${SDIR}/usr.bin/rsh; ${CODAIN} cd ${SDIR}/usr.bin/su; ${CODAIN} cd ${SDIR}/sbin/dump; ${CODAIN} cd ${SDIR}/sbin/restore; ${CODAIN} bootstrap: cleandir obj depend all install kprog help-distribute: distribute cd ${SDIR}/bin/rcp; ${CODAD} cd ${SDIR}/gnu/usr.bin/cvs; ${CODAD} + cd ${SDIR}/libexec/ftpd; ${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}/sbin/dump; ${CODAD} cd ${SDIR}/sbin/restore; ${CODAD} .include Index: stable/3/kerberosIV/Makefile.inc =================================================================== --- stable/3/kerberosIV/Makefile.inc (revision 62579) +++ stable/3/kerberosIV/Makefile.inc (revision 62580) @@ -1,102 +1,108 @@ # $FreeBSD$ .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) +ROKENOBJDIR= ${.OBJDIR}/../../../kerberosIV/lib/libroken +.else +ROKENOBJDIR= ${.CURDIR}/../../../kerberosIV/lib/libroken +.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} +protos.h: ${KRB4DIR}/include/protos.H + ln -sf ${.ALLSRC} ${.TARGET} COMPILE_ET= compile_et .ORDER: ${KADMOBJDIR}/kadm_err.c ${KADMOBJDIR}/kadm_err.h ${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 .ORDER: ${KRBOBJDIR}/krb_err.c ${KRBOBJDIR}/krb_err.h ${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 .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 Index: stable/3/kerberosIV/include/Makefile =================================================================== --- stable/3/kerberosIV/include/Makefile (revision 62579) +++ stable/3/kerberosIV/include/Makefile (revision 62580) @@ -1,18 +1,11 @@ # $FreeBSD$ .if exists(${.OBJDIR}/../../include) INCLUDEOBJDIR= ${.OBJDIR}/../include .else INCLUDEOBJDIR= ${.CURDIR}/../include .endif depend lint tags: .include - -#${INCLUDEOBJDIR}/protos.h: ${KRB4DIR}/include/protos.H -# cd ${INCLUDEOBJDIR} ; ln -sf ${.ALLSRC} ${.TARGET} - -#all: ${INCLUDEOBJDIR}/protos.h - -#CLEANFILES= ${INCLUDEOBJDIR}/protos.h Index: stable/3/kerberosIV/include/config.h =================================================================== --- stable/3/kerberosIV/include/config.h (revision 62579) +++ stable/3/kerberosIV/include/config.h (revision 62580) @@ -1,985 +1,1282 @@ +/* $FreeBSD$ */ /* 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 doesn't define. */ /* #undef gid_t */ /* Define if you have alloca, as a function or macro. */ #define HAVE_ALLOCA 1 /* Define if you have 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 as __inline if that's what the C compiler calls it. */ +/* #undef inline */ + /* Define to `long' if doesn't define. */ /* #undef off_t */ /* Define to `int' if 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 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 . */ #define SYS_SIGLIST_DECLARED 1 /* Define if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* Define to `int' if 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 if you have the XauFileName function. */ +#define HAVE_XAUFILENAME 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() */ -/* #undef NEED_STRTOK_R_PROTO */ - -/* 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 HAVE__SETSID 1 /* 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 atexit function. */ +#define HAVE_ATEXIT 1 + +/* Define if you have the cap_set_proc function. */ +/* #undef HAVE_CAP_SET_PROC */ + +/* Define if you have the cgetent function. */ +#define HAVE_CGETENT 1 + /* Define if you have the chown function. */ #define HAVE_CHOWN 1 +/* Define if you have the chroot function. */ +#define HAVE_CHROOT 1 + +/* Define if you have the copyhostent function. */ +/* #undef HAVE_COPYHOSTENT */ + +/* Define if you have the crypt function. */ +#define HAVE_CRYPT 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 dlopen function. */ +/* #undef HAVE_DLOPEN */ -/* 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 fattach function. */ +/* #undef HAVE_FATTACH */ + /* 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 fnmatch function. */ +#define HAVE_FNMATCH 1 + /* Define if you have the forkpty function. */ #define HAVE_FORKPTY 1 +/* Define if you have the freehostent function. */ +/* #undef HAVE_FREEHOSTENT */ + /* 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 getegid function. */ +#define HAVE_GETEGID 1 + +/* Define if you have the geteuid function. */ +#define HAVE_GETEUID 1 + +/* Define if you have the getgid function. */ +#define HAVE_GETGID 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 getipnodebyaddr function. */ +/* #undef HAVE_GETIPNODEBYADDR */ + +/* Define if you have the getipnodebyname function. */ +/* #undef HAVE_GETIPNODEBYNAME */ + /* Define if you have the getlogin function. */ #define HAVE_GETLOGIN 1 +/* Define if you have the getmsg function. */ +/* #undef HAVE_GETMSG */ + /* 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 getrlimit function. */ +#define HAVE_GETRLIMIT 1 + /* 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 gettosbyname function. */ +/* #undef HAVE_GETTOSBYNAME */ + /* 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 inet_ntop function. */ +#define HAVE_INET_NTOP 1 + +/* Define if you have the inet_pton function. */ +#define HAVE_INET_PTON 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 on_exit function. */ +/* #undef HAVE_ON_EXIT */ + +/* Define if you have the parsetos function. */ +/* #undef HAVE_PARSETOS */ + /* 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 readv function. */ +#define HAVE_READV 1 + +/* Define if you have the recvmsg function. */ +#define HAVE_RECVMSG 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 sa_family_t function. */ +/* #undef HAVE_SA_FAMILY_T */ + +/* Define if you have the sendmsg function. */ +#define HAVE_SENDMSG 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 sgi_getcapabilitybyname function. */ +/* #undef HAVE_SGI_GETCAPABILITYBYNAME */ +/* Define if you have the sigaction function. */ +#define HAVE_SIGACTION 1 + /* Define if you have the socket function. */ #define HAVE_SOCKET 1 +/* Define if you have the socklen_t function. */ +#define HAVE_SOCKLEN_T 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 strlcat function. */ +#define HAVE_STRLCAT 1 + +/* Define if you have the strlcpy function. */ +#define HAVE_STRLCPY 1 + /* Define if you have the strlwr function. */ /* #undef HAVE_STRLWR */ +/* Define if you have the strncasecmp function. */ +#define HAVE_STRNCASECMP 1 + +/* Define if you have the strndup function. */ +/* #undef HAVE_STRNDUP */ + /* Define if you have the strnlen function. */ /* #undef HAVE_STRNLEN */ +/* Define if you have the strptime function. */ +#define HAVE_STRPTIME 1 + +/* Define if you have the strsep function. */ +#define HAVE_STRSEP 1 + /* Define if you have the strtok_r function. */ #define HAVE_STRTOK_R 1 +/* Define if you have the struct_sockaddr_storage function. */ +#define HAVE_STRUCT_SOCKADDR_STORAGE 1 + /* 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 sysconf function. */ +#define HAVE_SYSCONF 1 + +/* Define if you have the sysctl function. */ +#define HAVE_SYSCTL 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 vsyslog function. */ +#define HAVE_VSYSLOG 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 writev function. */ +#define HAVE_WRITEV 1 + /* Define if you have the yp_get_default_domain function. */ #define HAVE_YP_GET_DEFAULT_DOMAIN 1 /* Define if you have the header file. */ #define HAVE_ARPA_FTP_H 1 /* Define if you have the header file. */ #define HAVE_ARPA_INET_H 1 /* Define if you have the header file. */ #define HAVE_ARPA_NAMESER_H 1 /* Define if you have the header file. */ #define HAVE_ARPA_TELNET_H 1 -/* Define if you have the header file. */ -/* #undef HAVE_BIND_BITYPES_H */ - /* Define if you have the header file. */ /* #undef HAVE_BSD_BSD_H */ /* Define if you have the header file. */ /* #undef HAVE_BSDSETJMP_H */ +/* Define if you have the header file. */ +/* #undef HAVE_CAPABILITY_H */ + /* Define if you have the header file. */ /* #undef HAVE_CRYPT_H */ +/* Define if you have the header file. */ +#define HAVE_CURSES_H 1 + +/* Define if you have the header file. */ +#define HAVE_DB_H 1 + /* Define if you have the header file. */ /* #undef HAVE_DBM_H */ /* Define if you have the header file. */ #define HAVE_DIRENT_H 1 /* Define if you have the header file. */ #define HAVE_ERR_H 1 +/* Define if you have the header file. */ +#define HAVE_ERRNO_H 1 + /* Define if you have the header file. */ #define HAVE_FCNTL_H 1 +/* Define if you have the header file. */ +#define HAVE_FNMATCH_H 1 + /* Define if you have the header file. */ #define HAVE_GRP_H 1 +/* Define if you have the header file. */ +#define HAVE_INTTYPES_H 1 + /* Define if you have the header file. */ /* #undef HAVE_IO_H */ /* Define if you have the header file. */ /* #undef HAVE_LASTLOG_H */ +/* Define if you have the header file. */ +#define HAVE_LIBUTIL_H 1 + +/* Define if you have the header file. */ +#define HAVE_LIMITS_H 1 + /* Define if you have the header file. */ /* #undef HAVE_LOGIN_H */ /* Define if you have the header file. */ /* #undef HAVE_MAILLOCK_H */ /* Define if you have the header file. */ #define HAVE_NDBM_H 1 /* Define if you have the header file. */ #define HAVE_NET_IF_H 1 /* Define if you have the header file. */ #define HAVE_NET_IF_TUN_H 1 /* Define if you have the header file. */ #define HAVE_NET_IF_VAR_H 1 /* Define if you have the header file. */ #define HAVE_NETDB_H 1 /* Define if you have the header file. */ #define HAVE_NETINET_IN_H 1 /* Define if you have the header file. */ /* #undef HAVE_NETINET_IN6_MACHTYPES_H */ /* Define if you have the header file. */ #define HAVE_NETINET_IN_SYSTM_H 1 /* Define if you have the header file. */ #define HAVE_NETINET_IP_H 1 /* Define if you have the header file. */ #define HAVE_NETINET_TCP_H 1 /* Define if you have the header file. */ #define HAVE_PATHS_H 1 /* Define if you have the header file. */ /* #undef HAVE_PTY_H */ /* Define if you have the header file. */ #define HAVE_PWD_H 1 /* Define if you have the header file. */ #define HAVE_RESOLV_H 1 /* Define if you have the header file. */ /* #undef HAVE_RPCSVC_DBM_H */ +/* Define if you have the header file. */ +#define HAVE_RPCSVC_YPCLNT_H 1 + /* Define if you have the header file. */ /* #undef HAVE_SAC_H */ /* Define if you have the header file. */ -/* #undef HAVE_SECURITY_PAM_MODULES_H */ +#define HAVE_SECURITY_PAM_MODULES_H 1 /* Define if you have the header file. */ /* #undef HAVE_SHADOW_H */ /* Define if you have the header file. */ /* #undef HAVE_SIAD_H */ /* Define if you have the header file. */ #define HAVE_SIGNAL_H 1 +/* Define if you have the header file. */ +/* #undef HAVE_STANDARDS_H */ + /* Define if you have the header file. */ /* #undef HAVE_STROPTS_H */ /* Define if you have the header file. */ /* #undef HAVE_SYS_BITYPES_H */ +/* Define if you have the header file. */ +/* #undef HAVE_SYS_CAPABILITY_H */ + /* Define if you have the header file. */ /* #undef HAVE_SYS_CATEGORY_H */ -/* Define if you have the header file. */ -#define HAVE_SYS_CDEFS_H 1 - /* Define if you have the header file. */ #define HAVE_SYS_FILE_H 1 /* Define if you have the header file. */ #define HAVE_SYS_FILIO_H 1 /* Define if you have the header file. */ #define HAVE_SYS_IOCCOM_H 1 /* Define if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define if you have the header file. */ /* #undef HAVE_SYS_LOCKING_H */ /* Define if you have the header file. */ #define HAVE_SYS_MMAN_H 1 /* Define if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define if you have the header file. */ #define HAVE_SYS_PROC_H 1 +/* Define if you have the header file. */ +/* #undef HAVE_SYS_PTY_H */ + /* Define if you have the header file. */ /* #undef HAVE_SYS_PTYIO_H */ /* Define if you have the header file. */ /* #undef HAVE_SYS_PTYVAR_H */ /* Define if you have the header file. */ #define HAVE_SYS_RESOURCE_H 1 /* Define if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define if you have the header file. */ #define HAVE_SYS_SOCKET_H 1 /* Define if you have the header file. */ #define HAVE_SYS_SOCKIO_H 1 /* Define if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define if you have the header file. */ /* #undef HAVE_SYS_STR_TTY_H */ /* Define if you have the header file. */ /* #undef HAVE_SYS_STREAM_H */ /* Define if you have the header file. */ /* #undef HAVE_SYS_STROPTS_H */ /* Define if you have the header file. */ /* #undef HAVE_SYS_STRTTY_H */ /* Define if you have the header file. */ #define HAVE_SYS_SYSCALL_H 1 /* Define if you have the header file. */ #define HAVE_SYS_SYSCTL_H 1 /* Define if you have the header file. */ /* #undef HAVE_SYS_TERMIO_H */ /* Define if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define if you have the header file. */ #define HAVE_SYS_TIMEB_H 1 /* Define if you have the header file. */ #define HAVE_SYS_TIMES_H 1 /* Define if you have the header file. */ #define HAVE_SYS_TTY_H 1 /* Define if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define if you have the header file. */ #define HAVE_SYS_UIO_H 1 /* Define if you have the header file. */ #define HAVE_SYS_UN_H 1 /* Define if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define if you have the header file. */ #define HAVE_SYS_WAIT_H 1 /* Define if you have the header file. */ #define HAVE_SYSLOG_H 1 +/* Define if you have the header file. */ +#define HAVE_TERM_H 1 + +/* Define if you have the header file. */ +#define HAVE_TERMCAP_H 1 + /* Define if you have the header file. */ /* #undef HAVE_TERMIO_H */ /* Define if you have the header file. */ #define HAVE_TERMIOS_H 1 /* Define if you have the header file. */ /* #undef HAVE_TMPDIR_H */ /* Define if you have the header file. */ #define HAVE_TTYENT_H 1 /* Define if you have the header file. */ /* #undef HAVE_UDB_H */ /* Define if you have the header file. */ /* #undef HAVE_ULIMIT_H */ /* Define if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define if you have the header file. */ /* #undef HAVE_USERPW_H */ /* Define if you have the header file. */ /* #undef HAVE_USERSEC_H */ /* Define if you have the header file. */ /* #undef HAVE_UTIL_H */ /* Define if you have the header file. */ #define HAVE_UTIME_H 1 /* Define if you have the header file. */ #define HAVE_UTMP_H 1 /* Define if you have the header file. */ /* #undef HAVE_UTMPX_H */ /* Define if you have the header file. */ /* #undef HAVE_WAIT_H */ -/* Define if you have the 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 crypt library (-lcrypt). */ +#define HAVE_LIBCRYPT 1 + +/* Define if you have the curses library (-lcurses). */ +/* #undef HAVE_LIBCURSES */ + +/* Define if you have the dl library (-ldl). */ +/* #undef HAVE_LIBDL */ + /* 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 ncurses library (-lncurses). */ +/* #undef HAVE_LIBNCURSES */ -/* 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 +/* Name of package */ +#define PACKAGE "krb4" + +/* Version number of package */ +#define VERSION "1.0.2" + +/* Define to what version of SunOS you are running. */ +/* #undef SunOS */ + +/* Define if you have the socks package. */ +/* #undef SOCKS */ + +/* Define to enable old kdestroy behavior. */ +/* #undef LEGACY_KDESTROY */ + +/* Define if you want to match subdomains. */ +/* #undef MATCH_SUBDOMAINS */ + +/* Define this to be the directory where the + dictionary for cracklib resides. */ +/* #undef DICTPATH */ + +/* Define this to the path of the mail spool directory. */ +/* #undef KRB4_MAILDIR */ + +/* Define this to the kerberos database directory. */ +/* #undef DB_DIR */ + +/* Define to enable new master key code. */ +/* #undef RANDOM_MKEY */ + +/* Define this to the location of the master key. */ +/* #undef MKEYFILE */ + +/* Define to enable basic OSF C2 support. */ +/* #undef HAVE_OSFC2 */ + +/* Define if you don't want to use mmap. */ +/* #undef NO_MMAP */ + +/* Define if you don't wan't support for AFS. */ +/* #undef NO_AFS */ + +/* Set this to the type of des-quad-cheksum to use. */ +#define DES_QUAD_DEFAULT DES_QUAD_GUESS + +/* Define if you have the readline package. */ +/* #undef READLINE */ + +/* Define if you have the hesiod package. */ +/* #undef HESIOD */ + +/* define if your compiler has __attribute__ */ +#define HAVE___ATTRIBUTE__ 1 + +/* Huh? */ +/* #undef HAVE_STRANGE_INT8_T */ + +/* Define if NDBM really is DB (creates files ending in .db). */ +#define HAVE_NEW_DB 1 + +/* Define if you have NDBM (and not DBM) */ +#define NDBM 1 + +/* define if you have a working snprintf */ +#define HAVE_SNPRINTF 1 + +/* define if the system is missing a prototype for snprintf() */ +/* #undef NEED_SNPRINTF_PROTO */ + +/* define if you have a glob() that groks + GLOB_BRACE, GLOB_NOCHECK, GLOB_QUOTE, and GLOB_TILDE */ +#define HAVE_GLOB 1 + +/* define if the system is missing a prototype for glob() */ +/* #undef NEED_GLOB_PROTO */ + +/* Define if getpwnam_r has POSIX flavour. */ +/* #undef POSIX_GETPWNAM_R */ + +/* Define if getlogin has POSIX flavour (and not BSD). */ +/* #undef POSIX_GETLOGIN */ + +/* define if the system is missing a prototype for hstrerror() */ +/* #undef NEED_HSTRERROR_PROTO */ + +/* define if the system is missing a prototype for gethostname() */ +/* #undef NEED_GETHOSTNAME_PROTO */ + +/* define if the system is missing a prototype for mkstemp() */ +/* #undef NEED_MKSTEMP_PROTO */ + +/* define if the system is missing a prototype for inet_aton() */ +/* #undef NEED_INET_ATON_PROTO */ + +/* Define if realloc(NULL, X) doesn't work. */ +/* #undef BROKEN_REALLOC */ + +/* Define if getcwd is broken (like in SunOS 4). */ +/* #undef BROKEN_GETCWD */ + +/* define if prototype of gethostbyname is compatible with + struct hostent *gethostbyname(const char *) */ +#define GETHOSTBYNAME_PROTO_COMPATIBLE 1 + +/* define if prototype of gethostbyaddr is compatible with + struct hostent *gethostbyaddr(const void *, size_t, int) */ +/* #undef GETHOSTBYADDR_PROTO_COMPATIBLE */ + +/* define if prototype of getservbyname is compatible with + struct servent *getservbyname(const char *, const char *) */ +#define GETSERVBYNAME_PROTO_COMPATIBLE 1 + +/* define if prototype of openlog is compatible with + void openlog(const char *, int, int) */ +#define OPENLOG_PROTO_COMPATIBLE 1 + +/* define if the system is missing a prototype for crypt() */ +/* #undef NEED_CRYPT_PROTO */ + +/* define if the system is missing a prototype for fclose() */ +/* #undef NEED_FCLOSE_PROTO */ + +/* define if the system is missing a prototype for strtok_r() */ +/* #undef NEED_STRTOK_R_PROTO */ + +/* define if the system is missing a prototype for strsep() */ +/* #undef NEED_STRSEP_PROTO */ + +/* define if the system is missing a prototype for getusershell() */ +/* #undef NEED_GETUSERSHELL_PROTO */ + +/* define if the system is missing a prototype for utime() */ +/* #undef NEED_UTIME_PROTO */ + +/* define if you have h_errno */ +#define HAVE_H_ERRNO 1 + +/* define if your system declares h_errno */ +#define HAVE_H_ERRNO_DECLARATION 1 + +/* define if you have h_errlist */ +#define HAVE_H_ERRLIST 1 + +/* define if your system declares h_errlist */ +/* #undef HAVE_H_ERRLIST_DECLARATION */ + +/* define if you have h_nerr */ +#define HAVE_H_NERR 1 + +/* define if your system declares h_nerr */ +/* #undef HAVE_H_NERR_DECLARATION */ + +/* define if you have __progname */ +#define HAVE___PROGNAME 1 + +/* define if your system declares __progname */ +/* #undef HAVE___PROGNAME_DECLARATION */ + +/* define if your system declares optarg */ +#define HAVE_OPTARG_DECLARATION 1 + +/* define if your system declares optind */ +#define HAVE_OPTIND_DECLARATION 1 + +/* define if your system declares opterr */ +#define HAVE_OPTERR_DECLARATION 1 + +/* define if your system declares optopt */ +#define HAVE_OPTOPT_DECLARATION 1 + +/* define if your system declares environ */ +/* #undef HAVE_ENVIRON_DECLARATION */ + +/* Define if RETSIGTYPE == void. */ +#define VOID_RETSIGTYPE 1 + +/* Define if struct utmp has field ut_addr. */ +/* #undef HAVE_STRUCT_UTMP_UT_ADDR */ + +/* Define if struct utmp has field ut_host. */ +#define HAVE_STRUCT_UTMP_UT_HOST 1 + +/* Define if struct utmp has field ut_id. */ +/* #undef HAVE_STRUCT_UTMP_UT_ID */ + +/* Define if struct utmp has field ut_pid. */ +/* #undef HAVE_STRUCT_UTMP_UT_PID */ + +/* Define if struct utmp has field ut_type. */ +/* #undef HAVE_STRUCT_UTMP_UT_TYPE */ + +/* Define if struct utmp has field ut_user. */ +/* #undef HAVE_STRUCT_UTMP_UT_USER */ + +/* Define if struct utmpx has field ut_exit. */ +/* #undef HAVE_STRUCT_UTMPX_UT_EXIT */ + +/* Define if struct utmpx has field ut_syslen. */ +/* #undef HAVE_STRUCT_UTMPX_UT_SYSLEN */ + +/* Define if struct tm has field tm_gmtoff. */ +#define HAVE_STRUCT_TM_TM_GMTOFF 1 + +/* Define if struct tm has field tm_zone. */ +#define HAVE_STRUCT_TM_TM_ZONE 1 + +/* define if you have timezone */ +#define HAVE_TIMEZONE 1 + +/* define if your system declares timezone */ +#define HAVE_TIMEZONE_DECLARATION 1 + +/* define if you have struct spwd */ +/* #undef HAVE_STRUCT_SPWD */ + +/* define if struct winsize is declared in sys/termios.h */ +#define HAVE_STRUCT_WINSIZE 1 + +/* define if struct winsize has ws_xpixel */ +#define HAVE_WS_XPIXEL 1 + +/* define if struct winsize has ws_ypixel */ +#define HAVE_WS_YPIXEL 1 + +/* Define this to what the type ssize_t should be. */ +/* #undef ssize_t */ + +/* Define this to what the type sig_atomic_t should be. */ +/* #undef sig_atomic_t */ + +/* Define if struct sockaddr has field sa_len. */ +#define HAVE_STRUCT_SOCKADDR_SA_LEN 1 + +/* Define if SIAENTITY has field ouid. */ +/* #undef HAVE_SIAENTITY_OUID */ + +/* Define if you have a working getmsg. */ +/* #undef HAVE_GETMSG */ + +/* Define if el_init takes four arguments. */ +/* #undef HAVE_FOUR_VALUED_EL_INIT */ + +/* Define if you have a readline function. */ +#define HAVE_READLINE 1 + +/* Define if you have working stream ptys. */ +/* #undef STREAMSPTY */ + +/* Define if /bin/ls has a `-A' flag. */ +#define HAVE_LS_A 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 +/* This for compat with heimdal (or something) */ +#define KRB_PUT_INT(f, t, l, s) krb_put_int((f), (t), (l), (s)) + +#define HAVE_KRB_ENABLE_DEBUG 1 + +#define HAVE_KRB_DISABLE_DEBUG 1 + +#define HAVE_KRB_GET_OUR_IP_FOR_REALM 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 for OTP support */ +#define OTP 1 + /* 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 +#ifdef BROKEN_REALLOC +#define realloc(X, Y) isoc_realloc((X), (Y)) +#define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y)) +#endif -/* 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 */ -/* #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 +/* + * All these are system-specific defines that I would rather not have at all. + */ /* * AIX braindamage! */ #if _AIX #define _ALL_SOURCE -#define _POSIX_SOURCE -/* this is left for hysteric reasons :-) */ -#define unix /* well, ok... */ +/* XXX this is gross, but kills about a gazillion warnings */ +struct ether_addr; +struct sockaddr; +struct sockaddr_dl; +struct sockaddr_in; #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 + +/* + * Defining this enables lots of useful (and used) extensions on + * glibc-based systems such as Linux + */ + +#define _GNU_SOURCE + +/* some strange OS/2 stuff. From */ + +#ifdef __EMX__ +#define _EMX_TCPIP +#define MAIL_USE_SYSTEM_LOCK +#endif + +#ifdef ROKEN_RENAME +#include "roken_rename.h" #endif Index: stable/3/kerberosIV/include/ktypes.h =================================================================== --- stable/3/kerberosIV/include/ktypes.h (nonexistent) +++ stable/3/kerberosIV/include/ktypes.h (revision 62580) @@ -0,0 +1,11 @@ +/* $FreeBSD$ */ +/* ktypes.h -- this file was generated for i386-unknown-freebsdelf3 by + $Id: bits.c,v 1.6 1999/12/02 16:58:36 joda Exp $ */ + +#ifndef __ktypes_h__ +#define __ktypes_h__ + +#include +#include + +#endif /* __ktypes_h__ */ Property changes on: stable/3/kerberosIV/include/ktypes.h ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: stable/3/kerberosIV/include/roken.h =================================================================== --- stable/3/kerberosIV/include/roken.h (revision 62579) +++ stable/3/kerberosIV/include/roken.h (revision 62580) @@ -1,188 +1,194 @@ /* This is an OS dependent, generated file */ -/* Generated by Mark Murray */ +/* $FreeBSD$ */ + #ifndef __ROKEN_H__ #define __ROKEN_H__ /* -*- C -*- */ /* - * Copyright (c) 1995, 1996, 1997, 1998, 1999 Kungliga Tekniska Högskolan + * Copyright (c) 1995 - 2000 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * 3. Neither the name of the Institute nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -/* $Id: roken.h.in,v 1.125 1999/12/02 16:58:52 joda Exp $ */ -/* $FreeBSD$ */ +/* $Id: roken.h.in,v 1.125.2.4 2000/03/12 20:32:51 assar Exp $ */ #include #include #include #include #include #include #include #include #include #include #include #include #include +#include #include #include #include #include #include #include #include #include #include #include #define ROKEN_LIB_FUNCTION #include int asnprintf (char **ret, size_t max_sz, const char *format, ...) __attribute__ ((format (printf, 3, 4))); int vasnprintf (char **ret, size_t max_sz, const char *format, va_list ap) __attribute__((format (printf, 3, 0))); char * strndup(const char *old, size_t sz); char * strlwr(char *); size_t strnlen(const char*, size_t); char * strupr(char *); #include struct passwd *k_getpwnam (const char *user); struct passwd *k_getpwuid (uid_t uid); const char *get_default_username (void); time_t tm2time (struct tm tm, int local); int unix_verify_user(char *user, char *password); void inaddr2str(struct in_addr addr, char *s, size_t len); void mini_inetd (int port); int roken_concat (char *s, size_t len, ...); size_t roken_mconcat (char **s, size_t max_len, ...); int roken_vconcat (char *s, size_t len, va_list args); size_t roken_vmconcat (char **s, size_t max_len, va_list args); ssize_t net_write (int fd, const void *buf, size_t nbytes); ssize_t net_read (int fd, void *buf, size_t nbytes); int issuid(void); int get_window_size(int fd, struct winsize *); extern const char *__progname; extern char **environ; +struct hostent * +getipnodebyname (const char *name, int af, int flags, int *error_num); +struct hostent * +getipnodebyaddr (const void *src, size_t len, int af, int *error_num); +void +freehostent (struct hostent *h); struct hostent * copyhostent (const struct hostent *h); - /* * kludges and such */ int roken_gethostby_setup(const char*, const char*); struct hostent* roken_gethostbyname(const char*); struct hostent* roken_gethostbyaddr(const void*, size_t, int); #define roken_getservbyname(x,y) getservbyname(x,y) #define roken_openlog(a,b,c) openlog(a,b,c) void set_progname(char *argv0); #endif /* __ROKEN_H__ */ Index: stable/3/kerberosIV/include/version.h =================================================================== --- stable/3/kerberosIV/include/version.h (revision 62579) +++ stable/3/kerberosIV/include/version.h (revision 62580) @@ -1,2 +1,5 @@ -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"; +/* $FreeBSD$ */ +char *krb4_long_version = "@(#)$Version: krb4-1.0 by root on greenpeace.grondar.za (i386-unknown-freebsd3.something) Sat Jan 8 19:34:57 SAST 2000 $"; +char *krb4_version = "krb4-1.0"; +char *heimdal_long_version = "@(#)$Version: heimdal-0.1l by root on greenpeace.grondar.za (i386-unknown-freebsd3.something) Sat Jan 8 20:56:02 SAST 2000 $"; +char *heimdal_version = "heimdal-0.1l"; Index: stable/3/kerberosIV/lib/libacl/Makefile =================================================================== --- stable/3/kerberosIV/lib/libacl/Makefile (revision 62579) +++ stable/3/kerberosIV/lib/libacl/Makefile (revision 62580) @@ -1,21 +1,24 @@ # $FreeBSD$ LIB= acl CFLAGS+= -I${KRB4DIR}/include \ - -I${INCLUDEOBJDIR} \ - -I${KRB4DIR}/lib/roken \ + -I${KRB4DIR}/lib/acl \ -I${KRB4DIR}/lib/krb \ - -I${KRB4DIR}/lib/acl -SRCS= acl_files.c + -I${KRB4DIR}/lib/roken \ + -I${INCLUDEOBJDIR} \ + -I${.OBJDIR} +SRCS= acl_files.c protos.h 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 .PATH: ${KRB4DIR}/lib/acl + +CLEANFILES+= protos.h Index: stable/3/kerberosIV/lib/libkadm/Makefile =================================================================== --- stable/3/kerberosIV/lib/libkadm/Makefile (revision 62579) +++ stable/3/kerberosIV/lib/libkadm/Makefile (revision 62580) @@ -1,20 +1,24 @@ # $FreeBSD$ 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${KRB4DIR}/lib/roken \ -I${KRBOBJDIR} \ - -I${KADMOBJDIR} + -I${KADMOBJDIR} \ + -I${.CURDIR}/../../../contrib/com_err \ + -I${.OBJDIR} SRCS= kadm_cli_wrap.c kadm_stream.c kadm_supp.c \ ${KADMOBJDIR}/kadm_err.c ${KADMOBJDIR}/kadm_err.h \ - ${KRBOBJDIR}/krb_err.h + ${KRBOBJDIR}/krb_err.h check_password.c protos.h INCLUDES= ${KRB4DIR}/lib/kadm/kadm.h ${KADMOBJDIR}/kadm_err.h .include .PATH: ${KRB4DIR}/lib/kadm + +CLEANFILES+= protos.h Index: stable/3/kerberosIV/lib/libkafs/Makefile =================================================================== --- stable/3/kerberosIV/lib/libkafs/Makefile (revision 62579) +++ stable/3/kerberosIV/lib/libkafs/Makefile (revision 62580) @@ -1,20 +1,22 @@ # $FreeBSD$ 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 +SRCS= afssys.c afskrb.c common.c issuid.c \ + strlcpy.c strlcat.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 .PATH: ${KRB4DIR}/lib/kafs +.PATH: ${KRB4DIR}/lib/roken Index: stable/3/kerberosIV/lib/libkdb/Makefile =================================================================== --- stable/3/kerberosIV/lib/libkdb/Makefile (revision 62579) +++ stable/3/kerberosIV/lib/libkdb/Makefile (revision 62580) @@ -1,17 +1,17 @@ # $FreeBSD$ 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 + print_princ.c INCLUDES= ${KRB4DIR}/lib/kdb/kdc.h ${KRB4DIR}/lib/kdb/krb_db.h .include .PATH: ${KRB4DIR}/lib/kdb Index: stable/3/kerberosIV/lib/libkrb/Makefile =================================================================== --- stable/3/kerberosIV/lib/libkrb/Makefile (revision 62579) +++ stable/3/kerberosIV/lib/libkrb/Makefile (revision 62580) @@ -1,67 +1,74 @@ # $FreeBSD$ LIB= krb CFLAGS+= -I${KRB4DIR}/include \ -I${INCLUDEOBJDIR} \ - -I${KRB4DIR}/lib/roken \ -I${KRB4DIR}/lib/krb \ - -I${KRBOBJDIR} + -I${KRB4DIR}/lib/roken \ + -I${KRBOBJDIR} \ + -I${.CURDIR}/../../../contrib/com_err \ + -I${.OBJDIR} DPADD+= ${LIBCRYPT} LDADD+= -lcrypt -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 strcasecmp.c \ - ${KRBOBJDIR}/krb_err.h +SRCS= check_time.c cr_err_reply.c create_auth_reply.c \ + create_ciph.c create_death_packet.c create_ticket.c \ + debug_decl.c decomp_ticket.c defaults.c dest_tkt.c \ + encrypt_ktext.c extra.c get_ad_tkt.c getfile.c get_cred.c \ + get_default_principal.c get_host.c get_in_tkt.c get_krbrlm.c \ + get_svc_in_tkt.c get_tf_fullname.c get_tf_realm.c getaddrs.c \ + getrealm.c getst.c k_getport.c k_getsockinst.c k_localtime.c \ + kdc_reply.c kntoln.c krb_check_auth.c krb_equiv.c \ + krb_err_txt.c krb_get_in_tkt.c kuserok.c lifetime.c \ + logging.c lsb_addr_comp.c mk_auth.c mk_err.c mk_priv.c \ + mk_req.c mk_safe.c month_sname.c name2name.c krb_net_read.c \ + krb_net_write.c one.c parse_name.c rd_err.c rd_priv.c \ + rd_req.c rd_safe.c read_service_key.c realm_parse.c \ + recvauth.c rw.c save_credentials.c send_to_kdc.c sendauth.c \ + solaris_compat.c stime.c str2key.c tf_util.c time.c \ + tkt_string.c unparse_name.c verify_user.c krb_ip_realm.c \ + base64.c concat.c flock.c gethostname.c gettimeofday.c \ + getuid.c net_read.c net_write.c resolve.c snprintf.c \ + strcasecmp.c strlcat.c strlcpy.c strdup.c strncasecmp.c \ + strnlen.c strtok_r.c swab.c ${KRBOBJDIR}/krb_err.c \ + ${KRBOBJDIR}/krb_err.h protos.h \ + com_err.c error.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/krb-protos.h \ ${KRB4DIR}/lib/krb/prot.h ${KRBOBJDIR}/krb_err.h .include .PATH: ${KRB4DIR}/lib/krb .PATH: ${KRB4DIR}/lib/roken +.PATH: ${.CURDIR}/../../../contrib/com_err Index: stable/3/kerberosIV/lib/libroken/Makefile =================================================================== --- stable/3/kerberosIV/lib/libroken/Makefile (revision 62579) +++ stable/3/kerberosIV/lib/libroken/Makefile (revision 62580) @@ -1,16 +1,32 @@ # $FreeBSD$ 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 strupr.c + -I${KRB4DIR}/lib/roken \ + -I${.OBJDIR} +SRCS= base64.c concat.c emalloc.c eread.c erealloc.c estrdup.c \ + ewrite.c get_default_username.c get_window_size.c getarg.c \ + inaddr2str.c issuid.c k_getpwnam.c k_getpwuid.c mini_inetd.c \ + net_read.c net_write.c parse_time.c parse_units.c \ + print_version.c resolve.c roken_gethostby.c signal.c \ + simple_exec.c snprintf.c socket.c tm2time.c verify.c \ + warnerr.c copyhostent.c strlwr.c strndup.c strnlen.c \ + strupr.c print_version.h NOPIC= yes install: .include .PATH: ${KRB4DIR}/lib/roken + +build-tools: make-print-version + +print_version.h: make-print-version + ./make-print-version print_version.h + +make-print-version: make-print-version.c + ${CC} ${CFLAGS} -o ${.TARGET} ${.OODATE} + +CLEANFILES+= make-print-version print_version.h Index: stable/3/kerberosIV/lib/libsl/Makefile =================================================================== --- stable/3/kerberosIV/lib/libsl/Makefile (revision 62579) +++ stable/3/kerberosIV/lib/libsl/Makefile (revision 62580) @@ -1,15 +1,17 @@ # $FreeBSD$ LIB= sl CFLAGS+= -I${KRB4DIR}/include \ - -I${INCLUDEOBJDIR} \ + -I${KRB4DIR}/lib/sl \ -I${KRB4DIR}/lib/roken \ - -I${KRB4DIR}/lib/sl -SRCS= sl.c + -I${.CURDIR}/../../../contrib/com_err \ + -I${INCLUDEOBJDIR} +SRCS= sl.c ss.c strtok_r.c NOPIC= yes install: .include .PATH: ${KRB4DIR}/lib/sl +.PATH: ${KRB4DIR}/lib/roken Index: stable/3/kerberosIV/lib/libtelnet/Makefile =================================================================== --- stable/3/kerberosIV/lib/libtelnet/Makefile (revision 62579) +++ stable/3/kerberosIV/lib/libtelnet/Makefile (revision 62580) @@ -1,28 +1,26 @@ # $FreeBSD$ LIB= telnet -SRCS= genget.c getent.c misc.c encrypt.c auth.c kerberos.c enc_des.c +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} \ + -DKRB4 -DSRA -I${TELNETDIR} \ -I${KRB4DIR}/lib/krb NOPIC= yes INCLUDES= ${TELNETDIR}/arpa/telnet.h # -# Before complaining about this, please *double-check* that you have -# updated the ldconfig path in /etc/rc to include /usr/lib/compat that -# was added in src/etc/rc rev 1.98. -# This is so that `ld' will not continue to generate binaries linked -# shared against libtelnet, so that in a future release we can move this -# off to a compat dist (like compat22). +# Remove obsolete shared libraries, if any. We don't bother moving them +# to/usr/lib/compat, since they were only used by telnet, telnetd and +# tn3270. # beforeinstall: - rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} + rm -f ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0 .include .PATH: ${TELNETDIR}/libtelnet Index: stable/3/kerberosIV/libexec/kpropd/Makefile =================================================================== --- stable/3/kerberosIV/libexec/kpropd/Makefile (revision 62579) +++ stable/3/kerberosIV/libexec/kpropd/Makefile (revision 62580) @@ -1,18 +1,18 @@ # $FreeBSD$ PROG= kpropd MAN8= ${KRB4DIR}/man/kpropd.8 -SRCS= kpropd.c +SRCS= kpropd.c protos.h 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 -lcrypt DPADD= ${LIBROKEN} ${LIBKRB} ${LIBDES} ${LIBCRYPT} .include .PATH: ${KRB4DIR}/slave Index: stable/3/kerberosIV/libexec/telnetd/Makefile =================================================================== --- stable/3/kerberosIV/libexec/telnetd/Makefile (revision 62579) +++ stable/3/kerberosIV/libexec/telnetd/Makefile (revision 62580) @@ -1,23 +1,23 @@ # $FreeBSD$ # 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} + -I${TELNETDIR} -DINET6 SRCS= global.c slc.c state.c sys_term.c telnetd.c \ termstat.c utility.c authenc.c DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBDES} ${LIBKRB} \ ${LIBCRYPT} LDADD= -lutil -ltermcap -L${TELNETOBJDIR} -ltelnet -ldes \ -L${KRBOBJDIR} -lkrb -lcrypt .include .PATH: ${TELNETDIR}/telnetd Index: stable/3/kerberosIV/usr.bin/kadmin/Makefile =================================================================== --- stable/3/kerberosIV/usr.bin/kadmin/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.bin/kadmin/Makefile (revision 62580) @@ -1,28 +1,28 @@ # $FreeBSD$ PROG= kadmin MAN8= ${KRB4DIR}/man/kadmin.8 -SRCS= kadmin.c new_pwd.c \ +SRCS= kadmin.c new_pwd.c random_password.c \ ${KADMOBJDIR}/kadm_err.h ${KRBOBJDIR}/krb_err.h 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 -lcrypt -lcom_err -lreadline -ltermcap DPADD= ${LIBROKEN} ${LIBSL} ${LIBACL} ${LIBKADM} ${LIBKDB} ${LIBKRB} \ ${LIBDES} ${LIBCRYPT} ${LIBCOM_ERR} ${LIBREADLINE} \ ${LIBTERMCAP} .include .PATH: ${KRB4DIR}/kadmin Index: stable/3/kerberosIV/usr.bin/kauth/Makefile =================================================================== --- stable/3/kerberosIV/usr.bin/kauth/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.bin/kauth/Makefile (revision 62580) @@ -1,17 +1,18 @@ # $FreeBSD$ 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 -lcrypt -DPADD= ${LIBROKEN} ${LIBKAFS} ${LIBKRB} ${LIBDES} ${LIBCRYPT} + -L${KRBOBJDIR} -lkrb -ldes -lcrypt -lcom_err +DPADD= ${LIBROKEN} ${LIBKAFS} ${LIBKRB} ${LIBDES} ${LIBCRYPT} \ + ${LIBCOM_ERR} .include .PATH: ${KRB4DIR}/appl/kauth Index: stable/3/kerberosIV/usr.bin/kdestroy/Makefile =================================================================== --- stable/3/kerberosIV/usr.bin/kdestroy/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.bin/kdestroy/Makefile (revision 62580) @@ -1,19 +1,20 @@ # $FreeBSD$ PROG= kdestroy MAN1= ${KRB4DIR}/man/kdestroy.1 -SRCS= kdestroy.c +SRCS= kdestroy.c protos.h 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 + -I${KRB4DIR}/kuser \ + -I${.OBJDIR} LDADD= -L${ROKENOBJDIR} -lroken \ -L${KAFSOBJDIR} -lkafs -L${KRBOBJDIR} -lkrb -ldes -lcrypt DPADD= ${LIBROKEN} ${LIBKAFS} ${LIBKRB} ${LIBDES} ${LIBCRYPT} .include .PATH: ${KRB4DIR}/kuser Index: stable/3/kerberosIV/usr.bin/kinit/Makefile =================================================================== --- stable/3/kerberosIV/usr.bin/kinit/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.bin/kinit/Makefile (revision 62580) @@ -1,18 +1,19 @@ # $FreeBSD$ PROG= kinit MAN1= ${KRB4DIR}/man/kinit.1 -SRCS= kinit.c +SRCS= kinit.c protos.h CFLAGS+= -I${KRB4DIR}/include \ -I${KRB4DIR}/lib/roken \ -I${KRB4DIR}/lib/kadm \ -I${KRB4DIR}/lib/kdb \ -I${KRB4DIR}/lib/krb \ - -I${KRB4DIR}/kuser + -I${KRB4DIR}/kuser \ + -I${.OBJDIR} LDADD= -L${ROKENOBJDIR} -lroken \ - -L${KRBOBJDIR} -lkrb -ldes -lcrypt -DPADD= ${LIBROKEN} ${LIBKRB} ${LIBDES} ${LIBCRYPT} + -L${KRBOBJDIR} -lkrb -ldes -lcrypt -lcom_err +DPADD= ${LIBROKEN} ${LIBKRB} ${LIBDES} ${LIBCRYPT} ${LIBCOM_ERR} .include .PATH: ${KRB4DIR}/kuser Index: stable/3/kerberosIV/usr.bin/klist/Makefile =================================================================== --- stable/3/kerberosIV/usr.bin/klist/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.bin/klist/Makefile (revision 62580) @@ -1,19 +1,20 @@ # $FreeBSD$ PROG= klist MAN1= ${KRB4DIR}/man/klist.1 -SRCS= klist.c +SRCS= klist.c protos.h 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 + -I${KRB4DIR}/kuser \ + -I${.OBJDIR} LDADD= -L${ROKENOBJDIR} -lroken \ -L${KAFSOBJDIR} -lkafs -L${KRBOBJDIR} -lkrb -ldes -lcrypt DPADD= ${LIBROKEN} ${LIBKAFS} ${LIBKRB} ${LIBDES} ${LIBCRYPT} .include .PATH: ${KRB4DIR}/kuser Index: stable/3/kerberosIV/usr.bin/telnet/Makefile =================================================================== --- stable/3/kerberosIV/usr.bin/telnet/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.bin/telnet/Makefile (revision 62580) @@ -1,18 +1,18 @@ # $FreeBSD$ PROG= telnet -CFLAGS+= -DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DSKEY \ +CFLAGS+= -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DSKEY \ -DENCRYPTION -DAUTHENTICATION -DKRB4 \ - -I${TELNETDIR} + -I${TELNETDIR} -DIPSEC -DINET6 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} ${LIBCRYPT} LDADD= -ltermcap -L${TELNETOBJDIR} -ltelnet -ldes \ -L${KRBOBJDIR} -lkrb -lcrypt .include .PATH: ${TELNETDIR}/telnet Index: stable/3/kerberosIV/usr.sbin/ext_srvtab/Makefile =================================================================== --- stable/3/kerberosIV/usr.sbin/ext_srvtab/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.sbin/ext_srvtab/Makefile (revision 62580) @@ -1,19 +1,20 @@ # $FreeBSD$ PROG= ext_srvtab MAN8= ${KRB4DIR}/man/ext_srvtab.8 -SRCS= ext_srvtab.c +SRCS= ext_srvtab.c protos.h CFLAGS+= -I${KRB4DIR}/include \ -I${KRB4DIR}/lib/roken \ -I${KRB4DIR}/admin \ -I${KRB4DIR}/lib/kadm \ -I${KRB4DIR}/lib/kdb \ -I${KRB4DIR}/lib/krb \ - -I${.CURDIR}/../include + -I${.CURDIR}/../include \ + -I${.OBJDIR} LDADD= -L${ROKENOBJDIR} -lroken \ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes -lcrypt DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} ${LIBDES} ${LIBCRYPT} .include .PATH: ${KRB4DIR}/admin Index: stable/3/kerberosIV/usr.sbin/kdb_destroy/Makefile =================================================================== --- stable/3/kerberosIV/usr.sbin/kdb_destroy/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.sbin/kdb_destroy/Makefile (revision 62580) @@ -1,19 +1,20 @@ # $FreeBSD$ PROG= kdb_destroy MAN8= ${KRB4DIR}/man/kdb_destroy.8 -SRCS= kdb_destroy.c +SRCS= kdb_destroy.c protos.h CFLAGS+= -I${KRB4DIR}/include \ -I${KRB4DIR}/lib/roken \ -I${KRB4DIR}/lib/kadm \ -I${KRB4DIR}/lib/kdb \ -I${KRB4DIR}/lib/krb \ -I${KRB4DIR}/admin \ - -I${.CURDIR}/../include + -I${.CURDIR}/../include \ + -I${.OBJDIR} LDADD= -L${ROKENOBJDIR} -lroken \ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes -lcrypt DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} ${LIBDES} ${CRYPT} .include .PATH: ${KRB4DIR}/admin Index: stable/3/kerberosIV/usr.sbin/kdb_edit/Makefile =================================================================== --- stable/3/kerberosIV/usr.sbin/kdb_edit/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.sbin/kdb_edit/Makefile (revision 62580) @@ -1,19 +1,20 @@ # $FreeBSD$ PROG= kdb_edit MAN8= ${KRB4DIR}/man/kdb_edit.8 -SRCS= kdb_edit.c +SRCS= kdb_edit.c protos.h CFLAGS+= -I${KRB4DIR}/include \ -I${KRB4DIR}/lib/roken \ -I${KRB4DIR}/lib/kadm \ -I${KRB4DIR}/lib/kdb \ -I${KRB4DIR}/lib/krb \ -I${KRB4DIR}/admin \ - -I${.CURDIR}/../include + -I${.CURDIR}/../include \ + -I${.OBJDIR} LDADD= -L${ROKENOBJDIR} -lroken \ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes -lcrypt DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} ${LIBDES} ${LIBCRYPT} .include .PATH: ${KRB4DIR}/admin Index: stable/3/kerberosIV/usr.sbin/kdb_init/Makefile =================================================================== --- stable/3/kerberosIV/usr.sbin/kdb_init/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.sbin/kdb_init/Makefile (revision 62580) @@ -1,19 +1,20 @@ # $FreeBSD$ PROG= kdb_init MAN8= ${KRB4DIR}/man/kdb_init.8 -SRCS= kdb_init.c +SRCS= kdb_init.c protos.h CFLAGS+= -I${KRB4DIR}/include \ -I${KRB4DIR}/lib/roken \ -I${KRB4DIR}/lib/kadm \ -I${KRB4DIR}/lib/kdb \ -I${KRB4DIR}/lib/krb \ -I${KRB4DIR}/admin \ - -I${.CURDIR}/../include + -I${.CURDIR}/../include \ + -I${.OBJDIR} LDADD= -L${ROKENOBJDIR} -lroken \ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes -lcrypt DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} ${LIBDES} ${LIBCRYPT} .include .PATH: ${KRB4DIR}/admin Index: stable/3/kerberosIV/usr.sbin/kdb_util/Makefile =================================================================== --- stable/3/kerberosIV/usr.sbin/kdb_util/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.sbin/kdb_util/Makefile (revision 62580) @@ -1,19 +1,20 @@ # $FreeBSD$ PROG= kdb_util MAN8= ${KRB4DIR}/man/kdb_util.8 -SRCS= kdb_util.c +SRCS= kdb_util.c protos.h CFLAGS+= -I${KRB4DIR}/include \ -I${KRB4DIR}/lib/roken \ -I${KRB4DIR}/lib/kadm \ -I${KRB4DIR}/lib/kdb \ -I${KRB4DIR}/lib/krb \ -I${KRB4DIR}/admin \ - -I${.CURDIR}/../include + -I${.CURDIR}/../include \ + -I${.OBJDIR} LDADD= -L${ROKENOBJDIR} -lroken \ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes -lcrypt DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} ${LIBDES} ${LIBCRYPT} .include .PATH: ${KRB4DIR}/admin Index: stable/3/kerberosIV/usr.sbin/kerberos/Makefile =================================================================== --- stable/3/kerberosIV/usr.sbin/kerberos/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.sbin/kerberos/Makefile (revision 62580) @@ -1,23 +1,24 @@ # $FreeBSD$ 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/kadm \ -I${KRB4DIR}/lib/kdb \ -I${KRB4DIR}/lib/krb \ -I${KADMOBJDIR} \ -I${KRBOBJDIR} \ - -I${.CURDIR}/../include + -I${.CURDIR}/../include \ + -I${.OBJDIR} LDADD= -L${ROKENOBJDIR} -lroken \ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes -lcrypt DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} ${LIBDES} ${LIBCRYPT} .include .PATH: ${KRB4DIR}/server Index: stable/3/kerberosIV/usr.sbin/kprop/Makefile =================================================================== --- stable/3/kerberosIV/usr.sbin/kprop/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.sbin/kprop/Makefile (revision 62580) @@ -1,18 +1,18 @@ # $FreeBSD$ PROG= kprop MAN8= ${KRB4DIR}/man/kprop.8 -SRCS= kprop.c +SRCS= kprop.c protos.h 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 -lcrypt DPADD= ${LIBROKEN} ${LIBKRB} ${LIBDES} ${LIBCRYPT} .include .PATH: ${KRB4DIR}/slave Index: stable/3/kerberosIV/usr.sbin/kstash/Makefile =================================================================== --- stable/3/kerberosIV/usr.sbin/kstash/Makefile (revision 62579) +++ stable/3/kerberosIV/usr.sbin/kstash/Makefile (revision 62580) @@ -1,19 +1,20 @@ # $FreeBSD$ PROG= kstash MAN8= ${KRB4DIR}/man/kstash.8 -SRCS= kstash.c +SRCS= kstash.c protos.h CFLAGS+= -I${KRB4DIR}/include \ -I${KRB4DIR}/lib/roken \ -I${KRB4DIR}/lib/krb \ -I${KRB4DIR}/admin \ -I${KRB4DIR}/lib/kadm \ -I${KRB4DIR}/lib/kdb \ - -I${.CURDIR}/../include + -I${.CURDIR}/../include \ + -I${.OBJDIR} LDADD= -L${ROKENOBJDIR} -lroken \ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb -ldes -lcrypt DPADD= ${LIBROKEN} ${LIBKDB} ${LIBKRB} ${LIBDES} ${LIBCRYPT} .include .PATH: ${KRB4DIR}/admin