diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-07-02 13:22:06 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-07-02 13:22:30 +0200 |
commit | 8866ee9ebbed912406bec8af2896b3d0421254db (patch) | |
tree | 9971db4aed25d6d1384465f80bad494166634f85 /net-analyzer/netperf | |
parent | games-fps/eduke32: Mark ~hppa too. (diff) | |
download | gentoo-8866ee9ebbed912406bec8af2896b3d0421254db.tar.gz gentoo-8866ee9ebbed912406bec8af2896b3d0421254db.tar.bz2 gentoo-8866ee9ebbed912406bec8af2896b3d0421254db.zip |
net-analyzer/netperf: Old.
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'net-analyzer/netperf')
-rw-r--r-- | net-analyzer/netperf/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/netperf/files/netperf-2.2-init | 21 | ||||
-rw-r--r-- | net-analyzer/netperf/netperf-2.6.0-r1.ebuild | 62 | ||||
-rw-r--r-- | net-analyzer/netperf/netperf-2.7.0.ebuild | 63 |
4 files changed, 0 insertions, 147 deletions
diff --git a/net-analyzer/netperf/Manifest b/net-analyzer/netperf/Manifest index fa201cf029bf..f378f80376d4 100644 --- a/net-analyzer/netperf/Manifest +++ b/net-analyzer/netperf/Manifest @@ -1,2 +1 @@ -DIST netperf-2.6.0.tar.bz2 1032953 BLAKE2B c13e6c49b975273e2de97a32e1fbcc2265639b450b532f67aa07cf34a86ae23a34c1e4f90ad1d51c49e8aae5fdfcf97671bcd5969a0fd1bfc4333dd37021da88 SHA512 b3921d2e887088b14a8bbe5ace9b1cc0c8b29951eeaa7857ce3f324933397c8ff6b56eeacfe755181ce1a56c982fe431955f6db55bd20f2343324e22ee23c9b3 DIST netperf-2.7.0.tar.bz2 1024430 BLAKE2B 1263a2b3cee0790e4526245e522d29f8692a5a3e9d3b41468d1010bbee4d606a06904d9e0c4ac0af457bde562a476434be4c62a41e3c0dbf0e5c3aeb2ae5652a SHA512 5fb37945bead831247de9c8ba86b33f134ba39e753b483df72de97f536d0846538dadf61acc2dee57f04ab5d16a92afab4890e79a5d7ffa863afd526267fffad diff --git a/net-analyzer/netperf/files/netperf-2.2-init b/net-analyzer/netperf/files/netperf-2.2-init deleted file mode 100644 index cd2fb35cdd27..000000000000 --- a/net-analyzer/netperf/files/netperf-2.2-init +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/openrc-run -# -# init.d script for net-analyzer/netperf's netserver -# - -depend() { - use net -} - -start() { - ebegin 'Starting netperf server (netserver)' - start-stop-daemon --start --quiet --user nobody \ - --exec /usr/sbin/netserver -- ${NETSERVER_ARGS} >/dev/null - eend $? -} - -stop() { - ebegin 'Stopping netperf server (netserver)' - start-stop-daemon --stop --quiet --exec /usr/sbin/netserver - eend $? -} diff --git a/net-analyzer/netperf/netperf-2.6.0-r1.ebuild b/net-analyzer/netperf/netperf-2.6.0-r1.ebuild deleted file mode 100644 index 869d878465b5..000000000000 --- a/net-analyzer/netperf/netperf-2.6.0-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils flag-o-matic - -DESCRIPTION="Network performance benchmark including tests for TCP, UDP, sockets, ATM and more" -SRC_URI="ftp://ftp.netperf.org/${PN}/${P}.tar.bz2" -KEYWORDS="alpha amd64 arm64 hppa ia64 ppc ppc64 sparc x86" - -HOMEPAGE="http://www.netperf.org/" -LICENSE="netperf" -SLOT="0" -IUSE="demo sctp" - -DEPEND=">=sys-apps/sed-4" - -src_prepare() { - epatch \ - "${FILESDIR}"/${PN}-fix-scripts.patch \ - "${FILESDIR}"/${P}-log-dir.patch - - # Fixing paths in scripts - sed -i \ - -e 's:^\(NETHOME=\).*:\1"/usr/bin":' \ - doc/examples/sctp_stream_script \ - doc/examples/tcp_range_script \ - doc/examples/tcp_rr_script \ - doc/examples/tcp_stream_script \ - doc/examples/udp_rr_script \ - doc/examples/udp_stream_script \ - || die - - # netlib.c:2292:5: warning: implicit declaration of function ‘sched_setaffinity’ - # nettest_omni.c:2943:5: warning: implicit declaration of function ‘splice’ - append-cppflags -D_GNU_SOURCE -} - -src_configure() { - econf \ - $(use_enable demo) \ - $(use_enable sctp) -} - -src_install () { - default - - # move netserver into sbin as we had it before 2.4 was released with its - # autoconf goodness - dodir /usr/sbin - mv "${D}"/usr/{bin,sbin}/netserver || die - - # init.d / conf.d - newinitd "${FILESDIR}"/${PN}-2.2-init netperf - newconfd "${FILESDIR}"/${PN}-2.2-conf netperf - - # documentation and example scripts - dodoc AUTHORS ChangeLog NEWS README Release_Notes - dodir /usr/share/doc/${PF}/examples - #Scripts no longer get installed by einstall - cp doc/examples/*_script "${D}"/usr/share/doc/${PF}/examples || die -} diff --git a/net-analyzer/netperf/netperf-2.7.0.ebuild b/net-analyzer/netperf/netperf-2.7.0.ebuild deleted file mode 100644 index 7c1622c9fe97..000000000000 --- a/net-analyzer/netperf/netperf-2.7.0.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils flag-o-matic - -DESCRIPTION="Network performance benchmark including tests for TCP, UDP, sockets, ATM and more" -SRC_URI="ftp://ftp.netperf.org/${PN}/${P}.tar.bz2" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" - -HOMEPAGE="http://www.netperf.org/" -LICENSE="netperf" -SLOT="0" -IUSE="demo sctp" - -DEPEND=">=sys-apps/sed-4" - -src_prepare() { - epatch \ - "${FILESDIR}"/${PN}-fix-scripts.patch \ - "${FILESDIR}"/${PN}-2.6.0-log-dir.patch \ - "${FILESDIR}"/${PN}-2.7.0-includes.patch - - # Fixing paths in scripts - sed -i \ - -e 's:^\(NETHOME=\).*:\1"/usr/bin":' \ - doc/examples/sctp_stream_script \ - doc/examples/tcp_range_script \ - doc/examples/tcp_rr_script \ - doc/examples/tcp_stream_script \ - doc/examples/udp_rr_script \ - doc/examples/udp_stream_script \ - || die - - # netlib.c:2292:5: warning: implicit declaration of function ‘sched_setaffinity’ - # nettest_omni.c:2943:5: warning: implicit declaration of function ‘splice’ - append-cppflags -D_GNU_SOURCE -} - -src_configure() { - econf \ - $(use_enable demo) \ - $(use_enable sctp) -} - -src_install () { - default - - # move netserver into sbin as we had it before 2.4 was released with its - # autoconf goodness - dodir /usr/sbin - mv "${D}"/usr/{bin,sbin}/netserver || die - - # init.d / conf.d - newinitd "${FILESDIR}"/${PN}-2.2-init netperf - newconfd "${FILESDIR}"/${PN}-2.2-conf netperf - - # documentation and example scripts - dodoc AUTHORS ChangeLog NEWS README Release_Notes - dodir /usr/share/doc/${PF}/examples - #Scripts no longer get installed by einstall - cp doc/examples/*_script "${D}"/usr/share/doc/${PF}/examples || die -} |