<commit_before># $FreeBSD$

BIND_DIR=${.CURDIR}/../../contrib/bind

# contrib/bind/include/* must not override any real system includes
CFLAGS+= -I${BIND_DIR}/port/freebsd/include -I${DESTDIR}/usr/include \
	 -I${BIND_DIR}/include

LIB=	bind

# This may or may not work yet.  It's not compatable with the core
# system components since it overrides the master.passwd handling etc.
.if defined(WANT_IRS)
.PATH:	${BIND_DIR}/lib/irs
SRCS+=	dns.c dns_gr.c dns_ho.c dns_nw.c dns_pr.c dns_pw.c dns_sv.c gen.c \
	gen_gr.c gen_ho.c gen_ng.c gen_nw.c gen_pr.c gen_pw.c gen_sv.c \
	getgrent.c gethostent.c getnetent.c getnetgrent.c getprotoent.c \
	getpwent.c getservent.c hesiod.c irs_data.c lcl.c lcl_gr.c lcl_ho.c \
	lcl_ng.c lcl_nw.c lcl_pr.c lcl_pw.c lcl_sv.c nis.c nis_gr.c nis_ho.c \
	nis_ng.c nis_nw.c nis_pr.c nis_pw.c nis_sv.c nul_ng.c util.c
.endif

.PATH:	${BIND_DIR}/lib/isc
SRCS+=	tree.c bitncmp.c assertions.c \
	memcluster.c logging.c heap.c \
	eventlib.c ev_connects.c ev_files.c \
	ev_timers.c ev_streams.c ev_waits.c
#	base64.c

INTERNALLIB=		true
NOPIC=			true
INTERNALSTATICLIB=	true

.include <bsd.lib.mk><commit_msg>Update for Bind 8.2.2.p5<commit_after># $FreeBSD$

BIND_DIR=${.CURDIR}/../../contrib/bind

# contrib/bind/include/* must not override any real system includes
CFLAGS+= -I${BIND_DIR}/port/freebsd/include -I${DESTDIR}/usr/include \
	 -I${BIND_DIR}/include

LIB=	bind

# This may or may not work yet.  It's not compatable with the core
# system components since it overrides the master.passwd handling etc.
.if defined(WANT_IRS)
.PATH:	${BIND_DIR}/lib/irs
SRCS+=	dns.c dns_gr.c dns_ho.c dns_nw.c dns_pr.c dns_pw.c dns_sv.c gen.c \
	gen_gr.c gen_ho.c gen_ng.c gen_nw.c gen_pr.c gen_pw.c gen_sv.c \
	getgrent.c gethostent.c getnetent.c getnetgrent.c getprotoent.c \
	getpwent.c getservent.c hesiod.c irs_data.c lcl.c lcl_gr.c lcl_ho.c \
	lcl_ng.c lcl_nw.c lcl_pr.c lcl_pw.c lcl_sv.c nis.c nis_gr.c nis_ho.c \
	nis_ng.c nis_nw.c nis_pr.c nis_pw.c nis_sv.c nul_ng.c util.c
.endif

.if defined(WANT_CYLINK) && exists(${BIND_DIR}/lib/cylink)
.PATH:	${BIND_DIR}/lib/cylink
CFLAGS+=-DCYLINK_DSS -I${BIND_DIR}/lib/cylink
SRCS+=	bn.c bn00.c lbn00.c lbnmem.c legal.c \
	bits.c dss.c math.c ctk_prime.c rand.c sha.c swap.c
.endif

.if defined(WANT_DNSSAFE) && exists(${BIND_DIR}/lib/dnssafe)
.PATH:	${BIND_DIR}/lib/dnssafe
CFLAGS+=-DDNSSAFE -I${BIND_DIR}/lib/dnssafe
SRCS+=	bgclrbit.c bgmdmpyx.c bgmdsqx.c bgmodexp.c \
	bgpegcd.c big2exp.c bigabs.c bigacc.c bigarith.c \
	bigcmp.c bigconst.c biginv.c biglen.c bigmodx.c \
	bigmpy.c bigpdiv.c bigpmpy.c bigpmpyh.c bigpmpyl.c \
	bigpsq.c bigqrx.c bigsmod.c bigtocan.c bigu.c \
	bigunexp.c cantobig.c crt2.c \
	digrand.c intbits.c md5.c md5rand.c prime.c \
	rsa.c rsakeygn.c seccbcd.c seccbce.c surrendr.c \
	ahchdig.c ahchencr.c ahchgen.c ahchrand.c ahdigest.c \
	ahencryp.c ahgen.c ahrandom.c ahrsaenc.c ahrsaepr.c \
	ahrsaepu.c aichdig.c aichenc8.c aichencn.c aichencr.c \
	aichgen.c aichrand.c aimd5.c \
	aimd5ran.c ainfotyp.c ainull.c airsaepr.c airsaepu.c \
	airsakgn.c airsaprv.c airsapub.c algchoic.c algobj.c \
	amcrte.c ammd5.c ammd5r.c \
	amrkg.c amrsae.c balg.c binfocsh.c bkey.c bmempool.c \
	digest.c encrypt.c generate.c intitem.c \
	keyobj.c ki8byte.c kiitem.c kinfotyp.c \
	kifulprv.c kipkcrpr.c kirsacrt.c kirsapub.c random.c
.endif

.PATH:	${BIND_DIR}/lib/dst
CFLAGS+=-DHMAC_MD5 -DUSE_MD5
SRCS+=	dst_api.c prandom.c rsaref_link.c support.c bsafe_link.c \
	cylink_link.c hmac_link.c md5_dgst.c eay_dss_link.c

.PATH:	${BIND_DIR}/lib/isc
SRCS+=	tree.c bitncmp.c assertions.c \
	memcluster.c logging.c heap.c \
	ctl_p.c ctl_srvr.c ctl_clnt.c \
	eventlib.c ev_connects.c ev_files.c \
	ev_timers.c ev_streams.c ev_waits.c
#	base64.c

INTERNALLIB=		true
NOPIC=			true
INTERNALSTATICLIB=	true

.include <bsd.lib.mk>
{'fraction_non_alphanumeric': 0.13252375923970433, 'fraction_numerical': 0.006599788806758183, 'mean_word_length': 3.5486194477791115, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4970322', 'n_tokens_mistral': 1897, 'n_tokens_neox': 1858, 'n_words': 358}