net-analyzer/dhcp_probe: drop 1.3.1

Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/45024
Closes: https://github.com/gentoo/gentoo/pull/45024
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alexey Sokolov 2025-12-14 13:56:07 +00:00 committed by Sam James
parent ef8f76b010
commit d7db65e97d
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -1,49 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic toolchain-funcs
DESCRIPTION="Discover DHCP and BootP servers on a directly-attached Ethernet network"
HOMEPAGE="https://www.net.princeton.edu/software/dhcp_probe/"
SRC_URI="https://www.net.princeton.edu/software/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
net-libs/libnet
net-libs/libpcap"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-1.3.1-respect-AR.patch
"${FILESDIR}"/${PN}-1.3.1-fix-configure-CPP.patch
)
src_prepare() {
default
# for AR patch
eautoreconf
}
src_configure() {
# configure uses CPP
tc-export CPP
use amd64 && append-cppflags -D__ARCH__=64
STRIP=true econf
}
src_install() {
default
dodoc extras/dhcp_probe.cf.sample "${FILESDIR}"/${PN}_mail
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
}