Eric Newberry | fe0d014 | 2017-11-29 13:22:48 -0700 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | source install_helpers/common.sh | ||||
4 | |||||
5 | echo | ||||
6 | echo "INSTALLING NFD" | ||||
7 | echo "**************" | ||||
8 | |||||
9 | prepare_repo NFD NFD | ||||
10 | git submodule update --init --depth 1 | ||||
11 | ./waf configure --with-other-tests | ||||
12 | ./waf | ||||
13 | sudo ./waf install | ||||
14 | sudo cp /usr/local/etc/ndn/nfd.conf.sample /usr/local/etc/ndn/nfd.conf | ||||
15 | sudo mkdir -p /usr/local/etc/ndn/keys | ||||
16 | ndnsec-cert-dump -i "$(ndnsec-get-default)" | sudo tee /usr/local/etc/ndn/keys/default.ndncert > /dev/null |