ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 1 | #!/bin/bash |
Vince Lehman | b8b1806 | 2015-07-14 13:07:22 -0500 | [diff] [blame] | 2 | # -*- Mode:bash; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| 3 | # |
Philipp Moll | 55e2dd9 | 2020-02-20 09:59:27 +0100 | [diff] [blame] | 4 | # Copyright (C) 2015-2020, The University of Memphis, |
Ashlesh Gawande | 0cccdb8 | 2016-08-15 12:58:06 -0500 | [diff] [blame] | 5 | # Arizona Board of Regents, |
| 6 | # Regents of the University of California. |
Vince Lehman | b8b1806 | 2015-07-14 13:07:22 -0500 | [diff] [blame] | 7 | # |
| 8 | # This file is part of Mini-NDN. |
| 9 | # See AUTHORS.md for a complete list of Mini-NDN authors and contributors. |
| 10 | # |
| 11 | # Mini-NDN is free software: you can redistribute it and/or modify |
| 12 | # it under the terms of the GNU General Public License as published by |
| 13 | # the Free Software Foundation, either version 3 of the License, or |
| 14 | # (at your option) any later version. |
| 15 | # |
| 16 | # Mini-NDN is distributed in the hope that it will be useful, |
| 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 | # GNU General Public License for more details. |
| 20 | # |
| 21 | # You should have received a copy of the GNU General Public License |
| 22 | # along with Mini-NDN, e.g., in COPYING.md file. |
| 23 | # If not, see <http://www.gnu.org/licenses/>. |
| 24 | # |
| 25 | # This file incorporates work covered by the following copyright and |
| 26 | # permission notice: |
| 27 | # |
Ashlesh Gawande | f5f304b | 2016-06-16 16:42:41 -0500 | [diff] [blame] | 28 | # Mininet 2.3.0d1 License |
Vince Lehman | b8b1806 | 2015-07-14 13:07:22 -0500 | [diff] [blame] | 29 | # |
Ashlesh Gawande | f5f304b | 2016-06-16 16:42:41 -0500 | [diff] [blame] | 30 | # Copyright (c) 2013-2016 Open Networking Laboratory |
Vince Lehman | b8b1806 | 2015-07-14 13:07:22 -0500 | [diff] [blame] | 31 | # Copyright (c) 2009-2012 Bob Lantz and The Board of Trustees of |
| 32 | # The Leland Stanford Junior University |
| 33 | # |
| 34 | # Original authors: Bob Lantz and Brandon Heller |
| 35 | # |
| 36 | # We are making Mininet available for public use and benefit with the |
| 37 | # expectation that others will use, modify and enhance the Software and |
| 38 | # contribute those enhancements back to the community. However, since we |
| 39 | # would like to make the Software available for broadest use, with as few |
| 40 | # restrictions as possible permission is hereby granted, free of charge, to |
| 41 | # any person obtaining a copy of this Software to deal in the Software |
| 42 | # under the copyrights without restriction, including without limitation |
| 43 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 44 | # and/or sell copies of the Software, and to permit persons to whom the |
| 45 | # Software is furnished to do so, subject to the following conditions: |
| 46 | # |
| 47 | # The above copyright notice and this permission notice shall be included |
| 48 | # in all copies or substantial portions of the Software. |
| 49 | # |
| 50 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 51 | # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 52 | # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 53 | # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 54 | # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 55 | # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 56 | # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 57 | # |
| 58 | # The name and trademarks of copyright holder(s) may NOT be used in |
| 59 | # advertising or publicity pertaining to the Software or any derivatives |
| 60 | # without specific, written prior permission. |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 61 | |
| 62 | test -e /etc/debian_version && DIST="Debian" |
| 63 | grep Ubuntu /etc/lsb-release &> /dev/null && DIST="Ubuntu" |
| 64 | |
| 65 | if [[ $DIST == Ubuntu || $DIST == Debian ]]; then |
| 66 | update='sudo apt-get update' |
| 67 | install='sudo apt-get -y install' |
| 68 | remove='sudo apt-get -y remove' |
| 69 | pkginst='sudo dpkg -i' |
| 70 | # Prereqs for this script |
| 71 | if ! which lsb_release &> /dev/null; then |
| 72 | $install lsb-release |
| 73 | fi |
| 74 | fi |
| 75 | |
| 76 | test -e /etc/fedora-release && DIST="Fedora" |
| 77 | if [[ $DIST == Fedora ]]; then |
| 78 | update='sudo yum update' |
| 79 | install='sudo yum -y install' |
| 80 | remove='sudo yum -y erase' |
| 81 | pkginst='sudo rpm -ivh' |
| 82 | # Prereqs for this script |
| 83 | if ! which lsb_release &> /dev/null; then |
| 84 | $install redhat-lsb-core |
| 85 | fi |
| 86 | fi |
| 87 | |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 88 | NDN_SRC="ndn-src" |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 89 | |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 90 | NDN_GITHUB="https://github.com/named-data" |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 91 | |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 92 | NDN_CXX_VERSION="master" |
| 93 | NFD_VERSION="master" |
| 94 | PSYNC_VERSION="master" |
| 95 | CHRONOSYNC_VERSION="master" |
| 96 | NLSR_VERSION="master" |
| 97 | NDN_TOOLS_VERSION="master" |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 98 | |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 99 | if [ $SUDO_USER ]; then |
| 100 | REAL_USER=$SUDO_USER |
| 101 | else |
| 102 | REAL_USER=$(whoami) |
| 103 | fi |
| 104 | |
| 105 | function patchDummy { |
| 106 | git -C $NDN_SRC/ndn-cxx apply $(pwd)/patches/ndn-cxx-dummy-keychain-from-ndnsim.patch |
| 107 | if [[ "$?" -ne 0 ]]; then |
| 108 | echo "Patch might already be applied" |
| 109 | fi |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 110 | } |
| 111 | |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 112 | function ndn_install { |
| 113 | mkdir -p $NDN_SRC |
| 114 | name=$1 |
| 115 | version=$2 |
| 116 | wafOptions=$3 |
| 117 | |
| 118 | if [[ $version == "master" ]]; then |
| 119 | if [[ -d "$NDN_SRC/$name" ]]; then |
| 120 | pushd $NDN_SRC/$name |
| 121 | git checkout master |
| 122 | else |
| 123 | git clone --depth 1 $NDN_GITHUB/$name $NDN_SRC/$name |
| 124 | pushd $NDN_SRC/$name |
| 125 | fi |
| 126 | else |
| 127 | if [[ -d $NDN_SRC/$name ]]; then |
| 128 | pushd $NDN_SRC/$name |
| 129 | if [[ $(git rev-parse --is-shallow-repository) == "true" ]]; then |
| 130 | git fetch --unshallow |
| 131 | git fetch --all |
| 132 | fi |
| 133 | else |
| 134 | git clone $NDN_GITHUB/$name $NDN_SRC/$name |
| 135 | pushd $NDN_SRC/$name |
| 136 | fi |
| 137 | git checkout $version -b version-$version || git checkout version-$version |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 138 | fi |
| 139 | |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 140 | # User must use the same python version as root to use ./waf outside of this script |
| 141 | sudo -E -u $REAL_USER ./waf configure $wafOptions |
| 142 | sudo -E -u $REAL_USER ./waf && sudo ./waf install && sudo ldconfig |
| 143 | popd |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 144 | } |
| 145 | |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 146 | function ndn { |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 147 | if [[ updated != true ]]; then |
| 148 | $update |
| 149 | updated="true" |
| 150 | fi |
| 151 | |
| 152 | if [[ $DIST == Ubuntu || $DIST == Debian ]]; then |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 153 | $install git libsqlite3-dev libboost-all-dev make g++ libssl-dev libpcap-dev pkg-config python-pip |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 154 | fi |
| 155 | |
| 156 | if [[ $DIST == Fedora ]]; then |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 157 | $install gcc-c++ sqlite-devel boost-devel openssl-devel libpcap-devel python-pip |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 158 | fi |
| 159 | |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 160 | ndn_install ndn-cxx $NDN_CXX_VERSION |
| 161 | ndn_install NFD $NFD_VERSION --without-websocket |
| 162 | ndn_install PSync $PSYNC_VERSION --with-examples |
| 163 | ndn_install ChronoSync $CHRONOSYNC_VERSION |
| 164 | ndn_install NLSR $NLSR_VERSION |
| 165 | ndn_install ndn-tools $NDN_TOOLS_VERSION |
| 166 | infoedit |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 167 | } |
| 168 | |
| 169 | function mininet { |
| 170 | if [[ updated != true ]]; then |
| 171 | $update |
| 172 | updated="true" |
| 173 | fi |
| 174 | |
| 175 | if [[ $pysetup != true ]]; then |
| 176 | pysetup="true" |
| 177 | fi |
| 178 | |
| 179 | git clone --depth 1 https://github.com/mininet/mininet |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 180 | pushd mininet |
| 181 | sudo ./util/install.sh -nv |
| 182 | popd |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 183 | } |
| 184 | |
Saurab Dulal | 5d9ba60 | 2017-11-29 21:31:13 +0000 | [diff] [blame] | 185 | function infoedit { |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 186 | git clone --depth 1 https://github.com/NDN-Routing/infoedit.git $NDN_SRC/infoedit |
| 187 | pushd $NDN_SRC/infoedit |
| 188 | rm infoedit |
Saurab Dulal | 5d9ba60 | 2017-11-29 21:31:13 +0000 | [diff] [blame] | 189 | sudo make install |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 190 | popd |
Saurab Dulal | 5d9ba60 | 2017-11-29 21:31:13 +0000 | [diff] [blame] | 191 | } |
| 192 | |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 193 | function minindn { |
Philipp Moll | 55e2dd9 | 2020-02-20 09:59:27 +0100 | [diff] [blame] | 194 | $install libigraph0-dev tshark |
Philipp Moll | 61a2be8 | 2019-07-12 08:33:09 +0200 | [diff] [blame] | 195 | sudo pip install -r requirements.txt |
| 196 | |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 197 | if [[ updated != true ]]; then |
Ashlesh Gawande | 52e47e1 | 2016-08-09 16:30:42 -0500 | [diff] [blame] | 198 | if [ ! -d "build" ]; then |
| 199 | $update |
| 200 | updated="true" |
| 201 | fi |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 202 | fi |
| 203 | |
| 204 | if [[ $pysetup != true ]]; then |
| 205 | $install python-setuptools |
| 206 | pysetup="true" |
| 207 | fi |
Ashlesh Gawande | 20f7076 | 2015-06-17 15:18:19 -0500 | [diff] [blame] | 208 | install_dir="/usr/local/etc/mini-ndn/" |
| 209 | |
| 210 | sudo mkdir -p "$install_dir" |
Ashlesh Gawande | 532302b | 2018-02-15 18:58:20 -0600 | [diff] [blame] | 211 | sudo cp topologies/default-topology.conf "$install_dir" |
| 212 | sudo cp topologies/minindn.caida.conf "$install_dir" |
| 213 | sudo cp topologies/minindn.ucla.conf "$install_dir" |
| 214 | sudo cp topologies/minindn.testbed.conf "$install_dir" |
Ashlesh Gawande | 27b5e1b | 2018-08-06 17:47:15 -0500 | [diff] [blame] | 215 | sudo cp topologies/current-testbed.conf "$install_dir" |
Saurab Dulal | 082e444 | 2020-03-02 15:49:03 -0600 | [diff] [blame] | 216 | sudo cp topologies/geo_hyperbolic_test.conf "$install_dir" |
phmoll | 1f1de1f | 2020-02-27 14:32:35 +0100 | [diff] [blame^] | 217 | sudo cp topologies/geant.conf "$install_dir" |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 218 | sudo python setup.py develop |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 219 | } |
| 220 | |
Jeff Thompson | 55d2bf4 | 2017-12-22 09:14:03 -0800 | [diff] [blame] | 221 | function ndn_cpp { |
| 222 | if [[ updated != true ]]; then |
| 223 | $update |
| 224 | updated="true" |
| 225 | fi |
| 226 | |
| 227 | if [[ $DIST == Ubuntu || $DIST == Debian ]]; then |
| 228 | $install git build-essential libssl-dev libsqlite3-dev libboost-all-dev libprotobuf-dev protobuf-compiler |
| 229 | fi |
| 230 | |
| 231 | if [[ $DIST == Fedora ]]; then |
| 232 | printf '\nNDN-CPP does not support Fedora yet.\n' |
| 233 | return |
| 234 | fi |
| 235 | |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 236 | git clone --depth 1 $NDN_GITHUB/ndn-cpp $NDN_SRC/ndn-cpp |
| 237 | pushd $NDN_SRC/ndn-cpp |
Jeff Thompson | 55d2bf4 | 2017-12-22 09:14:03 -0800 | [diff] [blame] | 238 | ./configure |
| 239 | proc=$(nproc) |
| 240 | make -j$proc |
| 241 | sudo make install |
| 242 | sudo ldconfig |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 243 | popd |
Jeff Thompson | 55d2bf4 | 2017-12-22 09:14:03 -0800 | [diff] [blame] | 244 | } |
| 245 | |
| 246 | function pyNDN { |
| 247 | if [[ updated != true ]]; then |
| 248 | $update |
| 249 | updated="true" |
| 250 | fi |
| 251 | |
| 252 | if [[ $DIST == Ubuntu || $DIST == Debian ]]; then |
| 253 | $install git build-essential libssl-dev libffi-dev python-dev python-pip |
| 254 | fi |
| 255 | |
| 256 | if [[ $DIST == Fedora ]]; then |
| 257 | printf '\nPyNDN does not support Fedora yet.\n' |
| 258 | return |
| 259 | fi |
| 260 | |
| 261 | sudo pip install cryptography trollius protobuf pytest mock |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 262 | git clone --depth 1 $NDN_GITHUB/PyNDN2 $NDN_SRC/PyNDN2 |
| 263 | pushd $NDN_SRC/PyNDN2 |
Jeff Thompson | 55d2bf4 | 2017-12-22 09:14:03 -0800 | [diff] [blame] | 264 | # Update the user's PYTHONPATH. |
| 265 | echo "export PYTHONPATH=\$PYTHONPATH:`pwd`/python" >> ~/.bashrc |
| 266 | # Also update root's PYTHONPATH in case of running under sudo. |
| 267 | echo "export PYTHONPATH=\$PYTHONPATH:`pwd`/python" | sudo tee -a /root/.bashrc > /dev/null |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 268 | popd |
Jeff Thompson | 55d2bf4 | 2017-12-22 09:14:03 -0800 | [diff] [blame] | 269 | } |
| 270 | |
| 271 | function ndn_js { |
| 272 | if [[ updated != true ]]; then |
| 273 | $update |
| 274 | updated="true" |
| 275 | fi |
| 276 | |
| 277 | if [[ $DIST == Ubuntu || $DIST == Debian ]]; then |
| 278 | $install git nodejs npm |
| 279 | fi |
| 280 | |
| 281 | if [[ $DIST == Fedora ]]; then |
| 282 | printf '\nNDN-JS does not support Fedora yet.\n' |
| 283 | return |
| 284 | fi |
| 285 | |
| 286 | sudo ln -fs /usr/bin/nodejs /usr/bin/node |
| 287 | sudo npm install -g mocha |
| 288 | sudo npm install rsa-keygen sqlite3 |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 289 | git clone --depth 1 $NDN_GITHUB/ndn-js $NDN_SRC/ndn-js |
Jeff Thompson | 55d2bf4 | 2017-12-22 09:14:03 -0800 | [diff] [blame] | 290 | } |
| 291 | |
| 292 | function jNDN { |
| 293 | if [[ updated != true ]]; then |
| 294 | $update |
| 295 | updated="true" |
| 296 | fi |
| 297 | |
| 298 | if [[ $DIST == Ubuntu || $DIST == Debian ]]; then |
| 299 | $install git openjdk-8-jdk maven |
| 300 | fi |
| 301 | |
| 302 | if [[ $DIST == Fedora ]]; then |
| 303 | printf '\nNDN-JS does not support Fedora yet.\n' |
| 304 | return |
| 305 | fi |
| 306 | |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 307 | git clone --depth 1 $NDN_GITHUB/jndn $NDN_SRC/jndn |
| 308 | pushd $NDN_SRC/jndn |
Jeff Thompson | 55d2bf4 | 2017-12-22 09:14:03 -0800 | [diff] [blame] | 309 | mvn install |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 310 | popd |
Ashlesh Gawande | 212cb82 | 2017-02-07 10:42:13 -0600 | [diff] [blame] | 311 | } |
| 312 | |
Jeff Thompson | 55d2bf4 | 2017-12-22 09:14:03 -0800 | [diff] [blame] | 313 | function commonClientLibraries { |
| 314 | ndn_cpp |
| 315 | pyNDN |
| 316 | ndn_js |
| 317 | jNDN |
| 318 | } |
| 319 | |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 320 | function buildDocumentation { |
| 321 | sphinxInstalled=$(pip show sphinx | wc -l) |
| 322 | sphinxRtdInstalled=$(pip show sphinx_rtd_theme | wc -l) |
| 323 | if [[ $sphinxInstalled -eq "0" ]]; then |
| 324 | pip install sphinx |
| 325 | fi |
| 326 | |
| 327 | if [[ $sphinxRtdInstalled -eq "0" ]]; then |
| 328 | pip install sphinx_rtd_theme |
| 329 | fi |
| 330 | cd docs |
| 331 | make clean |
| 332 | make html |
| 333 | } |
| 334 | |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 335 | function usage { |
Saurab Dulal | 7b3655a | 2018-01-02 22:40:35 +0000 | [diff] [blame] | 336 | printf '\nUsage: %s [-a]\n\n' $(basename $0) >&2 |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 337 | |
| 338 | printf 'options:\n' >&2 |
Saurab Dulal | 7b3655a | 2018-01-02 22:40:35 +0000 | [diff] [blame] | 339 | printf -- ' -a: install all the required dependencies\n' >&2 |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 340 | printf -- ' -c: install Common Client Libraries\n' >&2 |
| 341 | printf -- ' -d: build documentation\n' >&2 |
| 342 | printf -- ' -h: print this (H)elp message\n' >&2 |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 343 | printf -- ' -i: install mini-ndn\n' >&2 |
| 344 | printf -- ' -m: install mininet and dependencies\n' >&2 |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 345 | printf -- ' -n: install NDN dependencies of mini-ndn including infoedit\n' >&2 |
| 346 | printf -- ' -p: patch ndn-cxx with dummy key chain\n' >&2 |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 347 | exit 2 |
| 348 | } |
| 349 | |
| 350 | if [[ $# -eq 0 ]]; then |
| 351 | usage |
| 352 | else |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 353 | while getopts 'acdhimnp' OPTION |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 354 | do |
| 355 | case $OPTION in |
Saurab Dulal | 7b3655a | 2018-01-02 22:40:35 +0000 | [diff] [blame] | 356 | a) |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 357 | ndn |
Saurab Dulal | 7b3655a | 2018-01-02 22:40:35 +0000 | [diff] [blame] | 358 | mininet |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 359 | minindn |
Jeff Thompson | 55d2bf4 | 2017-12-22 09:14:03 -0800 | [diff] [blame] | 360 | commonClientLibraries |
Saurab Dulal | 7b3655a | 2018-01-02 22:40:35 +0000 | [diff] [blame] | 361 | break |
| 362 | ;; |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 363 | c) commonClientLibraries;; |
| 364 | d) buildDocumentation;; |
| 365 | h) usage;; |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 366 | i) minindn;; |
| 367 | m) mininet;; |
Ashlesh Gawande | 6c86e30 | 2019-09-17 22:27:05 -0500 | [diff] [blame] | 368 | n) ndn;; |
| 369 | p) patchDummy;; |
ashu | 2ad32e2 | 2015-05-29 13:37:40 -0500 | [diff] [blame] | 370 | ?) usage;; |
| 371 | esac |
| 372 | done |
| 373 | shift $(($OPTIND - 1)) |
Ashlesh Gawande | 670ff15 | 2018-06-08 12:26:39 -0500 | [diff] [blame] | 374 | fi |