From 664924d8659185e3b43f99ee8a0b88177efb93dc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 22 Nov 2022 19:06:54 +0000 Subject: gentoo auto-resync : 22:11:2022 - 19:06:54 --- www-misc/Manifest.gz | Bin 2918 -> 2915 bytes www-misc/monitorix/Manifest | 2 +- www-misc/monitorix/monitorix-3.14.0-r1.ebuild | 118 ++++++++++++++++++++++++++ www-misc/monitorix/monitorix-3.14.0.ebuild | 92 -------------------- 4 files changed, 119 insertions(+), 93 deletions(-) create mode 100644 www-misc/monitorix/monitorix-3.14.0-r1.ebuild delete mode 100644 www-misc/monitorix/monitorix-3.14.0.ebuild (limited to 'www-misc') diff --git a/www-misc/Manifest.gz b/www-misc/Manifest.gz index 348ecb7af7ee..cafacca2881e 100644 Binary files a/www-misc/Manifest.gz and b/www-misc/Manifest.gz differ diff --git a/www-misc/monitorix/Manifest b/www-misc/monitorix/Manifest index 986c70c16020..c784c980c3cc 100644 --- a/www-misc/monitorix/Manifest +++ b/www-misc/monitorix/Manifest @@ -1,4 +1,4 @@ AUX monitorix 794 BLAKE2B f0e4eb70ff867711b749fbdda5150ef0733f9622fceaf8499600bcae15bea3e6a987d7c5635987e0913a1bd28adc6be5e5273438c59ee434a80e2cb72d8e6bd1 SHA512 92f16de3398673046cb9aa27f70923f35d6f61a5a861bed37a61650371ad714aa6ad2be2eb9f770e4cb734db109a222182ba22eb4a6f9c5b228a8b96c1ef893c DIST monitorix-3.14.0.tar.gz 393803 BLAKE2B 84a2b0a8417a405757e43c752b8e4aa0faf4c750895e5425801c3682f25671b8b4858ee4fdf94e4da181250c0ddbdc9237624af0d1dcbec4a29a8076f35a9fc6 SHA512 c7b11b2144b9cdcc5fdb33cfe208d5d5c7c8e27dfdacd51148a4077748632e592cf07dbecd5992c34ff4aea982e62a03a20d1920fe142da7f6ed5367729bfd2e -EBUILD monitorix-3.14.0.ebuild 2320 BLAKE2B d95355985a92de4f72e08a2335a9973c6bff50fa92ae6b7be31cce999e537b993e11ae831c6690090d65dd3ec26ba2a666f2a71afbe9587a2ad59014bb234615 SHA512 a410ab6cc50413c805961a93aecf6eb9a9ef2b69159286841f58e598a38d573d6a2d465f4e37f31487ecf4f8b5daaef3727b75a01818a7517be7bf3fefc552d5 +EBUILD monitorix-3.14.0-r1.ebuild 3796 BLAKE2B 5d6dd9011de262a3c08051b0a3c9f7ab70c3aa7ef16197936e8e7fb53e33d99d8c844c50f17b6cbc871a47927e365d93d36a8dd3e6ebc1c3c8b03d4dd93046a0 SHA512 470fd6bf232267d2ca042e9670f95e937459b24723e3b738002de0322c43fd460d0b7c499489fa1cfd1484836fdf5aed6d58acd5cabed1aacf5d22d3f6ee306e MISC metadata.xml 487 BLAKE2B 6dade6679de9045464ce974db2e6b8a44bf64e97d689b566ded1342c5e1f2a578db10a6a95543bc9c2ab5189e33abb780540a2b4a5d0d687cc3c6c6bcbf9deda SHA512 0c0ffb4a7a744795f041f1bd515b73c251cfb11a50227104abde96d4d04bb837fbd1a550fc03c68ccd3414c6950f9addf934ef54b65ab193cd1833b90ced46ab diff --git a/www-misc/monitorix/monitorix-3.14.0-r1.ebuild b/www-misc/monitorix/monitorix-3.14.0-r1.ebuild new file mode 100644 index 000000000000..4eebff098c97 --- /dev/null +++ b/www-misc/monitorix/monitorix-3.14.0-r1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit systemd optfeature + +DESCRIPTION="A lightweight system monitoring tool" +HOMEPAGE="https://www.monitorix.org/" +SRC_URI="https://www.monitorix.org/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND=" + acct-user/monitorix + acct-group/monitorix + 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" + +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|" \ + -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 + eapply_user +} + +# Override compile phase +src_compile() { :; } + +src_install() { + dosbin ${PN} + + newinitd "${FILESDIR}/monitorix" ${PN} + + insinto /etc/monitorix + doins ${PN}.conf + + keepdir /etc/${PN}/conf.d + + insinto /etc/logrotate.d + newins docs/${PN}.logrotate ${PN} + + dodoc Changes README{,.nginx} docs/${PN}-{alert.sh,apache.conf,lighttpd.conf} + doman man/man5/${PN}.conf.5 + doman man/man8/${PN}.8 + + insinto /var/lib/${PN}/www + doins logo_bot.png logo_top.png ${PN}ico.png + + insinto /var/lib/${PN}/www/css + doins css/*.css + + keepdir /var/lib/${PN}/www/imgs + fowners monitorix:monitorix /var/lib/${PN}/www/imgs + + exeinto /var/lib/${PN}/www/cgi + doexe ${PN}.cgi + + exeinto /usr/lib/${PN} + doexe lib/*.pm + + keepdir /var/lib/${PN}/usage + insinto /var/lib/${PN}/reports + doins -r reports + + systemd_dounit docs/${PN}.service +} + +pkg_postinst() { + optfeature_header "Optional package dependencies for certain graphs:" + optfeature "disk drive temperatures and health" app-admin/hddtemp + optfeature "email reports/statics" mail-mta/postfix mail-mta/sendmail + optfeature "lm-sensors and GPU temperatures" sys-apps/lm-sensors + optfeature "ZFS statistics" sys-fs/zfs + optfeature "Tinyproxy statistics" "net-proxy/tinyproxy dev-perl/XML-LibXML" + optfeature "Libvirt statistics" app-emulation/libvirt + optfeature "System services demand" mail-filter/MailScanner mail-filter/amavisd-new + optfeature "Mail statistics" mail-filter/MailScanner mail-filter/amavisd-new + optfeature "FTP statistics" net-ftp/proftpd net-ftp/vsftpd net-ftp/pure-ftpd + optfeature "Apache statistics" www-servers/apache + optfeature "Nginx statistics" www-servers/nginx + optfeature "Lighttpd statistics" www-servers/lighttpd + optfeature "MySQL statistics" dev-db/mysql + optfeature "PostgreSQL statistics" dev-db/postgresql + optfeature "MongoDB statistics" dev-db/mongodb + optfeature "Varnish cache statistics" www-servers/varnish + optfeature "Squid Proxy Web Cache" net-proxy/squid + optfeature "NFS client/server statistics" net-fs/nfs-utils + optfeature "BIND statistics" "net-dns/bind dev-perl/XML-LibXML" + optfeature "Unbound statistics" net-dns/unbound + optfeature "NTP statistics" net-misc/ntp + optfeature "Chrony statistics" net-misc/chrony + optfeature "Fail2ban statistics" net-analyzer/fail2ban + optfeature "Icecast Streaming Media Server" net-misc/icecast + optfeature "Memcached statistics" net-misc/memcached + optfeature "Redis statistics" dev-db/redis + optfeature "APC UPS statistics" sys-power/apcupsd + optfeature "Network UPS Tools statistics" sys-power/nut + optfeature "Monitoring the Internet traffic of your LAN" "net-firewall/iptables dev-perl/Net-IP" + + elog + elog "If you wish to use your own web server:" + elog " Web data can be found at: ${EROOT}/var/lib/${PN}/www/" + elog " Also please check the correct user and group ownership" + elog " of ${EROOT}/var/lib/${PN}/www/imgs/" +} diff --git a/www-misc/monitorix/monitorix-3.14.0.ebuild b/www-misc/monitorix/monitorix-3.14.0.ebuild deleted file mode 100644 index 7c5126a6c23a..000000000000 --- a/www-misc/monitorix/monitorix-3.14.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -inherit systemd optfeature - -DESCRIPTION="A lightweight system monitoring tool" -HOMEPAGE="https://www.monitorix.org/" -SRC_URI="https://www.monitorix.org/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - acct-user/monitorix - acct-group/monitorix - 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" - -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|" \ - -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 - eapply_user -} - -# Override compile phase -src_compile() { :; } - -src_install() { - dosbin ${PN} - - newinitd "${FILESDIR}/monitorix" ${PN} - - insinto /etc/monitorix - doins ${PN}.conf - - keepdir /etc/${PN}/conf.d - - insinto /etc/logrotate.d - newins docs/${PN}.logrotate ${PN} - - dodoc Changes README{,.nginx} docs/${PN}-{alert.sh,apache.conf,lighttpd.conf} - doman man/man5/${PN}.conf.5 - doman man/man8/${PN}.8 - - insinto /var/lib/${PN}/www - doins logo_bot.png logo_top.png ${PN}ico.png - - insinto /var/lib/${PN}/www/css - doins css/*.css - - keepdir /var/lib/${PN}/www/imgs - fowners monitorix:monitorix /var/lib/${PN}/www/imgs - - exeinto /var/lib/${PN}/www/cgi - doexe ${PN}.cgi - - exeinto /usr/lib/${PN} - doexe lib/*.pm - - keepdir /var/lib/${PN}/usage - insinto /var/lib/${PN}/reports - doins -r reports - - systemd_dounit docs/${PN}.service -} - -pkg_postinst() { - optfeature "disk drive temperatures and health" app-admin/hddtemp - optfeature "email reports/statics" mail-mta/postfix mail-mta/sendmail - optfeature "lm-sensors and GPU temperatures" sys-apps/lm-sensors - optfeature "APC UPS statistics" sys-power/apcupsd - optfeature "Network UPS Tools statistics" sys-power/nut - elog - elog "If you wish to use your own web server:" - elog " Web data can be found at: ${EROOT}/var/lib/${PN}/www/" - elog " Also please check the correct user and group ownership" - elog " of ${EROOT}/var/lib/${PN}/www/imgs/" -} -- cgit v1.2.3