Commit 69c913c3 authored by Robert Ricci's avatar Robert Ricci

Use bind9 instead of the bind that comes with FreeBSD, since bind9

has the 'view' statement necessary for the jail virtual IPs.
parent eb1b638b
......@@ -53,6 +53,8 @@ my $MYSQLDUMP = "/usr/local/bin/mysqldump";
my $GMAKE = "/usr/local/bin/gmake";
my $RNDC_CONFGEN = "/usr/local/bin/rndc-confgen";
#
# Some files we edit/create
#
......@@ -77,6 +79,8 @@ my $BOOST_PATCH = "$TOP_SRCDIR/patches/boost.patch";
my $SSH_CONFIG = "/etc/ssh/ssh_config";
my $RNDC_KEY = "/usr/local/etc/rndc.key";
#
# Some directories we care about
#
......@@ -313,7 +317,7 @@ Phase "rc.conf", "Adding testbed content to $RCCONF", sub {
qq|nfs_client_enable="YES"|,
qq|inetd_enable="YES"|,
qq|inetd_flags="-wW -R 0"|,
qq|named_enable="YES"|,
qq|named_enable="NO"|,
qq|xntpd_enable="YES"|,
qq|syslogd_flags=""|,
qq|tftpd_flags="-lvvvv -C 40 -s /tftpboot"|);
......@@ -477,6 +481,11 @@ Phase "ssh", "Setting up root ssh from boss to ops", sub {
};
};
Phase "rndc", "Setting up rndc for control of nameserver", sub {
DoneIfExists($RNDC_KEY);
ExecQuietFatal("$RNDC_CONFGEN -a -r /dev/urandom");
};
print "----------------------------------------------------------------------\n";
print "Installation completed succesfully!\n";
print "Please reboot this machine before proceeding with boss setup\n";
......
......@@ -3,7 +3,7 @@
# Whom: ricci@cs.utah.edu
PORTNAME= emulab-boss
PORTVERSION= 1.2
PORTVERSION= 1.3
CATEGORIES= misc
MASTER_SITES= #none
DISTFILES= #none
......@@ -44,7 +44,8 @@ RUN_DEPENDS= ${LOCALBASE}/etc/apache/ssl.crl:${PORTSDIR}/www/apache13-modssl \
tftp-hpa:${PORTSDIR}/misc/tftp-hpa \
elvind:${PORTSDIR}/misc/elvind \
dhcpd:${PORTSDIR}/net/isc-dhcp3 \
sudo:${PORTSDIR}/security/sudo
sudo:${PORTSDIR}/security/sudo \
${LOCALBASE}/sbin/named:${PORTSDIR}/net/bind9
BUILD_DEPENDS= ${X11BASE}/include/X11/xpm.h:${PORTSDIR}/graphics/xpm \
${LOCALBASE}/include/boost:${PORTSDIR}/devel/boost \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment