summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-06-04 19:28:50 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-06-04 19:28:50 +0000
commite936d52e40474136775f3a1c3ac79647d0413cc9 (patch)
treec26153cf688488c715a2ed445b3af1dea2f5c65e /net-analyzer/thrulay
parentRemoving obsolete ebuild/patch. (diff)
downloadgentoo-2-e936d52e40474136775f3a1c3ac79647d0413cc9.tar.gz
gentoo-2-e936d52e40474136775f3a1c3ac79647d0413cc9.tar.bz2
gentoo-2-e936d52e40474136775f3a1c3ac79647d0413cc9.zip
Initial commit. Ebuild by Robin Johnson <robbat2@gentoo.org>.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-analyzer/thrulay')
-rw-r--r--net-analyzer/thrulay/ChangeLog10
-rw-r--r--net-analyzer/thrulay/Manifest3
-rw-r--r--net-analyzer/thrulay/files/digest-thrulay-0.61
-rw-r--r--net-analyzer/thrulay/files/thrulayd-conf.d9
-rw-r--r--net-analyzer/thrulay/files/thrulayd-init.d22
-rw-r--r--net-analyzer/thrulay/metadata.xml8
-rw-r--r--net-analyzer/thrulay/thrulay-0.6.ebuild25
7 files changed, 78 insertions, 0 deletions
diff --git a/net-analyzer/thrulay/ChangeLog b/net-analyzer/thrulay/ChangeLog
new file mode 100644
index 000000000000..e0bd677e8379
--- /dev/null
+++ b/net-analyzer/thrulay/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-analyzer/thrulay
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/thrulay/ChangeLog,v 1.1 2005/06/04 19:28:50 robbat2 Exp $
+
+*thrulay-0.6 (04 Jun 2005)
+
+ 04 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> +files/thrulayd-conf.d,
+ +files/thrulayd-init.d, +metadata.xml, +thrulay-0.6.ebuild:
+ Initial commit. Ebuild by Robin Johnson <robbat2@gentoo.org>.
+
diff --git a/net-analyzer/thrulay/Manifest b/net-analyzer/thrulay/Manifest
new file mode 100644
index 000000000000..5021b0be6272
--- /dev/null
+++ b/net-analyzer/thrulay/Manifest
@@ -0,0 +1,3 @@
+MD5 ae49546683e01ddc61e38a6aaeac9492 thrulay-0.6.ebuild 497
+MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223
+MD5 0df0073ca802c6d7e563f1d6976c1b76 files/digest-thrulay-0.6 62
diff --git a/net-analyzer/thrulay/files/digest-thrulay-0.6 b/net-analyzer/thrulay/files/digest-thrulay-0.6
new file mode 100644
index 000000000000..038ff29b0ead
--- /dev/null
+++ b/net-analyzer/thrulay/files/digest-thrulay-0.6
@@ -0,0 +1 @@
+MD5 4b596d993e61a17460dc8c78aacd690e thrulay-0.6.tar.gz 19397
diff --git a/net-analyzer/thrulay/files/thrulayd-conf.d b/net-analyzer/thrulay/files/thrulayd-conf.d
new file mode 100644
index 000000000000..1f99144b03ed
--- /dev/null
+++ b/net-analyzer/thrulay/files/thrulayd-conf.d
@@ -0,0 +1,9 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/thrulay/files/thrulayd-conf.d,v 1.1 2005/06/04 19:28:50 robbat2 Exp $
+
+# The default window size is 4194304 bytes
+#THRULAYD_WINDOW="4194304"
+
+# By default, thrulayd will listen on 5003/tcp
+#THRULAYD_PORT="5003"
diff --git a/net-analyzer/thrulay/files/thrulayd-init.d b/net-analyzer/thrulay/files/thrulayd-init.d
new file mode 100644
index 000000000000..41beff7dbadb
--- /dev/null
+++ b/net-analyzer/thrulay/files/thrulayd-init.d
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/thrulay/files/thrulayd-init.d,v 1.1 2005/06/04 19:28:50 robbat2 Exp $
+
+depend() {
+ use net
+}
+
+start() {
+ [ -n "${THRULAYD_WINDOW}" ] && THRULAYD_OPTS="${THRULAYD_OPTS} -w${THRULAYD_WINDOW}"
+ [ -n "${THRULAYD_PORT}" ] && THRULAYD_OPTS="${THRULAYD_OPTS} -p${THRULAYD_PORT}"
+ ebegin "Starting thrulayd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/thrulayd -- ${THRULAYD_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping thrulayd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/thrulayd
+ eend $?
+}
diff --git a/net-analyzer/thrulay/metadata.xml b/net-analyzer/thrulay/metadata.xml
new file mode 100644
index 000000000000..5d9f5be9d49d
--- /dev/null
+++ b/net-analyzer/thrulay/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-analyzer/thrulay/thrulay-0.6.ebuild b/net-analyzer/thrulay/thrulay-0.6.ebuild
new file mode 100644
index 000000000000..71e8541cf995
--- /dev/null
+++ b/net-analyzer/thrulay/thrulay-0.6.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/thrulay/thrulay-0.6.ebuild,v 1.1 2005/06/04 19:28:50 robbat2 Exp $
+
+DESCRIPTION="Measure the capacity of a network by sending a bulk TCP stream over it."
+HOMEPAGE="http://www.internet2.edu/~shalunov/thrulay/"
+SRC_URI="${HOMEPAGE}${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=""
+#RDEPEND=""
+
+src_compile() {
+ emake OPT="${CFLAGS}"
+}
+
+src_install() {
+ dobin thrulay
+ dosbin thrulayd
+ dodoc LICENSE README TODO thrulay-protocol.txt
+ newinitd ${FILESDIR}/thrulayd-init.d thrulayd
+ newconfd ${FILESDIR}/thrulayd-conf.d thrulayd
+}