1 |
tomwij 14/05/23 15:58:03 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: monitorix-3.5.1.ebuild |
5 |
Removed: monitorix-3.2.1.ebuild monitorix-3.1.0.ebuild |
6 |
monitorix-3.0.0-r1.ebuild |
7 |
Log: |
8 |
Version bump to 3.5.1, removed old, added systemd unit support. Fixed security bug #493434 (CVE-2013-7071); reported by Ago, based on a contribution by Wojciech Myrda (vojcek). |
9 |
|
10 |
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
11 |
|
12 |
Revision Changes Path |
13 |
1.2 www-misc/monitorix/metadata.xml |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/monitorix/metadata.xml?rev=1.2&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/monitorix/metadata.xml?rev=1.2&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/monitorix/metadata.xml?r1=1.1&r2=1.2 |
18 |
|
19 |
Index: metadata.xml |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/www-misc/monitorix/metadata.xml,v |
22 |
retrieving revision 1.1 |
23 |
retrieving revision 1.2 |
24 |
diff -u -r1.1 -r1.2 |
25 |
--- metadata.xml 13 Mar 2013 18:21:24 -0000 1.1 |
26 |
+++ metadata.xml 23 May 2014 15:58:03 -0000 1.2 |
27 |
@@ -9,6 +9,7 @@ |
28 |
A lightweight system monitoring tool. |
29 |
</longdescription> |
30 |
<use> |
31 |
+ <flag name='apcupsd'>Make use of a daemon that controls APC UPSes with <pkg>sys-power/apcupsd</pkg>.</flag> |
32 |
<flag name='evms'>Make use of utilities for the IBM Enterprise Volume Management System with <pkg>sys-fs/evms</pkg>.</flag> |
33 |
<flag name='hddtemp'>Use SMART to monitor the temperature of hard drives with <pkg>app-admin/hddtemp</pkg>.</flag> |
34 |
<flag name='httpd'>Enables the CGI webserver with any package that satisfies <pkg>virtual/httpd-cgi</pkg>.</flag> |
35 |
|
36 |
|
37 |
|
38 |
1.6 www-misc/monitorix/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/monitorix/ChangeLog?rev=1.6&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/monitorix/ChangeLog?rev=1.6&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/monitorix/ChangeLog?r1=1.5&r2=1.6 |
43 |
|
44 |
Index: ChangeLog |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/www-misc/monitorix/ChangeLog,v |
47 |
retrieving revision 1.5 |
48 |
retrieving revision 1.6 |
49 |
diff -u -r1.5 -r1.6 |
50 |
--- ChangeLog 8 Jan 2014 06:11:54 -0000 1.5 |
51 |
+++ ChangeLog 23 May 2014 15:58:03 -0000 1.6 |
52 |
@@ -1,6 +1,16 @@ |
53 |
# ChangeLog for www-misc/monitorix |
54 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/www-misc/monitorix/ChangeLog,v 1.5 2014/01/08 06:11:54 vapier Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/www-misc/monitorix/ChangeLog,v 1.6 2014/05/23 15:58:03 tomwij Exp $ |
57 |
+ |
58 |
+*monitorix-3.5.1 (23 May 2014) |
59 |
+ |
60 |
+ 23 May 2014; Tom Wijsman <TomWij@g.o> +files/monitorix-3.5.1.init, |
61 |
+ +monitorix-3.5.1.ebuild, -files/monitorix-3.0.0.init, |
62 |
+ -monitorix-3.0.0-r1.ebuild, -monitorix-3.1.0.ebuild, -monitorix-3.2.1.ebuild, |
63 |
+ metadata.xml: |
64 |
+ Version bump to 3.5.1, removed old, added systemd unit support. Fixed security |
65 |
+ bug #493434 (CVE-2013-7071); reported by Ago, based on a contribution by |
66 |
+ Wojciech Myrda (vojcek). |
67 |
|
68 |
08 Jan 2014; Mike Frysinger <vapier@g.o> monitorix-3.0.0-r1.ebuild, |
69 |
monitorix-3.1.0.ebuild, monitorix-3.2.1.ebuild: |
70 |
|
71 |
|
72 |
|
73 |
1.1 www-misc/monitorix/monitorix-3.5.1.ebuild |
74 |
|
75 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/monitorix/monitorix-3.5.1.ebuild?rev=1.1&view=markup |
76 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/monitorix/monitorix-3.5.1.ebuild?rev=1.1&content-type=text/plain |
77 |
|
78 |
Index: monitorix-3.5.1.ebuild |
79 |
=================================================================== |
80 |
# Copyright 1999-2014 Gentoo Foundation |
81 |
# Distributed under the terms of the GNU General Public License v2 |
82 |
# $Header: /var/cvsroot/gentoo-x86/www-misc/monitorix/monitorix-3.5.1.ebuild,v 1.1 2014/05/23 15:58:03 tomwij Exp $ |
83 |
|
84 |
EAPI="5" |
85 |
|
86 |
inherit eutils systemd user |
87 |
|
88 |
DESCRIPTION="A lightweight system monitoring tool" |
89 |
HOMEPAGE="http://www.${PN}.org/" |
90 |
SRC_URI="http://www.${PN}.org/${P}.tar.gz" |
91 |
|
92 |
LICENSE="GPL-2" |
93 |
SLOT="0" |
94 |
KEYWORDS="~amd64 ~x86" |
95 |
IUSE="apcupsd evms hddtemp httpd lm_sensors postfix" |
96 |
|
97 |
DEPEND="sys-apps/sed" |
98 |
RDEPEND="dev-perl/config-general |
99 |
dev-perl/DBI |
100 |
dev-perl/HTTP-Server-Simple |
101 |
dev-perl/IO-Socket-SSL |
102 |
dev-perl/libwww-perl |
103 |
dev-perl/MIME-Lite |
104 |
dev-perl/XML-Simple |
105 |
net-analyzer/rrdtool[perl] |
106 |
virtual/perl-CGI |
107 |
apcupsd? ( sys-power/apcupsd ) |
108 |
evms? ( sys-fs/evms ) |
109 |
hddtemp? ( app-admin/hddtemp ) |
110 |
httpd? ( virtual/httpd-cgi ) |
111 |
lm_sensors? ( sys-apps/lm_sensors ) |
112 |
postfix? ( net-mail/pflogsumm dev-perl/MailTools )" |
113 |
|
114 |
pkg_setup() { |
115 |
enewgroup ${PN} |
116 |
enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} |
117 |
} |
118 |
|
119 |
src_prepare() { |
120 |
# Put better Gentoo defaults in the configuration file. |
121 |
sed -i "s|\(base_dir.*\)/usr/share/${PN}|\1/usr/share/${PN}/htdocs|" ${PN}.conf |
122 |
sed -i "s|\(secure_log.*\)/var/log/secure|\1/var/log/auth.log|" ${PN}.conf |
123 |
sed -i "s|nobody|${PN}|g" ${PN}.conf |
124 |
} |
125 |
|
126 |
src_install() { |
127 |
dosbin ${PN} |
128 |
|
129 |
newinitd "${FILESDIR}"/${P}.init ${PN} |
130 |
|
131 |
insinto /etc/monitorix |
132 |
doins ${PN}.conf |
133 |
|
134 |
dodir /etc/${PN}/conf.d |
135 |
|
136 |
insinto /etc/logrotate.d |
137 |
newins docs/${PN}.logrotate ${PN} |
138 |
|
139 |
dodoc Changes README{,.nginx} docs/${PN}.service docs/${PN}-{alert.sh,apache.conf,lighttpd.conf} |
140 |
doman man/man5/${PN}.conf.5 |
141 |
doman man/man8/${PN}.8 |
142 |
|
143 |
insinto /var/lib/${PN}/www |
144 |
doins logo_bot.png logo_top.png ${PN}ico.png |
145 |
|
146 |
dodir /var/lib/${PN}/imgs |
147 |
dosym /var/lib/${PN}/imgs /var/lib/${PN}/www/imgs |
148 |
|
149 |
exeinto /var/lib/${PN}/www/cgi |
150 |
doexe ${PN}.cgi |
151 |
|
152 |
dodir /usr/lib/${PN} |
153 |
exeinto /usr/lib/${PN} |
154 |
doexe lib/*.pm |
155 |
|
156 |
dodir /var/lib/${PN}/usage |
157 |
insinto /var/lib/${PN}/reports |
158 |
doins -r reports/* |
159 |
|
160 |
systemd_dounit docs/${PN}.service |
161 |
} |
162 |
|
163 |
pkg_postinst() { |
164 |
chown monitorix:monitorix /var/lib/${PN}/imgs |
165 |
|
166 |
elog "WARNING: ${PN} has changed its config format twice, in versions" |
167 |
elog "3.0.0 and 3.4.0; this format may be incompatible with your existing" |
168 |
elog "config file. Please take care if upgrading from an old version." |
169 |
elog "" |
170 |
|
171 |
elog "${PN} includes its own web server as of version 3.0.0." |
172 |
elog "For this reason, the dependency on the webapp framework" |
173 |
elog "has been removed. If you wish to use your own web server," |
174 |
elog "the ${PN} web data can be found at:" |
175 |
elog "/var/lib/${PN}/www/" |
176 |
} |