summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2016-12-28 13:59:11 +0100
committerSlawomir Lis <slis@gentoo.org>2016-12-28 13:59:11 +0100
commit2c174cb604c2c99f9d9e8ac4fab438d0aedf7ab1 (patch)
tree07a40b5c10fbee817bfa9cd05adc0f11958580b2 /net-analyzer/suricata/suricata-3.2-r1.ebuild
parentdev-lang/polyml: Bump to 5.6 (diff)
downloadgentoo-2c174cb604c2c99f9d9e8ac4fab438d0aedf7ab1.tar.gz
gentoo-2c174cb604c2c99f9d9e8ac4fab438d0aedf7ab1.tar.bz2
gentoo-2c174cb604c2c99f9d9e8ac4fab438d0aedf7ab1.zip
net-analyzer/suricata: Dropping user privs in init script
Bug #602590 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-analyzer/suricata/suricata-3.2-r1.ebuild')
-rw-r--r--net-analyzer/suricata/suricata-3.2-r1.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/net-analyzer/suricata/suricata-3.2-r1.ebuild b/net-analyzer/suricata/suricata-3.2-r1.ebuild
index 816a69d13a89..ee724a581968 100644
--- a/net-analyzer/suricata/suricata-3.2-r1.ebuild
+++ b/net-analyzer/suricata/suricata-3.2-r1.ebuild
@@ -34,6 +34,7 @@ DEPEND="
nfqueue? ( net-libs/libnetfilter_queue )
redis? ( dev-libs/hiredis )
logrotate? ( app-admin/logrotate )
+ sys-libs/libcap-ng
"
# #446814
# prelude? ( dev-libs/libprelude )
@@ -119,8 +120,6 @@ src_install() {
dodir "/var/lib/${PN}"
dodir "/var/log/${PN}"
- dodir "/var/log/${PN}" \
- "/var/lib/${PN}"
fowners -R ${PN}: "/var/lib/${PN}" "/var/log/${PN}" "/etc/${PN}"
fperms 750 "/var/lib/${PN}" "/var/log/${PN}" "/etc/${PN}"
@@ -151,7 +150,7 @@ pkg_postinst() {
elog "You can create as many ${PN}.foo* services as you wish."
if use logrotate; then
- elog "You enabled the logrotate USE flag. Please make sure you correctly set up the ${PN} logortate config file in /etc/logrotate.d/."
+ elog "You enabled the logrotate USE flag. Please make sure you correctly set up the ${PN} logrotate config file in /etc/logrotate.d/."
fi
if use debug; then