1 |
commit: be25d063594dac8c9636cc57e85965d3a1f45427 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 29 18:59:43 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 29 18:59:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be25d063 |
7 |
|
8 |
net-analyzer/ipcad: Port to EAPI 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/826822 |
11 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/ipcad/ipcad-3.7.3.ebuild | 15 +++++++++------ |
14 |
1 file changed, 9 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/net-analyzer/ipcad/ipcad-3.7.3.ebuild b/net-analyzer/ipcad/ipcad-3.7.3.ebuild |
17 |
index bc87f905d363..7c8d36c02083 100644 |
18 |
--- a/net-analyzer/ipcad/ipcad-3.7.3.ebuild |
19 |
+++ b/net-analyzer/ipcad/ipcad-3.7.3.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 |
28 |
+inherit autotools |
29 |
|
30 |
DESCRIPTION="IP Cisco Accounting Daemon" |
31 |
HOMEPAGE="https://sourceforge.net/projects/ipcad/ http://lionet.info/ipcad/" |
32 |
@@ -19,11 +19,14 @@ RDEPEND=" |
33 |
" |
34 |
DEPEND="${RDEPEND}" |
35 |
|
36 |
+PATCHES=( |
37 |
+ "${FILESDIR}"/${PN}-3.7-linux-2.6.27.patch |
38 |
+ "${FILESDIR}"/${PN}-3.7-linux-2.6.35.patch |
39 |
+ "${FILESDIR}"/${P}-signal_h.patch |
40 |
+) |
41 |
+ |
42 |
src_prepare() { |
43 |
- epatch \ |
44 |
- "${FILESDIR}"/${PN}-3.7-linux-2.6.27.patch \ |
45 |
- "${FILESDIR}"/${PN}-3.7-linux-2.6.35.patch \ |
46 |
- "${FILESDIR}"/${P}-signal_h.patch |
47 |
+ default |
48 |
|
49 |
sed -i \ |
50 |
-e "s|^chroot = /adm/tmp;|chroot = /var/ipcad;|" \ |