Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / bin / tests / system / ixfr / setup.sh
blob542a042708263d9cda198607d4857831bcae30a8
1 #!/bin/sh
3 # Copyright (C) 2004, 2007, 2011-2014 Internet Systems Consortium, Inc. ("ISC")
4 # Copyright (C) 2001 Internet Software Consortium.
6 # Permission to use, copy, modify, and/or distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies.
10 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
11 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
13 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
15 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16 # PERFORMANCE OF THIS SOFTWARE.
18 SYSTEMTESTTOP=..
19 . $SYSTEMTESTTOP/conf.sh
21 rm -f ns1/*.db ns1/*.jnl ns3/*.jnl ns4/*.db ns4/*.jnl
23 cat <<EOF >ns1/named.conf
24 options {
25 query-source address 10.53.0.1;
26 notify-source 10.53.0.1;
27 transfer-source 10.53.0.1;
28 port 5300;
29 pid-file "named.pid";
30 listen-on { 10.53.0.1; };
31 listen-on-v6 { none; };
32 recursion no;
33 notify yes;
36 key rndc_key {
37 secret "1234abcd8765";
38 algorithm hmac-sha256;
41 controls {
42 inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; };
44 EOF
46 # Setup initial db files for ns3
47 cp ns3/mytest0.db ns3/mytest.db
48 cp ns3/subtest0.db ns3/subtest.db
49 $SHELL ../genzone.sh 3 > ns3/large.db
50 awk 'END { for (i = 0; i < 10000; i++) printf("record%d 10 IN TXT this is record %d\n", i, i) }' < /dev/null >> ns3/large.db