| # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
| github.setup NDN-Routing ccnping 071f07b409c62dc1cf0de4e2eb2d214ea76bb624 |
| checksums rmd160 8c7071eba0e93da07f71f0dda7b0a538a7cbd078 \ |
| sha256 b7c9ce05a990b7ef8411e43fcc60cf861a8da1e9d55e0bcc1ef557103cf2f4a6 |
| homepage https://github.com/NDN-Routing/ccnping |
| maintainers ucla.edu:alexander.afanasyev |
| description ping command equivalent for CCNx |
| long_description ccnpingserver and ccnping are CCNx applications used for testing connectivity |
| depends_lib-append port:ccnx |
| # User should be already created by ccnx port |
| set ccnxdir ${prefix}/etc/ccnx |
| build.env-append CFLAGS=-I${prefix}/include \ |
| system "echo /ndn/`hostname` > ${ccnxdir}/ccnpingserver.conf.example" |
| xinstall -W ${worksrcpath} ccnping ccnpingserver ccnpingserver-wrapper ${destroot}${prefix}/bin/ |
| patchfiles patch-Makefile.diff \ |
| ccnpingserver needs a local prefix to be configured in ${ccnxdir}/ccnpingserver.conf |
| configuration file. This file should contain just one line with local prefix, for example: /ndn/ucla.edu |
| startupitem.executable "${prefix}/bin/ccnpingserver-wrapper" |