summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2023-01-07 09:56:59 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-01-07 09:57:23 +0200
commit967792e36d92e65e33753f336b74155bb76e7c55 (patch)
treed0b80509e9343c88b02cbc489ce39ba104f183c8 /www-misc
parentwww-misc/monitorix: Version bump to v3.15.0 (diff)
downloadgentoo-967792e36d92e65e33753f336b74155bb76e7c55.tar.gz
gentoo-967792e36d92e65e33753f336b74155bb76e7c55.tar.bz2
gentoo-967792e36d92e65e33753f336b74155bb76e7c55.zip
www-misc/monitorix: remove redundant sed from 3.15
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/monitorix/monitorix-3.15.0.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/www-misc/monitorix/monitorix-3.15.0.ebuild b/www-misc/monitorix/monitorix-3.15.0.ebuild
index b2cc4792490a..005ac2f5bda9 100644
--- a/www-misc/monitorix/monitorix-3.15.0.ebuild
+++ b/www-misc/monitorix/monitorix-3.15.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="8"
+EAPI=8
inherit systemd optfeature
@@ -14,22 +14,21 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
- acct-user/monitorix
acct-group/monitorix
+ acct-user/monitorix
+ dev-perl/CGI
dev-perl/Config-General
dev-perl/DBI
dev-perl/HTTP-Server-Simple
dev-perl/IO-Socket-SSL
- dev-perl/libwww-perl
dev-perl/MIME-Lite
dev-perl/XML-Simple
- net-analyzer/rrdtool[graph,perl]
- dev-perl/CGI"
+ dev-perl/libwww-perl
+ net-analyzer/rrdtool[graph,perl]"
src_prepare() {
# Put better Gentoo defaults in the configuration file.
- sed -e "s|\(base_dir.*\)/usr/share/${PN}|\1/usr/share/${PN}/htdocs|" \
- -e "s|\(secure_log.*\)/var/log/secure|\1/var/log/auth.log|" \
+ sed -e "s|\(secure_log.*\)/var/log/secure|\1/var/log/auth.log|" \
-e "s|nobody|${PN}|g" -i ${PN}.conf || die
# Update systemd binary location
sed -e "s|/usr/bin|/usr/sbin|g" -i docs/${PN}.service || die