summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2019-09-08 21:20:10 +0200
committerSlawomir Lis <slis@gentoo.org>2019-09-08 21:24:42 +0200
commit31be0335f7697f18ac28a8364636f1b0c0635f44 (patch)
tree6f26fb11e5d31f5eb1a886854c1c60a9863b09be /net-analyzer/suricata
parentnet-analyzer/suricata: Updated init.d and conf.d default pathes (diff)
downloadgentoo-31be0335f7697f18ac28a8364636f1b0c0635f44.tar.gz
gentoo-31be0335f7697f18ac28a8364636f1b0c0635f44.tar.bz2
gentoo-31be0335f7697f18ac28a8364636f1b0c0635f44.zip
net-analyzer/suricata: fixed installations warnings
Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Slawek Lis <slis@gentoo.org>
Diffstat (limited to 'net-analyzer/suricata')
-rw-r--r--net-analyzer/suricata/suricata-4.0.4.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-analyzer/suricata/suricata-4.0.4.ebuild b/net-analyzer/suricata/suricata-4.0.4.ebuild
index eea47cd01bdb..98ed94d5b7d5 100644
--- a/net-analyzer/suricata/suricata-4.0.4.ebuild
+++ b/net-analyzer/suricata/suricata-4.0.4.ebuild
@@ -48,6 +48,7 @@ pkg_setup() {
src_prepare() {
epatch "${FILESDIR}/${P}_configure-lua-flags.patch"
epatch "${FILESDIR}/${P}_sockios.patch"
+ sed -ie 's/docdir =.*/docdir = ${datarootdir}\/doc\/'${PF}'\//' "${S}/doc/Makefile.am"
eautoreconf
}
@@ -125,8 +126,8 @@ src_install() {
doins rules/*.rules
fi
- dodir "/var/lib/${PN}"
- dodir "/var/log/${PN}"
+ keepdir "/var/lib/${PN}"
+ keepdir "/var/log/${PN}"
fowners -R ${PN}: "/var/lib/${PN}" "/var/log/${PN}" "/etc/${PN}"
fperms 750 "/var/lib/${PN}" "/var/log/${PN}" "/etc/${PN}"