summaryrefslogtreecommitdiff
path: root/net-analyzer/thrulay
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/thrulay
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/thrulay')
-rw-r--r--net-analyzer/thrulay/Manifest7
-rw-r--r--net-analyzer/thrulay/files/thrulayd-conf.d8
-rw-r--r--net-analyzer/thrulay/files/thrulayd-init.d21
-rw-r--r--net-analyzer/thrulay/metadata.xml10
-rw-r--r--net-analyzer/thrulay/thrulay-0.9-r1.ebuild30
5 files changed, 76 insertions, 0 deletions
diff --git a/net-analyzer/thrulay/Manifest b/net-analyzer/thrulay/Manifest
new file mode 100644
index 000000000000..d455917ed10e
--- /dev/null
+++ b/net-analyzer/thrulay/Manifest
@@ -0,0 +1,7 @@
+AUX thrulayd-conf.d 248 SHA256 8a778b1c892b27e9fe51f72b4a20b8364721325322fa516c9100219409b797ba SHA512 d74cf8e47c48b762ab76ec74bf92227092706a4594a8b894a58eb0a8972ae99ad9fa565e1ea5520144e692429e35f67593c37ac79e2682a9cebd2044bc3b510a WHIRLPOOL 83e74cbe9e4ee230f44e21780f985508ebc3034ae7bb11f438bbd7376fe7059f7285f1342c4f03781b82bb62b24c9334a2f7d621f208e32ef036c6dfe29c903c
+AUX thrulayd-init.d 557 SHA256 0e2d352816401ed4f720941ec0135b8694449e787945ac568b4e878d742717e1 SHA512 9573ca678b719b913f492b8f2303c8c25b1b49fe727aae5f89016c1d3a2d34595655b851ef26eb85a8f66379b9ea1868babb1e1e1a8e9bef9a61858aa467b9a2 WHIRLPOOL b8b41f9a603c95c42d189cdd111913f339f87e676a6f5114e07a8f07a93d43bf08b4fc3cf1ea49f5c066711ed2f332c85ca80a6cca7a235615ca215ebc434933
+DIST thrulay-0.9.tar.gz 370312 SHA256 373d5613dfe371f6b4f48fc853f6c27701b2981ba4100388c9881cb802d1780d SHA512 9655ef37f6ef3ba51a2fadacf08978fb1c284af6b571dbf76c44e5582bf705bec08170b3b2cc69512b8327485dfd3f758ed2addf510a075558aea70eb4779a6f WHIRLPOOL 224cab8b044d09f2f8ce1f2cece990a6d08fc708596a02509edfaa0a38758d3716235fe1fee55a849f3d180a8acb6fc87499c9769ee8b2931d2d82b0fd03a2a8
+EBUILD thrulay-0.9-r1.ebuild 988 SHA256 51189dc7963281e296a42df9d4a99b0e73a7acf5afbee6e6758bdbae834fcd0b SHA512 95023931605ce3d696eefd6e36f6bc47b6ed97f8c3ab4d18a6a19c2139818c017730fdfadc24803fc95dad8e4149f838be969e4085ddc10166f5c9da4ecba8b7 WHIRLPOOL 7ed0eb0d7f89769d99319fa5d8950eb8ccae35b23cf547c665aed2a158229e854d81b28ddb345162183b0614360dcb4b73e89fdd94648fa503332fb0fb22e578
+MISC ChangeLog 2362 SHA256 cafdd87ce5bc7168bed5e8502246b3b3269843b10bd65c247272289d18411c68 SHA512 5be0e6ee0c67156391a0415cebc38cca1d743ca2b7d1f2bf6e93e7a9f8ec1ed76481ddbf764a0ac7b0201073b1d2071fcd6a12e4737e9db3f35b6df741494a0c WHIRLPOOL abb0819e161dda4fba7e64159d1ced3fcf598e68f93a3a8589f5953f692b32d522684dafbdfe4b3861577c9c52394873ab22a4a1bced661a211f5ccd4aab27dd
+MISC ChangeLog-2015 2226 SHA256 3361685c3e221831a0b94279b71266558b34e0ab0ef1a4670cc0a095a174e0ae SHA512 839b31d9369f1a7d85aa862519ddbac791648c23265ad1a7e9497a5807b3cf6f546ba35290b70fd703f0ab49148ba17e3fb3fc3abd5a99ffae51fea64343e5e0 WHIRLPOOL 4ceaff5dd3d8977f244a84e81117d6204542283808de6829c9626ba247a070527198192f30749f0335196b5151fd52a27f33e18821e93f492ae4a7dca0903406
+MISC metadata.xml 303 SHA256 f36117e655cd6d99944cf51554bbe6c094fa92689d533ec66c5d9f0d506ace56 SHA512 ccf7095c2929ce1262d94f379a7a704d82980b691da0d77e8ec5684803ab6c40bcd85d167cc50f37411e92ace6978b90953e71395ab6f56a31479f2ca3a35ccf WHIRLPOOL 015827c7ee8835c94ba0ed81ab5d38f63fcbf979deece7cce90d60704dc771a2870c25bdd24b814aa8ce09a9f9cd889ad338540738586ea0137ea1ab37987c4e
diff --git a/net-analyzer/thrulay/files/thrulayd-conf.d b/net-analyzer/thrulay/files/thrulayd-conf.d
new file mode 100644
index 000000000000..a1350488a714
--- /dev/null
+++ b/net-analyzer/thrulay/files/thrulayd-conf.d
@@ -0,0 +1,8 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# 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..8fa9f4bc6ba5
--- /dev/null
+++ b/net-analyzer/thrulay/files/thrulayd-init.d
@@ -0,0 +1,21 @@
+#!/sbin/openrc-run
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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..7fb9c5a520e9
--- /dev/null
+++ b/net-analyzer/thrulay/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">thrulay</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-analyzer/thrulay/thrulay-0.9-r1.ebuild b/net-analyzer/thrulay/thrulay-0.9-r1.ebuild
new file mode 100644
index 000000000000..f7e905e1772a
--- /dev/null
+++ b/net-analyzer/thrulay/thrulay-0.9-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit toolchain-funcs autotools
+
+DESCRIPTION="Measure the capacity of a network by sending a bulk TCP stream over it"
+HOMEPAGE="http://www.internet2.edu/~shalunov/thrulay/"
+SRC_URI="http://www.internet2.edu/~shalunov/thrulay/${P}.tar.gz
+ mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+DEPEND=""
+
+src_prepare() {
+ echo 'thrulay thrulayd: libthrulay.la' >>src/Makefile.am
+ eautoreconf
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+ #dobin src/thrulay || die "dobin failed"
+ #dosbin src/thrulayd || die "dosbin failed"
+ dodoc LICENSE README TODO doc/thrulay-protocol.txt || die "dodoc failed"
+ doman doc/thrulay*.[1-8] || die "doman failed"
+ newinitd "${FILESDIR}"/thrulayd-init.d thrulayd || die "newinitd failed"
+ newconfd "${FILESDIR}"/thrulayd-conf.d thrulayd || die "newconfd failed"
+}