Install this version:
emerge -a =net-misc/dhcdrop-0.5
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-misc/dhcdrop-0.5
Or alternatively:
emerge --autounmask-write -a =net-misc/dhcdrop-0.5
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Effectively suppresses illegal DHCP servers on the LAN"
HOMEPAGE="http://www.netpatch.ru/devel/dhcdrop/"
SRC_URI="http://www.netpatch.ru/projects/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~mips ~x86"
IUSE="static"
RDEPEND="!static? ( net-libs/libpcap )"
DEPEND="static? ( net-libs/libpcap[static-libs] )
${RDEPEND}"
DOCS=( AUTHORS ChangeLog INSTALL NEWS README )
PATCHES=(
# Fix building with -flto, bug #861608
"${FILESDIR}/${P}-lto.patch"
)
src_prepare() {
default
eautoreconf # wrt 889918
}
src_configure() {
econf "$(use static && echo '--enable-static-build')"
}
Manage flags for this package:
euse -i <flag> -p net-misc/dhcdrop |
euse -E <flag> -p net-misc/dhcdrop |
euse -D <flag> -p net-misc/dhcdrop
static? ( net-libs/libpcap[static-libs] ) !static? ( net-libs/libpcap )
!static? ( net-libs/libpcap )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | dhcdrop-0.5.tar.bz2 | 279218 bytes | http://www.netpatch.ru/projects/dhcdrop/dhcdrop-0.5.tar.bz2 |