head	1.1;
access;
symbols
	netbsd-11-0-RC4:1.1
	netbsd-11-0-RC3:1.1
	netbsd-11-0-RC2:1.1
	netbsd-11-0-RC1:1.1
	perseant-exfatfs-base-20250801:1.1
	netbsd-11:1.1.0.18
	netbsd-11-base:1.1
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.1
	perseant-exfatfs:1.1.0.16
	perseant-exfatfs-base:1.1
	netbsd-9-4-RELEASE:1.1
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.14
	netbsd-10-base:1.1
	netbsd-9-3-RELEASE:1.1
	cjep_sun2x-base1:1.1
	cjep_sun2x:1.1.0.12
	cjep_sun2x-base:1.1
	cjep_staticlib_x-base1:1.1
	netbsd-9-2-RELEASE:1.1
	cjep_staticlib_x:1.1.0.10
	cjep_staticlib_x-base:1.1
	netbsd-9-1-RELEASE:1.1
	phil-wifi-20200421:1.1
	phil-wifi-20200411:1.1
	is-mlppp:1.1.0.8
	is-mlppp-base:1.1
	phil-wifi-20200406:1.1
	netbsd-9-0-RELEASE:1.1
	netbsd-9-0-RC2:1.1
	netbsd-9-0-RC1:1.1
	phil-wifi-20191119:1.1
	netbsd-9:1.1.0.6
	netbsd-9-base:1.1
	phil-wifi:1.1.0.4
	phil-wifi-20190609:1.1
	pgoyette-compat-merge-20190127:1.1.2.2
	pgoyette-compat-20190127:1.1
	pgoyette-compat-20190118:1.1
	pgoyette-compat-1226:1.1
	pgoyette-compat-1126:1.1
	pgoyette-compat-1020:1.1
	pgoyette-compat-0930:1.1
	pgoyette-compat:1.1.0.2
	pgoyette-compat-0906:1.1;
locks; strict;
comment	@# @;


1.1
date	2018.08.12.13.02.24;	author christos;	state Exp;
branches
	1.1.2.1
	1.1.4.1;
next	;
commitid	V8nE2Q9P2bS0CPNA;

1.1.2.1
date	2018.08.12.13.02.24;	author pgoyette;	state dead;
branches;
next	1.1.2.2;
commitid	HCi1bXD317XIK0RA;

1.1.2.2
date	2018.09.06.06.53.51;	author pgoyette;	state Exp;
branches;
next	;
commitid	HCi1bXD317XIK0RA;

1.1.4.1
date	2018.08.12.13.02.24;	author christos;	state dead;
branches;
next	1.1.4.2;
commitid	jtc8rnCzWiEEHGqB;

1.1.4.2
date	2019.06.10.22.02.52;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;


desc
@@


1.1
log
@merge conflicts, add build glue.
@
text
@#!/bin/sh
#
# Use this script to update the bind include files used in the nameserver,
# after you've imported and built the latest bind code. After you run this,
# cvs import the resulting directory
#
# $ cd bind-X.Y.Z
# $ configure
# $ make
# $ ./binclude4netbsd . /tmp/include
# Fix manually the config.h file to disable things controlled by the Makefiles
# $ cd /tmp/include
# $ cvs -d cvs.netbsd.org:/cvsroot import src/external/bsd/bind/include -m "Include files for bind-X-Y-Z" ISC bind-X-Y-Z
#

PROG=$(basename $0)
if [ \( -z "$1" \) -o \( -z "$2" \) ]
then
	echo "Usage: $PROG <bind-src> <include-dest>" 1>&2
	exit 1
fi

BIND=$1
INCLUDE=$2

mkdir -p $INCLUDE
cp $BIND/config.h $INCLUDE

mkdir -p $INCLUDE/dns

cp $BIND/lib/dns/code.h $INCLUDE/dns

for i in enumclass.h enumtype.h rdatastruct.h
do
	cp $BIND/lib/dns/include/dns/$i $INCLUDE/dns
done

mkdir -p $INCLUDE/isc

cp $BIND/lib/isc/include/isc/platform.h $INCLUDE/isc

for d in irs
do
	mkdir -p $INCLUDE/$d

	for i in netdb.h platform.h
	do
		cp $BIND/lib/$d/include/$d/$i $INCLUDE/$d
	done
done

cleantags $INCLUDE
@


1.1.4.1
log
@file binclude4netbsd was added on branch phil-wifi on 2019-06-10 22:02:52 +0000
@
text
@d1 52
@


1.1.4.2
log
@Sync with HEAD
@
text
@a0 52
#!/bin/sh
#
# Use this script to update the bind include files used in the nameserver,
# after you've imported and built the latest bind code. After you run this,
# cvs import the resulting directory
#
# $ cd bind-X.Y.Z
# $ configure
# $ make
# $ ./binclude4netbsd . /tmp/include
# Fix manually the config.h file to disable things controlled by the Makefiles
# $ cd /tmp/include
# $ cvs -d cvs.netbsd.org:/cvsroot import src/external/bsd/bind/include -m "Include files for bind-X-Y-Z" ISC bind-X-Y-Z
#

PROG=$(basename $0)
if [ \( -z "$1" \) -o \( -z "$2" \) ]
then
	echo "Usage: $PROG <bind-src> <include-dest>" 1>&2
	exit 1
fi

BIND=$1
INCLUDE=$2

mkdir -p $INCLUDE
cp $BIND/config.h $INCLUDE

mkdir -p $INCLUDE/dns

cp $BIND/lib/dns/code.h $INCLUDE/dns

for i in enumclass.h enumtype.h rdatastruct.h
do
	cp $BIND/lib/dns/include/dns/$i $INCLUDE/dns
done

mkdir -p $INCLUDE/isc

cp $BIND/lib/isc/include/isc/platform.h $INCLUDE/isc

for d in irs
do
	mkdir -p $INCLUDE/$d

	for i in netdb.h platform.h
	do
		cp $BIND/lib/$d/include/$d/$i $INCLUDE/$d
	done
done

cleantags $INCLUDE
@


1.1.2.1
log
@file binclude4netbsd was added on branch pgoyette-compat on 2018-09-06 06:53:51 +0000
@
text
@d1 52
@


1.1.2.2
log
@Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
@
text
@a0 52
#!/bin/sh
#
# Use this script to update the bind include files used in the nameserver,
# after you've imported and built the latest bind code. After you run this,
# cvs import the resulting directory
#
# $ cd bind-X.Y.Z
# $ configure
# $ make
# $ ./binclude4netbsd . /tmp/include
# Fix manually the config.h file to disable things controlled by the Makefiles
# $ cd /tmp/include
# $ cvs -d cvs.netbsd.org:/cvsroot import src/external/bsd/bind/include -m "Include files for bind-X-Y-Z" ISC bind-X-Y-Z
#

PROG=$(basename $0)
if [ \( -z "$1" \) -o \( -z "$2" \) ]
then
	echo "Usage: $PROG <bind-src> <include-dest>" 1>&2
	exit 1
fi

BIND=$1
INCLUDE=$2

mkdir -p $INCLUDE
cp $BIND/config.h $INCLUDE

mkdir -p $INCLUDE/dns

cp $BIND/lib/dns/code.h $INCLUDE/dns

for i in enumclass.h enumtype.h rdatastruct.h
do
	cp $BIND/lib/dns/include/dns/$i $INCLUDE/dns
done

mkdir -p $INCLUDE/isc

cp $BIND/lib/isc/include/isc/platform.h $INCLUDE/isc

for d in irs
do
	mkdir -p $INCLUDE/$d

	for i in netdb.h platform.h
	do
		cp $BIND/lib/$d/include/$d/$i $INCLUDE/$d
	done
done

cleantags $INCLUDE
@


