
### Default paths and other configure options ###
# export SETTINGS_DIR="/etc/gadmin-bind"
# export CHROOT_PATH="/var/named"
# export RNDC_CONF="/etc/rndc.conf"
# export RESOLV_PATH="/etc/resolv.conf"
# export SYSLOG_PATH="/var/log/messages"
# export NAMED_BINARY="named"
# export SED_BINARY="sed"
# export DIG_BINARY="dig"
# export RNDC_BINARY="rndc"
# export RNDC_CONFGEN_BINARY="rndc-confgen"
# export CMD_SLEEP_LOG_SECS="3"
# export USERADD_BINARY="useradd"
# export GROUPADD_BINARY="groupadd"
# export NAMED_USER="nobody"

### Sometimes named is run in a non chroot environment so this
### wont work unless the start parameters are changed in
### /etc/rc.d/init.d/named or equivalent file.
### By default gadmin-bind uses this command to start:
### "NAMED_BINARY -u NAMED_USER -t /var/named -c /etc/named.conf
# export SYSINIT_START_CMD="chkconfig named on"
# export SYSINIT_STOP_CMD="chkconfig named off"


### Configure, make and make install for Fedora ###
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --sbindir=/usr/sbin \
SYSINIT_START_CMD="chkconfig named on" \
SYSINIT_STOP_CMD="chkconfig named off" &&
make &&
make install
