conf.sh.in revision dd2a0a6d2dec1c23787351e51b434a838dec5603
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#!/bin/sh
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright (C) 2000-2003 Internet Software Consortium.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Permission to use, copy, modify, and/or distribute this software for any
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# purpose with or without fee is hereby granted, provided that the above
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# copyright notice and this permission notice appear in all copies.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# PERFORMANCE OF THIS SOFTWARE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# $Id: conf.sh.in,v 1.71 2011/12/05 17:10:50 each Exp $
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common configuration data for system tests, to be sourced into
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# other shell scripts.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Find the top of the BIND9 tree.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteTOP=${SYSTEMTESTTOP:=.}/../../..
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Make it absolute so that it continues to work after we cd.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteTOP=`cd $TOP && pwd`
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteNAMED=$TOP/bin/named/named
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# We must use "named -l" instead of "lwresd" because argv[0] is lost
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# if the program is libtoolized.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLWRESD="$TOP/bin/named/named -l"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteDIG=$TOP/bin/dig/dig
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteRNDC=$TOP/bin/rndc/rndc
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteNSUPDATE=$TOP/bin/nsupdate/nsupdate
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteDDNSCONFGEN=$TOP/bin/confgen/ddns-confgen
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteKEYGEN=$TOP/bin/dnssec/dnssec-keygen
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteKEYFRLAB=$TOP/bin/dnssec/dnssec-keyfromlabel
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSIGNER=$TOP/bin/dnssec/dnssec-signzone
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteREVOKE=$TOP/bin/dnssec/dnssec-revoke
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSETTIME=$TOP/bin/dnssec/dnssec-settime
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteDSFROMKEY=$TOP/bin/dnssec/dnssec-dsfromkey
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCHECKZONE=$TOP/bin/check/named-checkzone
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCHECKCONF=$TOP/bin/check/named-checkconf
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn FortePK11GEN="$TOP/bin/pkcs11/pkcs11-keygen -s 0 -p 1234"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn FortePK11LIST="$TOP/bin/pkcs11/pkcs11-list -s 0 -p 1234"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn FortePK11DEL="$TOP/bin/pkcs11/pkcs11-destroy -s 0 -p 1234"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteJOURNALPRINT=$TOP/bin/tools/named-journalprint
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The "stress" test is not run by default since it creates enough
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# load on the machine to make it unusable to other users.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# v6synth
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSUBDIRS="acl allow_query addzone autosign builtin cacheclean checkconf
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte checknames checkzone database dlv dlvauto dlz dlzexternal
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte dname dns64 dnssec forward glue gost ixfr inline limits
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte logfileconfig lwresd masterfile masterformat metadata notify
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte nsupdate pending pkcs11 redirect resolver rndc rpz rrsetorder
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte sortlist smartsign staticstub statistics stub tkey tsig tsiggss
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte unknown upforwd views xfer xferquota zonechecks"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# PERL will be an empty string if no perl interpreter was found.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn FortePERL=@PERL@
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteif test -n "$PERL"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortethen
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte if $PERL -e "use IO::Socket::INET6;" 2> /dev/null
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte then
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte TESTSOCK6="$PERL $TOP/bin/tests/system/testsock6.pl"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte else
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte TESTSOCK6=false
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte fi
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteelse
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte TESTSOCK6=false
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortefi
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteexport NAMED LWRESD DIG NSUPDATE KEYGEN KEYFRLAB SIGNER KEYSIGNER KEYSETTOOL \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte PERL SUBDIRS RNDC CHECKZONE PK11GEN PK11LIST PK11DEL TESTSOCK6 \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte JOURNALPRINT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte