commit:     7ad12296b13aa55fcdbe758cf0450b7b2aeb1bd8
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Fri Jul 18 19:27:07 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 19 16:58:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad12296

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 <AT> 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 <AT> gentoo.org>

 net-dns/dnstop/Manifest               |  1 +
 net-dns/dnstop/dnstop-20250530.ebuild | 44 +++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/net-dns/dnstop/Manifest b/net-dns/dnstop/Manifest
index c990968d72a0..2a9febed9463 100644
--- a/net-dns/dnstop/Manifest
+++ b/net-dns/dnstop/Manifest
@@ -1 +1,2 @@
 DIST dnstop-20140915.tar.gz 77917 BLAKE2B 
afe9cdebc7d71c9bc5ec76ba133170809cdf135d6320ff7e057e6e7d81f3cdc6aed379567c113b34e863d0c39a26e0b6c7ac52a6000f9482fa10917afd000a45
 SHA512 
902cf96f7366983cae4bf684e44fbe12f6e982cee8ff489329e25e1a13de60870d356906a99fee56c6da2258c4a39074a504389549c6c2e239a4ea94d8b9a65d
+DIST dnstop-20250530.tar.gz 115790 BLAKE2B 
1b495399fb1c8f26c89731a87a2719e961d50e4ef16ee64c6abb1690a9a126a4f7ea7d89ed6456e48149d6d90f4f510038ab844e8c1fbf927aed4bfeb207140b
 SHA512 
c07239ed6624a6d703538268cd833675d10bf5ca51b84294050f8247e1e8f47be6599c6d6d01996d47bc0c60445b2416b19398e0bc2d88d472e4b1fd34d006b4

diff --git a/net-dns/dnstop/dnstop-20250530.ebuild 
b/net-dns/dnstop/dnstop-20250530.ebuild
new file mode 100644
index 000000000000..2908e7a50af4
--- /dev/null
+++ b/net-dns/dnstop/dnstop-20250530.ebuild
@@ -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
+}

Reply via email to