]>
Commit | Line | Data |
---|---|---|
b25020f9 | 1 | # TODO |
2976d984 | 2 | # - correct path for files and directory in /etc/bigsister/etc/* - Patch5 (FHS) |
61149de8 | 3 | # - security for webpage and admin page |
c91e5dd1 | 4 | # - subpackages for skins?????? |
51e686e7 | 5 | # - add patch and e-mail to author |
b25020f9 ER |
6 | # - correct directory in /etc/bigsister/etc (some files to /usr/share, /var/lib) |
7 | # - check all patches, remove old | |
2976d984 | 8 | # - uxmon to -agent (as done in spec in distro) |
51e686e7 | 9 | |
e9cf1675 | 10 | %include /usr/lib/rpm/macros.perl |
1907b47d | 11 | Summary: The Big Sister Network and System Monitor |
7c02c713 | 12 | Summary(pl.UTF-8): Wielka Siostra - monitor sieci i systemów - klon komercyjnego BigBrother |
1907b47d | 13 | Name: bigsister |
7f28c0ba | 14 | Version: 1.02 |
73e14dcd | 15 | Release: 4 |
1907b47d JB |
16 | License: GPL |
17 | Group: Networking | |
6c6bb435 | 18 | Source0: http://dl.sourceforge.net/bigsister/big-sister-%{version}.tar.gz |
7f28c0ba | 19 | # Source0-md5: 2516b00134465952982c234b4c91c350 |
1907b47d JB |
20 | Source1: %{name}.init |
21 | Source2: %{name}.sysconfig | |
0039aca2 MWP |
22 | Source3: %{name}.bsmon.cfg |
23 | Source4: %{name}.uxmon-net | |
51e686e7 MWP |
24 | Source6: %{name}.uxmon-asroot |
25 | Source7: %{name}.httpd_conf | |
92b03467 | 26 | Source8: %{name}.mibs.txt |
e9cf1675 | 27 | Patch1: %{name}-memory.patch |
1907b47d | 28 | Patch2: %{name}-logfile-notranslated.patch |
55cd2756 | 29 | Patch3: %{name}-dubleinstall.patch |
e9cf1675 | 30 | Patch4: %{name}-not_user_check.patch |
07235402 | 31 | Patch5: %{name}-ac.patch |
51e686e7 MWP |
32 | #Patch5: %{name}-lang_lcmessages.patch |
33 | #Patch6: %{name}-path_to_adm.patch | |
1907b47d | 34 | URL: http://bigsister.graeff.com/ |
1907b47d JB |
35 | BuildRequires: perl-libnet |
36 | BuildRequires: perl-libwww | |
7f28c0ba | 37 | #BuildRequires: post-server-is-broken |
5f424a6d | 38 | BuildRequires: rpm-perlprov >= 4.0.2-104 |
b25020f9 ER |
39 | BuildRequires: rpmbuild(macros) >= 1.268 |
40 | BuildRequires: sed >= 4.0 | |
f0fa7eeb ER |
41 | Requires(post,preun): /sbin/chkconfig |
42 | Requires(postun): /usr/sbin/groupdel | |
43 | Requires(postun): /usr/sbin/userdel | |
6e30e06c | 44 | Requires(pre): /bin/id |
45 | Requires(pre): /usr/bin/getgid | |
46 | Requires(pre): /usr/sbin/groupadd | |
47 | Requires(pre): /usr/sbin/useradd | |
e3bc2c5c | 48 | #Requires: nscd |
f0fa7eeb | 49 | Requires: sysstat |
c39be4c0 | 50 | Provides: group(bs) |
1907b47d | 51 | Provides: perl(Monitor::uxmon) |
f0fa7eeb | 52 | Provides: user(bs) |
1907b47d JB |
53 | BuildArch: noarch |
54 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
55 | ||
1907b47d JB |
56 | # 'common' and 'parse' are files provided with bigsister |
57 | # perl-GD is optional (for generating maps) | |
58 | # perl-FCGI is recommended, but not required | |
59 | # perl-SNMP_Session is requires only for SNMP checks, but snmp.pm module | |
60 | # (which tests if SNMP_Session exists) must be present in base package | |
2976d984 ER |
61 | %define _noautoreq 'perl(common)' 'perl(parse)' 'perl(GD)' 'perl(FCGI)' 'perl(SNMP_Session)' 'perl(SNMP_util)' 'perl(BER)' 'perl(Monitor::Monitor)' 'perl(Monitor::Tester)' 'perl(Monitor::bb)' |
62 | ||
63 | %define _webapps /etc/webapps | |
64 | %define _webapp %{name} | |
1907b47d JB |
65 | |
66 | %description | |
67 | Big Sister - a Big Brother clone. | |
68 | ||
7c02c713 | 69 | %description -l pl.UTF-8 |
1907b47d JB |
70 | Wielka Siostra - klon Wielkiego Brata. |
71 | ||
72 | %package server | |
73 | Summary: Big Sister server | |
7c02c713 | 74 | Summary(pl.UTF-8): Serwer Big Sister |
1907b47d | 75 | Group: Networking |
6c6bb435 JB |
76 | Requires(post,postun): %{name} = %{version}-%{release} |
77 | Requires: %{name} = %{version}-%{release} | |
f0fa7eeb | 78 | Requires: perl-FCGI |
d424fae1 MWP |
79 | Requires: perl-GD-Graph-Map |
80 | Requires: perl-Net-SMTP-Receive | |
f0fa7eeb | 81 | Requires: perl-Net-SNMP |
d424fae1 MWP |
82 | Requires: perl-libwww |
83 | Requires: rrdtool | |
2976d984 | 84 | Requires: webapps |
1907b47d JB |
85 | |
86 | %description server | |
87 | Big Sister server part: display, status collector, alarm generator. | |
88 | ||
7c02c713 JR |
89 | %description server -l pl.UTF-8 |
90 | Część serwerowa Big Sister: wyświetlająca, zbierająca dane i | |
91 | generująca alarmy. | |
1907b47d JB |
92 | |
93 | %package ldap | |
e9cf1675 | 94 | Summary: Big Sister plugin for monitoring LDAP |
7c02c713 | 95 | Summary(pl.UTF-8): Wtyczka Big Sister do monitorowania LDAP |
1907b47d | 96 | Group: Networking |
6c6bb435 | 97 | Requires: %{name} = %{version}-%{release} |
2976d984 | 98 | Requires: apache(mod_perl) |
73e14dcd | 99 | Requires: webserver |
01fc95db | 100 | |
1907b47d JB |
101 | %description ldap |
102 | Big Sister plugin for monitoring LDAP. | |
103 | ||
7c02c713 | 104 | %description ldap -l pl.UTF-8 |
1907b47d JB |
105 | Wtyczka Big Sister do monitorowania LDAP. |
106 | ||
107 | %package ldap_mozilla | |
108 | Summary: Big Sister plugin for minitoring LDAP using Mozilla::LDAP | |
7c02c713 | 109 | Summary(pl.UTF-8): Wtyczka Big Sister do monitorowania LDAP przy użyciu Mozilla::LDAP |
1907b47d | 110 | Group: Networking |
6c6bb435 | 111 | Requires: %{name} = %{version}-%{release} |
1907b47d JB |
112 | |
113 | %description ldap_mozilla | |
114 | Big Sister plugin for monitoring LDAP using Mozilla::LDAP. | |
115 | ||
7c02c713 JR |
116 | %description ldap_mozilla -l pl.UTF-8 |
117 | Wtyczka Big Sister do monitorowania LDAP przy użyciu Mozilla::LDAP. | |
1907b47d JB |
118 | |
119 | %package oracle | |
e9cf1675 | 120 | Summary: Big Sister plugin for monitoring Oracle |
7c02c713 | 121 | Summary(pl.UTF-8): Wtyczka Big Sister do monitorowania Oracle |
1907b47d | 122 | Group: Networking |
6c6bb435 | 123 | Requires: %{name} = %{version}-%{release} |
1907b47d JB |
124 | Requires: perl-DBD-Oracle |
125 | ||
126 | %description oracle | |
127 | Big Sister plugin for monitoring Oracle. | |
128 | ||
7c02c713 | 129 | %description oracle -l pl.UTF-8 |
1907b47d JB |
130 | Wtyczka Big Sister do monitorowania Oracle. |
131 | ||
132 | %package radius | |
133 | Summary: Big Sister plugin for monitoring radius server | |
7c02c713 | 134 | Summary(pl.UTF-8): Wtyczka Big Sister do monitorowania serwera radius |
1907b47d | 135 | Group: Networking |
6c6bb435 | 136 | Requires: %{name} = %{version}-%{release} |
1907b47d JB |
137 | Requires: perl-Authen-Radius |
138 | ||
139 | %description radius | |
140 | Big Sister plugin for monitoring radius server. | |
141 | ||
7c02c713 | 142 | %description radius -l pl.UTF-8 |
1907b47d JB |
143 | Wtyczka Big Sister do monitorowania serwera radius. |
144 | ||
145 | %package snmp | |
146 | Summary: Big Sister plugin for monitoring using SNMP | |
7c02c713 | 147 | Summary(pl.UTF-8): Wtyczka Big Sister do monitorowania z użyciem SNMP |
1907b47d | 148 | Group: Networking |
6c6bb435 | 149 | Requires: %{name} = %{version}-%{release} |
d424fae1 MWP |
150 | Requires: perl-SNMP |
151 | ||
1907b47d JB |
152 | |
153 | %description snmp | |
154 | Big Sister plugin for monitoring using SNMP. | |
155 | ||
7c02c713 JR |
156 | %description snmp -l pl.UTF-8 |
157 | Wtyczka Big Sister do monitorowania z użyciem SNMP. | |
1907b47d JB |
158 | |
159 | %prep | |
7f28c0ba | 160 | %setup -q -n big-sister-%{version} |
e9cf1675 | 161 | %patch1 -p1 |
1907b47d | 162 | %patch2 -p1 |
55cd2756 | 163 | %patch3 -p1 |
e9cf1675 | 164 | %patch4 -p1 |
07235402 ER |
165 | %patch5 -p1 |
166 | ||
1907b47d | 167 | %build |
07235402 | 168 | %{__autoconf} |
e9cf1675 | 169 | ./configure \ |
07235402 | 170 | --enable-FHS \ |
2976d984 ER |
171 | --with-user=bs \ |
172 | --with-cgi=/bigsis/cgi \ | |
173 | --with-url=/bigsis \ | |
07235402 | 174 | --with-crondir=/etc/cron.weekly |
2976d984 | 175 | |
110dcca5 | 176 | # --with-systype the target system type (e.g. sunos, windows, linux, etc.) |
177 | # --with-speedy the CGI accelerators (e.g. speedy) path | |
178 | # --with-cgi the CGI path we should use | |
179 | # --with-group the group that will own your installed files | |
180 | # --with-url the URL at which we will find the web pages | |
181 | # --with-perlext the file extension perl scripts (CGIs) should get | |
182 | # --with-rpmdir the RPM build area | |
7f28c0ba | 183 | |
2976d984 ER |
184 | %{__make} |
185 | ||
1907b47d JB |
186 | %install |
187 | rm -rf $RPM_BUILD_ROOT | |
2976d984 ER |
188 | install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig},%{_var}/lib/bigsister/{graphs,www/graphs,logs}} \ |
189 | $RPM_BUILD_ROOT%{_webapps}/%{_webapp} | |
1907b47d | 190 | |
2976d984 | 191 | %{__make} install -j1 \ |
7f28c0ba | 192 | DESTDIR=$RPM_BUILD_ROOT |
3887d016 | 193 | |
b25020f9 ER |
194 | rm -rf $RPM_BUILD_ROOT/etc/init.d |
195 | mv -f $RPM_BUILD_ROOT%{_datadir}/bigsister/etc $RPM_BUILD_ROOT%{_sysconfdir}/bigsister | |
4d2bd27e | 196 | rm -rf $RPM_BUILD_ROOT%{_datadir}/bigsister/etc |
3887d016 | 197 | |
4edc2827 | 198 | cd $RPM_BUILD_ROOT%{_datadir}/bigsister |
b25020f9 ER |
199 | ln -sf %{_var}/lib/bigsister/www www |
200 | ln -sf %{_var}/lib/bigsister var | |
201 | ln -sf %{_sysconfdir}/bigsister/etc etc | |
8b2c3070 | 202 | |
b25020f9 ER |
203 | # correct path in files |
204 | sed -i -e " | |
205 | s#$RPM_BUILD_ROOT##g | |
206 | s#%{_datadir}/bigsister/etc#%{_sysconfdir}/bigsister/etc#g | |
207 | " $RPM_BUILD_ROOT%{_sysconfdir}/bigsister/etc/moduleinfo/files | |
d424fae1 | 208 | |
b25020f9 ER |
209 | sed -i -e ' |
210 | s#%{_datadir}/bigsister/etc#%{_sysconfdir}/bigsister/etc#g | |
211 | ' $RPM_BUILD_ROOT%{_sysconfdir}/bigsister/etc/resources | |
aab5a02e | 212 | |
9f3dce34 JB |
213 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} |
214 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name} | |
3887d016 | 215 | |
0039aca2 MWP |
216 | # basic config file |
217 | rm -f $RPM_BUILD_ROOT/etc/bigsister/uxmon-net | |
218 | rm -f $RPM_BUILD_ROOT/etc/bigsister/etc/bsmon.cfg | |
3887d016 | 219 | rm -f $RPM_BUILD_ROOT/etc/bigsister/httpd.conf |
92b03467 MWP |
220 | rm -f $RPM_BUILD_ROOT/etc/bigsister/etc/mibs.txt |
221 | ||
0039aca2 MWP |
222 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/bigsister/etc/bsmon.cfg |
223 | install %{SOURCE4} $RPM_BUILD_ROOT/etc/bigsister/uxmon-net | |
51e686e7 | 224 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/bigsister/uxmon-asroot |
2976d984 ER |
225 | install %{SOURCE7} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf |
226 | install %{SOURCE7} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf | |
227 | install %{SOURCE8} $RPM_BUILD_ROOT/etc/bigsister/etc/mibs.txt | |
51e686e7 | 228 | |
2976d984 ER |
229 | touch $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/htpasswd |
230 | ||
231 | # Dos/WinNT script | |
232 | rm -f $RPM_BUILD_ROOT%{_sysconfdir}/bigsister/expedap/myexpedap.cmd | |
73e14dcd | 233 | rm -f $RPM_BUILD_ROOT%{_datadir}/bigsister/bin/{install32,perlsvc.pl} |
e9cf1675 | 234 | |
1907b47d | 235 | %clean |
7044464d | 236 | rm -rf $RPM_BUILD_ROOT |
1907b47d | 237 | |
c77b10ec | 238 | %pre |
1c3bda1b ER |
239 | %groupadd -g 77 bs |
240 | %useradd -u 77 -d %{_var}/lib/bigsister/www -s /bin/false -c "Big Sister" -g bs bs | |
d424fae1 | 241 | |
1c3bda1b | 242 | %post |
1907b47d | 243 | /sbin/chkconfig --add bigsister |
b25020f9 | 244 | %service bigsister restart "Big Sister" |
d424fae1 | 245 | |
1907b47d JB |
246 | %preun |
247 | if [ "$1" = "0" ]; then | |
b25020f9 | 248 | %service bigsister stop |
1d60c8b0 | 249 | /sbin/chkconfig --del bigsister |
1907b47d JB |
250 | fi |
251 | ||
c77b10ec | 252 | %postun |
253 | if [ "$1" = "0" ]; then | |
c39be4c0 | 254 | %userremove bs |
255 | %groupremove bs | |
c77b10ec | 256 | fi |
257 | ||
1907b47d | 258 | %post server |
4edc2827 | 259 | %{_datadir}/bigsister/bin/compile_skin webadmin |
260 | %{_datadir}/bigsister/bin/compile_skin static_lamps | |
261 | %{_datadir}/bigsister/bin/compile_skin structured_bg | |
262 | %{_datadir}/bigsister/bin/compile_skin alt_contentsicons | |
263 | %{_datadir}/bigsister/bin/compile_skin bigbro13 | |
264 | %{_datadir}/bigsister/bin/compile_skin bsdoc | |
265 | %{_datadir}/bigsister/bin/compile_skin compactmenu | |
266 | %{_datadir}/bigsister/bin/compile_skin frames | |
267 | %{_datadir}/bigsister/bin/compile_skin techie | |
268 | %{_datadir}/bigsister/bin/compile_skin title_in_table | |
269 | %{_datadir}/bigsister/bin/compile_skin twocolumn | |
270 | %{_datadir}/bigsister/bin/compile_skin default | |
271 | %{_datadir}/bigsister/bin/compile_skin white_bg | |
b25020f9 | 272 | %service -q bigsister restart |
1907b47d JB |
273 | |
274 | %postun server | |
b25020f9 ER |
275 | if [ "$1" = 0 ]; then |
276 | %service -q bigsister restart | |
1907b47d JB |
277 | fi |
278 | ||
fb46de51 | 279 | %triggerin server -- apache1 < 1.3.37-3, apache1-base |
2976d984 ER |
280 | %webapp_register apache %{_webapp} |
281 | ||
fb46de51 | 282 | %triggerun server -- apache1 < 1.3.37-3, apache1-base |
2976d984 ER |
283 | %webapp_unregister apache %{_webapp} |
284 | ||
285 | %triggerin server -- apache < 2.2.0, apache-base | |
286 | %webapp_register httpd %{_webapp} | |
287 | ||
288 | %triggerun server -- apache < 2.2.0, apache-base | |
289 | %webapp_unregister httpd %{_webapp} | |
290 | ||
291 | %triggerpostun server -- %{name}-server < 1.02-2.4 | |
292 | # i don't even know why i wrote trigger, did package never ever worked? | |
293 | if [ -f /etc/httpd/httpd.conf/92_%{name}.conf.rpmsave ]; then | |
294 | cp -f %{_webapps}/%{_webapp}/httpd.conf{,.rpmnew} | |
295 | mv -f /etc/httpd/httpd.conf/92_%{name}.conf.rpmsave %{_webapps}/%{_webapp}/httpd.conf | |
296 | fi | |
297 | ||
298 | /usr/sbin/webapp register httpd %{_webapp} | |
299 | %service -q httpd reload | |
300 | ||
1907b47d JB |
301 | %files |
302 | %defattr(644,root,root,755) | |
2976d984 | 303 | %doc %{_datadir}/doc/bigsister |
2f0d245f | 304 | %attr(755,root,root) /etc/cron.weekly/bigsister_logs |
9f3dce34 JB |
305 | %attr(754,root,root) /etc/rc.d/init.d/bigsister |
306 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bigsister | |
d424fae1 | 307 | %attr(775,root,bs) %dir %{_sysconfdir}/bigsister |
2976d984 ER |
308 | %dir %{_sysconfdir}/bigsister/expedap |
309 | %{_sysconfdir}/bigsister/expedap/myexpedap | |
d424fae1 MWP |
310 | %attr(775,root,bs) %dir %{_sysconfdir}/bigsister/etc |
311 | %attr(664,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/etc/resources | |
312 | %attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/etc/OV | |
313 | %attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/etc/syslog | |
314 | %attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/etc/eventlog | |
315 | %attr(664,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/etc/tests.cfg | |
2976d984 ER |
316 | %attr(664,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/etc/db.cfg |
317 | %attr(664,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/etc/*.dbschema | |
318 | %attr(664,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/etc/version | |
319 | %attr(664,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/etc/mibsdef | |
320 | %attr(664,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/etc/mondef | |
d424fae1 MWP |
321 | %attr(644,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/resources |
322 | %attr(640,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/uxmon-net | |
51e686e7 | 323 | %attr(640,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/uxmon-asroot |
2976d984 ER |
324 | %attr(755,root,root) %{_sbindir}/bs* |
325 | %{_mandir}/man*/* | |
4edc2827 | 326 | %dir %{_datadir}/bigsister |
327 | %{_datadir}/bigsister/etc | |
dbb53619 | 328 | %{_datadir}/bigsister/var |
4edc2827 | 329 | %dir %{_datadir}/bigsister/bin |
330 | %dir %{_datadir}/bigsister/bin/Monitor | |
331 | %dir %{_datadir}/bigsister/bin/Reader | |
332 | %dir %{_datadir}/bigsister/bin/BigSister | |
333 | %{_datadir}/bigsister/bin/BS_unix.pm | |
334 | %{_datadir}/bigsister/bin/BigSister/common.pm | |
2976d984 ER |
335 | %{_datadir}/bigsister/bin/DBCapsulator |
336 | %{_datadir}/bigsister/bin/DBCapsulator.pm | |
4edc2827 | 337 | %{_datadir}/bigsister/bin/[CHPRSTcp]*.pm |
7f28c0ba | 338 | #%{_datadir}/bigsister/bin/Monitor/*.pm |
4edc2827 | 339 | %{_datadir}/bigsister/bin/MicroTime.pm |
340 | %{_datadir}/bigsister/bin/Reader/*pm | |
341 | %{_datadir}/bigsister/bin/BS_win32.pm | |
342 | %attr(755,root,root) %{_datadir}/bigsister/bin/bb_start | |
343 | %attr(755,root,root) %{_datadir}/bigsister/bin/bb_start32 | |
344 | %attr(755,root,root) %{_datadir}/bigsister/bin/bb_stop32 | |
345 | %attr(755,root,root) %{_datadir}/bigsister/bin/report* | |
346 | %attr(755,root,root) %{_datadir}/bigsister/bin/smtpmail | |
347 | %attr(755,root,root) %{_datadir}/bigsister/bin/testers | |
348 | %attr(755,root,root) %{_datadir}/bigsister/bin/bbecho | |
349 | %dir %{_datadir}/bigsister/uxmon | |
350 | %dir %{_datadir}/bigsister/uxmon/Config | |
351 | %{_datadir}/bigsister/uxmon/Config/_perflib | |
352 | %{_datadir}/bigsister/uxmon/Config/noFQDN | |
353 | %{_datadir}/bigsister/uxmon/Config/[FObdfimpty]* | |
354 | %{_datadir}/bigsister/uxmon/Config/_[ert]* | |
355 | %{_datadir}/bigsister/uxmon/Config/c[op]* | |
356 | %{_datadir}/bigsister/uxmon/Config/http | |
357 | %{_datadir}/bigsister/uxmon/Config/lo* | |
358 | %{_datadir}/bigsister/uxmon/Config/n[Fefln]* | |
359 | %{_datadir}/bigsister/uxmon/Config/ntp | |
360 | %{_datadir}/bigsister/uxmon/Config/r[ep]* | |
361 | %{_datadir}/bigsister/uxmon/Config/s[mty]* | |
362 | %dir %{_datadir}/bigsister/uxmon/Monitor | |
7f28c0ba MWP |
363 | #{_datadir}/bigsister/uxmon/Monitor/PerfLib.pm |
364 | #{_datadir}/bigsister/uxmon/Monitor/eventlog.pm | |
365 | #{_datadir}/bigsister/uxmon/Monitor/[EMOTb-dfmpt-u]* | |
366 | #{_datadir}/bigsister/uxmon/Monitor/l[ox]* | |
367 | #{_datadir}/bigsister/uxmon/Monitor/r[ep]* | |
368 | #{_datadir}/bigsister/uxmon/Monitor/s[aty]* | |
4edc2827 | 369 | %dir %{_datadir}/bigsister/uxmon/Requester |
370 | %{_datadir}/bigsister/uxmon/Requester/[A-Za-rt-z]* | |
371 | %{_datadir}/bigsister/uxmon/Requester/s[oy]* | |
372 | %attr(755,root,root) %{_datadir}/bigsister/uxmon/uxmon | |
373 | %{_datadir}/bigsister/uxmon/uxmon-rules.pl | |
55cd2756 | 374 | |
1907b47d JB |
375 | %files server |
376 | %defattr(644,root,root,755) | |
9f3dce34 JB |
377 | %attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/bb-display.cfg |
378 | %attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/bb_event_generator.cfg | |
379 | %attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/bsmon_site.cfg | |
380 | %attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/notify.cfg | |
381 | %attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/permissions | |
e9cf1675 MWP |
382 | %attr(750,root,bs) %dir %{_sysconfdir}/bigsister/reporting |
383 | %{_sysconfdir}/bigsister/reporting/* | |
d424fae1 | 384 | %attr(750,root,bs) %dir %{_sysconfdir}/bigsister/etc |
d424fae1 MWP |
385 | %attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/etc/bsmon.cfg |
386 | %attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/etc/graphtemplates | |
387 | %attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/etc/keys | |
388 | %attr(750,root,bs) %dir %{_sysconfdir}/bigsister/etc/graphdef | |
389 | %{_sysconfdir}/bigsister/etc/graphdef/* | |
390 | %attr(750,root,bs) %dir %{_sysconfdir}/bigsister/etc/moduleinfo | |
391 | %{_sysconfdir}/bigsister/etc/moduleinfo/* | |
392 | %attr(750,root,bs) %dir %{_sysconfdir}/bigsister/etc/testdef | |
7f28c0ba MWP |
393 | %{_sysconfdir}/bigsister/etc/testdef/* |
394 | ||
2976d984 ER |
395 | %dir %attr(750,root,http) %{_webapps}/%{_webapp} |
396 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf | |
397 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf | |
398 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/htpasswd | |
399 | ||
4edc2827 | 400 | %attr(755,root,root) %dir %{_datadir}/bigsister/cgi |
401 | %attr(755,root,root) %{_datadir}/bigsister/cgi/bs* | |
7e1e39c7 | 402 | %attr(775,root,bs) %dir %{_var}/lib/bigsister |
8ad8e338 | 403 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/logs |
4d2bd27e | 404 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/graphs |
7e1e39c7 | 405 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www |
d424fae1 | 406 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/graphs |
4049d75f MWP |
407 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/html |
408 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/logs | |
409 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/logs/history | |
410 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/help | |
411 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/help/images | |
7e1e39c7 | 412 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins |
c91e5dd1 MWP |
413 | |
414 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins/techie | |
415 | %attr(664,root,bs) %{_var}/lib/bigsister/www/skins/techie/* | |
416 | ||
417 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins/title_in_table | |
4d2bd27e | 418 | %attr(664,root,bs) %{_var}/lib/bigsister/www/skins/title_in_table/* |
c91e5dd1 MWP |
419 | |
420 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins/twocolumn | |
421 | %attr(664,root,bs) %{_var}/lib/bigsister/www/skins/twocolumn/* | |
422 | ||
423 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins/webadmin | |
424 | %attr(664,root,bs) %{_var}/lib/bigsister/www/skins/webadmin/* | |
425 | ||
426 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins/white_bg | |
427 | %attr(664,root,bs) %{_var}/lib/bigsister/www/skins/white_bg/* | |
428 | ||
429 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins/default | |
430 | %attr(664,root,bs) %{_var}/lib/bigsister/www/skins/default/* | |
431 | ||
432 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins/static_lamps | |
433 | %attr(664,root,bs) %{_var}/lib/bigsister/www/skins/static_lamps/* | |
434 | ||
435 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins/structured_bg | |
436 | %attr(664,root,bs) %{_var}/lib/bigsister/www/skins/structured_bg/* | |
437 | ||
438 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins/alt_contentsicons | |
439 | %attr(664,root,bs) %{_var}/lib/bigsister/www/skins/alt_contentsicons/* | |
440 | ||
441 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins/bigbro13 | |
442 | %attr(664,root,bs) %{_var}/lib/bigsister/www/skins/bigbro13/* | |
443 | ||
444 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins/bsdoc | |
445 | %attr(664,root,bs) %{_var}/lib/bigsister/www/skins/bsdoc/* | |
446 | ||
447 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins/compactmenu | |
448 | %attr(664,root,bs) %{_var}/lib/bigsister/www/skins/compactmenu/* | |
449 | ||
450 | %attr(775,root,bs) %dir %{_var}/lib/bigsister/www/skins/frames | |
451 | %attr(664,root,bs) %{_var}/lib/bigsister/www/skins/frames/* | |
452 | ||
4049d75f | 453 | %{_var}/lib/bigsister/www/help/*.html |
2976d984 ER |
454 | %{_var}/lib/bigsister/www/help/images/*.png |
455 | %{_var}/lib/bigsister/www/help/images/*.jpg | |
4edc2827 | 456 | %{_datadir}/bigsister/www |
457 | %dir %{_datadir}/bigsister/bin/Statusmon | |
458 | %{_datadir}/bigsister/bin/Statusmon/[BDGHRSTght]*.pm | |
459 | %{_datadir}/bigsister/bin/Statusmon/bs_evgen.pm | |
460 | %{_datadir}/bigsister/bin/access.pm | |
461 | %{_datadir}/bigsister/bin/bbdisp.pm | |
462 | %{_datadir}/bigsister/bin/bscgi.pm | |
463 | %{_datadir}/bigsister/bin/display_map.pm | |
4049d75f | 464 | #te dwa tutaj powinny byc??? |
1c3bda1b | 465 | # and in english it means? |
4edc2827 | 466 | %{_datadir}/bigsister/bin/BER.pm |
467 | %{_datadir}/bigsister/bin/IPCFile.pm | |
4049d75f | 468 | # |
4edc2827 | 469 | %attr(755,root,root) %{_datadir}/bigsister/bin/bbd |
470 | %attr(755,root,root) %{_datadir}/bigsister/bin/bsmon | |
471 | %attr(755,root,root) %{_datadir}/bigsister/bin/log_mail | |
472 | %attr(755,root,root) %{_datadir}/bigsister/bin/notify | |
473 | %attr(755,root,root) %{_datadir}/bigsister/bin/compile_skin | |
474 | %attr(755,root,root) %{_datadir}/bigsister/bin/page_meridian | |
1907b47d JB |
475 | |
476 | %files ldap | |
477 | %defattr(644,root,root,755) | |
4edc2827 | 478 | %{_datadir}/bigsister/uxmon/Config/ldap |
7f28c0ba | 479 | #%{_datadir}/bigsister/uxmon/Monitor/ldap.pm |
1907b47d JB |
480 | |
481 | %files ldap_mozilla | |
482 | %defattr(644,root,root,755) | |
4edc2827 | 483 | %{_datadir}/bigsister/uxmon/Config/ldap_mozilla |
7f28c0ba | 484 | #%{_datadir}/bigsister/uxmon/Monitor/ldap_mozilla.pm |
1907b47d JB |
485 | |
486 | %files oracle | |
487 | %defattr(644,root,root,755) | |
4edc2827 | 488 | %{_datadir}/bigsister/uxmon/Config/oracle |
7f28c0ba | 489 | #%{_datadir}/bigsister/uxmon/Monitor/oracle.pm |
1907b47d JB |
490 | |
491 | %files radius | |
492 | %defattr(644,root,root,755) | |
4edc2827 | 493 | %{_datadir}/bigsister/uxmon/Config/radius |
7f28c0ba | 494 | #%{_datadir}/bigsister/uxmon/Monitor/radius.pm |
1907b47d JB |
495 | |
496 | %files snmp | |
497 | %defattr(644,root,root,755) | |
d424fae1 MWP |
498 | %{_sysconfdir}/bigsister/etc/mibs.txt |
499 | %{_sysconfdir}/bigsister/etc/perf* | |
500 | %{_sysconfdir}/bigsister/etc/snmp_trap | |
4edc2827 | 501 | %attr(755,root,root) %{_datadir}/bigsister/bin/bstrapd |
502 | %{_datadir}/bigsister/bin/snmp.pm | |
503 | %{_datadir}/bigsister/uxmon/Config/_snmp | |
504 | %{_datadir}/bigsister/uxmon/Config/_storage | |
505 | %{_datadir}/bigsister/uxmon/Config/atmport | |
506 | %{_datadir}/bigsister/uxmon/Config/caty | |
507 | %{_datadir}/bigsister/uxmon/Config/etherport | |
508 | %{_datadir}/bigsister/uxmon/Config/hub | |
509 | %{_datadir}/bigsister/uxmon/Config/novell | |
510 | %{_datadir}/bigsister/uxmon/Config/nt | |
511 | %{_datadir}/bigsister/uxmon/Config/snmp | |
512 | %{_datadir}/bigsister/uxmon/Config/snmp_trap | |
513 | %{_datadir}/bigsister/uxmon/Config/snmpvar | |
514 | %{_datadir}/bigsister/uxmon/Config/software | |
515 | %{_datadir}/bigsister/uxmon/Config/ups | |
516 | %{_datadir}/bigsister/uxmon/Config/qmqueue | |
517 | %{_datadir}/bigsister/uxmon/Config/sendmail | |
7f28c0ba MWP |
518 | #%{_datadir}/bigsister/uxmon/Monitor/atmport.pm |
519 | #%{_datadir}/bigsister/uxmon/Monitor/etherport.pm | |
520 | #%{_datadir}/bigsister/uxmon/Monitor/snmp.pm | |
521 | #%{_datadir}/bigsister/uxmon/Monitor/qmqueue.pm | |
522 | #%{_datadir}/bigsister/uxmon/Monitor/sendmail.pm | |
523 | #%{_datadir}/bigsister/uxmon/Monitor/snmp_trap.pm | |
4edc2827 | 524 | %{_datadir}/bigsister/uxmon/Requester/snmp.pm |