]> git.pld-linux.org Git - packages/nagios.git/blame - nagios.spec
- http_charset only to cgi
[packages/nagios.git] / nagios.spec
CommitLineData
c2fe0fab 1#
b21411a3 2# Conditional build:
e1f9e4d5 3%bcond_without gd # without statusmap and trends, which require gd library
b21411a3 4#
1b3d1540 5Summary: Host/service/network monitoring program
a02dfee5
ER
6Summary(pl.UTF-8): Program do monitorowania serwerów/usług/sieci
7Summary(pt_BR.UTF-8): Programa para monitoração de máquinas e serviços
1b3d1540 8Name: nagios
da0d2e86 9Version: 3.0.3
82e158c7 10Release: 3
0cf1a114 11License: GPL v2
1b3d1540 12Group: Networking
98d19e90 13Source0: http://dl.sourceforge.net/nagios/%{name}-%{version}.tar.gz
da0d2e86 14# Source0-md5: 151df7bf19b696f7498410fb76fb7caf
1b3d1540
TO
15Source1: %{name}-apache.conf
16Source2: %{name}.init
156a07c5
ER
17Source3: %{name}.sysconfig
18Source4: http://www.nagios.org/images/favicon.ico
19# Source4-md5: 1c4201c7da53d6c7e48251d3a9680449
e0712bba
AM
20Source5: %{name}-config-20071217.tar.bz2
21# Source5-md5: c50e60b73f86b8bfbc36f486d583f67b
e785f9d9 22Source6: %{name}-lighttpd.conf
b24b4667
ER
23Patch0: %{name}-resources.patch
24Patch1: %{name}-iconv-in-libc.patch
19670bc2 25Patch2: %{name}-webapps.patch
1b3d1540 26URL: http://www.nagios.org/
14ddd08f
JB
27BuildRequires: autoconf
28BuildRequires: automake
86522331
AG
29%if %{with gd}
30BuildRequires: gd-devel
31BuildRequires: libjpeg-devel
32BuildRequires: libpng-devel
33%endif
d4363d96 34BuildRequires: rpmbuild(macros) >= 1.268
bc56720c 35BuildRequires: sed >= 4.0
3e125558 36BuildRequires: tar >= 1:1.15.1
8a91cf36 37Requires(post,preun): /sbin/chkconfig
d4363d96 38Requires(triggerpostun): sed >= 4.0
bc56720c 39Requires: %{name}-common = %{version}-%{release}
f40d513a 40Requires: /bin/mail
d4363d96
ER
41Requires: rc-scripts
42Requires: sh-utils
f0724323 43Provides: nagios-core
1b3d1540 44Obsoletes: netsaint
d4363d96 45Conflicts: iputils-ping < 1:ss020124
56d92939 46BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
1b3d1540 47
e1f9e4d5
JB
48%define _sysconfdir /etc/%{name}
49%define _bindir %{_prefix}/sbin
50%define _sbindir %{_libdir}/%{name}/cgi
51%define _datadir %{_prefix}/share/%{name}
52%define _localstatedir /var/lib/%{name}
31f3ed2f
ER
53%define _webapps /etc/webapps
54%define _webapp %{name}
a9824b3a 55
1b3d1540
TO
56%description
57Nagios is a program that will monitor hosts and services on your
58network. It has the ability to email or page you when a problem arises
0cf1a114
TO
59and when a problem is resolved. Nagios is written in C and is designed
60to run under Linux (and some other *NIX variants) as a background
61process, intermittently running checks on various services that you
62specify.
1b3d1540
TO
63
64The actual service checks are performed by separate "plugin" programs
65which return the status of the checks to Nagios. The plugins are
66available in nagios-plugins packages.
67
924840b9
TO
68Nagios is successor to NetSaint.
69
eb034f05
JR
70%description -l pl.UTF-8
71Nagios to program, który monitoruje serwery oraz usługi w naszej
72sieci. Posiada on możliwość wysyłania informacji o wystąpieniu oraz
73rozwiązaniu problemu. Nagios został napisany w C oraz jest
74zaprojektowany do pracy pod Linuksem (i niektórymi innymi uniksami)
75jako proces pracujący w tle i bezustannie wykonujący pewne operacje
76sprawdzające.
1b3d1540 77
eb034f05
JR
78Właściwe sprawdzanie jest wykonywane przez osobne programy
79("wtyczki"), które zwracają informacje o statusie do Nagiosa. Wtyczki
80są dostępne na stronie w pakietach nagios-plugins.
1b3d1540 81
eb034f05 82Nagios jest następcą NetSainta.
924840b9 83
eb034f05
JR
84%description -l pt_BR.UTF-8
85O Nagios é um programa que monitora máquinas e serviços na sua rede.
1b3d1540 86Ele pode enviar um email ou um aviso de pager para o administrador
eb034f05 87quando surgir um problema e quando ele for resolvido. Nagios é escrito
0cf1a114 88em C e foi desenvolvido para rodar em plataformas Linux (e algumas
eb034f05
JR
89variações de *NIX) como um processo em segundo plano, periodicamente
90executando checagens nos diversos serviços que forem especificados.
1b3d1540 91
901d97df
ER
92%package common
93Summary: Common files needed by both nagios and nrpe
a02dfee5 94Summary(pl.UTF-8): Wspólne pliki wymagane zarówno przez nagiosa jak i nrpe
901d97df 95Group: Networking
d4363d96
ER
96Requires(postun): /usr/sbin/groupdel
97Requires(postun): /usr/sbin/userdel
901d97df 98Requires(pre): /bin/id
d4363d96 99Requires(pre): /usr/bin/getgid
901d97df
ER
100Requires(pre): /usr/sbin/groupadd
101Requires(pre): /usr/sbin/groupmod
102Requires(pre): /usr/sbin/useradd
103Requires(pre): /usr/sbin/usermod
901d97df
ER
104Provides: group(nagios)
105Provides: group(nagios-data)
d4363d96 106Provides: user(nagios)
901d97df
ER
107
108%description common
109Common files needed by both nagios and nrpe.
110
eb034f05
JR
111%description common -l pl.UTF-8
112Wspólne pliki wymagane zarówno przez nagiosa jak i nrpe.
bee7c8ea 113
1b3d1540
TO
114%package cgi
115Summary: CGI webinterface for Nagios
a02dfee5 116Summary(pl.UTF-8): Interfejs WWW/CGI dla Nagiosa
7c33b67a 117Group: Applications/WWW
31f3ed2f 118# for dirs... and accessing local logs.
4a3af0fb 119Requires: %{name} = %{version}-%{release}
1bbdd399 120Requires: %{name}-imagepaks
20145354 121Requires: %{name}-theme
156a07c5 122Requires: group(http)
d4363d96 123Requires: webapps
e785f9d9 124Requires: webserver
111ce231 125Requires: webserver(access)
e785f9d9
ER
126Requires: webserver(alias)
127Requires: webserver(auth)
128Requires: webserver(cgi)
129Requires: webserver(indexfile)
1b3d1540
TO
130
131%description cgi
0964d76f
JB
132CGI webinterface for Nagios.
133
eb034f05 134%description cgi -l pl.UTF-8
0964d76f 135Interfejs CGI dla Nagiosa.
1b3d1540 136
20145354
ER
137%package theme-default
138Summary: Default Nagios theme
a02dfee5 139Summary(pl.UTF-8): Domyślny motyw Nagiosa
7c33b67a 140Group: Applications/WWW
73072fcf 141Requires: nagios-cgi = %{version}-%{release}
60238ce7
JB
142Provides: nagios-theme
143Obsoletes: nagios-theme
20145354
ER
144
145%description theme-default
146Original theme from Nagios.
147
eb034f05 148%description theme-default -l pl.UTF-8
60238ce7
JB
149Oryginalny motyw z Nagiosa.
150
1b3d1540 151%package devel
e5fcc454 152Summary: Include files that Nagios-related applications may compile against
a02dfee5
ER
153Summary(pl.UTF-8): Pliki nagłówkowe, wykorzystywane przez aplikacje nagiosa
154Summary(pt_BR.UTF-8): Arquivos de cabeçalho necessários para desenvolvimento de aplicativos para o Nagios
1b3d1540 155Group: Development/Libraries
e1f9e4d5 156# doesn't require base
1b3d1540
TO
157
158%description devel
e5fcc454 159This package provides include files that Nagios-related applications
1b3d1540
TO
160may compile against.
161
eb034f05
JR
162%description devel -l pl.UTF-8
163Ten pakiet dostarcza pliki nagłówkowe, które mogą być wykorzystywane
164przez aplikacje związane z nagiosem podczas kompilacji.
1b3d1540 165
eb034f05
JR
166%description devel -l pt_BR.UTF-8
167Este pacote contém arquivos de cabeçalho usados no desenvolvimento de
1b3d1540
TO
168aplicativos para o Nagios.
169
170%prep
98d19e90 171%setup -q
b24b4667
ER
172%patch0 -p0
173%patch1 -p1
4a3af0fb 174%patch2 -p1
156a07c5
ER
175
176sed -i -e '
177 s,".*/var/rw/nagios.cmd,"%{_localstatedir}/rw/nagios.cmd,
178 s,".*/libexec/eventhandlers,"%{_libdir}/%{name}/eventhandlers,
179' $(find contrib/eventhandlers -type f)
1b3d1540 180
078e0b6e 181sed -e 's,%{_prefix}/lib/,%{_libdir}/,' %{SOURCE1} > apache.conf
e785f9d9 182sed -e 's,%{_prefix}/lib/,%{_libdir}/,' %{SOURCE6} > lighttpd.conf
078e0b6e 183
1b3d1540 184%build
156a07c5 185cp -f /usr/share/automake/config.sub .
a9824b3a
TO
186%{__aclocal}
187%{__autoconf}
188%configure \
1b3d1540
TO
189 --with-nagios-user=%{name} \
190 --with-nagios-grp=%{name} \
156a07c5
ER
191 --with-command-user=%{name} \
192 --with-command-grp=%{name} \
193 --with-lockfile=%{_localstatedir}/%{name}.pid \
0964d76f 194 --with-ping_command='/bin/ping -n %%s -c %%d' \
f4277206 195 --enable-event-broker \
e1f9e4d5 196 %{!?with_gd:--disable-statusmap --disable-trends}
1b3d1540
TO
197
198%{__make} all
199
200%install
201rm -rf $RPM_BUILD_ROOT
4a5ea7ae
ER
202install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{_webapps}/%{_webapp}} \
203 $RPM_BUILD_ROOT{%{_var}/log/%{name}/archives,%{_localstatedir}/rw} \
204 $RPM_BUILD_ROOT%{_sysconfdir}/{plugins,local} \
205 $RPM_BUILD_ROOT%{_libdir}/%{name}/{eventhandlers,plugins} \
206%if "%{_lib}" != "lib"
207 $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/{eventhandlers,plugins} \
208%endif
1b3d1540 209
4a5ea7ae 210install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
a937d63b 211install include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1b3d1540 212
aca04140 213%{__make} install-unstripped \
1b3d1540
TO
214 DESTDIR=$RPM_BUILD_ROOT \
215 INSTALL_OPTS="" \
216 INIT_OPTS="" \
217 COMMAND_OPTS=""
218
3f16fe73 219install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
156a07c5
ER
220install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
221install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}
222
223# install templated configuration files
3e125558 224tar jxf %{SOURCE5} --strip-components=1 -C $RPM_BUILD_ROOT%{_sysconfdir}
09b7a682 225sed -i -e 's,%{_prefix}/lib/,%{_libdir}/,' $RPM_BUILD_ROOT%{_sysconfdir}/resource.cfg
c0350ebc 226
31f3ed2f 227# webserver files
078e0b6e
ER
228install apache.conf $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
229install apache.conf $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
e785f9d9 230install lighttpd.conf $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/lighttpd.conf
31f3ed2f
ER
231mv $RPM_BUILD_ROOT{%{_sysconfdir}/cgi.cfg,%{_webapps}/%{_webapp}}
232> $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/passwd
233echo 'nagios:' > $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/group
156a07c5
ER
234
235# install event handlers
4a5ea7ae 236install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
156a07c5
ER
237cp -a contrib/eventhandlers $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
238
239# Object data/cache files
240for i in {objects.cache,{comments,downtime,retention,status}.dat,nagios.tmp}; do
241 > $RPM_BUILD_ROOT%{_localstatedir}/$i
b0a1a45f 242done
156a07c5 243> $RPM_BUILD_ROOT%{_localstatedir}/rw/nagios.cmd
e58661fb 244
1b3d1540
TO
245%clean
246rm -rf $RPM_BUILD_ROOT
247
1b3d1540 248%post
156a07c5
ER
249for i in %{_localstatedir}/{objects.cache,{comments,downtime,retention,status}.dat}; do
250 [ ! -f $i ] && touch $i
251 chown root:nagios $i
252 chmod 664 $i
253done
254
fe2307cb 255/sbin/chkconfig --add %{name}
09b7a682 256%service %{name} restart "Nagios service"
fe2307cb 257
1b3d1540
TO
258%preun
259if [ "$1" = "0" ] ; then
fe2307cb 260 %service %{name} stop
1b3d1540
TO
261 /sbin/chkconfig --del %{name}
262fi
263
901d97df
ER
264%pre common
265if [ "`getgid netsaint`" = "72" ]; then
266 /usr/sbin/groupmod -n nagios netsaint
267fi
268%groupadd -g 72 nagios
269%groupadd -g 147 -f nagios-data
270if [ -n "`id -u netsaint 2>/dev/null`" ] && [ "`id -u netsaint`" = "72" ]; then
3615cee8 271 /usr/sbin/usermod -d %{_libdir}/nagios -l nagios -c "Nagios Daemon" -G nagios-data netsaint
901d97df 272fi
3615cee8 273%useradd -u 72 -d %{_libdir}/nagios -s /bin/false -c "Nagios Daemon" -g nagios -G nagios-data nagios
901d97df
ER
274
275%postun common
4b3055f2 276if [ "$1" = "0" ]; then
56d92939 277 %userremove nagios
278 %groupremove nagios
156a07c5 279 %groupremove nagios-data
4b3055f2 280fi
281
7441a39b 282%post cgi
156a07c5
ER
283if [ "$1" = 1 ]; then
284%banner %{name} -e <<EOF
285NOTE:
31f3ed2f 286You need to add user to %{_webapps}/%{_webapp}/passwd and
fe2307cb 287%{_webapps}/%{_webapp}/group to access Nagios via web.
156a07c5
ER
288
289EOF
290fi
291
91b73a43 292%triggerin cgi -- apache1 < 1.3.37-3, apache1-base
a0abc943 293%addusertogroup http nagios-data
31f3ed2f 294%webapp_register apache %{_webapp}
26c807b6 295
91b73a43 296%triggerun cgi -- apache1 < 1.3.37-3, apache1-base
31f3ed2f 297%webapp_unregister apache %{_webapp}
26c807b6 298
44abff38 299%triggerin cgi -- apache < 2.2.0, apache-base
a0abc943 300%addusertogroup http nagios-data
31f3ed2f 301%webapp_register httpd %{_webapp}
26c807b6 302
44abff38 303%triggerun cgi -- apache < 2.2.0, apache-base
31f3ed2f 304%webapp_unregister httpd %{_webapp}
156a07c5 305
e785f9d9
ER
306%triggerin cgi -- lighttpd
307%addusertogroup lighttpd nagios-data
308%webapp_register lighttpd %{_webapp}
309
310%triggerun cgi -- lighttpd
311%webapp_unregister lighttpd %{_webapp}
312
156a07c5
ER
313%triggerpostun -- nagios-cgi < 2.0-0.b3.21
314chown root:http %{_sysconfdir}/cgi.cfg
315
316%triggerpostun -- nagios < 2.0-0.b3.21
317chown root:nagios %{_sysconfdir}/*.cfg
318chown root:nagios-data %{_sysconfdir}/nagios.cfg
319%addusertogroup nagios nagios-data
320
321# must unify nagios.cfg
322sed -i -e '
323s,^status_file=.*,status_file=%{_localstatedir}/status.dat,
324s,^comment_file=.*,comment_file=%{_localstatedir}/comments.dat,
325s,^downtime_file=.*,downtime_file=%{_localstatedir}/downtime.dat,
326s,^lock_file=.*,lock_file=%{_localstatedir}/nagios.pid,
327s,^temp_file=.*,temp_file=%{_localstatedir}/nagios.tmp,
328s,^state_retention_file=.*,state_retention_file=%{_localstatedir}/retention.dat,
329
330# option changes
331s,^log_passive_service_checks=,log_passive_checks=,
332s,^inter_check_delay_method=,service_inter_check_delay_method=,
333s,^use_agressive_host_checking=,use_aggressive_host_checking=,
334s,^freshness_check_interval=,service_freshness_check_interval=,
335
336' %{_sysconfdir}/nagios.cfg
337
338sed -i -e '
339s,\$DATETIME\$,$LONGDATETIME$,g
340s,Nagios/1.2,Nagios/%{version},g
341' %{_sysconfdir}/misccommands.cfg
342
343mv -f /var/log/nagios/status.log %{_localstatedir}/status.dat 2>/dev/null
344mv -f /var/log/nagios/comment.log %{_localstatedir}/comments.dat 2>/dev/null
345mv -f /var/log/nagios/downtime.log %{_localstatedir}/downtime.dat 2>/dev/null
346mv -f /var/run/nagios.pid %{_localstatedir}/nagios.pid 2>/dev/null
347mv -f /var/log/nagios/nagios.tmp %{_localstatedir}/nagios.tmp 2>/dev/null
348mv -f /var/log/nagios/status.sav %{_localstatedir}/retention.dat 2>/dev/null
349chown nagios:nagios %{_localstatedir}/nagios.pid 2>/dev/null
350chown nagios:nagios-data %{_localstatedir}/rw/nagios.cmd 2>/dev/null
351
09b7a682 352%service -q %{name} restart
7441a39b 353
b0d8c586
ER
354%banner -e %{name}-2.0 <<'EOF'
355Please read <http://nagios.sourceforge.net/docs/2_0/whatsnew.html>
356there are changes that no longer work in Nagios 2.0.
357
358You could also try use <http://oss.op5.se/nagios/object_config_fix.php.gz>
359to convert your config (yes i know it's too late to say it now, after
360the upgrade, but still :))
361EOF
362#'vim
156a07c5 363
31f3ed2f 364# webapps trigger
9ab8f7af 365%triggerpostun cgi -- %{name}-cgi < 2.0-0.b6.0.2
31f3ed2f
ER
366for i in cgi.cfg group passwd; do
367 if [ -f /etc/nagios/$i.rpmsave ]; then
368 mv -f %{_webapps}/%{_webapp}/$i{,.rpmnew}
369 mv -f /etc/nagios/$i.rpmsave %{_webapps}/%{_webapp}/$i
370 fi
371done
372
373# migrate from httpd (apache2) config dir
374if [ -f /etc/httpd/%{name}.conf.rpmsave ]; then
375 cp -f %{_webapps}/%{_webapp}/httpd.conf{,.rpmnew}
376 mv -f /etc/httpd/%{name}.conf.rpmsave %{_webapps}/%{_webapp}/httpd.conf
377fi
378
379# migrate from apache-config macros
380if [ -f /etc/%{name}/apache-nagios.conf.rpmsave ]; then
381 if [ -d /etc/apache/webapps.d ]; then
382 cp -f %{_webapps}/%{_webapp}/apache.conf{,.rpmnew}
383 cp -f /etc/%{name}/apache-nagios.conf.rpmsave %{_webapps}/%{_webapp}/apache.conf
384 fi
385
386 if [ -d /etc/httpd/webapps.d ]; then
387 cp -f %{_webapps}/%{_webapp}/httpd.conf{,.rpmnew}
388 cp -f /etc/%{name}/apache-nagios.conf.rpmsave %{_webapps}/%{_webapp}/httpd.conf
389 fi
390 rm -f /etc/%{name}/apache-nagios.conf.rpmsave
391fi
392
393# place new config location, as trigger puts config only on first install, do it here.
9ab8f7af
ER
394if [ -L /etc/apache/conf.d/99_%{name}.conf ]; then
395 rm -f /etc/apache/conf.d/99_%{name}.conf
31f3ed2f
ER
396 apache_reload=1
397fi
9ab8f7af
ER
398if [ -L /etc/httpd/httpd.conf/99_%{name}.conf ]; then
399 rm -f /etc/httpd/httpd.conf/99_%{name}.conf
31f3ed2f
ER
400 httpd_reload=1
401fi
402
31f3ed2f 403if [ "$apache_reload" ]; then
9ab8f7af 404 /usr/sbin/webapp register apache %{_webapp}
09b7a682 405 %service -q apache reload
31f3ed2f 406fi
9ab8f7af
ER
407if [ "$httpd_reload" ]; then
408 /usr/sbin/webapp register httpd %{_webapp}
09b7a682 409 %service -q httpd reload
9ab8f7af 410fi
31f3ed2f 411
1b3d1540
TO
412%files
413%defattr(644,root,root,755)
156a07c5 414%doc Changelog README* UPGRADING INSTALLING LICENSE
b762c83c 415%doc sample-config/template-object/{localhost,commands}.cfg
156a07c5
ER
416%attr(640,root,nagios-data) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nagios.cfg
417%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/[!n]*.cfg
156a07c5 418
3f16fe73 419%attr(754,root,root) /etc/rc.d/init.d/%{name}
156a07c5
ER
420%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
421
e1f9e4d5 422%attr(755,root,root) %{_bindir}/%{name}
156a07c5
ER
423%attr(755,root,root) %{_bindir}/nagiostats
424
31f3ed2f 425%attr(770,root,nagios-data) %dir %{_var}/log/%{name}
156a07c5
ER
426%attr(770,root,nagios-data) %dir %{_var}/log/%{name}/archives
427
428%attr(770,root,nagios-data) %dir %{_localstatedir}
429%attr(2770,root,nagios-data) %dir %{_localstatedir}/rw
3e125558 430%attr(660,nagios,nagios-data) %ghost %{_localstatedir}/rw/nagios.cmd
0d6cafeb
AM
431%attr(2770,root,nagios-data) %dir %{_localstatedir}/spool
432%attr(2770,root,nagios-data) %dir %{_localstatedir}/spool/checkresults
3e125558
ER
433%attr(664,root,nagios) %ghost %{_localstatedir}/objects.cache
434%attr(664,root,nagios) %ghost %{_localstatedir}/*.dat
435%attr(664,root,nagios) %ghost %{_localstatedir}/%{name}.tmp
156a07c5
ER
436
437%{_examplesdir}/%{name}-%{version}
438
901d97df
ER
439%files common
440%defattr(644,root,root,755)
441%attr(750,root,nagios-data) %dir %{_sysconfdir}
3e125558
ER
442%attr(2750,root,nagios) %dir %{_sysconfdir}/plugins
443%attr(2750,root,nagios) %dir %{_sysconfdir}/local
901d97df
ER
444%dir %{_libdir}/%{name}
445%dir %{_libdir}/%{name}/plugins
156a07c5 446%dir %{_libdir}/%{name}/eventhandlers
1b3d1540 447
4a5ea7ae
ER
448%if "%{_lib}" != "lib"
449%dir %{_prefix}/lib/%{name}
450%dir %{_prefix}/lib/%{name}/plugins
451%dir %{_prefix}/lib/%{name}/eventhandlers
452%endif
453
1b3d1540
TO
454%files cgi
455%defattr(644,root,root,755)
31f3ed2f
ER
456%dir %attr(750,root,http) %{_webapps}/%{_webapp}
457%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
458%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
e785f9d9 459%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/lighttpd.conf
31f3ed2f
ER
460%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/cgi.cfg
461%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/passwd
462%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/group
156a07c5
ER
463%dir %{_sbindir}
464%attr(755,root,root) %{_sbindir}/*.cgi
20145354
ER
465
466%dir %{_datadir}
73072fcf
ER
467%dir %{_datadir}/images
468%dir %{_datadir}/stylesheets
20145354
ER
469%{_datadir}/favicon.ico
470%{_datadir}/robots.txt
73072fcf
ER
471%{_datadir}/contexthelp
472%{_datadir}/docs
473%{_datadir}/media
474%{_datadir}/ssi
20145354
ER
475
476%files theme-default
477%defattr(644,root,root,755)
73072fcf
ER
478%{_datadir}/*.html
479%{_datadir}/images/*
480%{_datadir}/stylesheets/*
1b3d1540
TO
481
482%files devel
483%defattr(644,root,root,755)
484%dir %{_includedir}/%{name}
485%{_includedir}/%{name}/*.h
This page took 0.67418 seconds and 4 git commands to generate.