From 6ec6def9b6f7a24b139d215b683f60da4971c723 Mon Sep 17 00:00:00 2001 From: minskim Date: Fri, 5 May 2006 23:14:43 +0000 Subject: Import gt-itm. GT-ITM contains code to generate graphs that model the topological structure of internetworks. In addition, some sample graphs are provided. More detail on most of the methods can be found in the paper: "How to Model an Internetwork," Ellen Zegura, Ken Calvert, and Samrat Bhattacharjee, Proceedings of IEEE Infocom '96. --- net/gt-itm/DESCR | 7 +++++++ net/gt-itm/Makefile | 23 +++++++++++++++++++++++ net/gt-itm/PLIST | 11 +++++++++++ net/gt-itm/distinfo | 7 +++++++ net/gt-itm/patches/patch-aa | 13 +++++++++++++ net/gt-itm/patches/patch-ab | 23 +++++++++++++++++++++++ 6 files changed, 84 insertions(+) create mode 100644 net/gt-itm/DESCR create mode 100644 net/gt-itm/Makefile create mode 100644 net/gt-itm/PLIST create mode 100644 net/gt-itm/distinfo create mode 100644 net/gt-itm/patches/patch-aa create mode 100644 net/gt-itm/patches/patch-ab (limited to 'net/gt-itm') diff --git a/net/gt-itm/DESCR b/net/gt-itm/DESCR new file mode 100644 index 00000000000..ae4575435ad --- /dev/null +++ b/net/gt-itm/DESCR @@ -0,0 +1,7 @@ +GT-ITM contains code to generate graphs that model the topological +structure of internetworks. In addition, some sample graphs are +provided. More detail on most of the methods can be found in the +paper: + +"How to Model an Internetwork," Ellen Zegura, Ken Calvert, +and Samrat Bhattacharjee, Proceedings of IEEE Infocom '96. diff --git a/net/gt-itm/Makefile b/net/gt-itm/Makefile new file mode 100644 index 00000000000..892aecf72e9 --- /dev/null +++ b/net/gt-itm/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/05/05 23:14:43 minskim Exp $ + +DISTNAME= gt-itm +PKGNAME= gt-itm-0pre19961004 +CATEGORIES= net +MASTER_SITES= http://www-static.cc.gatech.edu/projects/gtitm/gt-itm/ + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= http://www-static.cc.gatech.edu/projects/gtitm/ +COMMENT= GT Internetwork Topology Models + +USE_LIBTOOL= yes +WRKSRC= ${WRKDIR}/src + +INSTALLATION_DIRS+= bin share/doc/gt-itm + +.include "../../devel/sgb/buildlink3.mk" + +do-install: + ${INSTALL_PROGRAM} ${WRKDIR}/bin/* ${PREFIX}/bin + ${INSTALL_DATA} ${WRKDIR}/docs/* ${PREFIX}/share/doc/gt-itm + +.include "../../mk/bsd.pkg.mk" diff --git a/net/gt-itm/PLIST b/net/gt-itm/PLIST new file mode 100644 index 00000000000..f598d0cef43 --- /dev/null +++ b/net/gt-itm/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/05 23:14:43 minskim Exp $ +bin/edriver +bin/itm +bin/sgb2alt +share/doc/gt-itm/README-SGB +share/doc/gt-itm/edriver-doc.txt +share/doc/gt-itm/itm-doc.txt +share/doc/gt-itm/metrics.ps +share/doc/gt-itm/models.ps +share/doc/gt-itm/sgb2alt-doc.txt +@dirrm share/doc/gt-itm diff --git a/net/gt-itm/distinfo b/net/gt-itm/distinfo new file mode 100644 index 00000000000..3822465deba --- /dev/null +++ b/net/gt-itm/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/05/05 23:14:43 minskim Exp $ + +SHA1 (gt-itm.tar.gz) = 1e52ee9c9d6e3ef09ac39c860d1cd829cf3c6e4e +RMD160 (gt-itm.tar.gz) = 0a7cbdfce185ab4bc2c73b78f290e8a831dc04e2 +Size (gt-itm.tar.gz) = 623345 bytes +SHA1 (patch-aa) = 6f91fa29114fc33c9976ff5f70e259c88ef63cea +SHA1 (patch-ab) = 72e60f9b5fc07b3ee44e838e017696178444135b diff --git a/net/gt-itm/patches/patch-aa b/net/gt-itm/patches/patch-aa new file mode 100644 index 00000000000..b1a3b8d59bd --- /dev/null +++ b/net/gt-itm/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/05/05 23:14:43 minskim Exp $ + +--- Makefile.orig 1996-10-23 14:05:26.000000000 -0700 ++++ Makefile +@@ -12,7 +12,7 @@ + #LIBS = -lm -lgb5 + + # For SunOS: uncomment the next line +-LIBS = -lm -lgb4 ++LIBS = -lm -lgb + + + IDIR = ../include diff --git a/net/gt-itm/patches/patch-ab b/net/gt-itm/patches/patch-ab new file mode 100644 index 00000000000..e4eecfbc8ea --- /dev/null +++ b/net/gt-itm/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.1.1.1 2006/05/05 23:14:43 minskim Exp $ + +--- eval.c.orig 1996-10-23 14:05:27.000000000 -0700 ++++ eval.c +@@ -5,7 +5,7 @@ + */ + + #include +-#include ++#include + #include "gb_graph.h" + #include "gb_dijk.h" + #include "eval.h" +@@ -159,8 +159,7 @@ int bicomp(Graph *g,int verbose) + if (u == &dummy) { + if (verbose) { + if (artic_pt) +- printf(" and %d (this ends a connected +- component of the graph)\n", idx(g, artic_pt)); ++ printf(" and %d (this ends a connected component of the graph)\n", idx(g, artic_pt)); + else + printf("Isolated vertex %d\n", idx(g, v)); + } -- cgit v1.2.3