net-misc/t50 - 5.8.7 (pentoo)

Search

Install

Install this version:

emerge -a =net-misc/t50-5.8.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/t50-5.8.7

Or alternatively:

emerge --autounmask-write -a =net-misc/t50-5.8.7

Package Information

Description:
Mixed Packet Injector & Network Stress Testing Tool
Homepage:
https://github.com/merces/t50
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
5.8.7 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Mixed Packet Injector & Network Stress Testing Tool"
HOMEPAGE="https://github.com/merces/t50"

HASH_COMMIT="7e204662dacf0dcd46fd9a0b853efb72f2ce6c91"
SRC_URI="https://gitlab.com/fredericopissarra/t50/-/archive/v${PV}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND=""
RDEPEND="${DEPEND}"

S=${WORKDIR}/${PN}-v${PV}-${HASH_COMMIT}

src_prepare() {
	#Fix broken Makefile
	sed -i "s|STRIP=-s|STRIP=|" Makefile || die
	sed -i "s|\$(CFLAGS)|\$(CFLAGS) \$(LDFLAGS)|" Makefile || die
	eapply_user
}

src_install() {
	#It's easy to re-write the install script
#	emake DESTDIR="${D}" install
	dosbin bin/${PN}
	doman doc/t50.8
}

Manifest for 5.8.7

Type File Size Source URLs
DIST t50-5.8.7.tar.gz 91977 bytes https://gitlab.com/fredericopissarra/t50/-/archive/v5.8.7/t50-5.8.7.tar.gz