diff options
-rw-r--r-- | emulators/Makefile | 1 | ||||
-rw-r--r-- | emulators/vpcs/Makefile | 31 | ||||
-rw-r--r-- | emulators/vpcs/distinfo | 2 | ||||
-rw-r--r-- | emulators/vpcs/pkg-descr | 12 |
4 files changed, 46 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile index 056e4f32e4e1..db64d13f034f 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -154,6 +154,7 @@ SUBDIR += vmips SUBDIR += vmsbackup SUBDIR += vmw + SUBDIR += vpcs SUBDIR += vxtools SUBDIR += wine SUBDIR += wine-devel diff --git a/emulators/vpcs/Makefile b/emulators/vpcs/Makefile new file mode 100644 index 000000000000..c8ca3a280545 --- /dev/null +++ b/emulators/vpcs/Makefile @@ -0,0 +1,31 @@ +# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= vpcs +PORTVERSION= 0.8 +CATEGORIES= emulators +MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Virtual PC Simulator + +LICENSE= BSD2CLAUSE + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS_REASON= non-portable +USES= tar:tbz +PLIST_FILES= bin/vpcs man/man1/vpcs.1.gz + +post-patch: + @${REINPLACE_CMD} -e 's|i386|${ARCH}|g' ${WRKSRC}/src/Makefile.fbsd + +do-build: + cd ${WRKSRC}/src && ${BSDMAKE} -f Makefile.fbsd + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/vpcs ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/vpcs.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/emulators/vpcs/distinfo b/emulators/vpcs/distinfo new file mode 100644 index 000000000000..f07bd4878990 --- /dev/null +++ b/emulators/vpcs/distinfo @@ -0,0 +1,2 @@ +SHA256 (vpcs-0.8-src.tbz) = dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993 +SIZE (vpcs-0.8-src.tbz) = 157871 diff --git a/emulators/vpcs/pkg-descr b/emulators/vpcs/pkg-descr new file mode 100644 index 000000000000..4acd6e6885c3 --- /dev/null +++ b/emulators/vpcs/pkg-descr @@ -0,0 +1,12 @@ +The VPCS can simulate up to 9 PCs. You can ping/traceroute them, or +ping/traceroute the other hosts/routers from the virtual PCs when you study the +Cisco routers in the Dynamips. VPCS is not the traditional PC, it is just a +program running on the Linux or FreeBSD, and only few network commands can be +used in it. But VPCS can give you a big hand when you study the Cisco devices in +the Dynamips. VPCS can replace the routers or VMware boxes which are used as PCs +in the Dynamips network. It can save your CPU/Memory. It is very small. + +VPCS can be run in udp or ether mode. In the udp mode, VPCS sends or receives +the packets via udp. In the ether mode, via /dev/tap. + +WWW: https://wiki.freecode.com.cn/doku.php?id=wiki:vpcs |