commit:     7ee896f95444c6422cc351123a14b221fa94e462
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  2 11:06:29 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Dec  2 11:06:29 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee896f9

net-analyzer/dhcp_probe: EAPI bump.

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 net-analyzer/dhcp_probe/Manifest                   |  2 +-
 net-analyzer/dhcp_probe/dhcp_probe-1.3.0-r4.ebuild | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/dhcp_probe/Manifest b/net-analyzer/dhcp_probe/Manifest
index bc495b2bcd6..daa2b61e7d6 100644
--- a/net-analyzer/dhcp_probe/Manifest
+++ b/net-analyzer/dhcp_probe/Manifest
@@ -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
index 00000000000..9a97d906c0a
--- /dev/null
+++ b/net-analyzer/dhcp_probe/dhcp_probe-1.3.0-r4.ebuild
@@ -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}
+}

Reply via email to