net-analyzer/dhcp_probe: EAPI bump.
authorJeroen Roovers <jer@gentoo.org>
Sat, 2 Dec 2017 11:06:29 +0000 (12:06 +0100)
committerJeroen Roovers <jer@gentoo.org>
Sat, 2 Dec 2017 11:06:29 +0000 (12:06 +0100)
Package-Manager: Portage-2.3.16, Repoman-2.3.6

net-analyzer/dhcp_probe/Manifest
net-analyzer/dhcp_probe/dhcp_probe-1.3.0-r4.ebuild [new file with mode: 0644]

index bc495b2bcd6b106e0bff54a531282514856d9317..daa2b61e7d68396bc8ccf8daa66a18c2fb110bbf 100644 (file)
@@ -1 +1 @@
-DIST dhcp_probe-1.3.0.tar.gz 211613 SHA256 227cd6a82a7fa4d989994cb076f18092bc2c82592ceaeb31c4fdd09294b9265f SHA512 d643012529ee5149adbc0c1f19f8e579c55201e86de2aec9b3313be9412db4e973162f864d1baaf79fa340b7bd9a7385f0f1406d1b616e801ced3c7bb387c854 WHIRLPOOL 86a48b10f4a843b95b1b0ec0a3938d831966c701f5d341902595fb0d0b6fede2d9d5ba03a3e3ebaab6a311a6536df02ace1f36613a177392302b6e523a5e98f6
+DIST dhcp_probe-1.3.0.tar.gz 211613 BLAKE2B cbcc43b292fe537216ef40de9e417c1f700be4ad5f34feacd9475eb31866b68957ce66c5abc47db3b7e5a0dc8751ca6e54200b79ab2f1f8c3f308f6c1c7aef4d SHA512 d643012529ee5149adbc0c1f19f8e579c55201e86de2aec9b3313be9412db4e973162f864d1baaf79fa340b7bd9a7385f0f1406d1b616e801ced3c7bb387c854
diff --git a/net-analyzer/dhcp_probe/dhcp_probe-1.3.0-r4.ebuild b/net-analyzer/dhcp_probe/dhcp_probe-1.3.0-r4.ebuild
new file mode 100644 (file)
index 0000000..9a97d90
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic
+
+DESCRIPTION="dhcp_probe attempts to discover DHCP and BootP servers on a directly-attached Ethernet network"
+HOMEPAGE="http://www.net.princeton.edu/software/dhcp_probe/"
+SRC_URI="http://www.net.princeton.edu/software/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND="
+       net-libs/libpcap
+       >=net-libs/libnet-1.1.2.1-r2
+"
+RDEPEND="${DEPEND}"
+DOCS=(
+       "${FILESDIR}"/${PN}_mail
+       AUTHORS
+       ChangeLog
+       NEWS
+       README
+       TODO
+       extras/dhcp_probe.cf.sample
+)
+PATCHES=(
+       "${FILESDIR}"/${PV}/01_dhcp_probe.5.patch
+       "${FILESDIR}"/${PV}/02_dhcp_probe.8.patch
+       "${FILESDIR}"/${PV}/03_implicit_point_conv_bootp.c.patch
+       "${FILESDIR}"/${PV}/04_linux_32_or_64bits.patch
+       "${FILESDIR}"/${PV}/05-cleanup.patch
+       "${FILESDIR}"/${PV}/06-return.patch
+       "${FILESDIR}"/${PV}/07-comment.patch
+       "${FILESDIR}"/${PV}/08-man8.patch
+)
+
+src_configure() {
+       use amd64 && append-flags -D__ARCH__=64
+       STRIP=true econf
+}
+
+src_install() {
+       default
+
+       newinitd "${FILESDIR}/${PN}.initd" ${PN}
+       newconfd "${FILESDIR}/${PN}.confd" ${PN}
+}