1 | # $Id: |
---|
2 | PortSystem 1.0 |
---|
3 | name dynamips |
---|
4 | version 0.2.7 |
---|
5 | revision 0 |
---|
6 | categories net |
---|
7 | maintainers jstrine@vexate.net |
---|
8 | description Cisco router emulator |
---|
9 | homepage http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | long_description \ |
---|
13 | Dynamips emulates a variety of Cisco routers on a \ |
---|
14 | traditional PC. It supports the emulation of select 7200, \ |
---|
15 | 3600, 3700, and 2600 series routers. It uses real Cisco \ |
---|
16 | IOS images (which are not part of this package). Of \ |
---|
17 | course, this emulator cannot replace a real router. It is \ |
---|
18 | simply a complementary tool to real labs for administrators \ |
---|
19 | of Cisco networks or people wanting to pass their \ |
---|
20 | CCNA/CCNP/CCIE exams. |
---|
21 | |
---|
22 | master_sites http://www.ipflow.utc.fr/dynamips |
---|
23 | distname dynamips-${version} |
---|
24 | checksums md5 0fe1875bb4e7e3624ca420dd75c85279 \ |
---|
25 | sha1 6f65a2e92f5d27aca9d8608369cb20c9539a8121 |
---|
26 | |
---|
27 | depends_lib port:libelf \ |
---|
28 | port:libpcap |
---|
29 | |
---|
30 | patchfiles Makefile.diff |
---|
31 | configure {} |
---|
32 | |
---|
33 | # patch.pre_args set to allow use of unmodified idle_pcs patch from developer |
---|
34 | patch.pre_args -p1 |
---|
35 | |
---|
36 | build.pre_args-append PREFIX=${prefix} |
---|
37 | destroot.pre_args-append PREFIX=${prefix} |
---|
38 | |
---|
39 | # compile using nojit if on PowerPC platform |
---|
40 | if {${os.arch} == "powerpc"} { |
---|
41 | build.pre_args-append DYNAMIPS_ARCH=nojit |
---|
42 | } |
---|
43 | |
---|
44 | default_variants +idle_pcs |
---|
45 | |
---|
46 | variant no_pcap \ |
---|
47 | description {Without support to send/receive external traffic} { |
---|
48 | |
---|
49 | depends_lib-delete port:libpcap |
---|
50 | build.pre_args-append HAS_PCAP=0 |
---|
51 | } |
---|
52 | |
---|
53 | variant idle_pcs \ |
---|
54 | description {With support for multiple idle-pcs. Uses patch |
---|
55 | written by Yannick Le Teigner available at |
---|
56 | http://dynagui.sourceforge.net.} { |
---|
57 | |
---|
58 | patchfiles-append idle_pcs.diff |
---|
59 | } |
---|