1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup NDN-Routing ccnping 071f07b409c62dc1cf0de4e2eb2d214ea76bb624 |
---|
8 | checksums rmd160 8c7071eba0e93da07f71f0dda7b0a538a7cbd078 \ |
---|
9 | sha256 b7c9ce05a990b7ef8411e43fcc60cf861a8da1e9d55e0bcc1ef557103cf2f4a6 |
---|
10 | |
---|
11 | name ccnping |
---|
12 | homepage https://github.com/NDN-Routing/ccnping |
---|
13 | license GPL-2+ |
---|
14 | version 0.1 |
---|
15 | revision 0 |
---|
16 | |
---|
17 | categories net ccnx |
---|
18 | platforms darwin |
---|
19 | maintainers ucla.edu:alexander.afanasyev |
---|
20 | |
---|
21 | description ping command equivalent for CCNx |
---|
22 | |
---|
23 | long_description ccnpingserver and ccnping are CCNx applications used for testing connectivity |
---|
24 | |
---|
25 | use_configure false |
---|
26 | depends_lib-append port:ccnx |
---|
27 | |
---|
28 | # User should be already created by ccnx port |
---|
29 | set ccnxuser ccnx |
---|
30 | set ccnxgroup ccnx |
---|
31 | set ccnxdir ${prefix}/etc/ccnx |
---|
32 | |
---|
33 | build.env-append CFLAGS=-I${prefix}/include \ |
---|
34 | LIBS=-L${prefix}/lib \ |
---|
35 | INSTALL_BASE=${prefix} \ |
---|
36 | CC=${configure.cc} |
---|
37 | |
---|
38 | destroot { |
---|
39 | system "echo /ndn/`hostname` > ${ccnxdir}/ccnpingserver.conf.example" |
---|
40 | xinstall -W ${worksrcpath} ccnping ccnpingserver ${destroot}${prefix}/bin/ |
---|
41 | } |
---|
42 | |
---|
43 | patchfiles patch-Makefile.diff |
---|
44 | |
---|
45 | notes " |
---|
46 | ccnpingserver is usually run on a hub. For example, on Arizona hub, ccnpingserver |
---|
47 | is started by running \[ccnpingserver /ndn/arizona.edu\]. Then we can run |
---|
48 | \[ccnping /ndn/arizona.edu\] from other nodes to test connectivity towards name |
---|
49 | prefix /ndn/arizona.edu. |
---|
50 | " |
---|