diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /net-dns/dnstop | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'net-dns/dnstop')
| -rw-r--r-- | net-dns/dnstop/Manifest | 2 | ||||
| -rw-r--r-- | net-dns/dnstop/dnstop-20140915-r3.ebuild | 42 | ||||
| -rw-r--r-- | net-dns/dnstop/dnstop-20250530.ebuild | 44 | ||||
| -rw-r--r-- | net-dns/dnstop/files/dnstop-20140915-musl-fix.patch | 16 | ||||
| -rw-r--r-- | net-dns/dnstop/files/dnstop-20140915-pkg-config.patch | 29 | ||||
| -rw-r--r-- | net-dns/dnstop/metadata.xml | 10 |
6 files changed, 143 insertions, 0 deletions
diff --git a/net-dns/dnstop/Manifest b/net-dns/dnstop/Manifest new file mode 100644 index 000000000000..2a9febed9463 --- /dev/null +++ b/net-dns/dnstop/Manifest @@ -0,0 +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-20140915-r3.ebuild b/net-dns/dnstop/dnstop-20140915-r3.ebuild new file mode 100644 index 000000000000..a211bf87616b --- /dev/null +++ b/net-dns/dnstop/dnstop-20140915-r3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 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_URI="http://dns.measurement-factory.com/tools/dnstop/src/${P}.tar.gz" + +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}/${P}"-pkg-config.patch + "${FILESDIR}/${P}"-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 +} 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 +} diff --git a/net-dns/dnstop/files/dnstop-20140915-musl-fix.patch b/net-dns/dnstop/files/dnstop-20140915-musl-fix.patch new file mode 100644 index 000000000000..ddd1687c469e --- /dev/null +++ b/net-dns/dnstop/files/dnstop-20140915-musl-fix.patch @@ -0,0 +1,16 @@ +Fixes compilation with musl +Patch by Natanael Copa +https://gitlab.alpinelinux.org/alpine/aports/-/issues/2890 +https://bugs.gentoo.org/717202 + +--- a/dnstop.c ++++ b/dnstop.c +@@ -69,7 +69,7 @@ + #define ETHERTYPE_IPV6 0x86DD + #endif + +-#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__) ++#if defined(__GLIBC__) || defined(__GNU__) + #define uh_dport dest + #define uh_sport source + #endif diff --git a/net-dns/dnstop/files/dnstop-20140915-pkg-config.patch b/net-dns/dnstop/files/dnstop-20140915-pkg-config.patch new file mode 100644 index 000000000000..5ee18e0a684d --- /dev/null +++ b/net-dns/dnstop/files/dnstop-20140915-pkg-config.patch @@ -0,0 +1,29 @@ +diff -Naur dnstop-20140915-orig/configure.ac dnstop-20140915/configure.ac +--- dnstop-20140915-orig/configure.ac 2016-09-25 19:36:25.222387686 +0100 ++++ dnstop-20140915/configure.ac 2016-09-25 19:32:01.489612302 +0100 +@@ -11,10 +11,7 @@ + AC_PROG_INSTALL + + # Checks for libraries. +-AC_CHECK_LIB([ncurses], [initscr]) +-if test "$ac_cv_lib_ncurses_initscr" != "yes" ; then +-AC_CHECK_LIB([curses], [initscr]) +-fi ++PKG_CHECK_MODULES([ncurses], [ncurses]) + AC_CHECK_LIB([pcap], [pcap_open_live]) + AC_CHECK_LIB([socket], [main]) + AC_CHECK_LIB([nsl], [main]) +diff -Naur dnstop-20140915-orig/Makefile.in dnstop-20140915/Makefile.in +--- dnstop-20140915-orig/Makefile.in 2016-09-25 19:36:25.221387679 +0100 ++++ dnstop-20140915/Makefile.in 2016-09-25 19:37:39.333887436 +0100 +@@ -2,8 +2,8 @@ + + OPTFLAGS=@OPTFLAGS@ + CC=@CC@ +-CFLAGS=@CFLAGS@ ${OPTFLAGS} +-LIBS=@LIBS@ ++CFLAGS=@CFLAGS@ @ncurses_CFLAGS@ ${OPTFLAGS} ++LIBS=@LIBS@ @ncurses_LIBS@ + LDFLAGS=@LDFLAGS@ + + prefix=@prefix@ diff --git a/net-dns/dnstop/metadata.xml b/net-dns/dnstop/metadata.xml new file mode 100644 index 000000000000..232ab58b8a7e --- /dev/null +++ b/net-dns/dnstop/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <changelog>http://dns.measurement-factory.com/tools/dnstop/src/CHANGES</changelog> + <doc>http://dns.measurement-factory.com/tools/dnstop/dnstop.8.html</doc> + <bugs-to>https://github.com/measurement-factory/dnstop/issues</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
