net-analyzer/passivedns - 9999 (pkalin)

Search

Install

Install this version:

emerge -a =net-analyzer/passivedns-9999

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

autounmask =net-analyzer/passivedns-9999

Or alternatively:

emerge --autounmask-write -a =net-analyzer/passivedns-9999

Package Information

Description:
A network sniffer for DNS server replies
Homepage:
https://github.com/gamelinux/passivedns
License:
GPL-2

Ebuild Details

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

EAPI=8

inherit git-r3 autotools toolchain-funcs

DESCRIPTION="A network sniffer for DNS server replies"
HOMEPAGE="https://github.com/gamelinux/passivedns"
SRC_URI=""
EGIT_REPO_URI="https://github.com/gamelinux/passivedns"

if [[ ${PV} != *9999 ]] ; then
	EGIT_COMMIT="${PV}"
	PATCHES=(
		"${FILESDIR}/${PN}-1.2.1_gcc10.patch"
		"${FILESDIR}/${PN}-1.2.1_pcap-1.9.patch")
	KEYWORDS="~amd64"
fi

LICENSE="GPL-2"
SLOT="0"
IUSE=""

DEPEND=">=net-libs/ldns-1.7.1-r5
		>=net-libs/libpcap-1.10.0-r1"
RDEPEND="${DEPEND}"

src_prepare() {
	eautoreconf
	default
}

src_compile() {
	cd "${S}/src"
	emake
}

src_install() {
	cd "${S}/src"
	dobin passivedns
	dodoc -r "${S}/doc"
}

Inherited Eclasses

Dependencies

DEPEND

>=net-libs/ldns-1.7.1-r5
		>=net-libs/libpcap-1.10.0-r1

RDEPEND

>=net-libs/ldns-1.7.1-r5
		>=net-libs/libpcap-1.10.0-r1