summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/dhcdrop')
-rw-r--r--net-misc/dhcdrop/Manifest1
-rw-r--r--net-misc/dhcdrop/dhcdrop-0.5.ebuild31
-rw-r--r--net-misc/dhcdrop/metadata.xml27
3 files changed, 59 insertions, 0 deletions
diff --git a/net-misc/dhcdrop/Manifest b/net-misc/dhcdrop/Manifest
new file mode 100644
index 000000000000..1aa0b0f2502e
--- /dev/null
+++ b/net-misc/dhcdrop/Manifest
@@ -0,0 +1 @@
+DIST dhcdrop-0.5.tar.bz2 279218 SHA256 719f83b40a41075b9ef64269ecf03dbfc5d1ba014c0248486e668b087047ae97 SHA512 11ac0ca6dcb65f696936e47e43cfbdd59083b607b26b5d12274cc04577be257dda94e9c27eb0c4aebb40f5f572693478cceb04cc4b5b06bf8882c3001fc46142 WHIRLPOOL e08587e3beba8baf0a9c6383a8e722805dd0d8169640e66f739572d9470db8b8c15aa3bc01dd660a55bef0d8abed72c6be6c41dad2d8ff30d7e20aa974989558
diff --git a/net-misc/dhcdrop/dhcdrop-0.5.ebuild b/net-misc/dhcdrop/dhcdrop-0.5.ebuild
new file mode 100644
index 000000000000..a8a115cf33ad
--- /dev/null
+++ b/net-misc/dhcdrop/dhcdrop-0.5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils
+
+DESCRIPTION="Effectively suppresses illegal DHCP servers on the LAN"
+HOMEPAGE="http://www.netpatch.ru/dhcdrop.html"
+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 )
+
+src_prepare() {
+ epatch_user
+}
+
+src_configure() {
+ econf $(use static && echo "--enable-static-build")
+}
diff --git a/net-misc/dhcdrop/metadata.xml b/net-misc/dhcdrop/metadata.xml
new file mode 100644
index 000000000000..42486af8aabc
--- /dev/null
+++ b/net-misc/dhcdrop/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>spiderx@spiderx.dp.ua</email>
+ <name>Vladimir Pavljuchenkov</name>
+ <description>Maintainer. Assign bugs to him</description>
+ </maintainer>
+ <maintainer>
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ <description>Proxy maintainer. CC him on bugs</description>
+ </maintainer>
+ <longdescription>
+ Uility for tracing and neutralizing(blocking) fake DHCP
+ servers in Ethernet. Supports various modes. Theres possibility
+ to set outgoing MAC addresses and optional settings in generated
+ DHCP requests. Supports legal DHCP servers list. One can run it
+ in interactive mode under users control or fully automatic mode for
+ start up from script.
+ </longdescription>
+ <upstream>
+ <doc>http://www.netpatch.ru/en/dhcdrop.html</doc>
+ <bugs-to>mailto:roma@ultranet.ru</bugs-to>
+ </upstream>
+</pkgmetadata>