diff --git a/net-misc/t50/Manifest b/net-misc/t50/Manifest index 577b536ce..b28aacf07 100644 --- a/net-misc/t50/Manifest +++ b/net-misc/t50/Manifest @@ -1 +1,2 @@ DIST t50-5.8.5.tar.gz 91881 BLAKE2B 91c439751a3e491b4f9e6c62626dc238189137b6e03317c5133ce4d557ca45893d3b38e507a4044352e412c638f14d4e255b1fc02f4fede43a6178a5eb2a1eb6 SHA512 381cd89c135bcaf6a0c9b96c0533cd03db76102abe234a7d17687672c485cbaaee36936110bfedade58b5449b788bd95a5b239a840dc99f4233416380120d112 +DIST t50-5.8.7.tar.gz 91977 BLAKE2B d73c6f041cd7f3aac3feb51b132528e2a8ee3d735ab431cf4bec996eb601a10db93305ef57414f528830f243fc726d3ce65290dae2131ecb5f4a0bfa29fc42c3 SHA512 b551f9189a55ddd9a6ce0ad357da690c9bbd3994e101c5ebed4aa33860de308725334dbb0e26740cbc0ec5c2e163d0850b4bcc580e2107a34c53d002db243edf diff --git a/net-misc/t50/t50-5.8.7.ebuild b/net-misc/t50/t50-5.8.7.ebuild new file mode 100644 index 000000000..1f66ed239 --- /dev/null +++ b/net-misc/t50/t50-5.8.7.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 +}