2005-07-03 Thorsten Kukuk * release version 1.19.1 * src/serv_list.c (test_bindings_once): Fix debug output. 2005-06-29 Thorsten Kukuk * release version 1.19 * src/serv_list.c (test_bindings_once): run the whole test with write lock. (find_domain): Rewrite for better error handling. 2005-05-30 Thorsten Kukuk * src/ypbind-mt.c (sig_handler): Check sigwait result for errors. 2005-05-27 Thorsten Kukuk * src/serv_list.c (ping_all): Add check for the case that the server answers, but refuses to allow a connection. (test_bindings_once): Add check if server is not known but should be for debugging. 2004-10-15 Thorsten Kukuk * release version 1.18 * man/ypbind.8.in: Document all options. * src/ypbind-mt.c (main): Add -ping-interval option. 2004-08-11 Thorsten Kukuk * man/ypbind.8.in: Lot of spelling improvements. 2004-04-29 Thorsten Kukuk * release version 1.17.3 2004-04-13 Mark Brown * src/ypbind_slp.c (query_slp): Improve extraction of the server hostname from URLs returned by the SLP library. 2004-02-14 Thorsten Kukuk * release version 1.17.2 * src/ypbind_slp.c (query_slp): Use service:ypserv as server url. 2004-02-13 Thorsten Kukuk * release version 1.17.1 * configure.in: Fix CFLAGS * release version 1.17 * etc/ypbind.init: Rework to match latest LSB changes. * src/ypbind-mt.c (load_config): Fix parsing of domain statements. Add new rule for SLP usage. * src/ypbind_slp.c (query_slp): New: use SLP to find ypserver. * src/serv_list.c (ping_all): Check if ypserv runs on a illegal port. * man/yp.conf.5.in: Document SLP support. * configure.in: Check for SLP support. 2004-01-14 Thorsten Kukuk * release version 1.16 * src/serv_list.c (test_binding): Split into test_binding() and test_binding_once(). * src/local.h: Add prototype for test_binding_once(). * src/ypbind_server.c (ypbindproc_domain): Call test_binding_once. Based on patch from Jeff Bastian . 2004-01-09 Thorsten Kukuk * release version 1.15 * man/ypbind.8: Document -local-only option. * src/ypbind-mt.c (main): Don't ignore -p on local bind. (Reported by Jim Carter ). * acinclude.m4: Fix for automake 1.8. 2003-12-09 Thorsten Kukuk * man/ypbind.8.in: Fix typo. 2003-08-24 Thorsten Kukuk * release version 1.14 * src/serv_list.c (change_binding): Update binding files, reported by David Nicklay . 2003-06-10 Thorsten Kukuk * release version 1.13 * src/Makefile.am: Use AM_CFLAGS instead of CFLAGS. * lib/Makefile.am: Likewise. * src/serv_list.c (do_broadcast): Lock list members while we wait for broadcast result. 2002-05-27 Thorsten Kukuk * release version 1.12 * etc/yp.conf: Add broadcast option to comments. * man/yp.conf.5.in: Document new broadcast option. * src/ypbind-mt.c (load_config): Add "broadcast" option to yp.conf. 2002-04-04 Thorsten Kukuk * release version 1.11 * man/yp.conf.5.in: Describe new behaviour if broadcast and specific servers are given. * src/serv_list.c: Try at first given server before fallback to broadcasting. (do_broadcast): Add debug messages * src/log_msg.c: define _GNU_SOURCE to get all glibc prototypes. * src/serv_list.c (add_server): Print to stderr if we make a syntax check only. * src/local.h: Add new argument for add_server prototype. * src/ypbind-mt.c: Rework syntax check for yp.conf (main): Call add_server with argument to check syntax only. (main): Add -local_only option (bind only to loopback address). Based on patch from Eskil Heyn Olsen . * man/yp.conf.5.in: Remove libc5 hints. * man/ypbind.8.in: Remove -p option. * man/Makefile.am: Fix rules to build manual pages. * configure.in: Create man/ypbind.8, man/yp.conf.5. 2002-04-04 gettextize * Makefile.am (SUBDIRS): Add m4. (SUBDIRS): Remove intl. (ACLOCAL_AMFLAGS): New variable. (EXTRA_DIST): Add config.rpath. * configure.in (AC_OUTPUT): Add m4/Makefile. (AC_OUTPUT): Remove intl/Makefile. 2002-04-04 Thorsten Kukuk * src/Makefile.am: Replace INTLLIBS with LIBINTL * acinclude.m4 (AM_WITH_EFENCE): Call AC_DEFINE for WITH_EFENCE with all three arguments. * configure.in: Replace LIBOBJS with AC_LIBOBJ, add all three arguments to HAVE_SOCKLEN_T AC_DEFINE. 2002-04-03 Thorsten Kukuk * src/local.h: Add new prototype for add_server. * src/serv_list.c (add_server): Add more debug messages in error case, remove dead code. * src/serv_list.c (add_server): Don't deadlock if host is not found (based on patch from Alex Larsson ). 2001-10-30 Thorsten Kukuk * release version 1.10 * Update to gettext 0.10.40 * man/ypbind.8.in: Fix typo, reported by Petter Reinholdtsen 2001-10-27 Thorsten Kukuk * release version 1.9 * src/ypbind_xdr.c (ypbind_xdr_olddomainname): Removed. * src/ypbind.h: Get ride of olddomainname type. * src/ypbind_server.c (ypbindproc_olddomain_1_svc): Change arguments to avoid RPC string pointer problems. * src/ypbind_svc.c (ypbindprog_1): Use type domainname instead of olddomainname. * configure.in: Remove quotes from AC_MSG_RESULT arguments 2001-10-10 Thorsten Kukuk * src/ypbind-mt.c: sig_handler now creates the pidfile, main thread waits until pid file is created. 2001-10-09 Thorsten Kukuk * src/serv_list.c (update_bindingfile): Make more robust, don't truncate old files before we have all data. 2001-08-14 Thorsten Kukuk * src/ypbind-mt.c (main): Call setlocale for LC_CTYPE, too. 2001-08-13 Thorsten Kukuk * src/serv_list.c (find_domain): Fix comment, get read lock back if we try a second time to find a active server. (test_bindings): Don't search for fastest server if current one is valid and set with ypset. (test_bindings): Don't invalidate old data before we have new data. 2001-03-11 Thorsten Kukuk * release version 1.8 * po/Makefile.in.in: Add DESTDIR support. * configure.in: Don't set CFLAGS, bump version number to 1.8, remove USE_PIDFILE variable. * ypbind-mt.spec: removed. * etc/ypbind.init: Update to a LSB ready version, still needs SuSEs /etc/rc.status. * config.sub: Update to newest version. * config.guess: Likewise. * src/Makefile.am: Remove USE_PIDFILE. * src/ypbind-mt.c: Remove USE_PIDFILE ifdefs, it is always set. * intl/Makefile.in (mostlyclean): Remove libintl.h. * intl/libgettext.h: Change #if to #ifdef for autoconf defines. * src/log_msg.c: Use caller supplied syslog priority 2000-11-24 Thorsten Kukuk * src/ypbind_svc.c (ypbindprog_1): domainname argument is a pointer. * src/serv_list.c (ping_all): Remove bogus break (patch by Miquel von Smoorenburg). 2000-09-25 Thorsten Kukuk * release version 1.7 * configure.in: Check for vsyslog * src/log_msg.c (log_msg): Fix missing syslog format string 1999-11-21 Thorsten Kukuk * src/serv_list.c: Use stdlib.h, not malloc.h. Some Unix have a broken malloc.h to tell the developer to use stdlib.h. * src/ypbind-mt.c: Likewise. * src/ypbind_svc.c: Likewise. 1999-10-05 Thorsten Kukuk * release version 1.6 1999-08-27 Thorsten Kukuk * src/ypbind_server.c: Mark unused parameters as unused. * src/ypbind-mt.c (sig_handler): Mark parameter as unused. * src/serv_list.c: Fix uninitialized variable, fix compiler warnings. 1999-08-04 Thorsten Kukuk * src/serv_list.c: gethostbyname_r/gethostbyaddr_r return code has changed in final POSIX standard. 1999-06-01 Thorsten Kukuk * src/ypbind-mt.c (main): lose controlling tty when daemonizing. allow -no_ping, -no-ping, -broken_server and -broken-server. * man/ypbind.8.in: Use -no-ping and -broken-server. 1999-05-18 Thorsten Kukuk * release version 1.5 * man/ypbind.8.in: Update entry of searching new server. * src/serv_list.c (test_bindings): Check every 15min. if we have the fastest NIS server. 1999-05-03 Thorsten Kukuk * src/ypbind-mt.c (create_pidfile): If no locking is available, don't exit. Hope the user knows what he is doing. 1999-05-01 Thorsten Kukuk * etc/ypbind.init: Change default values for checkconfig. Patch from Darrell Fuhriman . 1999-02-28 Thorsten Kukuk * src/serv_list.c (find_domain): Print messages only, if debug flag is set. 1998-11-11 Thorsten Kukuk * release version 1.4 * lib/clnt_udp.c: Include string.h, add prototype for _rpc_dtablesize. * src/ypbind-mt.c: Use size_t for buflen, fix compiler warnings. Based on patches from Loic Prylli * src/ypbind_server.c: Fix compiler warnings. 1998-10-09 Thorsten Kukuk * src/ypbind-mt.c (load_config): Check for more valid separators. 1998-07-01 Thorsten Kukuk * release version 1.3 * man/ypbind.8.in: Add description of -c parameter. * src/ypbind-mt.c (load_config): Add error message. (main): Better check for binding dir, add check option for yp.conf. 1998-06-07 Thorsten Kukuk * etc/ypbind.init: Remove binding dir entries after killing ypbind. 1998-05-24 Thorsten Kukuk * configure.in: Add efence support, fix for gettext 0.10.35, Fix check for broken kernel versions (2.1.1xx isn't broken). * acinclude.m4: New, macros for efence. 1998-04-28 Thorsten Kukuk * src/serv_list.c (add_server): Check if h_addr_list[0] is != NULL. Reportet by Arnim Frithjof Brestrich . 1998-04-20 Thorsten Kukuk * configure.in: Add dmalloc support. * acconfig.h: Add WITH_DMALLOC. * man/yp.conf.5.in: Fix Typo. * ypbind-mt.spec: Install yp.conf.5. 1998-04-19 Thorsten Kukuk * release version 1.2 * src/serv_list.c (find_domain): If doamin is unbound, try to find a new server. 1998-04-18 Thorsten Kukuk * configure.in: Create man/sedscript. 1998-04-17 Thorsten Kukuk * man/ypbind.8.in: Fix some more comments. * man/yp.conf.5.in: New. * src/serv_list.c: Save current status if ypset is used. 1998-04-02 Thorsten Kukuk * src/serv_list.c: Fix typos. 1998-04-01 Thorsten Kukuk * configure.in: check for socklen_t in . * acconfig.h: Add #undef HAVE_SOCKLEN_T. * lib/clnt_udp.c: Define socklen_t if not defined, fix multi-cast replay. * man/ypbind.8.in: Fix some comments. * src/serv_list.c: Code cleanup, use less memory. 1998-03-30 Thorsten Kukuk * release version 1.1 * src/serv_list.c: Add support for _dns_gethostbyname. * configure.in: Check for res_gethostbyname and _dns_gethostbyname. * lib/dummy.c: Remove. * lib/dns_hosts.c: New, from ypserv 1.3.0. * lib/res_options.h: New, from ypserv 1.3.0. * man/ypbind.8.in: Fix some stuff. 1998-03-27 Thorsten Kukuk * configure.in: Set USE_BROADCAST under Linux * src/Makefile.am Set USE_BROADCAST from configure script * src/serv_list.c (ping_all): Add a second version, which don't try to send a ping to all server at the same time. 1998-03-26 Thorsten Kukuk * configure.in: Check for Linux Kernel with thread/file locking bug * src/Makefile.am: Set USE_PIDFILE from configure script 1998-03-07 Thorsten Kukuk * release version 1.0 * src/serv_list.c: Replace ping_all, new version sends a ping to all server and uses this one which answers first. 1998-02-28 Thorsten Kukuk * release version 0.91 as second beta release * man/ypbind.8.man: Update -ypset option. * src/ypbind_server.c: Add support for ypset. * src/serv_list.c: Fix locking bugs, add setdom support. * src/ypbind-mt.c: Fix some bugs. 1998-02-27 Thorsten Kukuk * release version 0.90 as first beta release