1 |
commit: 7ee896f95444c6422cc351123a14b221fa94e462 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 2 11:06:29 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 2 11:06:29 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee896f9 |
7 |
|
8 |
net-analyzer/dhcp_probe: EAPI bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
11 |
|
12 |
net-analyzer/dhcp_probe/Manifest | 2 +- |
13 |
net-analyzer/dhcp_probe/dhcp_probe-1.3.0-r4.ebuild | 50 ++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/net-analyzer/dhcp_probe/Manifest b/net-analyzer/dhcp_probe/Manifest |
17 |
index bc495b2bcd6..daa2b61e7d6 100644 |
18 |
--- a/net-analyzer/dhcp_probe/Manifest |
19 |
+++ b/net-analyzer/dhcp_probe/Manifest |
20 |
@@ -1 +1 @@ |
21 |
-DIST dhcp_probe-1.3.0.tar.gz 211613 SHA256 227cd6a82a7fa4d989994cb076f18092bc2c82592ceaeb31c4fdd09294b9265f SHA512 d643012529ee5149adbc0c1f19f8e579c55201e86de2aec9b3313be9412db4e973162f864d1baaf79fa340b7bd9a7385f0f1406d1b616e801ced3c7bb387c854 WHIRLPOOL 86a48b10f4a843b95b1b0ec0a3938d831966c701f5d341902595fb0d0b6fede2d9d5ba03a3e3ebaab6a311a6536df02ace1f36613a177392302b6e523a5e98f6 |
22 |
+DIST dhcp_probe-1.3.0.tar.gz 211613 BLAKE2B cbcc43b292fe537216ef40de9e417c1f700be4ad5f34feacd9475eb31866b68957ce66c5abc47db3b7e5a0dc8751ca6e54200b79ab2f1f8c3f308f6c1c7aef4d SHA512 d643012529ee5149adbc0c1f19f8e579c55201e86de2aec9b3313be9412db4e973162f864d1baaf79fa340b7bd9a7385f0f1406d1b616e801ced3c7bb387c854 |
23 |
|
24 |
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 |
25 |
new file mode 100644 |
26 |
index 00000000000..9a97d906c0a |
27 |
--- /dev/null |
28 |
+++ b/net-analyzer/dhcp_probe/dhcp_probe-1.3.0-r4.ebuild |
29 |
@@ -0,0 +1,50 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+inherit flag-o-matic |
35 |
+ |
36 |
+DESCRIPTION="dhcp_probe attempts to discover DHCP and BootP servers on a directly-attached Ethernet network" |
37 |
+HOMEPAGE="http://www.net.princeton.edu/software/dhcp_probe/" |
38 |
+SRC_URI="http://www.net.princeton.edu/software/${PN}/${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="GPL-2" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~x86 ~amd64" |
43 |
+ |
44 |
+DEPEND=" |
45 |
+ net-libs/libpcap |
46 |
+ >=net-libs/libnet-1.1.2.1-r2 |
47 |
+" |
48 |
+RDEPEND="${DEPEND}" |
49 |
+DOCS=( |
50 |
+ "${FILESDIR}"/${PN}_mail |
51 |
+ AUTHORS |
52 |
+ ChangeLog |
53 |
+ NEWS |
54 |
+ README |
55 |
+ TODO |
56 |
+ extras/dhcp_probe.cf.sample |
57 |
+) |
58 |
+PATCHES=( |
59 |
+ "${FILESDIR}"/${PV}/01_dhcp_probe.5.patch |
60 |
+ "${FILESDIR}"/${PV}/02_dhcp_probe.8.patch |
61 |
+ "${FILESDIR}"/${PV}/03_implicit_point_conv_bootp.c.patch |
62 |
+ "${FILESDIR}"/${PV}/04_linux_32_or_64bits.patch |
63 |
+ "${FILESDIR}"/${PV}/05-cleanup.patch |
64 |
+ "${FILESDIR}"/${PV}/06-return.patch |
65 |
+ "${FILESDIR}"/${PV}/07-comment.patch |
66 |
+ "${FILESDIR}"/${PV}/08-man8.patch |
67 |
+) |
68 |
+ |
69 |
+src_configure() { |
70 |
+ use amd64 && append-flags -D__ARCH__=64 |
71 |
+ STRIP=true econf |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ default |
76 |
+ |
77 |
+ newinitd "${FILESDIR}/${PN}.initd" ${PN} |
78 |
+ newconfd "${FILESDIR}/${PN}.confd" ${PN} |
79 |
+} |