summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* protoizeKen Raeburn2002-09-0388-1857/+1123
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14812 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ets.c (krb5_init_ets, krb5_free_ets): Use prototype style function ↵Ken Raeburn2002-09-032-4/+7
| | | | | | definitions git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14811 dc483132-0cff-0310-8789-dd5450dbe970
* Use prototype style definitions for functions. Avoid variable name "class"Ken Raeburn2002-09-0314-759/+297
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14810 dc483132-0cff-0310-8789-dd5450dbe970
* * com_err.c (default_com_err_proc, com_err_va, set_com_err_hook): Define ↵Ken Raeburn2002-09-022-16/+13
| | | | | | with prototype syntax git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14809 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (MY_SUBDIRS) [##WIN32##]: Hide variable definition inside "!if 0"Ken Raeburn2002-08-302-0/+11
| | | | | | block. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14807 dc483132-0cff-0310-8789-dd5450dbe970
* Change configure argument handling to be more in line with standard autoconfKen Raeburn2002-08-302-65/+59
| | | | | | | | | | | | | | | | | | | | 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
* * pre.in (CFLAGS): Define using @CFLAGS@, not @CCOPTS@Ken Raeburn2002-08-292-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14802 dc483132-0cff-0310-8789-dd5450dbe970
* drop SS_DEPS from last changeKen Raeburn2002-08-292-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14801 dc483132-0cff-0310-8789-dd5450dbe970
* * win-pre.in (COM_ERR_DEPS, SS_DEPS): New variablesKen Raeburn2002-08-292-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14800 dc483132-0cff-0310-8789-dd5450dbe970
* rename macros in last makefile.in change to use _ instead of - in namesKen Raeburn2002-08-292-7/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14799 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Configure lib/krb4 and krb524 only if KRB4_LIBKen Raeburn2002-08-292-2/+11
| | | | | | 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
* * Makefile.in (MAYBE_ET-k5, MAYBE_ET-sys, MAYBE_SS-k5, MAYBE_SS-sys): NewKen Raeburn2002-08-292-1/+12
| | | | | | | 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
* * configure.in: Configure util/et and util/ss only if they're going to be usedKen Raeburn2002-08-292-1/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14796 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (COM_ERR_DEPLIB-sys, COM_ERR_DEPLIB-k5, SS_DEPLIB-k5, SS_DEPLIB-sys,Ken Raeburn2002-08-292-10/+31
| | | | | | | | | | | 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
* * aclocal.m4 (CHOOSE_ET, CHOOSE_SS): New macros.Ken Raeburn2002-08-292-0/+59
| | | | | | (CONFIG_RULES): Invoke them. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14794 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf: Use $(LDFLAGS) in CC_LINK_SHARED and CC_LINK_STATIC, after ↵Ken Raeburn2002-08-292-32/+35
| | | | | | other options git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14793 dc483132-0cff-0310-8789-dd5450dbe970
* * ktutil_ct.ct: Add final "end" statementKen Raeburn2002-08-292-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14792 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-08-2933-126/+236
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14791 dc483132-0cff-0310-8789-dd5450dbe970
* * depfix.sed: Replace in-tree ss header files with $(SS_DEPS)Ken Raeburn2002-08-292-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14790 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (SS_DEPS): New variableKen Raeburn2002-08-292-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14789 dc483132-0cff-0310-8789-dd5450dbe970
* * pty_err.et: Add final "end" statementKen Raeburn2002-08-292-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14788 dc483132-0cff-0310-8789-dd5450dbe970
* ignore tmpdirKen Raeburn2002-08-291-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14787 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-29192-124/+499
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-2930-0/+68
| | | | | | | | | 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
* retry checkin reviving dead fileKen Raeburn2002-08-291-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14784 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-2939-0/+128
| | | | | | | 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
* * btree/bt_split.c (bt_psplit): Correctly account forTom Yu2002-08-282-2/+9
| | | | | | | 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
* undo quoting changesKen Raeburn2002-08-272-10/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14779 dc483132-0cff-0310-8789-dd5450dbe970
* more quotingKen Raeburn2002-08-272-4/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14778 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for using the encrypted part of a krb5 ticket as an AFS token--Sam Hartman2002-08-273-56/+227
| | | | | | 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
* Quote targets of some copy operations within the build tree. NeededKen Raeburn2002-08-2712-12/+40
| | | | | | | 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
* Remove release notes as the content is 100% incorrect.Sam Hartman2002-08-261-16/+0
| | | | | | Changelog batch with future commit git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14769 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use $krb5_cv_host instead of $hostEzra Peisach2002-08-262-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14768 dc483132-0cff-0310-8789-dd5450dbe970
* 2002-08-26 Ezra Peisach <epeisach@bu.edu>Ezra Peisach2002-08-262-1/+8
| | | | | | | * 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
* * pre.in: Set host to @krb5_cv_host@ instead of @host@. The wayEzra Peisach2002-08-262-1/+8
| | | | | | | | 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
* * aclocal.m4 (KRB5_LIB_PARAMS): Substitute krb5_cv_host inEzra Peisach2002-08-262-7/+7
| | | | | | | 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
* * aclocal.m4: Require autoconf 2.52 or laterKen Raeburn2002-08-242-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14764 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile: DeletedKen Raeburn2002-08-242-23/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14763 dc483132-0cff-0310-8789-dd5450dbe970
* * sendto_kdc.c (merge_addrlists): Truncate source address list after copyingKen Raeburn2002-08-242-0/+4
| | | | | | its data into the destination list. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14762 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-23212-138/+548
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (auth_data, reply_gss_code): Use OM_uint32 instead of intEzra Peisach2002-08-232-2/+7
| | | | | | to match arguments to gssapi functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14760 dc483132-0cff-0310-8789-dd5450dbe970
* * compat_recv.c: Include defines.h for prototypesEzra Peisach2002-08-232-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14759 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c (dump_db): Update usage comment. Add "-rev" andTom Yu2002-08-234-16/+80
| | | | | | | | | | | | | | | | | | "-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
* * kdb_db2.h: Add prototype and rename forTom Yu2002-08-234-5/+53
| | | | | | | | | | | | | 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
* * dbtest.c: Include btree.h if we're compiled with -DSTATISTICSTom Yu2002-08-233-1/+21
| | | | | | * 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
* * main.c: Disable append(); we don't have R_APPEND in this releaseTom Yu2002-08-232-8/+88
| | | | | | | | | | | | | | 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
* * Makefile.in (LIBMINOR): Bump due to addition of bt_rseq()Tom Yu2002-08-238-12/+474
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * db.h: Add rename and prototype for bt_rseq(); this is a kludgeTom Yu2002-08-232-0/+7
| | | | | | to avoid stuffing more things into the DB handle. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14751 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SUBDIROBJLISTS): New variableKen Raeburn2002-08-232-0/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14749 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (krb5_locate_kdc): Don't look up kerberos-sec for TCP serviceKen Raeburn2002-08-232-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14748 dc483132-0cff-0310-8789-dd5450dbe970