1 |
commit: b7053d6131a750d6c96b0cbea3dc2ad9e0724df8 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 2 00:33:57 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 3 15:54:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7053d61 |
7 |
|
8 |
net-analyzer/egressor: port to EAPI 7 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
net-analyzer/egressor/egressor-1.0-r2.ebuild | 32 +++++++++++++++------------- |
13 |
1 file changed, 17 insertions(+), 15 deletions(-) |
14 |
|
15 |
diff --git a/net-analyzer/egressor/egressor-1.0-r2.ebuild b/net-analyzer/egressor/egressor-1.0-r2.ebuild |
16 |
index 528e269b589..6a3ea8056e3 100644 |
17 |
--- a/net-analyzer/egressor/egressor-1.0-r2.ebuild |
18 |
+++ b/net-analyzer/egressor/egressor-1.0-r2.ebuild |
19 |
@@ -1,30 +1,32 @@ |
20 |
-# Copyright 1999-2020 Gentoo Authors |
21 |
+# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
-inherit eutils toolchain-funcs |
26 |
+EAPI=7 |
27 |
+ |
28 |
+inherit toolchain-funcs |
29 |
|
30 |
DESCRIPTION="tool for checking router configuration" |
31 |
HOMEPAGE="http://packetfactory.openwall.net/projects/egressor/" |
32 |
SRC_URI="http://packetfactory.openwall.net/projects/egressor/${PN}_release${PV}.tar.gz" |
33 |
+S="${WORKDIR}" |
34 |
|
35 |
LICENSE="egressor" |
36 |
SLOT="0" |
37 |
KEYWORDS="amd64 ppc x86" |
38 |
|
39 |
-DEPEND="<net-libs/libnet-1.1 |
40 |
- >=net-libs/libnet-1.0.2a-r3" |
41 |
-RDEPEND="net-libs/libpcap |
42 |
+DEPEND=" |
43 |
+ <net-libs/libnet-1.1 |
44 |
+ >=net-libs/libnet-1.0.2a-r3 |
45 |
+" |
46 |
+RDEPEND=" |
47 |
+ net-libs/libpcap |
48 |
dev-perl/Net-RawIP |
49 |
- dev-lang/perl" |
50 |
- |
51 |
-S=${WORKDIR} |
52 |
- |
53 |
-src_prepare() { |
54 |
- epatch \ |
55 |
- "${FILESDIR}"/${PV}-libnet-1.0.patch \ |
56 |
- "${FILESDIR}"/${PV}-flags.patch |
57 |
-} |
58 |
+ dev-lang/perl |
59 |
+" |
60 |
+PATCHES=( |
61 |
+ "${FILESDIR}"/${PV}-libnet-1.0.patch |
62 |
+ "${FILESDIR}"/${PV}-flags.patch |
63 |
+) |
64 |
|
65 |
src_compile() { |
66 |
tc-export CC |