+Wed Mar 15 12:26:21 1995 Keith Vetter (keithv@fusion.com)
+
+ * Makefile.in: made so it recurses into the subdirs for the PC.
+
Fri Nov 18 00:17:47 1994 Mark Eichin <eichin@cygnus.com>
* configure.in: move WITH_CCOPTS, WITH_KRB5ROOT.
+##DOSBUILDTOP = ..\..
+##DOS!include $(BUILDTOP)\config\windows.in
+
TST=if test -n "`cat DONE`" ; then
LIB_SUBDIRS= error_tables asn.1 ccache ccache/stdio ccache/file \
keytab keytab/file krb rcache free os posix
LIBUPDATE= $(BUILDTOP)/util/libupdate
-all::
+all:: all-$(WHAT)
+
+all-unix::
+
+all-windows::
libkrb5_ranlib: libkrb5.a
$(RANLIB) libkrb5.a
done ; \
fi
touch libkrb5.stamp
-
install:: libkrb5_ranlib
$(INSTALL_DATA) libkrb5.a $(DESTDIR)$(KRB5_LIBDIR)/libkrb5.a
$(RANLIB) $(DESTDIR)$(KRB5_LIBDIR)/libkrb5.a
-clean::
- $(RM) libkrb5.a libkrb5_ranlib libkrb5.stamp
+clean:: clean-$(WHAT)
+
+clean-unix::
+ $(RM) libkrb5.$(LIBEXT) libkrb5_ranlib libkrb5.stamp
+
+clean-windows::
+ $(RM) krb5.lib krb5.bak
+
+all-windows::
+ cd ASN.1
+ @echo Making in ASN.1
+ -$(MAKE) -$(MFLAGS) LIBCMD="$(LIBCMD)"
+ cd ..\CCACHE
+ @echo Making in CCACHE
+ -$(MAKE) -$(MFLAGS) LIBCMD="$(LIBCMD)"
+ cd ..\ERROR_TA
+ @echo Making in ERROR_TA
+ -$(MAKE) -$(MFLAGS) LIBCMD="$(LIBCMD)"
+ cd ..\FREE
+ @echo Making in FREE
+ -$(MAKE) -$(MFLAGS) LIBCMD="$(LIBCMD)"
+ cd ..\KEYTAB
+ @echo Making in KEYTAB
+ -$(MAKE) -$(MFLAGS) LIBCMD="$(LIBCMD)"
+ cd ..\KRB
+ @echo Making in KRB
+ -$(MAKE) -$(MFLAGS) LIBCMD="$(LIBCMD)"
+ cd ..\OS
+ @echo Making in OS
+ -$(MAKE) -$(MFLAGS) LIBCMD="$(LIBCMD)"
+ cd ..\POSIX
+ @echo Making in POSIX
+ -$(MAKE) -$(MFLAGS) LIBCMD="$(LIBCMD)"
+ cd ..\RCACHE
+ @echo Making in RCACHE
+ -$(MAKE) -$(MFLAGS) LIBCMD="$(LIBCMD)"
+ cd ..
+
+clean-windows::
+ cd ASN.1
+ @echo Making clean in ASN.1
+ -$(MAKE) -$(MFLAGS) clean
+ cd ..\CCACHE
+ @echo Making clean in CCACHE
+ -$(MAKE) -$(MFLAGS) clean
+ cd ..\ERROR_TA
+ @echo Making clean in ERROR_TA
+ -$(MAKE) -$(MFLAGS) clean
+ cd ..\FREE
+ @echo Making clean in FREE
+ -$(MAKE) -$(MFLAGS) clean
+ cd ..\KEYTAB
+ @echo Making clean in KEYTAB
+ -$(MAKE) -$(MFLAGS) clean
+ cd ..\KRB
+ @echo Making clean in KRB
+ -$(MAKE) -$(MFLAGS) clean
+ cd ..\OS
+ @echo Making clean in OS
+ -$(MAKE) -$(MFLAGS) clean
+ cd ..\POSIX
+ @echo Making clean in POSIX
+ -$(MAKE) -$(MFLAGS) clean
+ cd ..\RCACHE
+ @echo Making clean in RCACHE
+ -$(MAKE) -$(MFLAGS) clean
+ cd ..
+ @echo Making clean locally
+
+Wed Mar 15 12:07:28 1995 Keith Vetter (keithv@fusion.com)
+
+ * fcc_eseq.c, fcc_init.c, fcc_maybe.c, fcc_dest.c:
+ Initialized return code.
+ * fcc_genn.c, fcc_init.c: removed chmod call for the PC
+
Thu Mar 09 18:43:10 1995 Chris Provenzano (proven@mit.edu)
* fcc_destry.c (krb5_fcc_destroy())
krb5_ccache id;
krb5_cc_cursor *cursor;
{
- int kret = KRB5_OK;
+ krb5_error_code kret = KRB5_OK;
/* don't close; it may be left open by the caller,
and if not, fcc_start_seq_get and/or fcc_next_cred will do the
/* Ignore user's umask, set mode = 0600 */
#ifdef NOFCHMOD
+#ifndef NOCHMOD
chmod(((krb5_fcc_data *) lid->data)->filename, S_IRUSR | S_IWUSR);
+#endif
#else
fchmod(ret, S_IRUSR | S_IWUSR);
#endif
MAYBE_OPEN(context, id, FCC_OPEN_AND_ERASE);
#ifdef NOFCHMOD
+#ifndef NOCHMOD
reti = chmod(((krb5_fcc_data *) id->data)->filename, S_IREAD | S_IWRITE);
+#endif
#else
reti = fchmod(((krb5_fcc_data *) id->data)->fd, S_IREAD | S_IWRITE);
#endif
krb5_ui_2 fcc_fvno;
int fd;
int open_flag;
- krb5_error_code retval;
+ krb5_error_code retval = 0;
if (data->fd != -1) {
/* Don't know what state it's in; shut down and start anew. */
+Wed Mar 15 12:24:25 1995 Keith Vetter (keithv@fusion.com)
+
+ * Makefile.in: disabled the awk part of the makefile.
+
Tue Mar 7 21:40:18 1995 Keith Vetter (keithv@fusion.com)
* Makefile.in: changed library name for the PC.
all-unix:: $(HDRS) includes $(OBJS)
-all-windows:: awk-windows $(OBJS)
+all-windows:: $(OBJS)
unixmac: $(HDRS)
+Wed Mar 15 12:21:24 1995 Keith Vetter (keithv@fusion.com)
+
+ * f_cksum.c renamed to f_chksum.c because of module name conflicts
+ with crypto/des/f_cksum.
+ * Makefile.in: reflected above name change.
+
Tue Mar 7 21:40:18 1995 Keith Vetter (keithv@fusion.com)
* Makefile.in: changed library name for the PC.
f_authdata.$(OBJEXT) \
f_authent.$(OBJEXT) \
f_auth_cnt.$(OBJEXT) \
- f_cksum.$(OBJEXT) \
+ f_chksum.$(OBJEXT) \
f_creds.$(OBJEXT) \
f_cred_cnt.$(OBJEXT) \
f_enc_kdc.$(OBJEXT) \
$(srcdir)/f_authdata.c \
$(srcdir)/f_authent.c \
$(srcdir)/f_auth_cnt.c \
- $(srcdir)/f_cksum.c \
+ $(srcdir)/f_chksum.c \
$(srcdir)/f_creds.c \
$(srcdir)/f_cred_cnt.c \
$(srcdir)/f_enc_kdc.c \
/*
- * lib/krb5/free/f_cksum.c
+ * lib/krb5/free/f_chksum.c
*
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
+Wed Mar 15 12:19:47 1995 Keith Vetter (keithv@fusion.com)
+
+ * sendto_kdc.c: made to work on the PC.
+
Tue Mar 7 22:15:00 1995 Keith Vetter <keithv@fusion.com>
* sendto_kdc.c: stubbed on the PC for now.
* as necessary.
*/
+#define NEED_SOCKETS
+#define NEED_LOWLEVEL_IO
#include "k5-int.h"
-#ifndef _MSDOS /* Not yet for Windows */
#include <sys/types.h>
+#ifndef _WINSOCKAPI_
#include <sys/socket.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#else
+#include <time.h>
+#endif
#include "os-proto.h"
#ifdef _AIX
extern int krb5_skdc_timeout_shift;
extern int krb5_skdc_timeout_1;
-krb5_error_code
+krb5_error_code INTERFACE
krb5_sendto_kdc (context, message, realm, reply)
krb5_context context;
const krb5_data * message;
}
return retval;
}
-#else /* MSDOS */
-
-/* Stub for now to satisfy the linker in making the DLL.
-*/
-krb5_error_code INTERFACE
-krb5_sendto_kdc (context, message, realm, reply)
- krb5_context context;
- const krb5_data * message;
- const krb5_data * realm;
- krb5_data * reply;
-{
- return 0;
-}
-#endif