[ANN] rwhoisd-1.5.9.2

Bill Campbell rwhois at celestial.com
Mon Jan 24 20:42:35 EST 2005


Following up my own post, a patch is attached.

On Mon, Jan 24, 2005, Bill Campbell wrote:
>On Mon, Jan 24, 2005, David Blacka wrote:
>>Hello folks,
>>
>>After not really looking at the rwhoisd code for something like a year, 
>>this is what you get: a flurry of releases.
>>
>>Anyway, this is just an update to the main 1.5.9 line that fixes some 
>>relatively serious issues that have been lingering in the code base. 
>>The main one is that CIDR addresses are once again zero-filled, which (I 
>>think) solves any search issues with network searches.
>>
>>I also backported the build changes, and the memory leak and double 
>>free()s that I fixed in 1.5.10-pre2.
>>
>><http://www.rwhois.net/ftp/rwhoisd-1.5.9.2.tar.gz>
>
>I spent considerable time getting this to build under the openpkg.org
>package management system this afternoon, and had two problems relating to
>libwrap support.
>
>  1.  I want to use the system installed libwrap, but the configure testing
>      for the installed system failed because of two unresolved variables
>      in the test code, allow_severity and deny_severity.
>
>  2.  Even building with the included tools/tcpd_wrappers library, the
>      final output generation failed on these same two undefined global
>      integer variables.
>
>For my purposes, I took a brute force approach, editing the configure file
>to force it to ignore the local tcpd_wrappers by setting build_libwrap=no a
>line before the test to see if it's set to "yes", and adding a couple of
>lines to server/main.c immediately above the line commenting on ``local
>types'':
>
>	int allow_severity = LOG_INFO;
>	int deny_severity = LOG_INFO;
>
>A better approach would be to add similar lines to the hosts_access code in
>the configure file so that it would properly test for existing libraries.
>
>Bill
>--
>INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
>UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
>FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
>URL: http://www.celestial.com/
>
>``We maintain that the very foundation of our way of life is what we call
>free enterprise,'' said Cash McCall, "but when one of our citizens
>show enough free enterprise to pile up a little of that profit, we do
>our best to make him feel that he ought to be ashamed of himself."
>		-- Cameron Hawley
>_______________________________________________
>Rwhois mailing list
>Rwhois at rwhois.net
>https://lists.verisignlabs.com/mailman/listinfo/rwhois
>

-- 
Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``If we got one-tenth of what was promised to us in these acceptance
speeches there wouldn't be any inducement to go to heaven.''
    Will Rogers
-------------- next part --------------
diff -uNr ../rwhoisd-1.5.9.2-20040124/configure ./configure
--- ../rwhoisd-1.5.9.2-20040124/configure	2005-01-24 07:53:46.000000000 -0800
+++ ./configure	2005-01-24 17:36:54.111868971 -0800
@@ -3482,6 +3482,8 @@
 /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
 char hosts_access ();
+int allow_severity = 0;
+int deny_severity = 0;
 int
 main ()
 {
diff -uNr ../rwhoisd-1.5.9.2-20040124/server/main.c ./server/main.c
--- ../rwhoisd-1.5.9.2-20040124/server/main.c	2005-01-24 07:53:45.000000000 -0800
+++ ./server/main.c	2005-01-24 17:38:06.602723112 -0800
@@ -39,6 +39,10 @@
 static options_struct    opts;
 static char              orig_cwd[MAX_FILE];
 
+/* These are necessary for TCP wrappers support */
+int allow_severity = LOG_INFO;
+int deny_severity = LOG_INFO;
+
 /* local prototypes */
 
 /* usage: prints the usage statement */


More information about the Rwhois mailing list