]> git.pld-linux.org Git - packages/dspam.git/blame - dspam.spec
- fix build with new autotools (thx megabajt)
[packages/dspam.git] / dspam.spec
CommitLineData
229005d4 1# TODO:
023b5b9c 2# - it does not build with new autotools. Workaround: use configure provided
3# by dspam sources
db5b0be0 4# - support for libdclassify
526e9159 5# - oracle driver
15cf3cba 6# - messages from default install of cron with mysql driver Memory fault
e087d69c
ER
7# - installing dspam and dspam-client on same host causes
8# /etc/dspam.conf being owned by both packages and .rpmnew files being
9# created. move the config to -libs? -common? patch code to use
10# different config for client?
c66382e4
PS
11#
12# Conditional build:
f8aabeb4
JB
13%bcond_without mysql # disable MySQL storage driver
14%bcond_without pgsql # disable PostgreSQL storage driver
15%bcond_without sqlite # disable SQLite3 storage driver
5fe98dd6 16%bcond_with mysql40 # use with mysql 4.0
f8aabeb4 17#
15cf3cba 18%include /usr/lib/rpm/macros.perl
782a8c09 19Summary: A library and Mail Delivery Agent for Bayesian spam filtering
598ee430 20Summary(pl.UTF-8): Biblioteka i MDA do bayesowskiego filtrowania spamu
782a8c09 21Name: dspam
462e3076 22Version: 3.8.0
411ba1ca 23Release: 0.1
782a8c09
AM
24License: GPL
25Group: Applications/Mail
4a7592fa 26Source0: http://dspam.nuclearelephant.com/sources/%{name}-%{version}.tar.gz
462e3076 27# Source0-md5: 056b8c8b3ad9415a52c01b22ff1e64cf
15cf3cba 28Patch0: %{name}-webui.patch
e087d69c 29Patch1: %{name}-config.patch
3857584b 30Patch2: %{name}-speedup.patch
6d23db82 31Source1: %{name}.init
15cf3cba 32Source2: %{name}-apache.conf
4a7592fa 33URL: http://dspam.nuclearelephant.com/
6d23db82
AM
34BuildRequires: autoconf
35BuildRequires: automake
db5b0be0 36BuildRequires: clamav-devel
786a7fbe 37BuildRequires: libtool
526e9159 38%{?with_mysql:BuildRequires: mysql-devel}
8d4dab95 39BuildRequires: openldap-devel >= 2.4.6
526e9159 40%{?with_pgsql:BuildRequires: postgresql-devel}
15cf3cba 41BuildRequires: rpm-perlprov >= 4.1-13
cc754752 42BuildRequires: rpmbuild(macros) >= 1.268
f8aabeb4 43BuildRequires: sed >= 4.0
526e9159 44%{?with_sqlite:BuildRequires: sqlite3-devel}
db5b0be0 45BuildRequires: zlib-devel
786a7fbe 46Requires(post,preun): /sbin/chkconfig
8b918ab1 47Requires: %{name}-driver = %{version}-%{release}
786a7fbe 48Requires: rc-scripts
782a8c09
AM
49Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50
15cf3cba
ER
51%define _webapps /etc/webapps
52%define _webapp %{name}
53
782a8c09
AM
54%description
55DSPAM (as in De-Spam) is an open-source project to create a new kind
56of anti-spam mechanism, and is currently effective as both a
57server-side agent for UNIX email servers and a developer's library for
58mail clients, other anti-spam tools, and similar projects requiring
59drop-in spam filtering.
60
61The DSPAM agent masquerades as the email server's local delivery agent
62and filters/learns spams using an advanced Bayesian statistical
be22be94 63approach (based on Bayes's theorem of combined probabilities) which
782a8c09
AM
64provides an administratively maintenance-free, easy-learning Anti-Spam
65service custom tailored to each individual user's behavior. Advanced
66because on top of standard Bayesian filtering is also incorporated the
67use of Chained Tokens, de-obfuscation, and other enhancements. DSPAM
68works great with Sendmail and Exim, and should work well with any
69other MTA that supports an external local delivery agent (postfix,
70qmail, etc.)
71
8e90da8a
JR
72%description -l pl.UTF-8
73DSPAM (czyli De-Spam) to projekt o otwartych źródłach mający na celu
be22be94 74stworzenie nowego rodzaju mechanizmu antyspamowego. Aktualnie jest
8e90da8a
JR
75efektywny zarówno jako działający po stronie serwera agent dla
76uniksowych serwerów pocztowych jak i biblioteka dla programistów
77klientów pocztowych, innych narzędzi antyspamowych i innych projektów
78wymagających filtrowania spamu w locie.
79
80Agent DSPAM zachowuje się jak lokalny agent dostarczania poczty (MDA)
81i filtruje/uczy się spamu przy użyciu zaawansowanego bayesowskiego
82przybliżenia statystycznego (opartego na twierdzeniu Bayesa o
83połączonych prawdopodobieństwach), dając nie wymagającą obsługi
84administracyjnej, łatwo uczącą się usługę antyspamową dostosowaną do
85zachowania każdego użytkownika. Metoda jest zaawansowana ponieważ na
86podstawie standardowego filtrowania bayesowskiego wprowadzono użycie
87tokenów łańcuchowych, eliminowanie ukrywanie i inne rozszerzenia.
88DSPAM działa wspaniale z Sendmailem i Eximem, powinien działać dobrze
89z każdym innym MTA obsługującym zewnętrznego agenta MDA (postfiksem,
be22be94
JB
90qmailem itd.).
91
6d23db82 92%package client
a109c72f 93Summary: dspam client
598ee430 94Summary(pl.UTF-8): Klient dspam
a109c72f 95Group: Applications/Mail
6d23db82 96# to get the same dspam.conf when both installed
6d23db82 97Conflicts: dspam < %{version}-%{release}
786a7fbe 98Conflicts: dspam > %{version}-%{release}
6d23db82
AM
99
100%description client
101dspam client.
102
8e90da8a 103%description client -l pl.UTF-8
6d23db82
AM
104Klient dspam.
105
782a8c09 106%package libs
be22be94 107Summary: A library for Bayesian spam filtering
598ee430 108Summary(pl.UTF-8): Biblioteka do bayesowskiego filtrowania spamu
782a8c09 109Group: Libraries
bcb1bcd3 110Obsoletes: dspam-driver-db
782a8c09
AM
111
112%description libs
113DSPAM (as in De-Spam) is an open-source project to create a new kind
114of anti-spam mechanism, and is currently effective as both a
115server-side agent for UNIX email servers and a developer's library for
116mail clients, other anti-spam tools, and similar projects requiring
117drop-in spam filtering.
118
be22be94
JB
119This package contains the library.
120
8e90da8a
JR
121%description libs -l pl.UTF-8
122DSPAM (czyli De-Spam) to projekt o otwartych źródłach mający na celu
be22be94 123stworzenie nowego rodzaju mechanizmu antyspamowego. Aktualnie jest
8e90da8a
JR
124efektywny zarówno jako działający po stronie serwera agent dla
125uniksowych serwerów pocztowych jak i biblioteka dla programistów
126klientów pocztowych, innych narzędzi antyspamowych i innych projektów
127wymagających filtrowania spamu w locie.
be22be94 128
8e90da8a 129Ten pakiet zawiera wspomnianą bibliotekę.
782a8c09
AM
130
131%package devel
be22be94 132Summary: Header files for the DSPAM library
598ee430 133Summary(pl.UTF-8): Pliki nagłówkowe biblioteki DSPAM
782a8c09
AM
134Group: Development/Libraries
135Requires: %{name}-libs = %{version}-%{release}
136
137%description devel
138DSPAM has had its core engine moved into a separate library, libdspam.
139This library can be used by developers to provide 'drop-in' spam
140filtering for their mail client applications, other anti-spam tools,
141or similar projects.
142
8e90da8a
JR
143%description devel -l pl.UTF-8
144Główny silnik DSPAM został przeniesiony do oddzielnej biblioteki
145libdspam, która może być używana przez programistów do zapewnienia
146filtrowania spamu w locie dla aplikacji klientów pocztowych, innych
147narzędzi antyspamowych i podobnych projektów.
be22be94
JB
148
149%package static
150Summary: Static DSPAM library
598ee430 151Summary(pl.UTF-8): Statyczna biblioteka DSPAM
be22be94
JB
152Group: Development/Libraries
153Requires: %{name}-devel = %{version}-%{release}
154
155%description static
156Static DSPAM library.
157
8e90da8a 158%description static -l pl.UTF-8
be22be94
JB
159Statyczna biblioteka DSPAM.
160
db5b0be0
AM
161%package driver-hash
162Summary: HASH driver for DSPAM
598ee430 163Summary(pl.UTF-8): Sterownik HASH dla DSPAM-a
db5b0be0 164Group: Libraries
f0445c01 165Requires(post): sed >= 4.0
8b918ab1 166Requires: %{name} = %{version}-%{release}
db5b0be0
AM
167Provides: %{name}-driver = %{version}-%{release}
168
169%description driver-hash
170HASH driver for DSPAM.
171
8e90da8a 172%description driver-hash -l pl.UTF-8
f8aabeb4
JB
173Sterownik HASH dla DSPAM-a.
174
db5b0be0
AM
175%package driver-mysql
176Summary: MySQL driver for DSPAM
598ee430 177Summary(pl.UTF-8): Sterownik MySQL dla DSPAM-a
db5b0be0 178Group: Libraries
f0445c01 179Requires(post): sed >= 4.0
8b918ab1 180Requires: %{name} = %{version}-%{release}
db5b0be0
AM
181Provides: %{name}-driver = %{version}-%{release}
182
183%description driver-mysql
184MySQL driver for DSPAM.
185
8e90da8a 186%description driver-mysql -l pl.UTF-8
f8aabeb4
JB
187Sterownik MySQL dla DSPAM-a.
188
db5b0be0
AM
189%package driver-pgsql
190Summary: PostgreSQL driver for DSPAM
598ee430 191Summary(pl.UTF-8): Sterownik PostgreSQL dla DSPAM-a
db5b0be0 192Group: Libraries
f0445c01 193Requires(post): sed >= 4.0
8b918ab1 194Requires: %{name} = %{version}-%{release}
db5b0be0
AM
195Provides: %{name}-driver = %{version}-%{release}
196
197%description driver-pgsql
198PostgreSQL driver for DSPAM.
199
8e90da8a 200%description driver-pgsql -l pl.UTF-8
f8aabeb4
JB
201Sterownik PostgreSQL dla DSPAM-a.
202
db5b0be0
AM
203%package driver-sqlite
204Summary: SQLite driver for DSPAM
598ee430 205Summary(pl.UTF-8): Sterownik SQLite dla DSPAM-a
db5b0be0 206Group: Libraries
f0445c01 207Requires(post): sed >= 4.0
8b918ab1 208Requires: %{name} = %{version}-%{release}
db5b0be0
AM
209Provides: %{name}-driver = %{version}-%{release}
210
211%description driver-sqlite
212SQLite driver for DSPAM.
213
8e90da8a 214%description driver-sqlite -l pl.UTF-8
f8aabeb4
JB
215Sterownik SQLite dla DSPAM-a.
216
15cf3cba 217%package webui
0fdbb95f 218Summary: DSPAM Web UI
598ee430 219Summary(pl.UTF-8): Interfejs WWW do programu DSPAM
15cf3cba
ER
220Group: Applications/WWW
221Requires: webapps
0fdbb95f
ER
222# needs dspam binary
223Requires: %{name} = %{version}-%{release}
15cf3cba
ER
224
225%description webui
226The Web UI (CGI client) can be run from any executable location on a
227web server, and detects its user's identity from the REMOTE_USER
228environment variable. This means you'll need to use HTTP password
229authentication to access the CGI (Any type of authentication will
230work, so long as Apache supports the module). This is also convenient
231in that you can set up authentication using almost any existing system
232you have. The only catch is that you'll need the usernames to match
233the actual DSPAM usernames used the system. A copy of the shadow
234password file will suffice for most common installs.
235
8e90da8a
JR
236%description webui -l pl.UTF-8
237Interfejs użytkownika WWW (klient CGI) może być uruchamiany z
238dowolnego wykonywalnego miejsca na serwerze WWW i rozpoznaje tożsamość
239użytkownika ze zmiennej środowiskowej REMOTE_USER. Oznacza to, że
240trzeba użyć uwietrzytelnienia HTTP z hasłem do dostępu do CGI (działać
241będzie dowolny rodzaj uwierzytelnienia obsługiwany przez moduły
242Apache'a). Jest to o tyle wygodne, że można skonfigurować
243uwierzytelnianie dla prawie każdego istniejącego systemu. Jedynym
244wymogiem jest, żeby nazwy użytkowników pokrywały się z nazwami
245użytkowników DSPAM-a używanymi w systemie. Kopia pliku shadow
246wystarczy dla większości popularnych instalacji.
70a25296 247
782a8c09
AM
248%prep
249%setup -q
15cf3cba 250%patch0 -p1
e087d69c 251%patch1 -p1
3857584b 252%patch2 -p1
6d23db82 253sed -i -e 's#\-static##g' src/Makefile* src/*/Makefile*
5fe98dd6 254%{?with_mysql40:sed -i -e 's#40100#99999#g' src/mysql_drv.c}
1e8d0a98 255sed -i -e 's,/usr/local/dspam/bin,/usr/bin,' ./scripts/train.pl
782a8c09
AM
256
257%build
6d23db82
AM
258%{__libtoolize}
259%{__aclocal} -I m4
260%{__autoconf}
261%{__automake}
f0445c01
ER
262
263DRIVERS="
264hash_drv
f0445c01
ER
265%{?with_mysql:mysql_drv}
266%{?with_pgsql:pgsql_drv}
267%{?with_sqlite:sqlite_drv}
268"
c66382e4 269%configure \
0fdbb95f 270 --disable-dependency-tracking \
994bfba1 271 %{?debug: --enable-debug --enable-bnr-debug --enable-verbose-debug} \
be22be94 272 --enable-trusted-user-security \
be22be94
JB
273 --enable-bias \
274 --enable-large-scale \
be22be94
JB
275 --with-userdir=/var/lib/%{name} \
276 --with-userdir-owner=none \
277 --with-userdir-group=none \
f0445c01
ER
278 --with-dspam-home=/var/lib/%{name} \
279 --with-dspam-home-owner=none \
280 --with-dspam-home-group=none \
be22be94
JB
281 --with-dspam-owner=none \
282 --with-dspam-group=none \
283 --with-signature-life=14 \
db5b0be0
AM
284 --enable-ldap \
285 --enable-clamav \
286 --enable-preferences-extension \
287 --enable-long-usernames \
994bfba1 288 --enable-neural-networking \
f0445c01
ER
289 --enable-virtual-users \
290 --with-storage-driver=$(echo $DRIVERS | tr ' ' ',') \
db5b0be0 291%if %{with mysql}
be22be94 292 --with-mysql-includes=%{_includedir}/mysql \
db5b0be0 293 --with-mysql-libraries=%{_libdir} \
526e9159 294%endif
ad84258d 295%if %{with pgsql}
2dd25777 296 --with-pgsql-includes=%{_includedir}/postgresql \
db5b0be0 297 --with-pgsql-libraries=%{_libdir} \
526e9159 298%endif
6d23db82 299%if %{with sqlite}
6c5841c4 300 --with-sqlite3-includes=%{_includedir} \
db5b0be0 301 --with-sqlite3-libraries=%{_libdir} \
c66382e4 302%endif
db5b0be0
AM
303 --enable-daemon
304
305# --enable-dclassify-extension needs libdclassify
306
782a8c09
AM
307%{__make}
308
309%install
310rm -rf $RPM_BUILD_ROOT
1e8d0a98 311install -d $RPM_BUILD_ROOT{/var/run/dspam,/etc/{rc.d/init.d,sysconfig}} \
3857584b 312 $RPM_BUILD_ROOT/var/lib/%{name}/{txt,data}
782a8c09 313
b68e9706
AM
314%{__make} install \
315 DESTDIR=$RPM_BUILD_ROOT
782a8c09 316
6d23db82
AM
317install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dspam
318
3857584b
ER
319cp -a txt/*.txt $RPM_BUILD_ROOT/var/lib/%{name}/txt
320
782a8c09 321# install devel files
3a63f112 322install -d $RPM_BUILD_ROOT{%{_includedir}/%{name},/var/{log,lib}/%{name}}
c8020429 323install src/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
782a8c09
AM
324
325# provide maintenance scripts
e087d69c 326install -d $RPM_BUILD_ROOT/etc/cron.{daily,weekly}
43a9bb3e 327cat > $RPM_BUILD_ROOT/etc/cron.daily/%{name} <<EOF
782a8c09 328#!/bin/sh
db3f75b1 329exec %{_bindir}/%{name}_clean -s -p
782a8c09
AM
330EOF
331
be22be94 332chmod 755 $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/%{name}
782a8c09 333
782a8c09 334# fix purge stuff
c8020429 335#install dspam-cron.weekly $RPM_BUILD_ROOT%{_sysconfdir}/cron.weekly/%{name}
b266c73e
PS
336
337%if %{with mysql}
be22be94 338cat > $RPM_BUILD_ROOT/var/lib/%{name}/mysql.data <<EOF
782a8c09
AM
339_UNCONFIGURED_
340
341Note!
342
343This file can only contain 5 lines with the following values:
344
345HOSTNAME
346PORT
347USERNAME
348PASSWORD
349DATABASE
350EOF
b266c73e 351%endif
782a8c09 352
2dd25777 353%if %{with pgsql}
2dd25777
SP
354cat > $RPM_BUILD_ROOT/var/lib/%{name}/pgsql.data <<EOF
355_UNCONFIGURED_
356
357Note!
358
359This file can only contain 5 lines with the following values:
360
361HOSTNAME
362PORT
363USERNAME
364PASSWORD
365DATABASE
366EOF
367%endif
368
15cf3cba
ER
369install -d $RPM_BUILD_ROOT%{_webapps}/%{_webapp}
370install %{SOURCE2} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
371install %{SOURCE2} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
372touch $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/htpasswd
373
6d23db82
AM
374%post
375/sbin/chkconfig --add dspam
cc754752 376%service dspam restart "dspam daemon"
6d23db82
AM
377
378%preun
379if [ "$1" = "0" ]; then
cc754752 380 %service dspam stop
526e9159 381 /sbin/chkconfig --del dspam
6d23db82
AM
382fi
383
782a8c09 384%clean
be22be94
JB
385rm -rf $RPM_BUILD_ROOT
386
387%post libs -p /sbin/ldconfig
388%postun libs -p /sbin/ldconfig
782a8c09 389
f0445c01 390%post driver-hash
462e3076 391%{__sed} -i -e '/^StorageDriver/s,/.*\.so,%{_libdir}/libhash_drv.so,' /etc/dspam.conf
f0445c01
ER
392
393%post driver-mysql
462e3076 394%{__sed} -i -e '/^StorageDriver/s,/.*\.so,%{_libdir}/libmysql_drv.so,' /etc/dspam.conf
f0445c01
ER
395
396%post driver-pgsql
462e3076 397%{__sed} -i -e '/^StorageDriver/s,/.*\.so,%{_libdir}/libpgsql_drv.so,' /etc/dspam.conf
f0445c01
ER
398
399%post driver-sqlite
462e3076 400%{__sed} -i -e '/^StorageDriver/s,/.*\.so,%{_libdir}/libsqlite_drv.so,' /etc/dspam.conf
f0445c01 401
769bc997 402%triggerin webui -- apache1 < 1.3.37-3, apache1-base
15cf3cba
ER
403%webapp_register apache %{_webapp}
404
769bc997 405%triggerun webui -- apache1 < 1.3.37-3, apache1-base
15cf3cba
ER
406%webapp_unregister apache %{_webapp}
407
408%triggerin webui -- apache < 2.2.0, apache-base
409%webapp_register httpd %{_webapp}
410
411%triggerun webui -- apache < 2.2.0, apache-base
412%webapp_unregister httpd %{_webapp}
413
782a8c09
AM
414%files
415%defattr(644,root,root,755)
6c5841c4 416%doc README CHANGELOG RELEASE.NOTES UPGRADING
db5b0be0 417%doc doc/{courier,exim,markov,pop3filter,postfix,qmail,relay,sendmail}.txt
1e8d0a98 418%doc scripts/train.pl
627b94f1 419%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dspam.conf
e087d69c 420%dir %attr(775,root,mail) /var/run/dspam
1e8d0a98
ER
421%dir %attr(750,root,mail) /var/lib/%{name}
422%dir %attr(770,root,mail) /var/lib/%{name}/data
3857584b
ER
423%dir /var/lib/%{name}/txt
424%config(noreplace) %verify(not md5 mtime size) /var/lib/%{name}/txt/*.txt
3a63f112 425%dir %attr(770,root,mail) /var/log/dspam
e087d69c 426%attr(754,root,root) /etc/rc.d/init.d/dspam
43a9bb3e 427%attr(755,root,root) %config(noreplace) /etc/cron.daily/%{name}
9c99041b
AM
428%attr(755,root,root) %{_bindir}/%{name}
429%attr(755,root,root) %{_bindir}/%{name}_logrotate
be22be94 430%attr(755,root,root) %{_bindir}/%{name}_clean
be22be94
JB
431%attr(755,root,root) %{_bindir}/%{name}_crc
432%attr(755,root,root) %{_bindir}/%{name}_dump
be22be94
JB
433%attr(755,root,root) %{_bindir}/%{name}_stats
434%attr(755,root,root) %{_bindir}/%{name}_merge
ca8f3468 435%attr(755,root,root) %{_bindir}/%{name}_2sql
6c5841c4 436%attr(755,root,root) %{_bindir}/%{name}_admin
afb1dbdc 437%attr(755,root,root) %{_bindir}/%{name}_train
dcc5a193 438%{_mandir}/man?/%{name}*
782a8c09 439
6d23db82
AM
440%files client
441%defattr(644,root,root,755)
6d23db82 442%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dspam.conf
9c99041b 443%attr(755,root,root) %{_bindir}/%{name}c
6d23db82 444
782a8c09
AM
445%files libs
446%defattr(644,root,root,755)
ca8f3468 447%doc README CHANGELOG
be22be94 448%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
db5b0be0 449%attr(755,root,root) %exclude %{_libdir}/lib*_drv*.so*
782a8c09
AM
450
451%files devel
452%defattr(644,root,root,755)
be22be94 453%attr(755,root,root) %{_libdir}/lib*.so
db5b0be0 454%attr(755,root,root) %exclude %{_libdir}/lib*_drv*.so*
be22be94
JB
455%{_libdir}/lib*.la
456%{_includedir}/%{name}
dcc5a193 457%{_mandir}/man3/libdspam*
b68e9706 458%{_pkgconfigdir}/*.pc
be22be94
JB
459
460%files static
461%defattr(644,root,root,755)
462%{_libdir}/lib*.a
db5b0be0
AM
463
464%files driver-hash
465%defattr(644,root,root,755)
466%attr(755,root,root) %{_bindir}/css*
467%attr(755,root,root) %{_libdir}/libhash_drv*.so*
468
db5b0be0
AM
469%if %{with mysql}
470%files driver-mysql
471%defattr(644,root,root,755)
472%doc doc/mysql_drv.txt src/tools.mysql_drv/*.sql
473%attr(640,root,mail) %config(noreplace) /var/lib/%{name}/mysql.data
474%attr(755,root,root) %{_libdir}/libmysql_drv*.so*
475%endif
476
477%if %{with pgsql}
478%files driver-pgsql
479%defattr(644,root,root,755)
480%doc doc/pgsql_drv.txt src/tools.pgsql_drv/*.sql
481%attr(640,root,mail) %config(noreplace) /var/lib/%{name}/pgsql.data
482%attr(755,root,root) %{_bindir}/%{name}_pg2int8
483%attr(755,root,root) %{_libdir}/libpgsql_drv*.so*
484%endif
485
486%if %{with sqlite}
487%files driver-sqlite
488%defattr(644,root,root,755)
489%doc doc/sqlite_drv.txt
490%attr(755,root,root) %{_libdir}/libsqlite_drv*.so*
491%endif
15cf3cba
ER
492
493%files webui
494%defattr(644,root,root,755)
495%dir %attr(750,root,http) %{_webapps}/%{_webapp}
496%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
497%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
0fdbb95f
ER
498%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/htpasswd
499%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/admins
500%attr(660,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/default.prefs
501%config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/configure.pl
15cf3cba
ER
502
503%dir %{_datadir}/dspam
504%dir %{_datadir}/dspam/cgi
505%attr(755,root,root) %{_datadir}/dspam/cgi/*.cgi
506%{_datadir}/dspam/cgi/templates
507%{_datadir}/dspam/htdocs
This page took 0.117419 seconds and 4 git commands to generate.