svn commit: r401895 - in head/emulators: . vpcs
Muhammad Moinur Rahman
bofh at FreeBSD.org
Wed Nov 18 20:37:40 UTC 2015
Author: bofh
Date: Wed Nov 18 20:37:39 2015
New Revision: 401895
URL: https://svnweb.freebsd.org/changeset/ports/401895
Log:
[NEW] emulators/vpsc: Virtual PC Simulator
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
Added:
head/emulators/vpcs/
head/emulators/vpcs/Makefile (contents, props changed)
head/emulators/vpcs/distinfo (contents, props changed)
head/emulators/vpcs/pkg-descr (contents, props changed)
Modified:
head/emulators/Makefile
Modified: head/emulators/Makefile
==============================================================================
--- head/emulators/Makefile Wed Nov 18 20:28:03 2015 (r401894)
+++ head/emulators/Makefile Wed Nov 18 20:37:39 2015 (r401895)
@@ -154,6 +154,7 @@
SUBDIR += vmips
SUBDIR += vmsbackup
SUBDIR += vmw
+ SUBDIR += vpcs
SUBDIR += vxtools
SUBDIR += wine
SUBDIR += wine-devel
Added: head/emulators/vpcs/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/vpcs/Makefile Wed Nov 18 20:37:39 2015 (r401895)
@@ -0,0 +1,31 @@
+# Created by: Muhammad Moinur Rahman <bofh at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= vpcs
+PORTVERSION= 0.8
+CATEGORIES= emulators
+MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= bofh at 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>
Added: head/emulators/vpcs/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/vpcs/distinfo Wed Nov 18 20:37:39 2015 (r401895)
@@ -0,0 +1,2 @@
+SHA256 (vpcs-0.8-src.tbz) = dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
+SIZE (vpcs-0.8-src.tbz) = 157871
Added: head/emulators/vpcs/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/vpcs/pkg-descr Wed Nov 18 20:37:39 2015 (r401895)
@@ -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
More information about the svn-ports-head
mailing list