summaryrefslogtreecommitdiff
path: root/net-analyzer/nuttcp/nuttcp-8.1.4.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-13 12:04:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-13 12:04:20 +0100
commitd993571e2ee444d08f4e9e90d493ee37338657e3 (patch)
tree5a49a1d4ceffe800051e363f64571c3b6735d2f7 /net-analyzer/nuttcp/nuttcp-8.1.4.ebuild
parent266d65d0cceeb55ab2cc3bf4e465d7f35502a900 (diff)
gentoo auto-resync : 13:04:2024 - 12:04:19
Diffstat (limited to 'net-analyzer/nuttcp/nuttcp-8.1.4.ebuild')
-rw-r--r--net-analyzer/nuttcp/nuttcp-8.1.4.ebuild62
1 files changed, 0 insertions, 62 deletions
diff --git a/net-analyzer/nuttcp/nuttcp-8.1.4.ebuild b/net-analyzer/nuttcp/nuttcp-8.1.4.ebuild
deleted file mode 100644
index 97c01c07adc1..000000000000
--- a/net-analyzer/nuttcp/nuttcp-8.1.4.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit readme.gentoo-r1 systemd toolchain-funcs
-
-DESCRIPTION="Network performance measurement tool"
-HOMEPAGE="http://www.nuttcp.net/"
-SRC_URI="http://nuttcp.net/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ipv6 xinetd"
-
-RDEPEND="xinetd? ( sys-apps/xinetd )"
-
-DOCS=( examples.txt README )
-# Honor CC, LDFLAGS, CFLAGS, CPPFLAGS
-PATCHES=( "${FILESDIR}"/"${P}"-makefile.patch )
-
-DOC_CONTENTS="Usage of nuttpc by its service name in xinetd service,
-iptables rules, etc. will require adding these lines to /etc/services:\\n
-nuttcp\\t\\t5000/tcp\\n
-nuttcp-data\\t\\t5001/tcp\\n
-nuttcp6\\t\\t5000/tcp\\n
-nuttcp6-data\\t\\t5001/tcp\\n\\n
-To run ${PN} in server mode, run:\\n/etc/init.d/${PN} start"
-
-src_prepare() {
- default
-
- # Fix path to binary
- sed -i '/server/s|/local||' xinetd.d/nuttcp || die "sed failed"
-}
-
-src_compile() {
- emake "$(usex ipv6 APPEXT='' NOIPV6=-DNO_IPV6)" CC="$(tc-getCC)"
-}
-
-src_install() {
- einstalldocs
- doman "${PN}".8
- newbin "${P}$(usex ipv6 '' -noipv6)" "${PN}"
-
- newinitd "${FILESDIR}"/"${PN}".initd "${PN}"
- newconfd "${FILESDIR}"/"${PN}".confd "${PN}"
- systemd_dounit systemd/"${PN}"@.service
- systemd_dounit systemd/"${PN}".socket
-
- if use xinetd ; then
- insinto /etc/xinetd.d
- doins xinetd.d/"${PN}"
- fi
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}