Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/arp-sk/
Date: Mon, 29 Nov 2021 19:01:09
Message-Id: 1638212385.4469279ff2a80156301fba048c086e84ab6fcf58.jsmolic@gentoo
1 commit: 4469279ff2a80156301fba048c086e84ab6fcf58
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 29 18:59:45 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 29 18:59:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4469279f
7
8 net-analyzer/arp-sk: Port to EAPI 8
9
10 Closes: https://bugs.gentoo.org/826826
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 net-analyzer/arp-sk/arp-sk-0.0.16-r2.ebuild | 13 ++++++++-----
14 1 file changed, 8 insertions(+), 5 deletions(-)
15
16 diff --git a/net-analyzer/arp-sk/arp-sk-0.0.16-r2.ebuild b/net-analyzer/arp-sk/arp-sk-0.0.16-r2.ebuild
17 index e18045a7f774..6b9187db0bbd 100644
18 --- a/net-analyzer/arp-sk/arp-sk-0.0.16-r2.ebuild
19 +++ b/net-analyzer/arp-sk/arp-sk-0.0.16-r2.ebuild
20 @@ -1,9 +1,9 @@
21 # Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=8
26
27 -inherit autotools epatch multilib
28 +inherit autotools
29
30 DESCRIPTION="A swiss knife tool for ARP"
31 HOMEPAGE="http://sid.rstack.org/arp-sk/"
32 @@ -18,11 +18,14 @@ RDEPEND="${DEPEND}"
33
34 DOCS=( ARP AUTHORS CONTRIB ChangeLog README TODO )
35
36 +PATCHES=(
37 + "${FILESDIR}"/${P}-libnet1_2.patch
38 +)
39 +
40 src_prepare() {
41 - epatch "${FILESDIR}"/${P}-libnet1_2.patch
42 + default
43 sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die
44 rm missing || die
45 - epatch_user
46
47 eautoreconf
48 }
49 @@ -31,5 +34,5 @@ src_install() {
50 default
51
52 # We don't need libcompat as it has a potential to clash with other packages.
53 - rm -fr "${D}"/usr/$(get_libdir)
54 + rm -r "${ED}"/usr/$(get_libdir) || die
55 }