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