CVS: moonbase/net/maradns BUILD, NONE, 1.1 CONFLICT, NONE,
1.1 DETAILS, NONE, 1.1 POST_INSTALL, NONE, 1.1 POST_REMOVE,
NONE, 1.1 lunar_install.locations, NONE, 1.1
nestu at lunar-linux.org
nestu at lunar-linux.org
Wed Jul 30 23:03:24 GMT 2003
Update of /var/cvs/lunar/moonbase/net/maradns
In directory dbguin.lunar-linux.org:/tmp/cvs-serv30233/maradns
Added Files:
BUILD CONFLICT DETAILS POST_INSTALL POST_REMOVE
lunar_install.locations
Log Message:
Added light and quick dns server maradns to repository
--- NEW FILE: BUILD ---
(
cp ${SCRIPT_DIRECTORY}/lunar_install.locations ${SOURCE_DIRECTORY}/build/install.locations
configure
make
make install
) > $C_FIFO 2>&1
--- NEW FILE: CONFLICT ---
conflicts bind &&
conflicts adns
--- NEW FILE: DETAILS ---
MODULE=maradns
VERSION=1.0.18
SOURCE=$MODULE-${VERSION}.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
SOURCE_URL[0]=http://maradns.3va.net/download/$SOURCE
SOURCE_URL[1]=http://www.maradns.org/download/$SOURCE
WEB_SITE=http://www.maradns.org
ENTERED=20030729
UPDATED=20030729
MAINTAINER=nestu at lunar-linux.org
SHORT="Secure and minimum resource DNS server."
cat << EOF
MaraDNS is a package that implements the Domain Name Service (DNS), an essential internet
service. MaraDNS is intended for environments where a DNS server must be secure and where
the server must use the absolute minimum number of resources possible.
EOF
--- NEW FILE: POST_INSTALL ---
finished=0
until [ $finished -eq 1 ]; do
echo "What do you want to do?"
echo "1) set up a default recursive DNS server config file."
echo "2) set up a default full featured DNS server config file."
echo "3) finished."
cd ${SOURCE_DIRECTORY}/doc/en/examples/ || { echo "Unable to enter ${SOURCE_DIRECTORY}/doc/en/examples directory" && exit 1; }
read answer
case $answer in
1 ) echo "Setting up a default recursive config file at /etc/mararc"
cp example_recursive_mararc.txt /etc/mararc
echo "done."
finished=1
;;
2 ) echo "Setting up a default full featured config file at /etc/mararc"
cp example_full_mararc /etc/mararc
echo "done."
finished=1
;;
3 ) echo "done."
finished=1
;; # just quit
* ) echo "$answer is not a valid selection. Please try again."
echo ""
;;
esac
done
--- NEW FILE: POST_REMOVE ---
rm /etc/mararc
rm -rf /etc/maradns
rm /etc/init.d/named
--- NEW FILE: lunar_install.locations ---
#!/bin/sh
# This script is called by install.sh and uninstall.sh to determine
# where the installed binaries and man pages are
# Note that the script will break if PREFIX is not an absolute path
# We allow the user to supply the prefix on the command line, e.g.
# PREFIX=/usr/ ; make install
# Thanks to D Richard Felker III for this suggestion
BINDIR="/usr"
DOCDIR="/usr/share"
# Try to determine which language to use
if [ -z "$LANGUAGE" ]; then
LANGUAGE=`echo $LANG | cut -f1 -d_`
fi
# If there are no man pages for their language, default to English
if [ ! -d doc/$LANGUAGE/man ]; then
LANGUAGE="en"
fi
# The location of programs that the end user may wish to use
BIN="$BINDIR/bin/"
# The location of the server programs
SBIN="$BINDIR/sbin/"
# The directory to put man pages which describe the end-user programs
MAN1="$DOCDIR/man/man1/"
# The directory to put man pages which describe configuration file formats
MAN5="$DOCDIR/man/man5/"
# The directory to put man pages which describe the server programs
MAN8="$DOCDIR/man/man8/"
# The directory to put a copy of the MaraDNS documents on the system
DOCS="$DOCDIR/doc/maradns-$VERSION"
More information about the Lunar-commits
mailing list