OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 23-May-2004 13:09:19
Branch: HEAD Handle: 2004052312091800
Modified files:
openpkg-src/clamav clamav.spec
Log:
new URL; fix clamav.conf substs; install freshclam.conf, too
Summary:
Revision Changes Path
1.25 +13 -5 openpkg-src/clamav/clamav.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/clamav/clamav.spec
============================================================================
$ cvs diff -u -r1.24 -r1.25 clamav.spec
--- openpkg-src/clamav/clamav.spec 19 May 2004 07:48:55 -0000 1.24
+++ openpkg-src/clamav/clamav.spec 23 May 2004 11:09:18 -0000 1.25
@@ -26,7 +26,7 @@
# package information
Name: clamav
Summary: Clam Antivirus
-URL: http://clamav.sourceforge.net/
+URL: http://www.clamav.net/
Vendor: Tomasz Kojm
Packager: The OpenPKG Project
Distribution: OpenPKG
@@ -34,7 +34,7 @@
Group: Filesystem
License: GPL
Version: 0.71
-Release: 20040519
+Release: 20040523
# list of sources
Source0: http://osdn.dl.sourceforge.net/clamav/clamav-%{version}.tar.gz
@@ -103,13 +103,21 @@
$RPM_BUILD_ROOT%{l_prefix}/etc/clamav
%{l_shtool} install -c -m 644 \
-e 's;^\(Example\);#\1;' \
- -e 's;^#\(LogFile\).*;\1 %{l_prefix}/var/clamav/clamd.log;' \
+ -e 's;^#\(LogFile\) /.*;\1 %{l_prefix}/var/clamav/clamd.log;' \
+ -e 's;^#\(LogTime\).*;\1;' \
-e 's;^#\(PidFile\).*;\1 %{l_prefix}/var/clamav/clamd.pid;' \
-e 's;^\(LocalSocket\).*;\1 %{l_prefix}/var/clamav/clamd.sock;' \
- -e 's;^#\(DataDirectory\).*;\1 %{l_prefix}/share/clamav;' \
+ -e 's;^#\(FixStaleSocket\).*;\1;' \
+ -e 's;^#\(DatabaseDirectory\).*;\1 %{l_prefix}/share/clamav;' \
-e 's;^#\(User\).*;\1 %{l_rusr};' \
etc/clamav.conf \
$RPM_BUILD_ROOT%{l_prefix}/etc/clamav/
+ %{l_shtool} install -c -m 644 \
+ -e 's;^#\(DatabaseDirectory\).*;\1 %{l_prefix}/share/clamav;' \
+ -e 's;^#\(UpdateLogFile\).*;\1 %{l_prefix}/var/clamav/freshclam.log;' \
+ -e 's;^#\(NotifyClamd\).*;\1 %{l_prefix}/etc/clamav/clamav.conf;' \
+ etc/freshclam.conf \
+ $RPM_BUILD_ROOT%{l_prefix}/etc/clamav/
# install run-command script
%{l_shtool} mkdir -f -p -m 755 \
@@ -129,7 +137,7 @@
# determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
- '%config %{l_prefix}/etc/clamav/clamav.conf' \
+ '%config %{l_prefix}/etc/clamav/*.conf' \
'%attr(755,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/clamav' \
'%attr(755,%{l_rusr},%{l_rgrp}) %{l_prefix}/share/clamav'
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]