summaryrefslogtreecommitdiff
path: root/net/tptest
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-02-21 01:07:12 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-02-21 01:07:12 +0000
commitdbbdcd320e90d72f5f47c8e5d8eb8eb3279c2f73 (patch)
tree5c449b3d62f700ab484358b4dce1e11836c03bcc /net/tptest
parent- pkg-comment is no longer mandatory; (diff)
add tptest
The TPTEST is a software suite for testing network throughput and Internet services. PR: 47523 Submitted by: Palle Girgensohn <girgen@pingpong.net>
Notes
Notes: svn path=/head/; revision=75997
Diffstat (limited to 'net/tptest')
-rw-r--r--net/tptest/Makefile31
-rw-r--r--net/tptest/distinfo1
-rw-r--r--net/tptest/files/patch-apps::unix::client::Makefile29
-rw-r--r--net/tptest/files/patch-apps::unix::server::Makefile29
-rw-r--r--net/tptest/pkg-comment1
-rw-r--r--net/tptest/pkg-descr19
-rw-r--r--net/tptest/pkg-plist2
7 files changed, 112 insertions, 0 deletions
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