commit:     456eb1a12e0ff3d1d80670e79a807788566bcf78
Author:     Vladimir Pavljuchenkov <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Sun Mar 16 15:49:56 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat Sep 27 12:24:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456eb1a1

net-misc/dhcdrop: wrt 889918, update doc in metadata

Closes: https://bugs.gentoo.org/889918
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
Part-of: https://github.com/gentoo/gentoo/pull/41115
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 net-misc/dhcdrop/dhcdrop-0.5-r2.ebuild | 35 ++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/net-misc/dhcdrop/dhcdrop-0.5-r2.ebuild 
b/net-misc/dhcdrop/dhcdrop-0.5-r2.ebuild
new file mode 100644
index 000000000000..7bedd74197f1
--- /dev/null
+++ b/net-misc/dhcdrop/dhcdrop-0.5-r2.ebuild
@@ -0,0 +1,35 @@
+# 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')"
+}

Reply via email to