68d2aa4
## $Id: clamav.spec,v 1.56 2007/07/17 07:27:38 ensc Exp $
6151a28
6151a28
## Fedora Extras specific customization below...
f294c9e
%bcond_without       fedora
6151a28
##
6151a28
8dcc3a4
%global username	clamav
8dcc3a4
%global homedir		%_var/lib/clamav
8dcc3a4
%global freshclamlog	%_var/log/freshclam.log
8dcc3a4
%global milterlog	%_var/log/clamd.milter
8dcc3a4
%global milteruser	clamilt
8dcc3a4
%global milterstatedir	%_var/run/clamav-milter
8dcc3a4
%global pkgdatadir	%_datadir/%name
cvsextras 47272f4
bd5909f
8fb84a2
%{!?release_func:%global release_func() %1%{?dist}}
bd5909f
cvsextras 47272f4
Summary:	End-user tools for the Clam Antivirus scanner
cvsextras 47272f4
Name:		clamav
68d2aa4
Version:	0.91.2
68d2aa4
Release:	%release_func 1
efa447f
cvsextras 47272f4
License:	GPL
cvsextras 47272f4
Group:		Applications/File
cvsextras 47272f4
URL:		http://www.clamav.net
0172997
Source0:	http://download.sourceforge.net/sourceforge/clamav/%name-%version.tar.gz
0172997
Source999:	http://download.sourceforge.net/sourceforge/clamav/%name-%version.tar.gz.sig
cvsextras 47272f4
Source1:	clamd-wrapper
cvsextras 47272f4
Source2:	clamd.sysconfig
cvsextras 47272f4
Source3:	clamd.logrotate
cvsextras 47272f4
Source5:	clamd-README
cvsextras 47272f4
Source6:	clamav-update.logrotate
cvsextras 47272f4
Source7:	clamd.SERVICE.init
cvsextras 47272f4
Source8:	clamav-notify-servers
cvsextras 47272f4
Patch21:	clamav-0.70-path.patch
6151a28
Patch22:	clamav-0.80-initoff.patch
8aa983a
Patch24:	clamav-0.90rc3-private.patch
f294c9e
BuildRoot:	%_tmppath/%name-%version-%release-root
f294c9e
Requires:	clamav-lib = %version-%release
cvsextras 47272f4
Requires:	data(clamav)
319d6e7
BuildRequires:	zlib-devel bzip2-devel gmp-devel curl-devel
491e541
BuildRequires:	%_includedir/tcpd.h
6151a28
BuildRequires:	bc
cvsextras 47272f4
36c1bd4
%package filesystem
36c1bd4
Summary:	Filesystem structure for clamav
36c1bd4
Group:		Applications/File
36c1bd4
Provides:	user(clamav)
36c1bd4
Provides:	group(clamav)
36c1bd4
# Prevent version mix
36c1bd4
Conflicts:	%name < %version-%release
36c1bd4
Conflicts:	%name > %version-%release
36c1bd4
BuildRequires:	fedora-usermgmt-devel
36c1bd4
%{?FE_USERADD_REQ}
36c1bd4
cvsextras 47272f4
%package lib
cvsextras 47272f4
Summary:	Dynamic libraries for the Clam Antivirus scanner
cvsextras 47272f4
Group:		System Environment/Libraries
cvsextras 47272f4
Requires:	data(clamav)
cvsextras 47272f4
cvsextras 47272f4
%package devel
d657061
Summary:	Header files and libraries for the Clam Antivirus scanner
cvsextras 47272f4
Group:		Development/Libraries
6151a28
Source100:	clamd-gen
36c1bd4
Requires:	clamav-lib        = %version-%release
36c1bd4
Requires:	clamav-filesystem = %version-%release
6151a28
Requires(pre):	%_libdir/pkgconfig
cvsextras 47272f4
cvsextras 47272f4
%package data
d657061
Summary:	Virus signature data for the Clam Antivirus scanner
cvsextras 47272f4
Group:		Applications/File
36c1bd4
Requires(pre):		clamav-filesystem = %version-%release
36c1bd4
Requires(postun):	clamav-filesystem = %version-%release
36c1bd4
Provides:		data(clamav) = full
36c1bd4
Conflicts:		data(clamav) < full
36c1bd4
Conflicts:		data(clamav) > full
36c1bd4
36c1bd4
%package data-empty
36c1bd4
Summary:	Empty data package for the Clam Antivirus scanner
36c1bd4
Group:		Applications/File
36c1bd4
Provides:	data(clamav) = empty
36c1bd4
Conflicts:	data(clamav) < empty
36c1bd4
Conflicts:	data(clamav) > empty
cvsextras 47272f4
cvsextras 47272f4
%package update
d657061
Summary:	Auto-updater for the Clam Antivirus scanner data-files
cvsextras 47272f4
Group:		Applications/File
3e396f9
Source200:	freshclam-sleep
3e396f9
Source201:	freshclam.sysconfig
3e396f9
Source202:	clamav-update.cron
36c1bd4
Requires:		clamav-filesystem = %version-%release
cvsextras 47272f4
Requires(pre):		/etc/cron.d
cvsextras 47272f4
Requires(postun):	/etc/cron.d
3e396f9
Requires(post):		%__chown %__chmod
f294c9e
Requires(post):		group(clamav)
cvsextras 47272f4
cvsextras 47272f4
%package server
d657061
Summary:	Clam Antivirus scanner server
cvsextras 47272f4
Group:		System Environment/Daemons
cvsextras 47272f4
Requires:	init(clamav-server)
cvsextras 47272f4
Requires:	data(clamav)
36c1bd4
Requires:	clamav-filesystem = %version-%release
36c1bd4
Requires:	clamav-lib        = %version-%release
cbeb9f1
cbeb9f1
%package server-sysv
cbeb9f1
Summary:	SysV initscripts for clamav server
cbeb9f1
Group:		System Environment/Daemons
cbeb9f1
Provides:	init(clamav-server) = sysv
cbeb9f1
Requires:	clamav-server = %version-%release
cvsextras 47272f4
Requires(pre):		%_initrddir
cvsextras 47272f4
Requires(postun):	%_initrddir
cvsextras 47272f4
cvsextras 47272f4
%package milter
d657061
Summary:	Sendmail-milter for the Clam Antivirus scanner
cvsextras 47272f4
Group:		System Environment/Daemons
cvsextras 47272f4
Requires:	init(clamav-milter)
f294c9e
BuildRequires:	sendmail-devel
f294c9e
BuildRequires:	fedora-usermgmt-devel
cbeb9f1
Provides:	user(%milteruser)
cbeb9f1
Provides:	group(%milteruser)
cbeb9f1
Requires:	sendmail
cbeb9f1
Requires(post):	coreutils
cbeb9f1
%{?FE_USERADD_REQ}
cbeb9f1
cbeb9f1
%package milter-sysv
cbeb9f1
Summary:	SysV initscripts for the clamav sendmail-milter
cbeb9f1
Group:		System Environment/Daemons
cbeb9f1
Provides:	init(clamav-milter) = sysv
cbeb9f1
Requires:	clamav-milter = %version-%release
cbeb9f1
Requires(post):		user(%milteruser) clamav-milter
cbeb9f1
Requires(preun):	user(%milteruser) clamav-milter
cvsextras 47272f4
Requires(pre):		%_initrddir
9a13698
Requires(postun):	%_initrddir initscripts
cbeb9f1
Requires(post):		chkconfig
9a13698
Requires(preun):	chkconfig initscripts
cvsextras 47272f4
cvsextras 47272f4
cvsextras 47272f4
%description
cvsextras 47272f4
Clam AntiVirus is an anti-virus toolkit for UNIX. The main purpose of this
cvsextras 47272f4
software is the integration with mail servers (attachment scanning). The
cvsextras 47272f4
package provides a flexible and scalable multi-threaded daemon, a command
cvsextras 47272f4
line scanner, and a tool for automatic updating via Internet. The programs
cvsextras 47272f4
are based on a shared library distributed with the Clam AntiVirus package,
cvsextras 47272f4
which you can use with your own software. The virus database is based on
cvsextras 47272f4
the virus database from OpenAntiVirus, but contains additional signatures
cvsextras 47272f4
(including signatures for popular polymorphic viruses, too) and is KEPT UP
cvsextras 47272f4
TO DATE.
cvsextras 47272f4
36c1bd4
%description filesystem
36c1bd4
This package provides the filesystem structure and contains the
36c1bd4
user-creation scripts required by clamav.
6151a28
cvsextras 47272f4
%description lib
cvsextras 47272f4
This package contains dynamic libraries shared between applications
cvsextras 47272f4
using the Clam Antivirus scanner.
cvsextras 47272f4
cvsextras 47272f4
%description devel
cvsextras 47272f4
This package contains headerfiles and libraries which are needed to
cvsextras 47272f4
build applications using clamav.
cvsextras 47272f4
cvsextras 47272f4
%description data
cvsextras 47272f4
This package contains the virus-database needed by clamav. This
cvsextras 47272f4
database should be updated regularly; the 'clamav-update' package
36c1bd4
ships a corresponding cron-job. This package and the
36c1bd4
'clamav-data-empty' package are mutually exclusive.
36c1bd4
36c1bd4
Use -data when you want a working (but perhaps outdated) virus scanner
36c1bd4
immediately after package installation.
36c1bd4
36c1bd4
Use -data-empty when you are updating the virus database regulary and
36c1bd4
do not want to download a >5MB sized rpm-package with outdated virus
36c1bd4
definitions.
36c1bd4
36c1bd4
36c1bd4
%description data-empty
36c1bd4
This is an empty package to fulfill inter-package dependencies of the
36c1bd4
clamav suite. This package and the 'clamav-data' package are mutually
36c1bd4
exclusive.
36c1bd4
36c1bd4
Use -data when you want a working (but perhaps outdated) virus scanner
36c1bd4
immediately after package installation.
36c1bd4
36c1bd4
Use -data-empty when you are updating the virus database regulary and
36c1bd4
do not want to download a >5MB sized rpm-package with outdated virus
36c1bd4
definitions.
36c1bd4
cvsextras 47272f4
cvsextras 47272f4
%description update
cvsextras 47272f4
This package contains programs which can be used to update the clamav
cvsextras 47272f4
anti-virus database automatically. It uses the freshclam(1) utility for
6151a28
this task. To activate it, uncomment the entry in /etc/cron.d/clamav-update.
cvsextras 47272f4
cvsextras 47272f4
%description server
cvsextras 47272f4
ATTENTION: most users do not need this package; the main package has
cvsextras 47272f4
everything (or depends on it) which is needed to scan for virii on
cvsextras 47272f4
workstations.
cvsextras 47272f4
cvsextras 47272f4
This package contains files which are needed to execute the clamd-daemon.
cvsextras 47272f4
This daemon does not provide a system-wide service. Instead of, an instance
cvsextras 47272f4
of this daemon should be started for each service requiring it.
cvsextras 47272f4
cvsextras 47272f4
See the README file how this can be done with a minimum of effort.
cvsextras 47272f4
cbeb9f1
cbeb9f1
%description server-sysv
cbeb9f1
SysV initscripts template for the clamav server
cbeb9f1
cbeb9f1
cvsextras 47272f4
%description milter
cvsextras 47272f4
This package contains files which are needed to run the clamav-milter. It
cvsextras 47272f4
can be activated by adding
cvsextras 47272f4
cvsextras 47272f4
| INPUT_MAIL_FILTER(`clamav', `S=local:%milterstatedir/clamav.sock, F=, T=S:4m;R:4m')dnl
cvsextras 47272f4
cvsextras 47272f4
to your sendmail.mc.
cvsextras 47272f4
cbeb9f1
%description milter-sysv
cbeb9f1
The SysV initscripts for clamav-milter.
cbeb9f1
cvsextras 47272f4
cvsextras 47272f4
## ------------------------------------------------------------
cvsextras 47272f4
cvsextras 47272f4
%prep
0172997
%setup -q
a4a6d25
cvsextras 47272f4
%patch21 -p1 -b .path
cvsextras 47272f4
%patch22 -p1 -b .initoff
8aa983a
%patch24 -p1 -b .private
cvsextras 47272f4
cvsextras 47272f4
perl -pi -e 's!^(#?LogFile ).*!\1/var/log/clamd.<SERVICE>!g;
cvsextras 47272f4
	     s!^#?(LocalSocket ).*!\1/var/run/clamd.<SERVICE>/clamd.sock!g;
cvsextras 47272f4
	     s!^#?(PidFile ).*!\1/var/run/clamd.<SERVICE>/clamd.pid!g;
cvsextras 47272f4
	     s!^#?(User ).*!\1<USER>!g;
cvsextras 47272f4
             s! /usr/local/share/clamav,! %homedir,!g;
6151a28
            ' etc/clamd.conf
cvsextras 47272f4
cvsextras 47272f4
perl -pi -e 's!^#(UpdateLogFile )!\1!g;' etc/freshclam.conf
cvsextras 47272f4
9a13698
cvsextras 47272f4
## ------------------------------------------------------------
cvsextras 47272f4
cvsextras 47272f4
%build
05a209e
CFLAGS="$RPM_OPT_FLAGS -Wall -W -Wmissing-prototypes -Wmissing-declarations -std=gnu99"
8aa983a
export LDFLAGS='-Wl,--as-needed'
8aa983a
# HACK: remove me, when configure uses $LIBS instead of $LDFLAGS for milter check
8aa983a
export LIBS='-lmilter -lpthread'
6151a28
%configure --disable-clamav --with-dbdir=/var/lib/clamav \
8aa983a
	   --enable-milter --disable-static
8aa983a
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
cvsextras 47272f4
f294c9e
make %{?_smp_mflags}
cvsextras 47272f4
cvsextras 47272f4
cvsextras 47272f4
## ------------------------------------------------------------
cvsextras 47272f4
cvsextras 47272f4
%install
cvsextras 47272f4
rm -rf "$RPM_BUILD_ROOT" _doc*
f294c9e
make DESTDIR="$RPM_BUILD_ROOT" install
cvsextras 47272f4
3e396f9
function smartsubst() {
3e396f9
	local tmp
3e396f9
	local regexp=$1
3e396f9
	shift
3e396f9
3e396f9
	tmp=$(mktemp /tmp/%name-subst.XXXXXX)
3e396f9
	for i; do
3e396f9
		sed -e "$regexp" "$i" >$tmp
3e396f9
		cmp -s $tmp "$i" || cat $tmp >"$i"
3e396f9
		rm -f $tmp
3e396f9
	done
3e396f9
}
3e396f9
3e396f9
f294c9e
install -d -m755 \
f294c9e
	${RPM_BUILD_ROOT}%_sysconfdir/{clamd.d,cron.d,logrotate.d,sysconfig} \
f294c9e
	${RPM_BUILD_ROOT}%_var/log \
6151a28
	${RPM_BUILD_ROOT}%milterstatedir \
6151a28
	${RPM_BUILD_ROOT}%pkgdatadir/template \
36c1bd4
	${RPM_BUILD_ROOT}%_initrddir \
36c1bd4
	${RPM_BUILD_ROOT}%homedir/daily.inc
cvsextras 47272f4
f294c9e
rm -f	${RPM_BUILD_ROOT}%_sysconfdir/clamd.conf \
f294c9e
	${RPM_BUILD_ROOT}%_libdir/*.la
6151a28
36c1bd4
for i in COPYING daily.{db,fp,hdb,info,ndb,pdb,zmd}; do
36c1bd4
	touch ${RPM_BUILD_ROOT}%homedir/daily.inc/$i
36c1bd4
done
36c1bd4
cvsextras 47272f4
cvsextras 47272f4
## prepare the server-files
cvsextras 47272f4
mkdir _doc_server
f294c9e
install -m644 -p %SOURCE2	_doc_server/clamd.sysconfig
f294c9e
install -m644 -p %SOURCE3       _doc_server/clamd.logrotate
f294c9e
install -m755 -p %SOURCE7	_doc_server/clamd.init
f294c9e
install -m644 -p %SOURCE5      	_doc_server/README
f294c9e
install -m644 -p etc/clamd.conf _doc_server/clamd.conf
6151a28
f294c9e
install -m644 -p %SOURCE1  	$RPM_BUILD_ROOT%pkgdatadir
f294c9e
install -m755 -p %SOURCE100     $RPM_BUILD_ROOT%pkgdatadir
f294c9e
cp -pa _doc_server/*            $RPM_BUILD_ROOT%pkgdatadir/template
f294c9e
ln -s %pkgdatadir/clamd-wrapper $RPM_BUILD_ROOT%_initrddir/clamd-wrapper
6151a28
3e396f9
smartsubst 's!/usr/share/clamav!%pkgdatadir!g' $RPM_BUILD_ROOT%pkgdatadir/clamd-wrapper
6151a28
cvsextras 47272f4
cvsextras 47272f4
## prepare the update-files
f294c9e
install -m644 -p %SOURCE6	${RPM_BUILD_ROOT}%_sysconfdir/logrotate.d/clamav-update
f294c9e
install -m755 -p %SOURCE8	${RPM_BUILD_ROOT}%_sbindir/clamav-notify-servers
f294c9e
touch ${RPM_BUILD_ROOT}%freshclamlog
cvsextras 47272f4
f294c9e
install -p -m0755 %SOURCE200	$RPM_BUILD_ROOT%pkgdatadir/freshclam-sleep
f294c9e
install -p -m0644 %SOURCE201	$RPM_BUILD_ROOT%_sysconfdir/sysconfig/freshclam
f294c9e
install -p -m0600 %SOURCE202	$RPM_BUILD_ROOT%_sysconfdir/cron.d/clamav-update
6151a28
3e396f9
smartsubst 's!webmaster,clamav!webmaster,%username!g;
3e396f9
	    s!/usr/share/clamav!%pkgdatadir!g;
3e396f9
	    s!/usr/bin!%_bindir!g;
3e396f9
            s!/usr/sbin!%_sbindir!g;' \
3e396f9
   $RPM_BUILD_ROOT%_sysconfdir/cron.d/clamav-update \
3e396f9
   $RPM_BUILD_ROOT%pkgdatadir/freshclam-sleep
cvsextras 47272f4
cvsextras 47272f4
a352dc6
#### The milter stuff
cvsextras 47272f4
function subst() {
a352dc6
	sed -e 's!<SERVICE>!milter!g;s!<USER>!%milteruser!g;'"$3" "$1" >"$RPM_BUILD_ROOT$2"
cvsextras 47272f4
}
cvsextras 47272f4
3e396f9
a352dc6
subst etc/clamd.conf /etc/clamd.d/milter.conf \
cvsextras 47272f4
	's!^##*\(\(LogFile\|LocalSocket\|PidFile\|User\)\s\|\(StreamSaveToDisk\|ScanMail\)$\)!\1!;'
cvsextras 47272f4
cvsextras 47272f4
cvsextras 47272f4
cat <<EOF >$RPM_BUILD_ROOT%_sysconfdir/sysconfig/clamav-milter
36c1bd4
CLAMAV_FLAGS='-lo -c /etc/clamd.d/milter.conf local:%milterstatedir/clamav.sock'
cvsextras 47272f4
EOF
cvsextras 47272f4
f294c9e
install -p -m755 contrib/init/RedHat/clamav-milter $RPM_BUILD_ROOT%_initrddir/clamav-milter
cvsextras 47272f4
touch $RPM_BUILD_ROOT%milterstatedir/clamav.sock $RPM_BUILD_ROOT%milterlog
6151a28
cvsextras 47272f4
cvsextras 47272f4
## ------------------------------------------------------------
cvsextras 47272f4
cvsextras 47272f4
%clean
cvsextras 47272f4
rm -rf "$RPM_BUILD_ROOT"
cvsextras 47272f4
cvsextras 47272f4
## ------------------------------------------------------------
cvsextras 47272f4
36c1bd4
%pre filesystem
f294c9e
%__fe_groupadd 4 -r %username &>/dev/null || :
f294c9e
%__fe_useradd  4 -r -s /sbin/nologin -d %homedir -M          \
f294c9e
                 -c 'Clamav database update user' -g %username %username &>/dev/null || :
cvsextras 47272f4
36c1bd4
%postun filesystem
36c1bd4
%__fe_userdel  %username &>/dev/null || :
36c1bd4
%__fe_groupdel %username &>/dev/null || :
36c1bd4
36c1bd4
cvsextras 47272f4
%post update
f294c9e
test -e %freshclamlog || {
f294c9e
	touch %freshclamlog
f294c9e
	%__chmod 0664 %freshclamlog
f294c9e
	%__chown root:%username %freshclamlog
cvsextras 47272f4
}
cvsextras 47272f4
cvsextras 47272f4
%pre milter
f294c9e
%__fe_groupadd 5 -r %milteruser &>/dev/null || :
f294c9e
%__fe_useradd  5 -r -s /sbin/nologin -d %milterstatedir -M \
f294c9e
                 -c 'Clamav Milter User' -g %milteruser %milteruser &>/dev/null || :
cvsextras 47272f4
cvsextras 47272f4
%post milter
9a13698
test -e %milterlog || {
9a13698
	touch %milterlog
9a13698
	chmod 0620             %milterlog
9a13698
	chown root:%milteruser %milterlog
9a13698
}
cvsextras 47272f4
cvsextras 47272f4
%postun milter
f294c9e
%__fe_userdel  %milteruser &>/dev/null || :
f294c9e
%__fe_groupdel %milteruser &>/dev/null || :
cbeb9f1
cbeb9f1
cbeb9f1
%post milter-sysv
cbeb9f1
/sbin/chkconfig --add clamav-milter
cbeb9f1
cbeb9f1
%preun milter-sysv
cbeb9f1
test "$1" != 0 || %_initrddir/clamav-milter stop &>/dev/null || :
cbeb9f1
test "$1" != 0 || /sbin/chkconfig --del clamav-milter
cbeb9f1
cbeb9f1
%postun milter-sysv
f294c9e
test "$1"  = 0 || %_initrddir/clamav-milter condrestart >/dev/null || :
cvsextras 47272f4
cvsextras 47272f4
cvsextras 47272f4
%post   lib -p /sbin/ldconfig
cvsextras 47272f4
%postun lib -p /sbin/ldconfig
cvsextras 47272f4
cvsextras 47272f4
cvsextras 47272f4
%files
cvsextras 47272f4
%defattr(-,root,root,-)
00f644c
%doc AUTHORS BUGS COPYING ChangeLog FAQ NEWS README UPGRADE
cvsextras 47272f4
%doc docs/*.pdf
f294c9e
%_bindir/*
e99b953
%_mandir/man[15]/*
6151a28
%exclude %_bindir/clamav-config
cvsextras 47272f4
%exclude %_bindir/freshclam
ecfc3db
%exclude %_mandir/*/freshclam*
cvsextras 47272f4
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files lib
cvsextras 47272f4
%defattr(-,root,root,-)
f294c9e
%_libdir/*.so.*
cvsextras 47272f4
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files devel
cvsextras 47272f4
%defattr(-,root,root,-)
f294c9e
%_includedir/*
f294c9e
%_libdir/*.so
6151a28
%pkgdatadir/template
6151a28
%pkgdatadir/clamd-gen
6151a28
%_libdir/pkgconfig/*
6151a28
%_bindir/clamav-config
cvsextras 47272f4
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
36c1bd4
%files filesystem
36c1bd4
%attr(-,%username,%username) %dir %homedir
36c1bd4
%attr(-,%username,%username) %dir %homedir/daily.inc
36c1bd4
%attr(-,root,root)           %dir %pkgdatadir
36c1bd4
36c1bd4
## -----------------------
36c1bd4
cvsextras 47272f4
%files data
f294c9e
%defattr(-,%username,%username,-)
6151a28
# use %%config to keep files which were updated by 'freshclam'
6151a28
# already. Without this tag, they would be overridden with older
6151a28
# versions whenever a new -data package is installed.
f294c9e
%config %verify(not size md5 mtime) %homedir/*.cvd
cvsextras 47272f4
36c1bd4
36c1bd4
%files data-empty
36c1bd4
%defattr(-,%username,%username,-)
36c1bd4
%ghost %attr(0664,%username,%username) %homedir/main.cvd
36c1bd4
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files update
cvsextras 47272f4
%defattr(-,root,root,-)
cvsextras 47272f4
%_bindir/freshclam
ecfc3db
%_mandir/*/freshclam*
3e396f9
%pkgdatadir/freshclam-sleep
3e396f9
%config(noreplace) %verify(not mtime)    %_sysconfdir/freshclam.conf
3e396f9
%config(noreplace) %verify(not mtime)    %_sysconfdir/logrotate.d/*
3e396f9
%config(noreplace) %_sysconfdir/cron.d/*
3e396f9
%config(noreplace) %_sysconfdir/sysconfig/freshclam
cvsextras 47272f4
f294c9e
%ghost %attr(0664,root,%username) %verify(not size md5 mtime) %freshclamlog
cvsextras 47272f4
36c1bd4
%ghost %attr(0664,%username,%username) %homedir/daily.inc/COPYING
36c1bd4
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.db
36c1bd4
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.fp
36c1bd4
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.hdb
36c1bd4
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.info
36c1bd4
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.ndb
36c1bd4
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.pdb
36c1bd4
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.zmd
36c1bd4
36c1bd4
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files server
cvsextras 47272f4
%defattr(-,root,root,-)
cvsextras 47272f4
%doc _doc_server/*
8c82b2e
%_mandir/man[58]/clamd*
f294c9e
%_sbindir/*
6151a28
%pkgdatadir/clamd-wrapper
cbeb9f1
%dir %_sysconfdir/clamd.d
cvsextras 47272f4
cvsextras 47272f4
%exclude %_sbindir/*milter*
cvsextras 47272f4
%exclude %_mandir/man8/clamav-milter*
cvsextras 47272f4
cbeb9f1
cbeb9f1
%files server-sysv
cbeb9f1
%defattr(-,root,root,-)
cbeb9f1
%_initrddir/clamd-wrapper
cbeb9f1
cbeb9f1
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files milter
cvsextras 47272f4
%defattr(-,root,root,-)
cvsextras 47272f4
%doc clamav-milter/INSTALL
cvsextras 47272f4
%_sbindir/*milter*
cvsextras 47272f4
%_mandir/man8/clamav-milter*
f294c9e
%config(noreplace) %verify(not mtime) %_sysconfdir/clamd.d/milter.conf
cvsextras 47272f4
%attr(0700,%milteruser,%milteruser) %dir %milterstatedir
cvsextras 47272f4
%ghost %milterstatedir/*
cvsextras 47272f4
%ghost %attr(0620,root,%milteruser) %verify(not size md5 mtime) %milterlog
cvsextras 47272f4
cbeb9f1
cbeb9f1
%files milter-sysv
cbeb9f1
%defattr(-,root,root,-)
cbeb9f1
%config %_initrddir/clamav-milter
cbeb9f1
%config(noreplace) %verify(not mtime) %_sysconfdir/sysconfig/clamav-milter
cbeb9f1
cbeb9f1
cvsextras 47272f4
%changelog
68d2aa4
* Sat Aug 25 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.91.2-1
68d2aa4
- updated to 0.91.2 (SECURITY):
68d2aa4
- CVE-2007-4510 DOS in RTF parser
68d2aa4
- DOS in html normalizer
68d2aa4
- arbitrary command execution by special crafted recipients in
68d2aa4
  clamav-milter's black-hole mode
68d2aa4
e507381
* Tue Jul 17 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.91.1-0
e507381
- updated to 0.91.1
e507381
2ee773d
* Thu Jul 12 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.91-1
2ee773d
- updated to 0.91
2ee773d
ca0868d
* Thu May 31 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.3-1
ca0868d
- updated to 0.90.3
491e541
- BR tcpd.h instead of tcp_wrappers(-devel) to make it build both
ca0868d
  in FC6- and F7+
ca0868d
0b90ae9
* Fri Apr 13 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.2-1
0b90ae9
- [SECURITY] updated to 0.90.2; fixes CVE-2007-1745, CVE-2007-1997 
0b90ae9
319d6e7
* Fri Mar  2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.1-2
319d6e7
- BR 'tcp_wrappers-devel' instead of plain 'tcp_wrappers'
319d6e7
00f644c
* Fri Mar  2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.1-1
00f644c
- updated to 0.90.1
00f644c
- updated %%doc list
00f644c
0172997
* Sun Feb 18 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90-1
0172997
- updated to final 0.90
0172997
- removed -visibility patch since fixed upstream
0172997
8aa983a
* Sun Feb  4 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90-0.3.rc3
8aa983a
- build with -Wl,-as-needed and cleaned up pkgconfig file
8aa983a
- removed old hack which forced installation of freshclam.conf; related
8aa983a
  check was removed upstream
8aa983a
- removed static library
8aa983a
- removed %%changelog entries from before 2004
8aa983a
36c1bd4
* Sat Feb  3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90-0.2.rc3
36c1bd4
- updated to 0.90rc3
36c1bd4
- splitted mandatory parts from the data-file into a separate -filesystem
36c1bd4
  subpackage
36c1bd4
- added a -data-empty subpackage to allow a setup where database is
36c1bd4
  updated per cron-job and user does not want to download the large
36c1bd4
  -data package with outdated virus definitations (#214949)
36c1bd4
- %%ghost'ed the files downloaded by freshclam
36c1bd4
09d74df
* Tue Dec 12 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.7-1
09d74df
- updated to 0.88.7
09d74df
da1b387
* Sun Nov  5 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.6-1
da1b387
- updated to 0.88.6
da1b387
cfd00a6
* Wed Oct 18 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.5-1
cfd00a6
- updated to 0.88.5 (SECURITY); fixes CVE-2006-4182, CVE-2006-5295
cfd00a6
- added patch to set '__attribute__ ((visibility("hidden")))' for
cfd00a6
  exported MD5_*() functions (fixes #202043)
cfd00a6
d987ec1
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.88.4-4
d987ec1
 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
d987ec1
cbeb9f1
* Thu Sep 21 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.4-3
cbeb9f1
- splitted SysV initscripts of -milter and -server into own subpackages
cbeb9f1
ccd8565
* Fri Sep 15 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.4-2
ccd8565
- rebuilt
ccd8565
e99b953
* Tue Aug  8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.4-1
e99b953
- updated to 0.88.4 (SECURITY)
e99b953
e99b953
* Wed Jul 12 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
e99b953
- removed the clamdscan(1) manpage from the -server subpackage
e99b953
05a209e
* Sat Jul  8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
05a209e
- removed a superfluous '}'
05a209e
- removed some code which was relevant for FC-3 only
05a209e
f294c9e
* Sat Jul  8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.3-1
f294c9e
- updated to 0.88.3
f294c9e
- updated to new fedora-usermgmt macros
f294c9e
f294c9e
* Tue May 16 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.2-2
f294c9e
- cleanups: removed unneeded curlies, use plain command instead of
f294c9e
  %%__XXX macro, whitespace cleanup, removed unneeded versioned
f294c9e
  dependencies
f294c9e
- added a 'Requires(post): group(clamav)' dependencies for -update and
f294c9e
  added the corresponding Provides: to -data
f294c9e
- removed the %%_without_milter conditional; you won't gain anything
f294c9e
  when milter would be disabled at buildtime
f294c9e
dbc7a93
* Sun Apr 30 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.2-1
dbc7a93
- updated to 0.88.2 (SECURITY)
dbc7a93
- rediffed patches; most issues handled by 0.88.1-2 are fixed in
dbc7a93
  0.88.2
dbc7a93
a4a6d25
* Mon Apr 24 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.1-2
a4a6d25
- added patch which fixes some classes of compiler warnings; at least
a4a6d25
  the using of implicitly declared functions was reported to cause
a4a6d25
  segfaults on AMD64 (brought to my attention by Marc Perkel)
a4a6d25
- added patch which fixes wrong usage of strncpy(3) in unrarlib.c
a4a6d25
1f384df
* Thu Apr 06 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.1-1
1f384df
- updated to 0.88.1 (SECURITY)
1f384df
10c12ef
* Sat Feb 18 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88-2
10c12ef
- rebuilt for FC5
10c12ef
ecfc3db
* Tue Jan 10 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88-1
ecfc3db
- updated to 0.88
ecfc3db
- added pseudo-versions for the 'init(...)' provides as a first step
ecfc3db
  for the support of alternative initmethods
ecfc3db
ecfc3db
* Tue Nov 15 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.87.1-2
ecfc3db
- moved 'freshclam.conf.5' man page into the -update subpackage (#173221)
ecfc3db
- ship 'clamd.conf.5' man page in the -server subpackage *too*. The
ecfc3db
  same file is contained in multiple packages now, but this man-page
ecfc3db
  can not be removed from the base package because it also applies to
ecfc3db
  'clamdscan' there (#173221).
ecfc3db
d23adca
* Fri Nov  4 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.87.1-1
d23adca
- updated to 0.87.1
d23adca
a352dc6
* Sat Sep 17 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.87-1
a352dc6
- updated to 0.87 (SECURITY)
a352dc6
- removed -timeout patch; it is solved upstream
a352dc6
- reverted the -exim changes; they add yet more complexity, their
a352dc6
  functionality can go into an own package and they contained flaws
a352dc6
c402d54
* Fri Sep  9 2005 David Woodhouse <dwmw2@infradead.org> - 0.86.2-5
c402d54
- Add clamav-exim configuration package
c402d54
9a13698
* Fri Jul 29 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86.2-4
9a13698
- [milter] create the milter-logfile in the %%post scriptlet
9a13698
- [milter] reverted the change of the default child_timeout value; it
9a13698
  was set to 5 minutes in 0.86.2 which conflicts with the internal
9a13698
  mode where a timeout must not be set. So, the clamav-milter would
9a13698
  not run with the default configuration
9a13698
f5d66c4
* Thu Jul 28 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86.2-3
f5d66c4
- Fixed calculation of sleep duration; on some systems/IPs, `hostid`
f5d66c4
  results in a negative number which is retained by the bash
f5d66c4
  modulo-operation. So the sleep may get a negative number of seconds
f5d66c4
  being interpreted as an option. This version makes sure that the
f5d66c4
  module-operations returns a non-negative value. [BZ #164494, James
f5d66c4
  Wilkinson]
f5d66c4
- added support for a /usr/sbin/clamav-notify-servers.local hook; this
f5d66c4
  file will be executed (source'd) before all other actions and can
f5d66c4
  abort the entire processing by invoking 'exit'
f5d66c4
22e542a
* Mon Jul 25 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86.2-2
3e396f9
- updated to 0.86.2 (SECURITY)
3e396f9
- changed the freshclam updating mechanism (again); now, it consists
3e396f9
  of a crontab which does not need to be changed and a helper script
3e396f9
  (freshclam-sleep). This helper script is configured by
3e396f9
  /etc/sysconfig/freshclam
3e396f9
98a8878
* Sat Jun 25 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86.1-2
6b93a16
- updated to 0.86.1
6b93a16
- fixed randomization in %%post scriptlet: hour should be a range but
6b93a16
  not a single number
6b93a16
219cd04
* Tue Jun 21 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86-1
219cd04
- updated to 0.86
219cd04
- randomize freshclam startup times in -update's %%post script (suggested
219cd04
  by Stephen Smoogen); this requires some more Requires(post): also
219cd04
ed3f0ea
* Wed May 18 2005 Warren Togami <wtogami@redhat.com> - 0.85.1-4
8fb84a2
- fix dist tagging the way Enrico wants it
8fb84a2
32a4737
* Tue May 17 2005 Oliver Falk <oliver@linux-kernel.at>					  - 0.85.1-2
32a4737
- Rebuild
32a4737
716e5a8
* Tue May 17 2005 Oliver Falk <oliver@linux-kernel.at>					  - 0.85.1-1
716e5a8
- Update
716e5a8
6ddb72b
* Sat May 14 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.85-0
6ddb72b
- updated to 0.85
6ddb72b
6ddb72b
* Sun May  1 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.84-0
d7c5a76
- updated to 0.84
d7c5a76
efa447f
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
efa447f
- rebuilt
efa447f
d45dad0
* Tue Feb 15 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.83-1
d45dad0
- updated to 0.83
d45dad0
bd5909f
* Tue Feb  8 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.82-1
bd5909f
- updated to 0.82
bd5909f
- minor spec cleanups
bd5909f
6151a28
* Fri Jan 28 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.81-0.fdr.2
6151a28
- build the package with '--disable-zlib-vcheck' because RH is unable to
6151a28
  apply a fix for a 5 month old and solved security issue.  Please fill
6151a28
  your comments at https://bugzilla.redhat.com/beta/show_bug.cgi?id=131385
6151a28
- added 'BuildRequires: bc' (should work without also, but ./configure
6151a28
  gives out ugly warnings else)
6151a28
6151a28
* Fri Jan 28 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.81-0.fdr.1
6151a28
- updated to 0.81
6151a28
- do not ship the 'clamd.milter' daemon anymore; clamav-milter supports
6151a28
  an internal mode now which is enabled by default
6151a28
- updated -milter %%description
6151a28
6151a28
* Thu Jan 20 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.80-0.fdr.2
6151a28
- s!cron.d/clamav!cron.d/clamav-update! in the %%description of the -update
6151a28
  subpackage (https://bugzilla.fedora.us/show_bug.cgi?id=1715#c39)
6151a28
6151a28
* Wed Nov  3 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.80-0.fdr.1
6151a28
- updated to 0.80
6151a28
- removed DMS, FreeBSD-HOWTO and localized docs as it is not shipped anymore
6151a28
- buildrequire 'curl-devel'
6151a28
- renamed clamav.conf to clamd.conf (upstream change)
6151a28
- updated -initoff patch
6151a28
6151a28
* Tue Sep 14 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.75.1-0.fdr.1
6151a28
- updated to 0.75.1
6151a28
- use %%configure, the problems with the architecture specification
6151a28
  seem to have passed (probably because of an autoconf update)
6151a28
- set mode 0600 for the cron-script (required by vixie-cron)
6151a28
- made the cronjob a spambot and send mail about deactivated freshclam
6151a28
  service to nearly everybody... (root, postmaster, webmaster)
6151a28
- other fixes in the notification cronjob
6151a28
6151a28
* Fri Jul 23 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.75-0.fdr.1
6151a28
- updated to 0.75
6151a28
6151a28
* Thu Jul 15 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.74-0.fdr.2
6151a28
- moved /usr/bin/clamav-config from main into -devel
6151a28
6151a28
* Wed Jun 30 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.74-0.fdr.1
6151a28
- updated to 0.74
6151a28
6151a28
* Mon Jun 14 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.73-0.fdr.1
6151a28
- updated to 0.73
6151a28
- added pkgconfig file
6151a28
6151a28
* Fri Jun 11 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.72-0.fdr.3
6151a28
- notify the user about a deactivated clamav-update service
6151a28
- added clamd-gen script which generates template spec-files for
6151a28
  services using clamd
6151a28
- copied template configuration files to %pkgdatadir/template (needed
6151a28
  for clamd-gen)
6151a28
- moved the clamd-wrapper from %_initrddir to %{pkgdatadir}; a symlink
6151a28
  will be provided for compatibility reasons
6151a28
- conditionalized building of the -milter subpackage ('--without
6151a28
  milter' switch) to enable builds on RH73 (bug #1715, comment #5/#7)
6151a28
6151a28
* Fri Jun  4 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.72-0.fdr.2
6151a28
- removed 'BuildRequires: dietlibc'; it was a leftover from the
6151a28
  pre-use-signal era (before 0.70) (bug #1716)
6151a28
6151a28
* Thu Jun  3 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.72-0.fdr.1
6151a28
- updated to 0.72
6151a28
cvsextras 47272f4
* Thu May 20 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.71-0.fdr.2
cvsextras 47272f4
- removed the randomization in the cronjob; it seems to be impossible
cvsextras 47272f4
  to use the mod-operator (%%) there. Instead of, the user has to
cvsextras 47272f4
  replace some placeholders...
cvsextras 47272f4
cvsextras 47272f4
* Wed May 19 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.71-0.fdr.1
cvsextras 47272f4
- updated to 0.71
cvsextras 47272f4
cvsextras 47272f4
* Fri May  7 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.70-0.fdr.1.1
cvsextras 47272f4
- quote 'EOF' to delay $RANDOM expansion
cvsextras 47272f4
cvsextras 47272f4
* Tue Apr 27 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.70-0.fdr.2
cvsextras 47272f4
- updated GECOS entry for the 'clamav' user to describe its purpose
cvsextras 47272f4
  more accurately
cvsextras 47272f4
- use explicit '-m755' when creating directories with install
cvsextras 47272f4
cvsextras 47272f4
* Tue Apr 20 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.70-0.fdr.1
cvsextras 47272f4
- updated to 0.70; rediffed some patches
cvsextras 47272f4
- updated logrotate script to use signals and documented the steps
cvsextras 47272f4
  which are needed to make it work
cvsextras 47272f4
- adapted initscript to use signals instead of sockwrite
cvsextras 47272f4
- removed sockwrite; signals can now be used to reload the database
cvsextras 47272f4
- added logfile to the -milter subpackage
cvsextras 47272f4
cvsextras 47272f4
* Tue Apr 20 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.68-0.fdr.2.1
cvsextras 47272f4
- tagged some Requires:, since clamav-server is required in the milter-%%post* scriptlets
cvsextras 47272f4
cvsextras 47272f4
* Sat Mar 20 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.68-0.fdr.2
cvsextras 47272f4
- split the double Requires(...,...): statements; see
cvsextras 47272f4
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118773
cvsextras 47272f4
- require the recent fedora-usermgmt package (0.7) which fixes similar
cvsextras 47272f4
  ordering issues
cvsextras 47272f4
cvsextras 47272f4
* Thu Mar 18 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.68-0.fdr.1
cvsextras 47272f4
- updated to 0.68 (using the -1 version)
cvsextras 47272f4
- ship milter-files in the -milter instead of the -server subpackage
cvsextras 47272f4
cvsextras 47272f4
* Tue Feb 24 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.67-0.fdr.3
cvsextras 47272f4
- fixed ':' vs. '.' in chown
cvsextras 47272f4
cvsextras 47272f4
* Tue Feb 17 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.67-0.fdr.2
cvsextras 47272f4
- randomize freshclam startup to prevent server peaks
cvsextras 47272f4
cvsextras 47272f4
* Mon Feb 16 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.67-0.fdr.1
cvsextras 47272f4
- updated to 0.67 (using the -1 version)
cvsextras 47272f4
cvsextras 47272f4
* Wed Feb 11 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.66-0.fdr.2
cvsextras 47272f4
- updated to 0.66; important, packaging-relevant changes are
cvsextras 47272f4
  freshclam:
cvsextras 47272f4
  * $http_proxy is not supported anymore; you have to configure it in
cvsextras 47272f4
    /etc/freshclam.conf
cvsextras 47272f4
  * the logfile has been renamed to /var/log/freshclam.log
cvsextras 47272f4
- removed %%check section; buildroot check is implemented in local
cvsextras 47272f4
  testsuite already
cvsextras 47272f4
- added some %%verify(not mtime) modifiers to avoid unnecessary .rpmnew
cvsextras 47272f4
  files
cvsextras 47272f4
- added some directory-Requires:
cvsextras 47272f4
- activated milter-package and made it work
cvsextras 47272f4
- added patch to disable clamav-milter service by default
cvsextras 47272f4
- renamed /var/run/clamav.<SERVICE> to /var/run/clamd.<SERVICE>; this
cvsextras 47272f4
  makes things more consistently but can break backward compatibility. The
cvsextras 47272f4
  initscript should deal with the old version too, but I would not bet on
cvsextras 47272f4
  it...
cvsextras 47272f4
- updated some descriptions
cvsextras 47272f4
- fixed the update-mechanism; now it happens in two stages: at first,
cvsextras 47272f4
  the files will be downloaded as user 'clamav' and then, root initiates
cvsextras 47272f4
  the daemon-reload.
cvsextras 47272f4
cvsextras 47272f4
* Mon Feb  9 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.65-0.fdr.5
cvsextras 47272f4
- added security fix for
cvsextras 47272f4
  http://www.securityfocus.com/archive/1/353194/2004-02-06/2004-02-12/1