net-dns/dnstop: add up-to-date 20250530 snapshot

dnstop moved to Github and no longer publishes releases or tags.
Therefore use a recent & stable snapshot to get over a decade worth
of fixes.

Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://github.com/gentoo/gentoo/pull/43055
Closes: https://github.com/gentoo/gentoo/pull/43055
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Holger Hoffstätte 2025-07-18 21:27:07 +02:00 committed by Sam James
parent f87319e698
commit 7ad12296b1
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 45 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST dnstop-20140915.tar.gz 77917 BLAKE2B afe9cdebc7d71c9bc5ec76ba133170809cdf135d6320ff7e057e6e7d81f3cdc6aed379567c113b34e863d0c39a26e0b6c7ac52a6000f9482fa10917afd000a45 SHA512 902cf96f7366983cae4bf684e44fbe12f6e982cee8ff489329e25e1a13de60870d356906a99fee56c6da2258c4a39074a504389549c6c2e239a4ea94d8b9a65d
DIST dnstop-20250530.tar.gz 115790 BLAKE2B 1b495399fb1c8f26c89731a87a2719e961d50e4ef16ee64c6abb1690a9a126a4f7ea7d89ed6456e48149d6d90f4f510038ab844e8c1fbf927aed4bfeb207140b SHA512 c07239ed6624a6d703538268cd833675d10bf5ca51b84294050f8247e1e8f47be6599c6d6d01996d47bc0c60445b2416b19398e0bc2d88d472e4b1fd34d006b4

View File

@ -0,0 +1,44 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic
DESCRIPTION="Displays various tables of DNS traffic on your network"
HOMEPAGE="https://github.com/measurement-factory/dnstop"
SRC_COMMIT="e2ba113b3dc8bc32a2f7bde8d6988a4262af9c8d"
SRC_URI="https://github.com/measurement-factory/dnstop/archive/${SRC_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${SRC_COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86"
RDEPEND="
sys-libs/ncurses:0
net-libs/libpcap
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/${PN}-20140915"-pkg-config.patch
"${FILESDIR}/${PN}-20140915"-musl-fix.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
append-cflags -D_GNU_SOURCE
econf --enable-ipv6
}
src_install() {
dobin dnstop
doman dnstop.8
dodoc CHANGES
}