Permalink
Showing
with
32 additions
and 689 deletions.
- +32 −77 net/dynamips/Portfile
- +0 −81 net/dynamips/files/Makefile.diff
- +0 −531 net/dynamips/files/idle_pcs.diff
| @@ -1,77 +1,32 @@ | ||
| PortSystem 1.0 | ||
|
|
||
| name dynamips | ||
| version 0.2.7 | ||
| revision 2 | ||
| categories net | ||
| maintainers vexate.net:jstrine | ||
| description Cisco router emulator | ||
| homepage http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator | ||
| platforms darwin | ||
|
|
||
| long_description \ | ||
| Dynamips emulates a variety of Cisco routers on a \ | ||
| traditional PC. It supports the emulation of select 7200, \ | ||
| 3600, 3700, and 2600 series routers. It uses real Cisco \ | ||
| IOS images (which are not part of this package). Of \ | ||
| course, this emulator cannot replace a real router. It is \ | ||
| simply a complementary tool to real labs for administrators \ | ||
| of Cisco networks or people wanting to pass their \ | ||
| CCNA/CCNP/CCIE exams. | ||
|
|
||
| master_sites http://www.ipflow.utc.fr/dynamips | ||
| distname dynamips-${version} | ||
| checksums md5 0fe1875bb4e7e3624ca420dd75c85279 \ | ||
| sha1 6f65a2e92f5d27aca9d8608369cb20c9539a8121 | ||
|
|
||
| depends_lib port:libelf \ | ||
| port:libpcap | ||
|
|
||
| patchfiles Makefile.diff | ||
| use_configure no | ||
|
|
||
| # patch.pre_args set to allow use of unmodified idle_pcs patch from developer | ||
| patch.pre_args -p1 | ||
|
|
||
| build.pre_args-append PREFIX=${prefix} CC=${configure.cc} | ||
| if {[vercmp [macports_version] 2.5.99] >= 0} { | ||
| build.env-append CFLAGS=${configure.cc_archflags} | ||
| } else { | ||
| build.env-append CFLAGS="${configure.cc_archflags}" | ||
| } | ||
| use_parallel_build no | ||
|
|
||
| destroot.pre_args-append PREFIX=${prefix} CC=${configure.cc} | ||
| if {[vercmp [macports_version] 2.5.99] >= 0} { | ||
| destroot.env-append CFLAGS=${configure.cc_archflags} | ||
| } else { | ||
| destroot.env-append CFLAGS="${configure.cc_archflags}" | ||
| } | ||
|
|
||
| if {${build_arch} eq "x86_64"} { | ||
| set dynamips_arch amd64 | ||
| } elseif {${build_arch} eq "i386"} { | ||
| set dynamips_arch x86 | ||
| } else { | ||
| set dynamips_arch nojit | ||
| } | ||
| build.pre_args-append DYNAMIPS_ARCH=${dynamips_arch} | ||
| destroot.pre_args-append DYNAMIPS_ARCH=${dynamips_arch} | ||
|
|
||
| default_variants +idle_pcs | ||
|
|
||
| variant no_pcap \ | ||
| description {Without support to send/receive external traffic} { | ||
|
|
||
| depends_lib-delete port:libpcap | ||
| build.pre_args-append HAS_PCAP=0 | ||
| destroot.pre_args-append HAS_PCAP=0 | ||
| } | ||
|
|
||
| variant idle_pcs \ | ||
| description {With support for multiple idle-pcs. Uses patch \ | ||
| written by Yannick Le Teigner available at \ | ||
| http://dynagui.sourceforge.net.} { | ||
|
|
||
| patchfiles-append idle_pcs.diff | ||
| } | ||
| PortSystem 1.0 | ||
| PortGroup github 1.0 | ||
| PortGroup cmake 1.1 | ||
|
|
||
| github.setup GNS3 dynamips 0.2.20 v | ||
| revision 0 | ||
|
|
||
| license GPL-2 | ||
| categories net | ||
| maintainers {gmail.com:lasticppc @lastic} openmaintainer | ||
| platforms darwin | ||
|
|
||
| homepage https://github.com/GNS3/dynamips | ||
| description Cisco router emulator | ||
| long_description Dynamips emulates a variety of Cisco routers on a \ | ||
| traditional PC. It supports the emulation of select 7200, \ | ||
| 3600, 3700, and 2600 series routers. It uses real Cisco \ | ||
| IOS images (which are not part of this package). Of \ | ||
| course, this emulator cannot replace a real router. It is \ | ||
| simply a complementary tool to real labs for administrators \ | ||
| of Cisco networks or people wanting to pass their \ | ||
| CCNA/CCNP/CCIE exams. | ||
|
|
||
| checksums rmd160 23c02f144b13a466a1b6a96d43cd6c1d4770e1d4 \ | ||
| sha256 9688563ffca379e96a29f5777f68958501282fd02f1f9748526e4b8770f2e80d \ | ||
| size 834033 | ||
|
|
||
| depends_lib port:libelf \ | ||
| port:libpcap | ||
|
|
||
| configure.args-append \ | ||
| -DDYNAMIPS_CODE=stable |
Oops, something went wrong.