mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-dns/dnscap: add 2.5.0
release with bzip2 support wire up tests remove LICENSE file Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44445 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
4bed92bccd
commit
bc826224e1
@@ -1 +1,2 @@
|
||||
DIST dnscap-2.4.1.tar.gz 835899 BLAKE2B 3f1391a37cfa2c9dde1d6554c596736c6727a7df382cd659800d33e06122821647687614c876f188832d63fb4a3c1ea0a4e7b8a0d03570e777e89059cfa75aa4 SHA512 766e457b19ab35a94e7b480dfa5dba8ed8c5cf279fa99e0d682526c86e01d0b693e91cdd4e9d4226fa44a151f6fd3e06e849778bf68e7e34685f591c15109670
|
||||
DIST dnscap-2.5.0.tar.gz 873389 BLAKE2B dcfd2e65bcf5a0538560fe32305962cfeb0d66ae46ae5d47e76ef1d71426c9ecaae13db13166ce72a4d0008cf15f30f5d242783e99fa586c17feb4a8727a32f5 SHA512 83c9b36b207e59aaea1b2858b74d1b6a17f18989fb57a3d2552d2339a9fc61c1f846e794b8b3f3827c214d28afb1c8172d980baed360e98f8e9261c6b6f7743d
|
||||
|
||||
60
net-dns/dnscap/dnscap-2.5.0.ebuild
Normal file
60
net-dns/dnscap/dnscap-2.5.0.ebuild
Normal file
@@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Network capture utility designed specifically for DNS traffic"
|
||||
HOMEPAGE="https://dnscap.dns-oarc.net/"
|
||||
SRC_URI="https://www.dns-oarc.net/files/dnscap/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cryptopant seccomp"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/lz4:=
|
||||
app-arch/xz-utils
|
||||
app-arch/zstd:=
|
||||
dev-libs/openssl:0=
|
||||
dev-perl/YAML
|
||||
net-libs/ldns:=
|
||||
net-libs/libpcap
|
||||
virtual/zlib:=
|
||||
cryptopant? ( app-crypt/cryptopant:= )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# avoid automagic and building a fake plugin, cryptopant/cryptopant.c:161:
|
||||
# "no cryptopANT support built in, can't encrypt IP addresses"
|
||||
if ! use cryptopant; then
|
||||
sed -e 's:cryptopant::' -i plugins/Makefile.am || die
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable seccomp)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm "${ED}"/usr/share/doc/${PF}/LICENSE || die
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">DNS-OARC/dnscap</remote-id>
|
||||
<remote-id type="codeberg">DNS-OARC/dnscap</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="cryptopant">Enable cryptopANT plugin, implementation of crypto-PAn algorithm using <pkg>app-crypt/cryptopant</pkg> to anonymize IP addresses</flag>
|
||||
|
||||
Reference in New Issue
Block a user