diff options
author | leeym <leeym@FreeBSD.org> | 2003-02-21 09:07:12 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-02-21 09:07:12 +0800 |
commit | d40521326877c3f1bd6236abd212f1d24987d151 (patch) | |
tree | c21405a42048f45678e9d982bc0a81387ee901a2 | |
parent | 054f24d49b803280ad980cec00a7c7697fdc5e3b (diff) | |
download | freebsd-ports-gnome-d40521326877c3f1bd6236abd212f1d24987d151.tar.gz freebsd-ports-gnome-d40521326877c3f1bd6236abd212f1d24987d151.tar.zst freebsd-ports-gnome-d40521326877c3f1bd6236abd212f1d24987d151.zip |
add tptest
The TPTEST is a software suite for testing network throughput and
Internet services.
PR: 47523
Submitted by: Palle Girgensohn <girgen@pingpong.net>
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/tptest/Makefile | 31 | ||||
-rw-r--r-- | net/tptest/distinfo | 1 | ||||
-rw-r--r-- | net/tptest/files/patch-apps::unix::client::Makefile | 29 | ||||
-rw-r--r-- | net/tptest/files/patch-apps::unix::server::Makefile | 29 | ||||
-rw-r--r-- | net/tptest/pkg-comment | 1 | ||||
-rw-r--r-- | net/tptest/pkg-descr | 19 | ||||
-rw-r--r-- | net/tptest/pkg-plist | 2 |
8 files changed, 113 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 77e7f07cfed4..78e862f6c4dc 100644 --- a/net/Makefile +++ b/net/Makefile @@ -611,6 +611,7 @@ SUBDIR += tn3270 SUBDIR += tn5250 SUBDIR += totd + SUBDIR += tptest SUBDIR += traceroute SUBDIR += trafcount SUBDIR += trafd diff --git a/net/tptest/Makefile b/net/tptest/Makefile new file mode 100644 index 000000000000..68e94fc6b24b --- /dev/null +++ b/net/tptest/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: tptest +# Date created: 2002-12-30 +# Whom: Palle Girgensohn <girgen@pingpong.net> +# +# $FreeBSD$ +# + +PORTNAME= tptest +PORTVERSION= 3.1.0 +CATEGORIES= net benchmarks +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=${PORTNAME} +DISTNAME= ${PORTNAME}${PORTVERSION} + +MAINTAINER= girgen@pingpong.net + +pre-build: + @ cd ${WRKSRC}/apps/unix/client ;\ + ${LN} -s ../../../os-dep/unix/*.[hc] ../../../engine/*.[hc] . + +do-build: + @ cd ${WRKSRC}/apps/unix/client; ${MAKE} + @ cd ${WRKSRC}/apps/unix/server; ${MAKE} + +do-install: + @ ${INSTALL_PROGRAM} \ + ${WRKSRC}/apps/unix/client/tptest \ + ${WRKSRC}/apps/unix/server/tptestserver \ + ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/net/tptest/distinfo b/net/tptest/distinfo new file mode 100644 index 000000000000..3c2a0d28ad81 --- /dev/null +++ b/net/tptest/distinfo @@ -0,0 +1 @@ +MD5 (tptest3.1.0.tar.gz) = ca862dfb5cf10031464df7c178b1e9ab diff --git a/net/tptest/files/patch-apps::unix::client::Makefile b/net/tptest/files/patch-apps::unix::client::Makefile new file mode 100644 index 000000000000..e44ae7e13142 --- /dev/null +++ b/net/tptest/files/patch-apps::unix::client::Makefile @@ -0,0 +1,29 @@ +--- apps/unix/client/Makefile.orig Sun Jan 26 22:23:48 2003 ++++ apps/unix/client/Makefile Sun Jan 26 22:24:13 2003 +@@ -3,7 +3,7 @@ + # Use this for Linux and other systems that have makedepend + # instead of mkdep. + # +-MAKEDEPEND = makedepend ++#MAKEDEPEND = makedepend + # + # For Solaris the mkdep script in this directory can be used. + # +@@ -11,14 +11,14 @@ + # + # Use this for Free/Net/OpenBSD. + # +-#MAKEDEPEND = mkdep ++MAKEDEPEND = mkdep + CDEBUG = -g + INCL = + + # Use this flag when compiling under Solaris + #EXTRADEFINES = -DUNIX -DSOLARIS +-#EXTRADEFINES = -DUNIX -DOPENBSD +-EXTRADEFINES = -DUNIX -DLINUX ++EXTRADEFINES = -DUNIX -DOPENBSD ++#EXTRADEFINES = -DUNIX -DLINUX + + # + # Use this if your machine has problems with localtime(). diff --git a/net/tptest/files/patch-apps::unix::server::Makefile b/net/tptest/files/patch-apps::unix::server::Makefile new file mode 100644 index 000000000000..f8b4bf241bc6 --- /dev/null +++ b/net/tptest/files/patch-apps::unix::server::Makefile @@ -0,0 +1,29 @@ +--- apps/unix/server/Makefile.orig Sun Jan 26 22:21:08 2003 ++++ apps/unix/server/Makefile Sun Jan 26 22:49:45 2003 +@@ -3,7 +3,7 @@ + # Use this for Linux and other systems that have makedepend + # instead of mkdep. + # +-MAKEDEPEND = makedepend ++#MAKEDEPEND = makedepend + # + # For Solaris the mkdep script in this directory can be used. + # +@@ -11,14 +11,14 @@ + # + # Use this for Free/Net/OpenBSD. + # +-#MAKEDEPEND = mkdep ++MAKEDEPEND = mkdep + CDEBUG = -g + INCL = -I ../../../os-dep/unix -I ../../../engine + + # Use this flag when compiling under Solaris + #EXTRADEFINES = -DUNIX -DSOLARIS +-#EXTRADEFINES = -DUNIX -DOPENBSD +-EXTRADEFINES = -DUNIX -DLINUX ++EXTRADEFINES = -DUNIX -DOPENBSD ++#EXTRADEFINES = -DUNIX -DLINUX + + # + # Use this if your machine has problems with localtime(). diff --git a/net/tptest/pkg-comment b/net/tptest/pkg-comment new file mode 100644 index 000000000000..05069a5f34c5 --- /dev/null +++ b/net/tptest/pkg-comment @@ -0,0 +1 @@ +Software suite for testing network throughput and Internet services diff --git a/net/tptest/pkg-descr b/net/tptest/pkg-descr new file mode 100644 index 000000000000..5cbfcf716366 --- /dev/null +++ b/net/tptest/pkg-descr @@ -0,0 +1,19 @@ +The purpose with TPTEST is to allow users to measure the speed of +their Internet connection in a simple way. TPTEST measures the +throughput speed to and from various reference servers on the +Internet. The use of TPTEST may help increase the consumer/end user +knowledge of how Internet services work. + +TPTEST was originally developed by the Swedish ICT-commission, then +later by the Foundation for Internet Infrastructure (iis.se), the +Swedish Consumer Agency (konsumentverket.se), and the Swedish National +Post- and Telecom Agency (pts.se). The latest development has been to +separate the platform-independent test method software (the test +engine) from the platform-dependent user interface software in order +to make it easier for anyone to write a test client or server that +uses the TPTEST testing method. The test engine code is to be regarded +as a library module and is released under the LGPL license while the +reference client/server applications is released under the GPL +license. + +WWW: http://tptest.sourceforge.net/ diff --git a/net/tptest/pkg-plist b/net/tptest/pkg-plist new file mode 100644 index 000000000000..e57cc2529599 --- /dev/null +++ b/net/tptest/pkg-plist @@ -0,0 +1,2 @@ +bin/tptest +bin/tptestserver |