Allow the HOMEDIR and ETCDIR to be configurable via Makefile ENV. Add FreeBSD user creation support.
if ${CHROOT_TEST_INSTALLDEB:-false} ; then
aptitude --allow-untrusted --quiet --without-recommends --assume-yes install \
debconf python python-support adduser openssh-server ucf
echo dpkg -i /var/cache/apt/archives/mercurial-common_*.deb /var/cache/apt/archives/mercurial_*.deb *.deb
dpkg -i /var/cache/apt/archives/mercurial-common_*.deb /var/cache/apt/archives/mercurial_*.deb *.deb
else
aptitude --allow-untrusted --quiet --without-recommends --assume-yes install \
make mercurial xsltproc docbook-xsl openssh-server \
python python-support adduser
cd mercurial-server
make setup-adduser
fi