Date: Thu, 4 Nov 2004 14:55:57 +0100 (CET) From: Janos Mohacsi <janos.mohacsi@niif.hu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/73532: [NEW PORT] net/mgen: Mgen is an IP network performance tests and measurements Message-ID: <200411041355.iA4Dtvjl057769@scone.ki.iif.hu> Resent-Message-ID: <200411041400.iA4E0nEl001089@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 73532 >Category: ports >Synopsis: [NEW PORT] net/mgen: Mgen is an IP network performance tests and measurements >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 04 14:00:48 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 5.3-STABLE i386 >Organization: NIIF/HUNGARNET >Environment: System: FreeBSD scone.ki.iif.hu 5.3-STABLE FreeBSD 5.3-STABLE #4: Mon Oct 18 13:14:24 CEST 2004 >Description: The Multi-Generator (MGEN) is open source software by the Naval Research Laboratory (NRL) PROTocol Engineering Advanced Networking (PROTEAN) Research Group. MGEN provides the ability to perform IP network performance tests and measurements using UDP/IP traffic (TCP is currently being developed). The toolset generates real-time traffic patterns so that the network can be loaded in a variety of ways. The generated traffic can also be received and logged for analyses. Script files are used to drive the generated loading patterns over the course of time. These script files can be used to emulate the traffic patterns of unicast and/or multicast UDP/IP applications. The receive portion of this tool set can be scripted to dynamically join and leave IP multicast groups. MGEN log data can be used to calculate performance statistics on throughput, packet loss rates, communication delay, and more. WWW: http://mgen.pf.itd.nrl.navy.mil/ Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: Apply this shar. >Fix: --- mgen-4.2b5.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mgen # mgen/pkg-plist # mgen/pkg-descr # mgen/distinfo # mgen/Makefile # mgen/files # mgen/files/patch-common_mgenApp.cpp # mgen/files/patch-common_mgen.cpp # echo c - mgen mkdir -p mgen > /dev/null 2>&1 echo x - mgen/pkg-plist sed 's/^X//' >mgen/pkg-plist << 'END-of-mgen/pkg-plist' Xbin/mgen X%%PORTDOCS%%%%DOCSDIR%%/README.TXT X%%PORTDOCS%%%%DOCSDIR%%/VERSION.TXT X%%PORTDOCS%%%%DOCSDIR%%/mgen.html X%%PORTDOCS%%%%DOCSDIR%%/example.mgn X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-mgen/pkg-plist echo x - mgen/pkg-descr sed 's/^X//' >mgen/pkg-descr << 'END-of-mgen/pkg-descr' XThe Multi-Generator (MGEN) is open source software by the Naval Research XLaboratory (NRL) PROTocol Engineering Advanced Networking (PROTEAN) XResearch Group. MGEN provides the ability to perform IP network Xperformance tests and measurements using UDP/IP traffic (TCP is currently Xbeing developed). XThe toolset generates real-time traffic patterns so that the network can Xbe loaded in a variety of ways. The generated traffic can also be Xreceived and logged for analyses. Script files are used to drive the Xgenerated loading patterns over the course of time. These script files can Xbe used to emulate the traffic patterns of unicast and/or multicast UDP/IP Xapplications. The receive portion of this tool set can be scripted to Xdynamically join and leave IP multicast groups. MGEN log data can be used Xto calculate performance statistics on throughput, packet loss rates, Xcommunication delay, and more. X XWWW: http://mgen.pf.itd.nrl.navy.mil/ END-of-mgen/pkg-descr echo x - mgen/distinfo sed 's/^X//' >mgen/distinfo << 'END-of-mgen/distinfo' XMD5 (src-mgen-4.2b5.tgz) = ca6c45d36ce84b30030c4436f926ec3f XSIZE (src-mgen-4.2b5.tgz) = 368998 END-of-mgen/distinfo echo x - mgen/Makefile sed 's/^X//' >mgen/Makefile << 'END-of-mgen/Makefile' X# New ports collection makefile for: rude X# Date created: 04/11/2004 X# Whom: janos.mohacsi@bsd.hu X# X# $FreeBSD$ X# X XPORTNAME= mgen XPORTVERSION= 4.2b5 XCATEGORIES= net XMASTER_SITES= http://downloads.pf.itd.nrl.navy.mil/mgen/ XEXTRACT_SUFX= .tgz XDISTFILES= src-${DISTNAME}${EXTRACT_SUFX} X XMAINTAINER= janos.mohacsi@bsd.hu XCOMMENT= Mgen is an IP network performance tests and measurements X XUSE_GMAKE= yes X XDOC_FILES= README.TXT VERSION.TXT mgen.html XEXAMPLE_FILES= example.mgn X Xdo-build: X cd ${WRKSRC}/unix && ${GMAKE} -f Makefile.freebsd ${PORTNAME} X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/unix/mgen ${PREFIX}/bin X.ifndef(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for FILE in ${DOC_FILES} X @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} X.endfor X.for FILE in ${EXAMPLE_FILES} X @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.mk> END-of-mgen/Makefile echo c - mgen/files mkdir -p mgen/files > /dev/null 2>&1 echo x - mgen/files/patch-common_mgenApp.cpp sed 's/^X//' >mgen/files/patch-common_mgenApp.cpp << 'END-of-mgen/files/patch-common_mgenApp.cpp' X X$FreeBSD$ X X--- common/mgenApp.cpp.orig X+++ common/mgenApp.cpp X@@ -221,7 +221,7 @@ X nextCmd++; X } X return type; X-}; // end MgenApp::GetCmdType() X+} // end MgenApp::GetCmdType() X X bool MgenApp::ProcessCommands(int argc, const char*const* argv) X { X@@ -1388,6 +1388,6 @@ X } // end MgenStreamSource::Read() X X // This macro instantiates our MgenApp instance X-PROTO_INSTANTIATE_APP(MgenApp); X+PROTO_INSTANTIATE_APP(MgenApp) X X END-of-mgen/files/patch-common_mgenApp.cpp echo x - mgen/files/patch-common_mgen.cpp sed 's/^X//' >mgen/files/patch-common_mgen.cpp << 'END-of-mgen/files/patch-common_mgen.cpp' X X$FreeBSD$ X X--- common/mgen.cpp.orig X+++ common/mgen.cpp X@@ -1319,7 +1319,7 @@ X m++; X } X return type; X-}; // end Mgen::GetCmdType() X+} // end Mgen::GetCmdType() X X bool Mgen::OnCommand(Mgen::Command cmd, const char* arg, bool override) X { END-of-mgen/files/patch-common_mgen.cpp exit --- mgen-4.2b5.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411041355.iA4Dtvjl057769>