Ken Raeburn [Sun, 15 Sep 2002 04:59:15 +0000 (04:59 +0000)]
* kerberos_v4.c: Always include stdarg.h, not varargs.h.
(v4_klog): Always declare and define stdarg version.
(krb4_stime): Deleted.
(check_princ): Use strftime instead.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14865
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sun, 15 Sep 2002 00:01:19 +0000 (00:01 +0000)]
* Makefile.in (rcp): Fix typo in 06-25 change
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14864
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 14 Sep 2002 12:30:55 +0000 (12:30 +0000)]
* sendto_kdc.c (service_fds): Fix bug in last change.
(krb5int_debug_fprint): Use 'out' consistently, minimize explicit
references to stderr. Flush output before returning.
(dperror) [_WIN32]: Shorten message.
(start_connection, service_tcp_fd, service_fds, krb5int_sendto):
Use dprint instead of dfprintf.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14863
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 14 Sep 2002 03:49:59 +0000 (03:49 +0000)]
* sendto_kdc.c (struct conn_state): Add new function pointer field 'service'
for the fd service routine.
(setup_connection): Initialize it.
(service_fd): Deleted.
(service_fds): Incorporate debug output from service_fd. Call service routine
indicated in connection info. Decrement select fd count for each flag set for
a file descriptor. Ensure that the index into the conns array doesn't run off
the end.
(krb5int_debug_fprint): Fetch correct type for %E.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14862
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 14 Sep 2002 02:45:50 +0000 (02:45 +0000)]
Work out pathname for gcc fixincludes headers via "-print-libgcc-file-name" and
substitutions in depgen.sed at "make depend" time, and emit patterns into
depfix2.sed to strip them out of dependencies, instead of hard-coding pathnames
for Athena gcc installations we know about in depfix.sed.
Verify that gcc is being used, before trying to rebuild dependencies.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14861
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 14 Sep 2002 01:01:22 +0000 (01:01 +0000)]
Delete old placeholders for framework support; implement it anew soon,
when we're more certain what we need.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14860
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 13 Sep 2002 23:46:50 +0000 (23:46 +0000)]
copyright
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14859
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 13 Sep 2002 23:17:01 +0000 (23:17 +0000)]
--with-system-db info
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14858
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 13 Sep 2002 23:08:04 +0000 (23:08 +0000)]
update dependencies
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14857
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 13 Sep 2002 23:07:20 +0000 (23:07 +0000)]
Don't do 'make depend' if we're not using the in-tree versions of et,ss,db
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14856
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 13 Sep 2002 23:06:15 +0000 (23:06 +0000)]
Permit building against either the in-tree version of db2 or a system version
specified at configure time.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14855
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 13 Sep 2002 22:57:41 +0000 (22:57 +0000)]
* aclocal.m4 (KRB5_AC_CHOOSE_DB): New macro.
(CONFIG_RULES): Invoke it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14854
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 13 Sep 2002 22:54:58 +0000 (22:54 +0000)]
* build.texinfo (Options to Configure): Update for new options
--with-system-db, DB_HEADER=, DB_LIB=.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14853
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 13 Sep 2002 22:53:20 +0000 (22:53 +0000)]
ignore krb5-install directory
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14852
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 13 Sep 2002 22:30:07 +0000 (22:30 +0000)]
* depfix.sed: Replace db2 headers with $(DB_DEPS)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14851
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 13 Sep 2002 22:25:28 +0000 (22:25 +0000)]
* kdb_db2.c (krb5_db2_db_iterate_ext): Don't call bt_rseq if HAVE_BT_RSEQ is
undefined; instead, just return an error.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14850
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 13 Sep 2002 02:41:15 +0000 (02:41 +0000)]
* kerberos_v4.c (kerb_get_principal): Include kvno when logging failure to find
a key.
(v4_klog): Include explicit do-nothing default case in switch statement.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14849
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 13 Sep 2002 02:40:04 +0000 (02:40 +0000)]
* main.c (initialize_realms): Include replay cache name in error if it can't be initialized
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14848
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Wed, 11 Sep 2002 20:50:59 +0000 (20:50 +0000)]
Don't request addresses when
we forward addressless tickets
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14845
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 11 Sep 2002 08:43:27 +0000 (08:43 +0000)]
* t_locate_kdc.c(main):Add new argument -m for looking up master KDC addresses
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14844
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 11 Sep 2002 08:42:03 +0000 (08:42 +0000)]
* locate_kdc.c (get_port): Skip service name lookup, just use the supplied
numbers.
(add_host_to_list): If a second port number is supplied, look up AF_INET
addresses only, and only for SOCK_DGRAM type entries. Ignore errors in the
second address lookup.
(krb5_locate_srv_conf_1) [TEST]: More debugging code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14843
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 11 Sep 2002 08:13:45 +0000 (08:13 +0000)]
whitespace
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14842
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 11 Sep 2002 03:59:27 +0000 (03:59 +0000)]
protoize
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14841
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 11 Sep 2002 03:05:06 +0000 (03:05 +0000)]
update dependencies
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14840
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 11 Sep 2002 03:02:11 +0000 (03:02 +0000)]
log for last post.in change
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14839
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 11 Sep 2002 02:59:44 +0000 (02:59 +0000)]
* Makefile.in (LOCALINCLUDES): Don't reference et directory.
(dependencies updated)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14838
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 11 Sep 2002 02:58:24 +0000 (02:58 +0000)]
Move all depfix2.sed generation into depgen.sed, so ".." in $(srcdir) and
$(BUILDTOP) can be properly quoted, and won't match names like "ss".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14837
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 11 Sep 2002 02:40:54 +0000 (02:40 +0000)]
* Makefile.in (LOCALINCLUDES): Drop references to .. and et directories in
source and build trees.
(depend-prerecurse): Depend on 'includes'.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14836
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 11 Sep 2002 01:12:53 +0000 (01:12 +0000)]
Try a little harder to avoid returning e-text that says "Generic error (see
e-text)" for out-of-range codes where we haven't explicitly decided to return a
vague error message.
* do_as_req.c (prepare_error_as): New argument, the error message text as
determined *before* possibly replacing the error code with "generic error".
(process_as_req): Fill it in based on 'status', or the error message
corresponding to the error code to be returned.
* do_tgs_req.c (prepare_error_tgs): New argument, the error message text as
determined *before* possibly replacing the error code with "generic error".
(process_tgs_req): Fill it in based on 'status', or the error message
corresponding to the error code to be returned.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14835
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Sep 2002 23:40:02 +0000 (23:40 +0000)]
* network.c (process_packet): Call inet_ntop directly.
* sock2p.c: Deleted.
* Makefile.in (SRCS, OBJS): Drop it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14834
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 5 Sep 2002 12:31:57 +0000 (12:31 +0000)]
use stdint.h and inttypes.h if available
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14833
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 5 Sep 2002 06:45:18 +0000 (06:45 +0000)]
another one
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14832
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 5 Sep 2002 06:37:57 +0000 (06:37 +0000)]
updates: ANSI C; autoconf; TCP; --with-system-{et,ss}
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14831
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 5 Sep 2002 06:36:49 +0000 (06:36 +0000)]
* rc_io.c (krb5_rc_io_move): Missed a variable name change
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14830
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 4 Sep 2002 00:07:46 +0000 (00:07 +0000)]
* build.texinfo (Options to Configure): Update for new options
--with-system-et, --with-system-ss, SS_DIR=.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14829
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 23:18:41 +0000 (23:18 +0000)]
Support SS_LIB=... at configure time
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14828
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 23:16:47 +0000 (23:16 +0000)]
* libobj.in (.c.so, .c.po): Put LOCALINCLUDES before CPPFLAGS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14827
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 22:31:16 +0000 (22:31 +0000)]
* aclocal.m4 (KRB_INCLUDE): Put in-tree include dirs before previous contents of CPPFLAGS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14826
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 22:30:44 +0000 (22:30 +0000)]
* pre.in (ALL_CFLAGS): Put LOCALINCLUDES before CPPFLAGS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14825
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 22:11:02 +0000 (22:11 +0000)]
* foreachaddr.c: Include errno.h instead of declaring errno
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14824
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 22:10:47 +0000 (22:10 +0000)]
* fake-addrinfo.h (gaiptr, faiptr, gniptr): Delete duplicate declarations
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14823
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 22:03:48 +0000 (22:03 +0000)]
protoize
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14822
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 21:56:52 +0000 (21:56 +0000)]
protoize
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14821
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 21:49:24 +0000 (21:49 +0000)]
protoize
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14820
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 21:38:03 +0000 (21:38 +0000)]
revert init change to flock_zero in krb5_lock_file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14819
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 20:59:57 +0000 (20:59 +0000)]
* reconf: Give up if autoreconf fails
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14818
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 3 Sep 2002 20:12:04 +0000 (20:12 +0000)]
* mkrel: set -e to catch errors. Only build and clean autoconf if
it exists.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14817
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 19:29:37 +0000 (19:29 +0000)]
protoize
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14816
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 3 Sep 2002 16:42:10 +0000 (16:42 +0000)]
* acconfig.h: Remove - no longer necessary
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14815
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 3 Sep 2002 16:41:58 +0000 (16:41 +0000)]
* configure.in: Use AH_TEMPLATE to put undefined definition of
HAVE_STRUCT_SOCKADDR_STORAGE in krb5/autoconf.h - allowing for
acconfig.h to be removed.
* Makefile.in (autoconf.stmp): No longer depend on
$(SRCTOP)/acconfig.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14814
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 3 Sep 2002 16:41:40 +0000 (16:41 +0000)]
* acconfig.h: Remove file. All handled by configure.in now
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14813
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 01:13:48 +0000 (01:13 +0000)]
protoize
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14812
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 00:33:43 +0000 (00:33 +0000)]
* init_ets.c (krb5_init_ets, krb5_free_ets): Use prototype style function definitions
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14811
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Sep 2002 00:32:14 +0000 (00:32 +0000)]
Use prototype style definitions for functions. Avoid variable name "class"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14810
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 2 Sep 2002 20:56:26 +0000 (20:56 +0000)]
* com_err.c (default_com_err_proc, com_err_va, set_com_err_hook): Define with prototype syntax
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14809
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 2 Sep 2002 20:23:30 +0000 (20:23 +0000)]
* build.texinfo (Options to Configure): Update for new "CC=" style options
replacing "--with-cc=" options.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14808
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 30 Aug 2002 22:53:46 +0000 (22:53 +0000)]
* Makefile.in (MY_SUBDIRS) [##WIN32##]: Hide variable definition inside "!if 0"
block.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14807
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 30 Aug 2002 00:06:31 +0000 (00:06 +0000)]
Change configure argument handling to be more in line with standard autoconf
usage.
* aclocal.m4 (KRB5_AC_CHOOSE_ET, KRB5_AC_CHOOSE_SS): Renamed from non-KRB5_AC_
names. Change --with-system-com_err to --with-system-et, to avoid confusing
mix of '-' and '_'.
(WITH_CCOPTS): Describe as deprecated in favor of CFLAGS=...; use
AC_REQUIRE_CPP.
(WITH_LINKER, WITH_LDOPTS, WITH_CPPOPTS): Describe as deprecated; encourage use
of LD= etc instead.
(WITH_NETLIB, WITH_HESIOD): Use AC_HELP_STRING.
(KRB5_AC_CHECK_FOR_CFLAGS): New macro.
(WITH_CC): Mark old configure option deprecated, encourage user to use CC=
instead. Add gcc warning flags only if CFLAGS not set by user. Don't force
default to "cc".
(KRB5_LIB_PARAMS): Use AC_CANONICAL_HOST, don't bother with cache.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14803
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 21:44:33 +0000 (21:44 +0000)]
* pre.in (CFLAGS): Define using @CFLAGS@, not @CCOPTS@
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14802
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 21:22:35 +0000 (21:22 +0000)]
drop SS_DEPS from last change
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14801
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 21:21:47 +0000 (21:21 +0000)]
* win-pre.in (COM_ERR_DEPS, SS_DEPS): New variables
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14800
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 20:55:48 +0000 (20:55 +0000)]
rename macros in last makefile.in change to use _ instead of - in names
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14799
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 12:20:06 +0000 (12:20 +0000)]
* configure.in: Configure lib/krb4 and krb524 only if KRB4_LIB
is non-empty; this may not be right for "--with-krb4=/some/dir".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14798
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 12:14:44 +0000 (12:14 +0000)]
* Makefile.in (MAYBE_ET-k5, MAYBE_ET-sys, MAYBE_SS-k5, MAYBE_SS-sys): New
variables.
(MY_SUBDIRS): Refer to them, choosing via new configure substitutions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14797
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 12:06:51 +0000 (12:06 +0000)]
* configure.in: Configure util/et and util/ss only if they're going to be used
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14796
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 12:05:56 +0000 (12:05 +0000)]
* pre.in (COM_ERR_DEPLIB-sys, COM_ERR_DEPLIB-k5, SS_DEPLIB-k5, SS_DEPLIB-sys,
COM_ERR_DEPS-sys, COM_ERR_DEPS-k5, SS_DEPS-sys, SS_DEPS-k5, SS_LIB-sys,
SS_LIB-k5, COMPILE_ET-sys, COMPILE_ET-k5, MAKE_COMMANDS-sys, MAKE_COMMANDS-k5):
New variables.
(COM_ERR_DEPLIB, SS_DEPLIB, COM_ERR_DEPS, SS_DEPS, SS_LIB, COMPILE_ET,
MAKE_COMMANDS): Use them, selecting using new configure substitutions.
(COM_ERR_LIB): Always define as -lcom_err.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14795
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 12:05:06 +0000 (12:05 +0000)]
* aclocal.m4 (CHOOSE_ET, CHOOSE_SS): New macros.
(CONFIG_RULES): Invoke them.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14794
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 11:57:31 +0000 (11:57 +0000)]
* shlib.conf: Use $(LDFLAGS) in CC_LINK_SHARED and CC_LINK_STATIC, after other options
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14793
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 11:09:57 +0000 (11:09 +0000)]
* ktutil_ct.ct: Add final "end" statement
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14792
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 11:00:44 +0000 (11:00 +0000)]
update dependencies
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14791
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 10:58:05 +0000 (10:58 +0000)]
* depfix.sed: Replace in-tree ss header files with $(SS_DEPS)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14790
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 10:57:11 +0000 (10:57 +0000)]
* pre.in (SS_DEPS): New variable
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14789
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 09:42:52 +0000 (09:42 +0000)]
* pty_err.et: Add final "end" statement
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14788
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 09:19:46 +0000 (09:19 +0000)]
ignore tmpdir
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14787
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 09:10:29 +0000 (09:10 +0000)]
* Makefile.in: Revert $(S)=>/ change, for Windows support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 08:27:01 +0000 (08:27 +0000)]
Ignore a bunch of files generated by building in the source tree, excluding
those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the
moment, may need updates for other configurations.
(Second try; this time, deal with the cases where "cvs add"/"cvs ci" choked on
previously deleted versions numbered 5.x.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14785
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 08:17:00 +0000 (08:17 +0000)]
retry checkin reviving dead file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14784
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 29 Aug 2002 08:04:44 +0000 (08:04 +0000)]
Ignore a bunch of files generated by building in the source tree, excluding
those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the
moment, may need updates for other configurations.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14783
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 28 Aug 2002 06:34:05 +0000 (06:34 +0000)]
* btree/bt_split.c (bt_psplit): Correctly account for
sizeof(indx_t) when computing space used in a page by an item.
[patch from www.sleepycat.com]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14780
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 27 Aug 2002 19:46:37 +0000 (19:46 +0000)]
undo quoting changes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14779
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 27 Aug 2002 19:33:57 +0000 (19:33 +0000)]
more quoting
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14778
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Tue, 27 Aug 2002 17:50:07 +0000 (17:50 +0000)]
Add support for using the encrypted part of a krb5 ticket as an AFS token--
af krb5-encpart-only (kvno 213) and enable this support by default.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14777
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 27 Aug 2002 16:24:53 +0000 (16:24 +0000)]
Quote targets of some copy operations within the build tree. Needed
now for Windows since we use "/" as a directory separator in places
where Windows would also look for command options.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14776
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Mon, 26 Aug 2002 22:51:08 +0000 (22:51 +0000)]
Remove release notes as the content is 100% incorrect.
Changelog batch with future commit
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14769
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 26 Aug 2002 13:17:57 +0000 (13:17 +0000)]
* configure.in: Use $krb5_cv_host instead of $host
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14768
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 26 Aug 2002 13:17:02 +0000 (13:17 +0000)]
2002-08-26 Ezra Peisach <epeisach@bu.edu>
* configure.in: Use KRB5_LIB_PARAMS instead of AC_CANONICAL_HOST
to set krb5_cv_host.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14767
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 26 Aug 2002 13:14:51 +0000 (13:14 +0000)]
* pre.in: Set host to @krb5_cv_host@ instead of @host@. The way
aclocal.m4 is setup, AC_CANONICAL_HOST may only be evaluated as a
cached variable and autoconf 2.52 will only allow one inclusion of
the code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14766
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 26 Aug 2002 13:14:37 +0000 (13:14 +0000)]
* aclocal.m4 (KRB5_LIB_PARAMS): Substitute krb5_cv_host in
Makefiles. Remove K5_OUTPUT_FILES as nothing depends on it
anymore.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14765
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 24 Aug 2002 02:43:03 +0000 (02:43 +0000)]
* aclocal.m4: Require autoconf 2.52 or later
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14764
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 24 Aug 2002 02:40:45 +0000 (02:40 +0000)]
* Makefile: Deleted
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14763
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 24 Aug 2002 00:01:01 +0000 (00:01 +0000)]
* sendto_kdc.c (merge_addrlists): Truncate source address list after copying
its data into the destination list.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14762
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 23 Aug 2002 21:50:05 +0000 (21:50 +0000)]
Change $(S)=>/ and $(U)=>.. globally
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 23 Aug 2002 19:37:40 +0000 (19:37 +0000)]
* ftpd.c (auth_data, reply_gss_code): Use OM_uint32 instead of int
to match arguments to gssapi functions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14760
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 23 Aug 2002 19:34:57 +0000 (19:34 +0000)]
* compat_recv.c: Include defines.h for prototypes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14759
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 23 Aug 2002 18:15:18 +0000 (18:15 +0000)]
* dump.c (dump_db): Update usage comment. Add "-rev" and
"-recurse" flags to permit reverse and recursive dumping of the
database, respectively. Check for dump filename beginning with
"-" to avoid accidental dumps to such filenames.
* kdb5_util.c (usage): Update to match reality, primarily by
updating the "dump" usage, but also showing global options before
the command, which is how they were being interpreted anyway.
* kdb5_util.M: Update to match reality. Document "-mkey_convert",
"-new_mkey_file", "-rev", and "-recurse" options to "dump".
Document "dump to stdout" behavior. Show global options before
the command. Make some formatting fixes. s/binary tree/btree/
since the btree back end is actually an n-ary tree.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14757
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 23 Aug 2002 18:03:56 +0000 (18:03 +0000)]
* kdb_db2.h: Add prototype and rename for
krb5_db2_db_iterate_ext().
* kdb_db2.c (krb5_db2_db_iterate_ext): New function; allow
optional backwards or recursive (if btree) traversal of the
database.
* Makefile.in (LIBMINOR): Bump due to addition of
krb5_db_iterate_ext().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14755
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 23 Aug 2002 17:58:41 +0000 (17:58 +0000)]
* dbtest.c: Include btree.h if we're compiled with -DSTATISTICS
* Makefile.in: Add rules for bttest; also add a clean rule.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14754
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 23 Aug 2002 17:56:13 +0000 (17:56 +0000)]
* main.c: Disable append(); we don't have R_APPEND in this release
of DB for some reason. Disable load() due to lack of fgetline().
Conditionalize lots of things on -DSTATISTICS or -DDEBUG as
appropriate.
(rlist): New function; does recursive listing of principals.
(main): Fix up naming of *_ENDIAN macros. Default to read-only
open, with new "-w" option for opening read/write. Actually call
db->sync with the correct number of arguments.
(show): Update call to __bt_dpage().
(usage): Update.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14753
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 23 Aug 2002 17:55:33 +0000 (17:55 +0000)]
* Makefile.in (LIBMINOR): Bump due to addition of bt_rseq()
* hash/hash_debug.c: Remove inclusion of compat.h, as we don't
have it in our build system.
* btree/extern.h: Add missing prototypes/renames for
__bt_dmpage(). Add renames for bt_rseq() support functions.
* btree/bt_seq.c (bt_rseq): New function; like __bt_seq() but does
recursive descent rather than using the prev/next pointers. This
will catch some pages that might be missed if the database is
inconsistent. Added support functions for bt_rseq() as well.
* btree/bt_page.c (__bt_free): Set B_METADIRTY when updating free
list.
(__bt_new): Set B_METADIRTY when updating free list.
[patch from www.sleepycat.com]
* btree/bt_debug.c (__bt_dump): Bound loop by number of pages
actually in file to avoid getting a nigh-infinite number of
all-zeroes pages.
(__bt_dmpage): Print a newline after dumping the meta page.
(__bt_dpage): Add DB* parameter; use this to get pagesize in order
to limit dumping of page contents, in case NEXTINDEX(h) happens to
be bogus.
(__bt_stat): Bound loop by number of pages actually in file so as
to stop counting pages after the actual end of file.
* btree/bt_close.c (__bt_sync): Apply a Kerbnet fix from long ago;
don't return prematurely when B_METADIRTY is set but B_MODIFIED is
clear.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14752
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 23 Aug 2002 17:54:59 +0000 (17:54 +0000)]
* db.h: Add rename and prototype for bt_rseq(); this is a kludge
to avoid stuffing more things into the DB handle.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14751
dc483132-0cff-0310-8789-
dd5450dbe970