summaryrefslogtreecommitdiff
path: root/contrib/peer2anonet
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2012-01-12 06:35:03 +0000
committerd3v11 <d3v11@d3v11.ano>2012-01-12 06:35:03 +0000
commitc3e792b8ced289b75f034ea98c92feed5c20da04 (patch)
treed5531cfd6ad9d29954baa68b52dd907b29bddd46 /contrib/peer2anonet
parenta2208cc7541b71e5ef05d83eca39e1d2506d7ae9 (diff)
downloadresdb-c3e792b8ced289b75f034ea98c92feed5c20da04.tar.gz
resdb-c3e792b8ced289b75f034ea98c92feed5c20da04.zip
./contrib/peer2anonet/peer2anonet --install-nacl
Diffstat (limited to 'contrib/peer2anonet')
-rwxr-xr-xcontrib/peer2anonet/peer2anonet10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet
index 715f507..9bc3eb9 100755
--- a/contrib/peer2anonet/peer2anonet
+++ b/contrib/peer2anonet/peer2anonet
@@ -21,6 +21,7 @@ USAGE(){
echo -e '\n ./contrib/peer2anonet/peer2anonet --install-daemontools installs daemontools'
echo -e '\n ./contrib/peer2anonet/peer2anonet --install-ucspi-tcp installs ucspi-tcp'
echo -e '\n ./contrib/peer2anonet/peer2anonet --install-djbdns installs djbdns'
+ echo -e '\n ./contrib/peer2anonet/peer2anonet --install-nacl installs nacl'
echo -e '\n ./contrib/peer2anonet/peer2anonet --configure-dns configures dnscache and tinydns zones'
echo -e '\n ./contrib/peer2anonet/peer2anonet --update-dns updates tinydns-ano zone\n'
exit 0
@@ -531,6 +532,13 @@ UPDATE_DNS(){
)
}
+INSTALL_NACL(){
+ wget http://hyperelliptic.org/nacl/nacl-20110221.tar.bz2
+ bunzip2 < nacl-20110221.tar.bz2 | tar -xf -
+ cd nacl-20110221
+ ./do
+ }
+
if [ "$1" == '--configure' ]; then
CONFIGURE
@@ -548,6 +556,8 @@ elif [ "$1" == '--install-ucspi-tcp' ]; then
INSTALL_UCSPI_TCP
elif [ "$1" == '--install-djbdns' ]; then
INSTALL_DJBDNS
+elif [ "$1" == '--install-nacl' ]; then
+ INSTALL_NACL
elif [ "$1" == '--configure-dns' ]; then
CONFIGURE_DNS
elif [ "$1" == '--update-dns' ]; then