Pull from CVS head: Override GETHOSTBYADDRSTYLE for FreeBSD to be BSD.
authorphampson <phampson>
Tue, 14 Oct 2003 19:00:08 +0000 (19:00 +0000)
committerphampson <phampson>
Tue, 14 Oct 2003 19:00:08 +0000 (19:00 +0000)
configure.in
doc/ChangeLog

index 417b3a8..a4eac00 100644 (file)
@@ -655,13 +655,22 @@ dnl       http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN3/17
 dnl We need #stdio.h to define NULL on FreeBSD (at least)
 gethostbyaddrrstyle=""
 AC_MSG_CHECKING([gethostbyaddr_r() syntax])
-AC_TRY_LINK([
+case "$host" in
+*-freebsd*)
+       AC_DEFINE(GETHOSTBYADDRRSTYLE, BSDSTYLE)
+       gethostbyaddrrstyle=BSD
+       AC_MSG_WARN([FreeBSD overridden to BSD-style])
+       ;;
+esac
+if test "x$gethostbyaddrrstyle" = "x"; then
+       AC_TRY_LINK([
 #include <stdio.h>
 #include <netdb.h>
 ], [ gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL, NULL) ], [
        AC_DEFINE(GETHOSTBYADDRRSTYLE, GNUSTYLE)
        gethostbyaddrrstyle=GNU
 ])
+fi
 if test "x$gethostbyaddrrstyle" = "x"; then
        AC_TRY_LINK([
 #include <stdio.h>
index 5da8ec5..fd4c8fa 100644 (file)
@@ -1,11 +1,22 @@
 FreeRADIUS 0.9.2 ; Date: $Date$, urgency=low
+
+       * New rlm_ippool code to fix IP leaks
+       * New rlm_ippool_tool for manipulation of rlm_ippool databases
+
+       * Change radrelay to reject records without an Acct-Status-Type attribute
+       * Change rlm_counter to reject packets which predate last server reset
+       * Change version output to include GNU GPL information
+       * Change rlm_ldap to output bad search filters
+
        * Fix compilation of various modules when not building with pthreads
        * Fix segfault due to poorly initialised value in rlm_mschap
-       * Only reject packets once
-       * rlm_counter rejects packets which predate last server reset
+       * Fix to only reject packets once
        * Fix rlm_exec to work when wait=no
-       * radrelay rejects records without an Acct-Status-Type attribute
        * Fix rlm_attr_filter to work in post-proxy (as intended)
+       * Fix rlm_sql to only try to load SQL drivers
+       * Fix to orrectly limit size of RADIUS packets
+       * Fix usage information to output to stdout when used with -h flag
+       * Fix configure to assume gethostbyname is BSD-Style on FreeBSD
 
 FreeRADIUS 0.9.1 ; Date: 2003/09/04 14:56:34, urgency=low