head	1.2;
access;
symbols
	perseant-exfatfs-base-20250801:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.46
	perseant-exfatfs-base:1.2
	cjep_sun2x:1.2.0.44
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	cjep_staticlib_x:1.2.0.42
	cjep_staticlib_x-base:1.2
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	phil-wifi-20200406:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	pgoyette-compat-0728:1.2
	pgoyette-compat-0625:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	pgoyette-compat:1.2.0.40
	pgoyette-compat-base:1.2
	perseant-stdc-iso10646:1.2.0.38
	perseant-stdc-iso10646-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.36
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	bouyer-socketcan:1.2.0.34
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	pgoyette-localcount-20161104:1.2
	localcount-20160914:1.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.32
	pgoyette-localcount-base:1.2
	netbsd-5-2-3-RELEASE:1.2
	netbsd-5-1-5-RELEASE:1.2
	yamt-pagecache-base9:1.2
	yamt-pagecache-tag8:1.2
	tls-earlyentropy:1.2.0.28
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	netbsd-5-2-2-RELEASE:1.2
	netbsd-5-1-4-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.2
	netbsd-5-1-3-RELEASE:1.2
	agc-symver:1.2.0.30
	agc-symver-base:1.2
	tls-maxphys-base:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.2.0.26
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.2
	netbsd-5-2-RC1:1.2
	yamt-pagecache-base6:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.24
	yamt-pagecache-base:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.22
	bouyer-quota2-base:1.2
	matt-nb5-pq3:1.2.0.20
	matt-nb5-pq3-base:1.2
	netbsd-5-1:1.2.0.18
	netbsd-5-1-RELEASE:1.2
	netbsd-5-1-RC4:1.2
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	netbsd-5-1-RC1:1.2
	netbsd-5-0-2-RELEASE:1.2
	netbsd-5-0-1-RELEASE:1.2
	jym-xensuspend-nbase:1.2
	netbsd-5-0:1.2.0.16
	netbsd-5-0-RELEASE:1.2
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	jym-xensuspend:1.2.0.14
	jym-xensuspend-base:1.2
	netbsd-5-0-RC1:1.2
	netbsd-5:1.2.0.12
	netbsd-5-base:1.2
	mjf-devfs2:1.2.0.10
	mjf-devfs2-base:1.2
	yamt-pf42-base4:1.2
	yamt-pf42-base3:1.2
	hpcarm-cleanup-nbase:1.2
	yamt-pf42-base2:1.2
	yamt-pf42:1.2.0.8
	yamt-pf42-base:1.2
	keiichi-mipv6-nbase:1.2
	keiichi-mipv6:1.2.0.6
	keiichi-mipv6-base:1.2
	cube-autoconf:1.2.0.4
	cube-autoconf-base:1.2
	hpcarm-cleanup:1.2.0.2
	hpcarm-cleanup-base:1.2
	v4_9_5_P1:1.1.1.1
	ISC:1.1.1;
locks; strict;
comment	@# @;


1.2
date	97.04.13.09.23.27;	author mrg;	state dead;
branches;
next	1.1;

1.1
date	97.04.13.09.08.02;	author mrg;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.04.13.09.08.02;	author mrg;	state Exp;
branches;
next	;


desc
@@


1.2
log
@we don't need these files.
@
text
@Date: Mon, 22 May 1995 10:19:51 -0700 (PDT)
>From: John Kennedy <warlock@@csuchico.edu>
Message-Id: <199505221719.KAA10941@@menkure.net.CSUChico.EDU>
To: BIND workers <bind-workers@@vix.com>
Subject: doc/info/linux* update

05/22/95 @@ 10:17:12 AM (Monday)

  Paul, this can supersede the current doc/info/Linux* files.  It has
everything Matt and I noticed (Matt never did get in contact with me...)
but leaves out Charles Lopes's patches (which are horribly out of date
and unnecessary anyway).
								--- john
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
05/22/95 @@ 10:12:13 AM (Monday)

  This is my continuing summary of BIND/linux porting issues.  As usual,
linux is a moving target and this information will be outdated as soon as
it gets included into the source, so some adaptation may be required by the
time you use it.

  BIND is known to compile well on linux with GCC since version 2.5.8 and
well through 2.6.4 (snapshot 950518), give or take a few warnings.  It has
worked, for better or worse, on kernels 1.1.29 (and earlier) through the
current 1.2.8.  The binutils used have gone from 2.5.2 through the current
ELF-enhanced 2.5.2l.15 (not released to the public yet, so you'll probably
see something newer when it comes out).

  Most of the BIND-related complications have been because of the libraries
and the header files distributed with them.  Therefor this will be indexed
primarily by libc version and the problems with them:

    Jul `94, libc ~4.5.26, kernel ~1.1.29
	Delete/rename/compress compat/include/sys/cdefs.h header file.
	  The linux <sys/cdefs.h> has been good enough for BIND for
	  all of the versions that I've ever tested it with.
	The <sys/param.h> header needs to #include <sys/types.h>.  It
	  does on a lot of other system types and BIND assumes that
	  it does on linux as well.  There are a number of ways to
	  fix this:  (A) modify the header file directly, (B) make
	  a local compat "param.h" file that has these lines:

		#include	<sys/types.h>
		#include_next	<sys/param.h>
	
	  (B) only fixes the problem for BIND, but it doesn't require
	  you to modify your system's include files.
    Dec `94, libc 4.6.20, kernel ~1.1.70
    	The header file <sys/types.h> is officially included in
	  <sys/param.h>.  You still need to nuke BIND's "cdefs.h".
    May `95, libc ~4.7.2 & 5.0.9, kernel ~1.2.8
	You still need to nuke BIND's "cdefs.h".  I haven't tried to
	  compile it with the 4.7 libc since it's supposed to be
	  bug-fixes on top of the final a.out 4.6 series.  The
	  5.0 series is the ELF release and I haven't found any
	  complications caused by the libraries.

If you have multiple architecures (e.g. used "make links"), you will need
to take care when disabling compat/include/sys/cdefs.h as compat/include is
a shared directory. You will need something like
	for d in compat/include compat/include/sys
	do	rm $d && mkdir $d && ln -s SRC/$d/* $d/.
	done
	mv  compat/include/sys/cdefs.h  compat/include/sys/cdefs.h.dist

  If you want to make a dynamic resolv library with ELF, you can use a
Makefile like the one below (modifying the VER sting to match the version
you happen to be compiling at the time).  The source files are from the res
directory but should include everything that goes into libresolv.a, so make
sure everything gets included in later versions of BIND before you complain
to the list (or at least complain to me first).  When I made my ELF system
I crippled the default resolver library and remade the system using a
dynamic resolv library.  No problems yet.  Beware mixing the standard
header files with BIND's, which may get you in more or less trouble
depending on your version of libc and BIND.
						--- john
						    <warlock@@csuchico.edu>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
VER=	4.9.3.17

INC=	-I../include -I../compat/include
DEF=	-DUSE_OPTIONS_H
CFLAGS=	-O -fPIC ${INC} ${DEF}

LIB=	libresolv.so.${VER}

SRCS=	herror.c res_debug.c \
	res_comp.c res_init.c res_mkquery.c res_query.c res_send.c \
	getnetbyaddr.c getnetbyname.c getnetent.c getnetnamadr.c \
	gethnamaddr.c sethostent.c nsap_addr.c
OBJS=	${SRCS:.c=.o}

${LIB}:	${OBJS}
	${CC} -shared -o $@@ -Wl,-soname,$@@ ${OBJS}

${OBJS}:
	${CC} ${CPPFLAGS} ${CFLAGS} -c ../res/$*.c
	-${LDS} ld -x -r $*.o
	${LDS} mv a.out $*.o

clean:
	rm ${OBJS} libresolv*
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@BIND 4.9.5-P1
@
text
@@
