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