Replied: Sat, 23 Jul 1994 16:21:08 -0700
Replied: "Charles Lopes <tjarls@infm.ulst.ac.uk> "
Received: by gw.home.vix.com id AA15443; Sat, 23 Jul 94 05:24:25 -0700
Received: (from tjarls@localhost) by petrel.infm.ulst.ac.uk (8.6.9/8.6.9) id NAA29352; Sat, 23 Jul 1994 13:23:55 +0100
Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.petrel.i386.Linux
          via MS.5.6.petrel.i386_Linux;
          Sat, 23 Jul 1994 13:23:55 +0100 (BST)
Message-Id: <oiAEjP1z0001RhkV5M@infm.ulst.ac.uk>
Date: Sat, 23 Jul 1994 13:23:55 +0100 (BST)
From: Charles Lopes <tjarls@infm.ulst.ac.uk>
To: paul@vix.com
Subject: bind 4.9.3-beta7p2 (small patches)

Hi Paul!

I've been using the newest bind releases in the last 6 months on several
linux systems. One of them is primary name server for inf.ulst.ac.uk and
194.160.192.in-addr.arpa subdomains since the end of january. All the
other computers in the subdomain use it as forwarder. Perhaps would you
like to use my patches to add better support for linux. Here is a
description of the changes I added:
* use of reliable BSD-like signal() instead of SYSV signal() (since
linux support both) so we don't need to define the macro SYSV any more.
This macro preventes the use of some functions availlable under linux
and maybe introduces some problems (I heard from people whom compiled
bind with -DSYSV that named uses to die after an undefined period of
time).
* add use of sigaction() instead of sigvec() in ns_main.c if the macro
POSIX_SIGNALS is defined.
* definition of the right macros for linux in portability.h. The only
functions from lib44bsd Linux needs are inet_addr() and inet_aton(). I
have included them in the standard C libraries of linux and I hope to
have it included in the next official release of these libraries. So in
the future compiling bind under linux won't require the use the compat
library. Use of compat/sys/bitypes.h won't be necessary either.
* use of linux native <sys/cdefs.h> instead of compat/sys/cdefs.h.

The library and header files installed by bind require sys/bitypes.h and
lib44bsd.a to be installed. This must be done manually. It would be
easier if lib44bsd.a was included in libresolv.a and the bitypes.h
definitions in portability.h. Being far to big changes I leave these to
you as suggestions. Any way my version of linux C libraries include also
the new resolver and extra definitions in sys/types.h so none of these
suggested changes won't be needed for linux. But there are other
platforms these changes can help.

I've been thinking of adding the use of GNU configure script to bind. It
will require small changes the sources itself. If you think it's a good
idea let me know and I'll go ahead and will make the required changes. 
Also separate numbering for the resolver libraries would be great since
they seem to change more slowly than named and the related utilities.

I hope you accept my patches or/and some of my suggestions.

	Regards,
		Charles Lopes (Charles.Lopes@infm.ulst.ac.uk)

begin 644 bind-4.9.3-BETA7p2.diff.gz
M'XL(""GR,"X``V)I;F0M-"XY+C,M0D5403=P,BYD:69F`.5:>7?:2!+_FWR*
MMK,O"XX`75SR)+O8R#:[&'L`9SRSNT]/2(W1LY"(#J\SF?GN6]TZT`6(7)/=
MY<5!JJ[NKN/7U5W5Z,9B@>J:@QJ-YMRP]+K8Z#6$^ID\ZW<:MF,\-*_51[PP
M3(P:\>.+DY.3_1TJ%XZ!_N:;B.<1)THM3FJQB.OUQ!?U>CTQ6H9/X"6N%_"=
MI#]TVI[(<&P;T7>$)OWQ:'B&WB!'M4QC#A3X][(Z,BS_N?;B"+T\/X?&!TU#
M]<'TY^D[0H(.4R#6S85)7F^'@\%P`H0F]C1"&,C3F7PODXY-WW6:+J@9T:_[
MXXB\4F/JE3RZC<A$"C)O'\:8`?%/\!E'<IU/^C_7R--(OG]CXF=J":(1QR%X
MK)?0:*/0VEAC4$M1[J:R<C8=*-/AY;@_(CP#^>SNDNAXP\/K:'`QZE]2G5UX
M'8X'-R`9:9#O@;@`05!]2-Y3EMEBAT(S9*W@+E4'-U>&JX6-@4Z!A6Q--4,[
MD:;A^+R2:C(LS?1U3!0I9T5]+X@U>[56O6CDIOO!;6HZ7KB-)0!Q>^-NH&_O
M5YFJ'NJO'81ZB!4ED9>$5A+Z.WK^A/5@,;"([4FMGL2+VQ=#FV/:X5H@`Y/7
M7@2DE\;"@C$K"J#A8JI<*80&!,/"*=J+UX05!2UZU0R`1HB!=(J%GSWT0T+&
MMZ05FRX.9HF[*HJV-GV7_-62DREG\N5PK`SD\]&T`H-AQT+'Y\?H8XI)'@]"
ME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