net-analyzer/dhcpdump: add 1.9, use new upstream

Use new upstream from the fork [1]. It looks maintained, is used by
fedora, debian, nix.

[1] https://github.com/bbonev/dhcpdump

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2025-04-21 22:31:08 +03:00
parent 8c9baefb23
commit 1a64d26ee5
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504
3 changed files with 42 additions and 8 deletions

View File

@ -1 +1,2 @@
DIST dhcpdump-1.8.tar.gz 10740 BLAKE2B f87f1db539b06cffd68395982476bd7bfcad4e41d86aea7f3be357a07d597cdb34e8888eaf90e6dc11db0252dce418a3b1ad8a00b0d3a7c7faab48f14c6aec85 SHA512 52cd63d581a3c530c2f5baa66808d5b0241853651c720bd513b769b8301b4dff9c87243787014aea98a5b3ebed86ec317b58d262bf5031015141a4da50fb76e6
DIST dhcpdump-1.9.tar.xz 11520 BLAKE2B a1749a27695aa88dbac46062ed67a45ea2dba500e56220d6f200c92e7ea379d085150c32d1499d4209b1fd774ad7a517f4e49a6221dfce066691077808100abb SHA512 352737e4e4ecc0d3ca80f881b09981bd3998d42f0141fc71f429d99057f49bdeb233ea64888b603470424f99eabd2575d2d92945dd7f606875ec5bc3b6efe7f4

View File

@ -0,0 +1,30 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="DHCP Packet Analyzer/tcpdump postprocessor"
HOMEPAGE="https://github.com/bbonev/dhcpdump https://www.mavetju.org/unix/general.php"
SRC_URI="https://github.com/bbonev/${PN}/releases/download/v${PV}/${P}.tar.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~mips ~x86"
# for pod2man
BDEPEND="dev-lang/perl"
DEPEND="net-libs/libpcap"
RDEPEND="${DEPEND}"
src_compile() {
tc-export CC
emake
}
src_install() {
dobin ${PN}
doman ${PN}.8
einstalldocs
}

View File

@ -1,12 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>netmon@gentoo.org</email>
<name>Gentoo network monitoring and analysis project</name>
</maintainer>
<longdescription>
This command parses the output of tcpdump to display the
dhcp-packets for easier checking and debugging.
</longdescription>
<maintainer type="project">
<email>netmon@gentoo.org</email>
<name>Gentoo network monitoring and analysis project</name>
</maintainer>
<longdescription>
This command parses the output of tcpdump to display the
dhcp-packets for easier checking and debugging.
</longdescription>
<upstream>
<remote-id type="github">bbonev/dhcpdump</remote-id>
</upstream>
</pkgmetadata>