SPECS: amavisd-new.spec - add tmpwatch configuration
blues
blues at pld-linux.org
Wed May 31 15:14:33 CEST 2006
Author: blues Date: Wed May 31 13:14:33 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add tmpwatch configuration
---- Files affected:
SPECS:
amavisd-new.spec (1.99 -> 1.100)
---- Diffs:
================================================================
Index: SPECS/amavisd-new.spec
diff -u SPECS/amavisd-new.spec:1.99 SPECS/amavisd-new.spec:1.100
--- SPECS/amavisd-new.spec:1.99 Tue May 23 13:49:22 2006
+++ SPECS/amavisd-new.spec Wed May 31 15:14:28 2006
@@ -1,6 +1,8 @@
# $Revision$, $Date$
# TODO:
# - Add polish info mail templates
+# - move amavis part of tmpwatch configuration from tmpwatch.spec
+#
%include /usr/lib/rpm/macros.perl
Summary: A Mail Virus Scanner with SpamAssassin support - daemon
Summary(pl): Antywirusowy skaner poczty elektronicznej z obsługą SpamAssasina - demon
@@ -14,6 +16,7 @@
# Source0-md5: bf770a3c7eee8a9c93932a04485e6a35
Source1: %{name}.init
Source2: %{name}-milter.init
+Source3: %{name}.tmpwatch
Patch0: %{name}-config.patch
Patch1: %{name}-lib64.patch
Patch2: %{name}-tools-dbdir.patch
@@ -57,6 +60,8 @@
Conflicts: amavis-stats <= 0.1.12
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _tmpwatchdir /etc/tmpwatch
+
%description
AMaViS is a script that interfaces a mail transport agent (MTA) with
one or more virus scanners and SpamAssasin. This is daemonized version
@@ -105,7 +110,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_var}/spool/amavis/{runtime,virusmails,db},%{_var}/run/amavisd,/etc/rc.d/init.d,%{_sbindir}}
+install -d $RPM_BUILD_ROOT{%{_var}/spool/amavis/{runtime,virusmails,db},%{_var}/run/amavisd,/etc/rc.d/init.d,%{_sbindir},%{_tmpwatchdir}}
install amavisd $RPM_BUILD_ROOT%{_sbindir}
install amavisd-agent $RPM_BUILD_ROOT%{_sbindir}
@@ -115,6 +120,7 @@
install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/amavis-milter
install helper-progs/amavis $RPM_BUILD_ROOT%{_sbindir}
install helper-progs/amavis-milter $RPM_BUILD_ROOT%{_sbindir}
+install %{SOURCE3} $RPM_BUILD_ROOT%{_tmpwatchdir}/%{name}.conf
%clean
rm -rf $RPM_BUILD_ROOT
@@ -155,6 +161,7 @@
%attr(755,root,root) %{_sbindir}/amavisd*
%attr(754,root,root) /etc/rc.d/init.d/amavisd
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/amavisd.conf
+%config(noreplace) %verify(not md5 mtime size) %{_tmpwatchdir}/%{name}.conf
%attr(750,amavis,amavis) %{_var}/spool/amavis
%attr(750,amavis,amavis) %{_var}/run/amavisd
@@ -170,6 +177,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.100 2006/05/31 13:14:28 blues
+- add tmpwatch configuration
+
Revision 1.99 2006/05/23 11:49:22 blues
- rel.1 - builds, works
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/amavisd-new.spec?r1=1.99&r2=1.100&f=u
More information about the pld-cvs-commit
mailing list