diff options
author | Pedro Arizmendi <dwosky@pm.me> | 2020-02-22 13:17:37 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-05-04 20:26:07 +0300 |
commit | f4aae350929ea7c9e93d5c0cdfb2b504fbfd30a8 (patch) | |
tree | dbf7a93afc2d3d223a5c3456b9014d18a6e7ed0c /www-misc | |
parent | www-misc/monitorix: Remove execution bit from file (diff) | |
download | gentoo-f4aae350929ea7c9e93d5c0cdfb2b504fbfd30a8.tar.gz gentoo-f4aae350929ea7c9e93d5c0cdfb2b504fbfd30a8.tar.bz2 gentoo-f4aae350929ea7c9e93d5c0cdfb2b504fbfd30a8.zip |
www-misc/monitorix: Update for GLEP 81
Closes: https://bugs.gentoo.org/694676
Signed-off-by: Pedro Arizmendi <dwosky@pm.me>
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Closes: https://github.com/gentoo/gentoo/pull/14739
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-misc')
-rw-r--r-- | www-misc/monitorix/monitorix-3.11.0.ebuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/www-misc/monitorix/monitorix-3.11.0.ebuild b/www-misc/monitorix/monitorix-3.11.0.ebuild index 601b94df62ba..56fc67975677 100644 --- a/www-misc/monitorix/monitorix-3.11.0.ebuild +++ b/www-misc/monitorix/monitorix-3.11.0.ebuild @@ -3,7 +3,7 @@ EAPI="7" -inherit systemd user +inherit systemd DESCRIPTION="A lightweight system monitoring tool" HOMEPAGE="https://www.monitorix.org/" @@ -14,7 +14,10 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="" -RDEPEND="dev-perl/Config-General +RDEPEND=" + acct-user/monitorix + acct-group/monitorix + dev-perl/Config-General dev-perl/DBI dev-perl/HTTP-Server-Simple dev-perl/IO-Socket-SSL @@ -24,11 +27,6 @@ RDEPEND="dev-perl/Config-General net-analyzer/rrdtool[graph,perl] dev-perl/CGI" -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} -} - src_prepare() { # Put better Gentoo defaults in the configuration file. sed -e "s|\(base_dir.*\)/usr/share/${PN}|\1/usr/share/${PN}/htdocs|" \ @@ -45,7 +43,7 @@ src_compile() { :; } src_install() { dosbin ${PN} - newinitd ${FILESDIR}/monitorix ${PN} + newinitd "${FILESDIR}/monitorix" ${PN} insinto /etc/monitorix doins ${PN}.conf |