1 |
commit: a061032bd203f7986591189957a1008aecc9268a |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 23 20:59:56 2020 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 23 21:10:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a061032b |
7 |
|
8 |
net-analyzer/suricata: add missing "|| die" guard to sed call |
9 |
|
10 |
Also, some cosmetic changes to dependencies. |
11 |
|
12 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/suricata/suricata-5.0.2.ebuild | 11 +++++------ |
15 |
1 file changed, 5 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/suricata/suricata-5.0.2.ebuild b/net-analyzer/suricata/suricata-5.0.2.ebuild |
18 |
index 19940f3c9fb..b2dc6c2e8b0 100644 |
19 |
--- a/net-analyzer/suricata/suricata-5.0.2.ebuild |
20 |
+++ b/net-analyzer/suricata/suricata-5.0.2.ebuild |
21 |
@@ -22,7 +22,8 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} |
22 |
?? ( lua luajit ) |
23 |
bpf? ( af-packet )" |
24 |
|
25 |
-CDEPEND="acct-group/suricata |
26 |
+RDEPEND="${PYTHON_DEPS} |
27 |
+ acct-group/suricata |
28 |
acct-user/suricata |
29 |
dev-libs/jansson |
30 |
dev-libs/libpcre |
31 |
@@ -32,7 +33,7 @@ CDEPEND="acct-group/suricata |
32 |
dev-libs/nspr |
33 |
dev-libs/nss |
34 |
$(python_gen_cond_dep ' |
35 |
- dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] |
36 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
37 |
') |
38 |
>=net-libs/libhtp-0.5.32 |
39 |
net-libs/libpcap |
40 |
@@ -48,11 +49,9 @@ CDEPEND="acct-group/suricata |
41 |
nflog? ( net-libs/libnetfilter_log ) |
42 |
nfqueue? ( net-libs/libnetfilter_queue ) |
43 |
redis? ( dev-libs/hiredis )" |
44 |
-DEPEND="${CDEPEND} |
45 |
+DEPEND="${RDEPEND} |
46 |
>=sys-devel/autoconf-2.69-r5 |
47 |
virtual/rust" |
48 |
-RDEPEND="${CDEPEND} |
49 |
- ${PYTHON_DEPS}" |
50 |
|
51 |
PATCHES=( |
52 |
"${FILESDIR}/${PN}-5.0.1_configure-no-lz4-automagic.patch" |
53 |
@@ -74,7 +73,7 @@ pkg_pretend() { |
54 |
|
55 |
src_prepare() { |
56 |
default |
57 |
- sed -ie 's/docdir =.*/docdir = ${datarootdir}\/doc\/'${PF}'\//' "${S}/doc/Makefile.am" |
58 |
+ sed -ie 's/docdir =.*/docdir = ${datarootdir}\/doc\/'${PF}'\//' "${S}/doc/Makefile.am" || die |
59 |
eautoreconf |
60 |
} |