net-misc/dns-flood - 20200711 (nest)

Search

Install

Install this version:

emerge -a =net-misc/dns-flood-20200711

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

autounmask =net-misc/dns-flood-20200711

Or alternatively:

emerge --autounmask-write -a =net-misc/dns-flood-20200711

Package Information

Description:
Use raw sockets to generate DNS flood attack
Homepage:
https://github.com/hawell/dns-flood
License:
Apache-2.0

Ebuild Details

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

EAPI=8

inherit toolchain-funcs

COMMIT="5330bac30f62165093c9c896906cef2156f95f2f"

DESCRIPTION="Use raw sockets to generate DNS flood attack"
HOMEPAGE="https://github.com/hawell/dns-flood"
SRC_URI="https://github.com/hawell/dns-flood/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

src_prepare() {
	default

	sed -i 's/gcc -o $(TARGET) -O2 -g/$(CC) -o $(TARGET) ${CFLAGS} ${LDFLAGS} -g/' \
		makefile || die "sed failed for makefile"
}

src_compile() {
	emake CC="$(tc-getCC)"
}

src_install() {
	einstalldocs
	dosbin dnsflood
}

Inherited Eclasses

Manifest for 20200711

Type File Size Source URLs
DIST dns-flood-20200711.tar.gz 6805 bytes https://github.com/hawell/dns-flood/archive/5330bac30f62165093c9c896906cef2156f95f2f.tar.gz