Author: glen Date: Sun Nov 5 15:26:01 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - package /usr/bin/clamconf
---- Files affected: SPECS: clamav.spec (1.195 -> 1.196) ---- Diffs: ================================================================ Index: SPECS/clamav.spec diff -u SPECS/clamav.spec:1.195 SPECS/clamav.spec:1.196 --- SPECS/clamav.spec:1.195 Sun Nov 5 16:16:58 2006 +++ SPECS/clamav.spec Sun Nov 5 16:25:56 2006 @@ -1,6 +1,7 @@ # $Revision$, $Date$ # TODO: -# Make freshclam (script and daemon) +# - Make freshclam (script and daemon) +# - trigger for 0.90 config # # Conditional build: %bcond_without milter # build without milter subpackage @@ -18,7 +19,7 @@ Epoch: 0 License: GPL Group: Applications -Source0: http://dl.sourceforge.net/clamav/%{name}-%{version}%{?_rc}.tar.gz +Source0: http://dl.sourceforge.net/clamav/%{name}-%{version}%{_rc}.tar.gz # Source0-md5: 91da47456ed28a7cfbfe17b033e15121 Source1: %{name}.init Source2: %{name}.sysconfig @@ -180,7 +181,7 @@ DESTDIR=$RPM_BUILD_ROOT %{!?with_milter:rm -f $RPM_BUILD_ROOT%{_mandir}/man8/clamav-milter.8*} -cat <<EOF >$RPM_BUILD_ROOT/etc/cron.d/%{name} +cat <<'EOF' >$RPM_BUILD_ROOT/etc/cron.d/%{name} 5 * * * * root %{_sbindir}/clamav-cron-updatedb EOF @@ -205,9 +206,9 @@ # NOTE: clamd uses sane rights to it's clamd.pid file # So better keep it dir # If it is fixed use of dir will be unecesary -install -d $RPM_BUILD_ROOT%{_var}/run/%{name} +install -d $RPM_BUILD_ROOT/var/run/%{name} -:> $RPM_BUILD_ROOT%{_var}/log/freshclam.log +:> $RPM_BUILD_ROOT/var/log/freshclam.log %clean rm -rf $RPM_BUILD_ROOT @@ -250,9 +251,9 @@ %post /sbin/chkconfig --add clamd %service clamd restart "Clam Antivirus daemon" -touch %{_var}/log/freshclam.log -chown clamav:root %{_var}/log/freshclam.log -chmod 640 %{_var}/log/freshclam.log +touch /var/log/freshclam.log +chown clamav:root /var/log/freshclam.log +chmod 640 /var/log/freshclam.log %preun if [ "$1" = "0" ]; then @@ -297,11 +298,12 @@ %attr(755,root,root) %{_bindir}/clamscan %attr(755,root,root) %{_bindir}/freshclam %attr(755,root,root) %{_bindir}/sigtool +%attr(755,root,root) %{_bindir}/clamconf %attr(755,root,root) %{_sbindir}/clamd %attr(755,root,root) %{_sbindir}/clamav-cron-updatedb %attr(755,clamav,root) %dir /var/lib/%{name} -%attr(640,clamav,root) %ghost %{_var}/log/freshclam.log -%attr(750,clamav,clamav) %dir %{_var}/run/%{name} +%attr(640,clamav,root) %ghost /var/log/freshclam.log +%attr(750,clamav,clamav) %dir /var/run/%{name} %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name} %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/clamd.conf @@ -355,6 +357,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.196 2006/11/05 15:25:56 glen +- package /usr/bin/clamconf + Revision 1.195 2006/11/05 15:16:58 glen - clamav-0.90rc2 tarball ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/clamav.spec?r1=1.195&r2=1.196&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
