summaryrefslogtreecommitdiffstats
path: root/src/util
Commit message (Collapse)AuthorAgeFilesLines
...
* * depfix.pl (uniquify): Sort dependencies, so little tweaks to include ordersKen Raeburn2006-03-312-2/+13
| | | | | | don't change lots of makefiles. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17810 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h: Include autoconf.hKen Raeburn2006-03-303-17/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17804 dc483132-0cff-0310-8789-dd5450dbe970
* make depend Ken Raeburn2006-03-301-24/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17803 dc483132-0cff-0310-8789-dd5450dbe970
* * ss_internal.h: Include autoconf.hKen Raeburn2006-03-302-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17802 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Supply all three arguments when calling AC_DEFINEKen Raeburn2006-03-282-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17788 dc483132-0cff-0310-8789-dd5450dbe970
* make dependKen Raeburn2006-03-271-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17786 dc483132-0cff-0310-8789-dd5450dbe970
* build and export set/reset_com_err_hook on windowsKen Raeburn2006-03-272-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17781 dc483132-0cff-0310-8789-dd5450dbe970
* Initial enhanced error message support, similar to what I sent toKen Raeburn2006-03-265-0/+155
| | | | | | | | | | | | | | | | krbdev except for some function renaming (krb5_free_error was already in use, so added _message to everything), and the context is allowed to be NULL (in which case we fall back to error_message() and storing no strings) to simplify some code. Low-level routines in the support library, using a private data structure; higher-level routines in libkrb5, using a krb5_context. Added error info strings to the KRB_ERR_GENERIC case in gc_via_tkt.c and the python sample service location plugin. Added code to kinit and kvno to look up and display the strings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17776 dc483132-0cff-0310-8789-dd5450dbe970
* * plugins.c (krb5int_get_plugin_dir_data): If dirhandle is null or theKen Raeburn2006-03-132-5/+9
| | | | | | file pointer is null, return a one-element list containing just NULL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17738 dc483132-0cff-0310-8789-dd5450dbe970
* * reconf: Put autoconf.stmp into include directoryKen Raeburn2006-03-112-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17733 dc483132-0cff-0310-8789-dd5450dbe970
* Instead of arbitrary division of headers into include and include/krb5, withKen Raeburn2006-03-116-33/+40
| | | | | | | | | | | | include directives sometimes using krb5/foo.h and sometimes using foo.h, and -I options always given for both directories in both source and build trees, push include/krb5/* up a level and drop the krb5 directory (except, for the moment, the change log). Updated #include directives, -I options, and dependencies accordingly, and deleted one or two bits of old, unused code that was noticed in the process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17730 dc483132-0cff-0310-8789-dd5450dbe970
* Add a new recursive target "generated-files-mac", for producing theKen Raeburn2006-03-116-1/+20
| | | | | | | generated files that lxs wants to feed into the Mac build system. (First approximation, may want some fine tuning later.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17728 dc483132-0cff-0310-8789-dd5450dbe970
* missed a dlsym call removalKen Raeburn2006-03-081-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17714 dc483132-0cff-0310-8789-dd5450dbe970
* Oops. This should come closer to building on Windows..Ken Raeburn2006-03-082-18/+49
| | | | | | | | | | | | | * plugins.c: Only include dlfcn.h if USE_DLOPEN. (struct plugin_file_handle): Only include a pointer if USE_DLOPEN. (krb5int_open_plugin, krb5int_get_plugin_data, krb5int_close_plugin, krb5int_open_plugin_dir, krb5int_close_plugin_dir): Only use the dlopen interface if USE_DLOPEN is defined. (krb5int_get_plugin_dir_data, krb5int_get_plugin_dir_func): Use krb5int_get_plugin_data/func instead of dlsym. Drop some debugging code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17713 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.h, which is built after util/et, which is built after the supportKen Raeburn2006-03-082-8/+32
| | | | | | | | | | | | | code. Fix: Put service location decls in k5-locate.h, pull plugin support decls out of k5-int.h into k5-plugin.h, and make it stand on its own, which includes changing the return type from krb5_error_code to int32_t. Oops: The plugin support code included k5-int.h, which includes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17707 dc483132-0cff-0310-8789-dd5450dbe970
* Merge from plugin branchKen Raeburn2006-03-076-3/+366
| | | | | | | | | | | | | | | | | | | | | | | | | Add plugin support: - plugin routines in support library (may break windows build!) - plugin support in KDC location code - sample Python-based plugin for KDC location, not built without tweaking sources - changed service location interface to use an enum instead of passing profile string and DNS strings and port numbers - changed pathnames for plugin locations, including kdb back end - remove locate_service from accessor API Also, do build shared libraries for Darwin just like any other UNIX box. Not present yet: - use new plugin interface for kdb back end - Windows support - Mac bundle support (but dlopen support works) - search path for libkrb5 plugins (only one hard-coded directory for now) - sorting of plugin collections for predictable ordering See the various ChangeLogs for specifics. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17706 dc483132-0cff-0310-8789-dd5450dbe970
* Qing Dong <dongq@mit.edu> provided a set of changes to allowJeffrey Altman2006-02-274-1/+11
| | | | | | | | | | | | | krb5 to build under the Microsoft Visual Studio 8 compiler in 64-bit mode and produce file names that do not conflict with the names produced by the 32-bit build. That patch was modified to work on Unix and also include processor dependent pre-processor definitions to remove warnings. ticket: 3415 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17680 dc483132-0cff-0310-8789-dd5450dbe970
* copyright updateKen Raeburn2006-01-261-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17620 dc483132-0cff-0310-8789-dd5450dbe970
* copyright noticesKen Raeburn2006-01-262-0/+48
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17619 dc483132-0cff-0310-8789-dd5450dbe970
* * export-check.pl: Accept 'S' in nm outputKen Raeburn2006-01-262-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17618 dc483132-0cff-0310-8789-dd5450dbe970
* * export-check.pl: Accept 'G' in nm outputKen Raeburn2006-01-262-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17617 dc483132-0cff-0310-8789-dd5450dbe970
* Check the export lists against the newly built shared library to make sure allKen Raeburn2006-01-252-0/+59
| | | | | | | | | | | | | the symbols we want to export are actually defined. GNU/Linux only, for the moment, but it ought to work on any system using the GNU version of nm, and not too hard to modify for other ways of extracting the exported symbols of a library. * util/export-check.pl: New file. * config/shlib.conf (*-*-linux*): Run export-check.pl after building a shared library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17609 dc483132-0cff-0310-8789-dd5450dbe970
* * fake-addrinfo.c (krb5int_in6addr_any): Always defineKen Raeburn2006-01-252-5/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17608 dc483132-0cff-0310-8789-dd5450dbe970
* * threads.c (krb5int_mutex_alloc, krb5int_mutex_free, krb5int_mutex_lock,Ken Raeburn2006-01-253-1/+53
| | | | | | | | | | | | krb5int_mutex_unlock): New functions. (krb5int_mutex_lock_update_stats, krb5int_mutex_unlock_update_stats, krb5int_mutex_report_stats): Always define, even if not doing anything. * libkrb5support.exports: Export the new functions. ticket: 3417 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17607 dc483132-0cff-0310-8789-dd5450dbe970
* Back out unwanted change to profile_tcl.cSam Hartman2006-01-111-745/+311
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17586 dc483132-0cff-0310-8789-dd5450dbe970
* Remove krb5_callconv from non-exported internal functionSam Hartman2006-01-111-311/+745
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17585 dc483132-0cff-0310-8789-dd5450dbe970
* Looks like the current Red Hat gcc on Athena emits duplicates and "./foo.h",Ken Raeburn2005-12-222-1/+28
| | | | | | | | | | neither of which we've properly addressed before. * depfix.pl (uniquify): New subroutine. (do_subs_2): Use it. (do_subs): Fix substitution pattern for " ./". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17573 dc483132-0cff-0310-8789-dd5450dbe970
* make dependTom Yu2005-11-295-60/+41
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17505 dc483132-0cff-0310-8789-dd5450dbe970
* mkrel should delete .svn directoriesTom Yu2005-11-032-1/+5
| | | | | | | | | | * mkrel: Delete .svn directories to avoid pathname length bloat. ticket: new target_version: 1.4.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17480 dc483132-0cff-0310-8789-dd5450dbe970
* Rename depfix2.pl to depfix.plKen Raeburn2005-10-272-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17459 dc483132-0cff-0310-8789-dd5450dbe970
* Roll all the "make depend" transformations into one perl scriptKen Raeburn2005-10-273-68/+66
| | | | | | | | * util/depfix2.pl: Incorporate all substitutions from depfix.sed. * util/depfix.sed: Deleted. * config/post.in (.depend): Don't run sed, just use perl. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17458 dc483132-0cff-0310-8789-dd5450dbe970
* * ac_check_krb5.m4: Set LIBS rather than LDFLAGSTom Yu2005-10-252-2/+6
| | | | | | | ticket: 2923 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17451 dc483132-0cff-0310-8789-dd5450dbe970
* Delete setting and testing of STAT_ONCE_PER_SECOND, just always do itKen Raeburn2005-10-213-10/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17449 dc483132-0cff-0310-8789-dd5450dbe970
* * ac_check_krb5.m4: Example autoconf macro to use krb5-config forTom Yu2005-10-182-0/+63
| | | | | | | | | setting build flags for applications. ticket: 2923 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17433 dc483132-0cff-0310-8789-dd5450dbe970
* Move the db2 library to the site of its one use, the kdb-db2 module.Ken Raeburn2005-10-04118-50897/+7
| | | | | | Update configuration scripts, pathname make variables, etc., accordingly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17407 dc483132-0cff-0310-8789-dd5450dbe970
* * fake_addrinfo.c (getaddrinfo): AI_NUMERICSERV fix for AIXKen Raeburn2005-09-092-1/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17380 dc483132-0cff-0310-8789-dd5450dbe970
* update mkrel for svnTom Yu2005-09-082-5/+11
| | | | | | | | | | * mkrel: Update for svn. ticket: new target_version: 1.4.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17376 dc483132-0cff-0310-8789-dd5450dbe970
* fix more executable permissionsTom Yu2005-08-259-0/+0
| | | | | | | | | | Fix some more executable permissions missing from import. ticket: new tags: pullup target_version: 1.4.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17357 dc483132-0cff-0310-8789-dd5450dbe970
* Delete .cvsignore files; contents have already been Sam Hartman2005-08-249-41/+0
| | | | | | set on svn:ignore properties. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17353 dc483132-0cff-0310-8789-dd5450dbe970
* Make configuration scripts executableSam Hartman2005-08-241-0/+0
| | | | | | | | | | | | Mark the shell scripts under config and util as executable. Tom, this probably wants to be pulled up to the 1.3 branch as well. ticket: new Tags: pullup Target_Version: 1.4.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17352 dc483132-0cff-0310-8789-dd5450dbe970
* All configure.in scripts: Use K5_AC_INIT instead of AC_INITKen Raeburn2005-08-2010-5/+25
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17342 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in ($(FAKEPREFIX)/lib): Target deleted.Ken Raeburn2005-08-172-4/+5
| | | | | | (all-unix): Don't build it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17331 dc483132-0cff-0310-8789-dd5450dbe970
* Add stub for krb5int_pthread_loaded() for WindowsJeffrey Altman2005-07-282-0/+10
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17323 dc483132-0cff-0310-8789-dd5450dbe970
* Update dependenciesKen Raeburn2005-06-215-41/+60
| | | | | | | | | N.B.: The version of gcc used this time ("gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)") seems to emit some duplicate dependencies -- some header files get listed twice. This is annoying but shouldn't cause any harm.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17256 dc483132-0cff-0310-8789-dd5450dbe970
* remove old makefileKen Raeburn2005-06-211-652/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17255 dc483132-0cff-0310-8789-dd5450dbe970
* * profile.swg (errcode_t* tcl8 argout typemap): Cast return value fromKen Raeburn2005-06-063-20/+27
| | | | | | | | error_message to char* to silence Sun compiler warning. (errcode_t tcl8 out typemap): Likewise. * profile_tcl.c: Regenerated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17229 dc483132-0cff-0310-8789-dd5450dbe970
* Add run-time determination of whether thread support is available in theKen Raeburn2005-06-013-1/+68
| | | | | | | | | | | | | | | | | support library. Check lots of weak references, and call pthread_once a couple of times, to distinguish a broken stub from the real thing. * threads.c [HAVE_PRAGMA_WEAK_REF]: Declare pthread_{g,s}etspecific, pthread_key_{create,delete}, pthread_{create,join} as weak references. (krb5int_pthread_loaded, loaded_test_aux) [HAVE_PRAGMA_WEAK_REF]: New functions. (flag_pthread_loaded, loaded_test_once) [HAVE_PRAGMA_WEAK_REF]: New variables. * libkrb5support.exports: Add krb5int_pthread_loaded. ticket: 3084 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17223 dc483132-0cff-0310-8789-dd5450dbe970
* * fake-addrinfo.c (fai_add_hosts_by_name): Pass null pointer instead of telnetKen Raeburn2005-05-182-2/+36
| | | | | | as service name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17218 dc483132-0cff-0310-8789-dd5450dbe970
* updated dependencies for socket-utils.h changeKen Raeburn2005-04-281-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17205 dc483132-0cff-0310-8789-dd5450dbe970
* Stop generating per-directory sed scripts, and use perl to compute the patternsKen Raeburn2005-04-213-141/+113
| | | | | | | | | | | | | | on the fly instead. (Next step, someday, integrate this script and depfix.sed, so we only have to run one script.) * config/post.in (depend-dependencies): Use (and depend on) depfix2.pl instead of .depfix2.sed. (.depfix2.sed): Target deleted. (DEPTARGETS): Delete .depfix2.sed and .depfix2.tmp. * util/depgen.sed: Deleted. * util/depfix2.pl: New file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17187 dc483132-0cff-0310-8789-dd5450dbe970