View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Application Layer DoS attack simulator"
HOMEPAGE="https://github.com/shekyan/slowhttptest"
SRC_URI="https://github.com/shekyan/slowhttptest/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE=""
DEPEND="dev-libs/openssl:="
RDEPEND="${DEPEND}"
src_prepare() {
eapply "${FILESDIR}"/1.4-add-includes.patch
eapply_user
}
src_install() {
dobin src/slowhttptest
}