4d92b21
## $Id: clamav.spec,v 1.33 2007/12/21 19:58:41 spot Exp $
b77bb64
b77bb64
## Fedora Extras specific customization below...
48a380f
# %bcond_without       fedora
b77bb64
##
b77bb64
534af6f
%global username	clamav
534af6f
%global homedir		%_var/lib/clamav
534af6f
%global freshclamlog	%_var/log/freshclam.log
534af6f
%global milterlog	%_var/log/clamd.milter
534af6f
%global milteruser	clamilt
534af6f
%global milterstatedir	%_var/run/clamav-milter
534af6f
%global pkgdatadir	%_datadir/%name
cvsextras 47272f4
5ec291e
cvsextras 47272f4
Summary:	End-user tools for the Clam Antivirus scanner
cvsextras 47272f4
Name:		clamav
4d92b21
Version:	0.92.1
4d92b21
Release:	1%{?dist}
534af6f
d1f6c75
License:	GPLv2
cvsextras 47272f4
Group:		Applications/File
cvsextras 47272f4
URL:		http://www.clamav.net
d1f6c75
# Unfortunately, clamav includes support for RAR v3, derived from GPL 
d1f6c75
# incompatible unrar from RARlabs. We have to pull this code out.
d1f6c75
# All that is needed to make the clean tarball is: rm -rf libclamunrar*
d1f6c75
# Note that you also need patch26.
4d92b21
Source0:	clamav-%{version}-norar.tar.bz2
d1f6c75
# Source0:	http://download.sourceforge.net/sourceforge/clamav/%name-%version.tar.gz
d1f6c75
# No sense in using this file for the time being.
d1f6c75
# 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
b77bb64
Patch22:	clamav-0.80-initoff.patch
d1f6c75
Patch24:	clamav-0.90rc3-private.patch
d1f6c75
Patch25:	clamav-0.92-open.patch
d1f6c75
Patch26:	clamav-0.92-nounrar.patch
d1f6c75
BuildRoot:	%_tmppath/%name-%version-%release-root
d1f6c75
Requires:	clamav-lib = %version-%release
cvsextras 47272f4
Requires:	data(clamav)
d1f6c75
BuildRequires:	zlib-devel bzip2-devel gmp-devel curl-devel
d1f6c75
BuildRequires:	%_includedir/tcpd.h
b77bb64
BuildRequires:	bc
cvsextras 47272f4
d1f6c75
%package filesystem
d1f6c75
Summary:	Filesystem structure for clamav
d1f6c75
Group:		Applications/File
d1f6c75
Provides:	user(clamav)
d1f6c75
Provides:	group(clamav)
d1f6c75
# Prevent version mix
d1f6c75
Conflicts:	%name < %version-%release
d1f6c75
Conflicts:	%name > %version-%release
6126bae
Requires(pre):	shadow-utils
d1f6c75
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
534af6f
Summary:	Header files and libraries for the Clam Antivirus scanner
cvsextras 47272f4
Group:		Development/Libraries
b77bb64
Source100:	clamd-gen
d1f6c75
Requires:	clamav-lib        = %version-%release
d1f6c75
Requires:	clamav-filesystem = %version-%release
b77bb64
Requires(pre):	%_libdir/pkgconfig
cvsextras 47272f4
cvsextras 47272f4
%package data
534af6f
Summary:	Virus signature data for the Clam Antivirus scanner
cvsextras 47272f4
Group:		Applications/File
d1f6c75
Requires(pre):		clamav-filesystem = %version-%release
d1f6c75
Requires(postun):	clamav-filesystem = %version-%release
d1f6c75
Provides:		data(clamav) = full
d1f6c75
Conflicts:		data(clamav) < full
d1f6c75
Conflicts:		data(clamav) > full
d1f6c75
d1f6c75
%package data-empty
d1f6c75
Summary:	Empty data package for the Clam Antivirus scanner
d1f6c75
Group:		Applications/File
d1f6c75
Provides:	data(clamav) = empty
d1f6c75
Conflicts:	data(clamav) < empty
d1f6c75
Conflicts:	data(clamav) > empty
cvsextras 47272f4
cvsextras 47272f4
%package update
534af6f
Summary:	Auto-updater for the Clam Antivirus scanner data-files
cvsextras 47272f4
Group:		Applications/File
61fe767
Source200:	freshclam-sleep
61fe767
Source201:	freshclam.sysconfig
61fe767
Source202:	clamav-update.cron
d1f6c75
Requires:		clamav-filesystem = %version-%release
cvsextras 47272f4
Requires(pre):		/etc/cron.d
cvsextras 47272f4
Requires(postun):	/etc/cron.d
61fe767
Requires(post):		%__chown %__chmod
d1f6c75
Requires(post):		group(clamav)
cvsextras 47272f4
cvsextras 47272f4
%package server
534af6f
Summary:	Clam Antivirus scanner server
cvsextras 47272f4
Group:		System Environment/Daemons
cvsextras 47272f4
Requires:	init(clamav-server)
cvsextras 47272f4
Requires:	data(clamav)
d1f6c75
Requires:	clamav-filesystem = %version-%release
d1f6c75
Requires:	clamav-lib        = %version-%release
d1f6c75
d1f6c75
%package server-sysv
d1f6c75
Summary:	SysV initscripts for clamav server
d1f6c75
Group:		System Environment/Daemons
d1f6c75
Provides:	init(clamav-server) = sysv
d1f6c75
Requires:	clamav-server = %version-%release
cvsextras 47272f4
Requires(pre):		%_initrddir
cvsextras 47272f4
Requires(postun):	%_initrddir
cvsextras 47272f4
cvsextras 47272f4
%package milter
534af6f
Summary:	Sendmail-milter for the Clam Antivirus scanner
cvsextras 47272f4
Group:		System Environment/Daemons
cvsextras 47272f4
Requires:	init(clamav-milter)
d1f6c75
BuildRequires:	sendmail-devel
d1f6c75
Provides:	user(%milteruser)
d1f6c75
Provides:	group(%milteruser)
d1f6c75
Requires:	sendmail
d1f6c75
Requires(post):	coreutils
6126bae
Requires(pre):	shadow-utils
d1f6c75
d1f6c75
%package milter-sysv
d1f6c75
Summary:	SysV initscripts for the clamav sendmail-milter
d1f6c75
Group:		System Environment/Daemons
a3fb3a9
Provides:	init(clamav-milter) = sysv
d1f6c75
Requires:	clamav-milter = %version-%release
d1f6c75
Requires(post):		user(%milteruser) clamav-milter
d1f6c75
Requires(preun):	user(%milteruser) clamav-milter
cvsextras 47272f4
Requires(pre):		%_initrddir
11cf6c4
Requires(postun):	%_initrddir initscripts
d1f6c75
Requires(post):		chkconfig
11cf6c4
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
d1f6c75
%description filesystem
d1f6c75
This package provides the filesystem structure and contains the
d1f6c75
user-creation scripts required by clamav.
b77bb64
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
d1f6c75
ships a corresponding cron-job. This package and the
d1f6c75
'clamav-data-empty' package are mutually exclusive.
d1f6c75
d1f6c75
Use -data when you want a working (but perhaps outdated) virus scanner
d1f6c75
immediately after package installation.
d1f6c75
d1f6c75
Use -data-empty when you are updating the virus database regulary and
d1f6c75
do not want to download a >5MB sized rpm-package with outdated virus
d1f6c75
definitions.
d1f6c75
d1f6c75
d1f6c75
%description data-empty
d1f6c75
This is an empty package to fulfill inter-package dependencies of the
d1f6c75
clamav suite. This package and the 'clamav-data' package are mutually
d1f6c75
exclusive.
d1f6c75
d1f6c75
Use -data when you want a working (but perhaps outdated) virus scanner
d1f6c75
immediately after package installation.
d1f6c75
d1f6c75
Use -data-empty when you are updating the virus database regulary and
d1f6c75
do not want to download a >5MB sized rpm-package with outdated virus
d1f6c75
definitions.
d1f6c75
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
b77bb64
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
d1f6c75
d1f6c75
%description server-sysv
d1f6c75
SysV initscripts template for the clamav server
d1f6c75
d1f6c75
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
d1f6c75
%description milter-sysv
d1f6c75
The SysV initscripts for clamav-milter.
d1f6c75
cvsextras 47272f4
cvsextras 47272f4
## ------------------------------------------------------------
cvsextras 47272f4
cvsextras 47272f4
%prep
cvsextras 47272f4
%setup -q
208a7fd
cvsextras 47272f4
%patch21 -p1 -b .path
cvsextras 47272f4
%patch22 -p1 -b .initoff
d1f6c75
%patch24 -p1 -b .private
d1f6c75
%patch25 -p1 -b .open
d1f6c75
%patch26 -p1 -b .nounrar
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;
b77bb64
            ' etc/clamd.conf
cvsextras 47272f4
cvsextras 47272f4
perl -pi -e 's!^#(UpdateLogFile )!\1!g;' etc/freshclam.conf
cvsextras 47272f4
11cf6c4
cvsextras 47272f4
## ------------------------------------------------------------
cvsextras 47272f4
cvsextras 47272f4
%build
d1f6c75
CFLAGS="$RPM_OPT_FLAGS -Wall -W -Wmissing-prototypes -Wmissing-declarations -std=gnu99"
d1f6c75
export LDFLAGS='-Wl,--as-needed'
d1f6c75
# HACK: remove me, when configure uses $LIBS instead of $LDFLAGS for milter check
d1f6c75
export LIBS='-lmilter -lpthread'
b77bb64
%configure --disable-clamav --with-dbdir=/var/lib/clamav \
9434947
	   --enable-milter --disable-static --disable-unrar --disable-zlib-vcheck
d1f6c75
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
d1f6c75
# No rpath
d1f6c75
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
d1f6c75
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
b77bb64
cvsextras 47272f4
d1f6c75
make %{?_smp_mflags}
cvsextras 47272f4
cvsextras 47272f4
cvsextras 47272f4
## ------------------------------------------------------------
cvsextras 47272f4
cvsextras 47272f4
%install
cvsextras 47272f4
rm -rf "$RPM_BUILD_ROOT" _doc*
d1f6c75
make DESTDIR="$RPM_BUILD_ROOT" install
cvsextras 47272f4
61fe767
function smartsubst() {
61fe767
	local tmp
61fe767
	local regexp=$1
61fe767
	shift
61fe767
61fe767
	tmp=$(mktemp /tmp/%name-subst.XXXXXX)
61fe767
	for i; do
61fe767
		sed -e "$regexp" "$i" >$tmp
61fe767
		cmp -s $tmp "$i" || cat $tmp >"$i"
61fe767
		rm -f $tmp
61fe767
	done
61fe767
}
61fe767
61fe767
d1f6c75
install -d -m755 \
d1f6c75
	${RPM_BUILD_ROOT}%_sysconfdir/{clamd.d,cron.d,logrotate.d,sysconfig} \
d1f6c75
	${RPM_BUILD_ROOT}%_var/log \
b77bb64
	${RPM_BUILD_ROOT}%milterstatedir \
b77bb64
	${RPM_BUILD_ROOT}%pkgdatadir/template \
d1f6c75
	${RPM_BUILD_ROOT}%_initrddir \
d1f6c75
	${RPM_BUILD_ROOT}%homedir/daily.inc
cvsextras 47272f4
d1f6c75
rm -f	${RPM_BUILD_ROOT}%_sysconfdir/clamd.conf \
d1f6c75
	${RPM_BUILD_ROOT}%_libdir/*.la
cvsextras 47272f4
d1f6c75
for i in COPYING daily.{db,fp,hdb,info,ndb,pdb,zmd}; do
d1f6c75
	touch ${RPM_BUILD_ROOT}%homedir/daily.inc/$i
d1f6c75
done
b77bb64
cvsextras 47272f4
cvsextras 47272f4
## prepare the server-files
cvsextras 47272f4
mkdir _doc_server
d1f6c75
install -m644 -p %SOURCE2	_doc_server/clamd.sysconfig
d1f6c75
install -m644 -p %SOURCE3       _doc_server/clamd.logrotate
d1f6c75
install -m755 -p %SOURCE7	_doc_server/clamd.init
d1f6c75
install -m644 -p %SOURCE5      	_doc_server/README
d1f6c75
install -m644 -p etc/clamd.conf _doc_server/clamd.conf
b77bb64
d1f6c75
install -m644 -p %SOURCE1  	$RPM_BUILD_ROOT%pkgdatadir
d1f6c75
install -m755 -p %SOURCE100     $RPM_BUILD_ROOT%pkgdatadir
d1f6c75
cp -pa _doc_server/*            $RPM_BUILD_ROOT%pkgdatadir/template
d1f6c75
ln -s %pkgdatadir/clamd-wrapper $RPM_BUILD_ROOT%_initrddir/clamd-wrapper
b77bb64
61fe767
smartsubst 's!/usr/share/clamav!%pkgdatadir!g' $RPM_BUILD_ROOT%pkgdatadir/clamd-wrapper
b77bb64
cvsextras 47272f4
cvsextras 47272f4
## prepare the update-files
d1f6c75
install -m644 -p %SOURCE6	${RPM_BUILD_ROOT}%_sysconfdir/logrotate.d/clamav-update
d1f6c75
install -m755 -p %SOURCE8	${RPM_BUILD_ROOT}%_sbindir/clamav-notify-servers
d1f6c75
touch ${RPM_BUILD_ROOT}%freshclamlog
cvsextras 47272f4
d1f6c75
install -p -m0755 %SOURCE200	$RPM_BUILD_ROOT%pkgdatadir/freshclam-sleep
d1f6c75
install -p -m0644 %SOURCE201	$RPM_BUILD_ROOT%_sysconfdir/sysconfig/freshclam
d1f6c75
install -p -m0600 %SOURCE202	$RPM_BUILD_ROOT%_sysconfdir/cron.d/clamav-update
b77bb64
61fe767
smartsubst 's!webmaster,clamav!webmaster,%username!g;
61fe767
	    s!/usr/share/clamav!%pkgdatadir!g;
61fe767
	    s!/usr/bin!%_bindir!g;
61fe767
            s!/usr/sbin!%_sbindir!g;' \
61fe767
   $RPM_BUILD_ROOT%_sysconfdir/cron.d/clamav-update \
61fe767
   $RPM_BUILD_ROOT%pkgdatadir/freshclam-sleep
cvsextras 47272f4
cvsextras 47272f4
cvsextras 47272f4
#### The milter stuff
cvsextras 47272f4
function subst() {
cvsextras 47272f4
	sed -e 's!<SERVICE>!milter!g;s!<USER>!%milteruser!g;'"$3" "$1" >"$RPM_BUILD_ROOT$2"
cvsextras 47272f4
}
cvsextras 47272f4
61fe767
b77bb64
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
d1f6c75
CLAMAV_FLAGS='-lo -c /etc/clamd.d/milter.conf local:%milterstatedir/clamav.sock'
cvsextras 47272f4
EOF
cvsextras 47272f4
d1f6c75
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
b77bb64
cvsextras 47272f4
cvsextras 47272f4
## ------------------------------------------------------------
cvsextras 47272f4
cvsextras 47272f4
%clean
cvsextras 47272f4
rm -rf "$RPM_BUILD_ROOT"
cvsextras 47272f4
cvsextras 47272f4
## ------------------------------------------------------------
cvsextras 47272f4
d1f6c75
%pre filesystem
6126bae
getent group %username >/dev/null || groupadd -r %username
6126bae
getent passwd %username >/dev/null || \
6126bae
useradd -r -g %username -d %homedir -s /sbin/nologin \
6126bae
    -c "Clamav databse update user" %username
6126bae
exit 0
cvsextras 47272f4
cvsextras 47272f4
%post update
d1f6c75
test -e %freshclamlog || {
d1f6c75
	touch %freshclamlog
d1f6c75
	%__chmod 0664 %freshclamlog
d1f6c75
	%__chown root:%username %freshclamlog
cvsextras 47272f4
}
cvsextras 47272f4
cvsextras 47272f4
%pre milter
6126bae
getent group %milteruser >/dev/null || groupadd -r %milteruser
6126bae
getent passwd %milteruser >/dev/null || \
6126bae
useradd -r -g %milteruser -d %milterstatedir -s /sbin/nologin \
6126bae
    -c "Clamav Milter user" %milteruser
6126bae
exit 0
cvsextras 47272f4
cvsextras 47272f4
%post milter
11cf6c4
test -e %milterlog || {
11cf6c4
	touch %milterlog
11cf6c4
	chmod 0620             %milterlog
11cf6c4
	chown root:%milteruser %milterlog
11cf6c4
}
cvsextras 47272f4
d1f6c75
%post milter-sysv
d1f6c75
/sbin/chkconfig --add clamav-milter
d1f6c75
d1f6c75
%preun milter-sysv
d1f6c75
test "$1" != 0 || %_initrddir/clamav-milter stop &>/dev/null || :
cvsextras 47272f4
test "$1" != 0 || /sbin/chkconfig --del clamav-milter
cvsextras 47272f4
d1f6c75
%postun milter-sysv
d1f6c75
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,-)
d1f6c75
%doc AUTHORS BUGS COPYING ChangeLog FAQ NEWS README UPGRADE
cvsextras 47272f4
%doc docs/*.pdf
d1f6c75
%_bindir/*
d1f6c75
%_mandir/man[15]/*
b77bb64
%exclude %_bindir/clamav-config
cvsextras 47272f4
%exclude %_bindir/freshclam
d1f6c75
%exclude %_mandir/*/freshclam*
cvsextras 47272f4
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files lib
cvsextras 47272f4
%defattr(-,root,root,-)
d1f6c75
%_libdir/*.so.*
cvsextras 47272f4
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files devel
cvsextras 47272f4
%defattr(-,root,root,-)
d1f6c75
%_includedir/*
d1f6c75
%_libdir/*.so
b77bb64
%pkgdatadir/template
b77bb64
%pkgdatadir/clamd-gen
b77bb64
%_libdir/pkgconfig/*
b77bb64
%_bindir/clamav-config
cvsextras 47272f4
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
d1f6c75
%files filesystem
d1f6c75
%attr(-,%username,%username) %dir %homedir
d1f6c75
%attr(-,%username,%username) %dir %homedir/daily.inc
d1f6c75
%attr(-,root,root)           %dir %pkgdatadir
d1f6c75
d1f6c75
## -----------------------
d1f6c75
cvsextras 47272f4
%files data
d1f6c75
%defattr(-,%username,%username,-)
b77bb64
# use %%config to keep files which were updated by 'freshclam'
b77bb64
# already. Without this tag, they would be overridden with older
b77bb64
# versions whenever a new -data package is installed.
d1f6c75
%config %verify(not size md5 mtime) %homedir/*.cvd
d1f6c75
d1f6c75
d1f6c75
%files data-empty
d1f6c75
%defattr(-,%username,%username,-)
d1f6c75
%ghost %attr(0664,%username,%username) %homedir/main.cvd
cvsextras 47272f4
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files update
cvsextras 47272f4
%defattr(-,root,root,-)
cvsextras 47272f4
%_bindir/freshclam
d1f6c75
%_mandir/*/freshclam*
61fe767
%pkgdatadir/freshclam-sleep
61fe767
%config(noreplace) %verify(not mtime)    %_sysconfdir/freshclam.conf
61fe767
%config(noreplace) %verify(not mtime)    %_sysconfdir/logrotate.d/*
61fe767
%config(noreplace) %_sysconfdir/cron.d/*
61fe767
%config(noreplace) %_sysconfdir/sysconfig/freshclam
cvsextras 47272f4
d1f6c75
%ghost %attr(0664,root,%username) %verify(not size md5 mtime) %freshclamlog
d1f6c75
d1f6c75
%ghost %attr(0664,%username,%username) %homedir/daily.inc/COPYING
d1f6c75
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.db
d1f6c75
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.fp
d1f6c75
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.hdb
d1f6c75
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.info
d1f6c75
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.ndb
d1f6c75
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.pdb
d1f6c75
%ghost %attr(0664,%username,%username) %homedir/daily.inc/daily.zmd
d1f6c75
cvsextras 47272f4
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files server
cvsextras 47272f4
%defattr(-,root,root,-)
cvsextras 47272f4
%doc _doc_server/*
594ca0c
%_mandir/man[58]/clamd*
d1f6c75
%_sbindir/*
b77bb64
%pkgdatadir/clamd-wrapper
d1f6c75
%dir %_sysconfdir/clamd.d
b77bb64
cvsextras 47272f4
%exclude %_sbindir/*milter*
cvsextras 47272f4
%exclude %_mandir/man8/clamav-milter*
cvsextras 47272f4
d1f6c75
d1f6c75
%files server-sysv
d1f6c75
%defattr(-,root,root,-)
d1f6c75
%_initrddir/clamd-wrapper
d1f6c75
d1f6c75
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*
d1f6c75
%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
d1f6c75
d1f6c75
d1f6c75
%files milter-sysv
d1f6c75
%defattr(-,root,root,-)
d1f6c75
%config %_initrddir/clamav-milter
d1f6c75
%config(noreplace) %verify(not mtime) %_sysconfdir/sysconfig/clamav-milter
d1f6c75
cvsextras 47272f4
cvsextras 47272f4
%changelog
4d92b21
* Thu Feb 14 2008 Robert Scheck <robert@fedoraproject.org> - 0.92.1-1
4d92b21
- Upgrade to 0.92.1 (SECURITY):
4d92b21
- CVE-2008-0318 Integer overflow in libclamav (#432623)
4d92b21
6126bae
* Fri Dec 21 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.92-4.2
6126bae
- EL-4 not using fedora-account style due to missing deps
9434947
- disable zlib-vcheck
6126bae
48a380f
* Fri Dec 21 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.92-4
48a380f
- EPEL fixes
48a380f
593c224
* Fri Dec 21 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.92-3
d1f6c75
- updated to 0.92 (SECURITY):
d1f6c75
- CVE-2007-6335 MEW PE File Integer Overflow Vulnerability
d1f6c75
d1f6c75
* Mon Oct 29 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.91.2-3
d1f6c75
- remove RAR decompression code from source tarball because of 
d1f6c75
  legal problems (resolves 334371)
d1f6c75
- correct license tag
d1f6c75
d1f6c75
* Mon Sep 24 2007 Jesse Keating <jkeating@redhat.com> - 0.91.2-2
d1f6c75
- Bump release for upgrade path.
d1f6c75
d1f6c75
* Sat Aug 25 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.91.2-1
d1f6c75
- updated to 0.91.2 (SECURITY):
d1f6c75
- CVE-2007-4510 DOS in RTF parser
d1f6c75
- DOS in html normalizer
d1f6c75
- arbitrary command execution by special crafted recipients in
d1f6c75
  clamav-milter's black-hole mode
d1f6c75
- fixed an open(2) issue
d1f6c75
d1f6c75
* Tue Jul 17 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.91.1-0
d1f6c75
- updated to 0.91.1
d1f6c75
d1f6c75
* Thu Jul 12 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.91-1
d1f6c75
- updated to 0.91
d1f6c75
d1f6c75
* Thu May 31 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.3-1
d1f6c75
- updated to 0.90.3
d1f6c75
- BR tcpd.h instead of tcp_wrappers(-devel) to make it build both
d1f6c75
  in FC6- and F7+
d1f6c75
d1f6c75
* Fri Apr 13 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.2-1
d1f6c75
- [SECURITY] updated to 0.90.2; fixes CVE-2007-1745, CVE-2007-1997 
d1f6c75
d1f6c75
* Fri Mar  2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.1-2
d1f6c75
- BR 'tcp_wrappers-devel' instead of plain 'tcp_wrappers'
d1f6c75
d1f6c75
* Fri Mar  2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.1-1
d1f6c75
- updated to 0.90.1
d1f6c75
- updated %%doc list
d1f6c75
d1f6c75
* Sun Feb 18 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90-1
d1f6c75
- updated to final 0.90
d1f6c75
- removed -visibility patch since fixed upstream
d1f6c75
d1f6c75
* Sun Feb  4 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90-0.3.rc3
d1f6c75
- build with -Wl,-as-needed and cleaned up pkgconfig file
d1f6c75
- removed old hack which forced installation of freshclam.conf; related
d1f6c75
  check was removed upstream
d1f6c75
- removed static library
d1f6c75
- removed %%changelog entries from before 2004
d1f6c75
d1f6c75
* Sat Feb  3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90-0.2.rc3
d1f6c75
- updated to 0.90rc3
d1f6c75
- splitted mandatory parts from the data-file into a separate -filesystem
d1f6c75
  subpackage
d1f6c75
- added a -data-empty subpackage to allow a setup where database is
d1f6c75
  updated per cron-job and user does not want to download the large
d1f6c75
  -data package with outdated virus definitations (#214949)
d1f6c75
- %%ghost'ed the files downloaded by freshclam
d1f6c75
d1f6c75
* Tue Dec 12 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.7-1
d1f6c75
- updated to 0.88.7
d1f6c75
62eeeda
* Sun Nov  5 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.6-1
62eeeda
- updated to 0.88.6
62eeeda
d1f6c75
* Wed Oct 18 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.5-1
62eeeda
- updated to 0.88.5 (SECURITY); fixes CVE-2006-4182, CVE-2006-5295
d1f6c75
- added patch to set '__attribute__ ((visibility("hidden")))' for
d1f6c75
  exported MD5_*() functions (fixes #202043)
d1f6c75
d1f6c75
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.88.4-4
d1f6c75
 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
d1f6c75
d1f6c75
* Thu Sep 21 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.4-3
d1f6c75
- splitted SysV initscripts of -milter and -server into own subpackages
d1f6c75
d1f6c75
* Fri Sep 15 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.4-2
d1f6c75
- rebuilt
64ad03e
594ca0c
* Tue Aug  8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.4-1
594ca0c
- updated to 0.88.4 (SECURITY)
594ca0c
594ca0c
* Wed Jul 12 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
594ca0c
- removed the clamdscan(1) manpage from the -server subpackage
594ca0c
d1f6c75
* Sat Jul  8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
d1f6c75
- removed a superfluous '}'
d1f6c75
- removed some code which was relevant for FC-3 only
d1f6c75
29db9f9
* Sat Jul  8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.3-1
29db9f9
- updated to 0.88.3
d1f6c75
- updated to new fedora-usermgmt macros
d1f6c75
d1f6c75
* Tue May 16 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.2-2
d1f6c75
- cleanups: removed unneeded curlies, use plain command instead of
d1f6c75
  %%__XXX macro, whitespace cleanup, removed unneeded versioned
d1f6c75
  dependencies
d1f6c75
- added a 'Requires(post): group(clamav)' dependencies for -update and
d1f6c75
  added the corresponding Provides: to -data
d1f6c75
- removed the %%_without_milter conditional; you won't gain anything
d1f6c75
  when milter would be disabled at buildtime
29db9f9
208a7fd
* Sun Apr 30 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.2-1
208a7fd
- updated to 0.88.2 (SECURITY)
d1f6c75
- rediffed patches; most issues handled by 0.88.1-2 are fixed in
d1f6c75
  0.88.2
d1f6c75
d1f6c75
* Mon Apr 24 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.1-2
d1f6c75
- added patch which fixes some classes of compiler warnings; at least
d1f6c75
  the using of implicitly declared functions was reported to cause
d1f6c75
  segfaults on AMD64 (brought to my attention by Marc Perkel)
208a7fd
- added patch which fixes wrong usage of strncpy(3) in unrarlib.c
208a7fd
d1f6c75
* Thu Apr 06 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.1-1
f60d4b2
- updated to 0.88.1 (SECURITY)
f60d4b2
d1f6c75
* Sat Feb 18 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88-2
d1f6c75
- rebuilt for FC5
d1f6c75
a3fb3a9
* Tue Jan 10 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88-1
a3fb3a9
- updated to 0.88
a3fb3a9
- added pseudo-versions for the 'init(...)' provides as a first step
a3fb3a9
  for the support of alternative initmethods
a3fb3a9
d1f6c75
* Tue Nov 15 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.87.1-2
d1f6c75
- moved 'freshclam.conf.5' man page into the -update subpackage (#173221)
d1f6c75
- ship 'clamd.conf.5' man page in the -server subpackage *too*. The
d1f6c75
  same file is contained in multiple packages now, but this man-page
d1f6c75
  can not be removed from the base package because it also applies to
d1f6c75
  'clamdscan' there (#173221).
d1f6c75
ebc17cf
* Fri Nov  4 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.87.1-1
ebc17cf
- updated to 0.87.1
ebc17cf
603527a
* Sat Sep 17 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.87-1
603527a
- updated to 0.87 (SECURITY)
603527a
- removed -timeout patch; it is solved upstream
d1f6c75
- reverted the -exim changes; they add yet more complexity, their
d1f6c75
  functionality can go into an own package and they contained flaws
d1f6c75
d1f6c75
* Fri Sep  9 2005 David Woodhouse <dwmw2@infradead.org> - 0.86.2-5
d1f6c75
- Add clamav-exim configuration package
603527a
11cf6c4
* Fri Jul 29 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86.2-4
11cf6c4
- [milter] create the milter-logfile in the %%post scriptlet
11cf6c4
- [milter] reverted the change of the default child_timeout value; it
11cf6c4
  was set to 5 minutes in 0.86.2 which conflicts with the internal
11cf6c4
  mode where a timeout must not be set. So, the clamav-milter would
11cf6c4
  not run with the default configuration
11cf6c4
eaffb5a
* Thu Jul 28 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86.2-3
eaffb5a
- Fixed calculation of sleep duration; on some systems/IPs, `hostid`
eaffb5a
  results in a negative number which is retained by the bash
eaffb5a
  modulo-operation. So the sleep may get a negative number of seconds
eaffb5a
  being interpreted as an option. This version makes sure that the
eaffb5a
  module-operations returns a non-negative value. [BZ #164494, James
eaffb5a
  Wilkinson]
eaffb5a
- added support for a /usr/sbin/clamav-notify-servers.local hook; this
eaffb5a
  file will be executed (source'd) before all other actions and can
eaffb5a
  abort the entire processing by invoking 'exit'
eaffb5a
8980adb
* Mon Jul 25 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86.2-2
61fe767
- updated to 0.86.2 (SECURITY)
61fe767
- changed the freshclam updating mechanism (again); now, it consists
61fe767
  of a crontab which does not need to be changed and a helper script
61fe767
  (freshclam-sleep). This helper script is configured by
61fe767
  /etc/sysconfig/freshclam
61fe767
b808b41
* Sat Jun 25 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86.1-2
b808b41
- updated to 0.86.1
b808b41
- fixed randomization in %%post scriptlet: hour should be a range but
b808b41
  not a single number
b808b41
8a75e54
* Tue Jun 21 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86-1
8a75e54
- updated to 0.86
8a75e54
- randomize freshclam startup times in -update's %%post script (suggested
8a75e54
  by Stephen Smoogen); this requires some more Requires(post): also
8a75e54
534af6f
* Wed May 18 2005 Warren Togami <wtogami@redhat.com> - 0.85.1-4
534af6f
- fix dist tagging the way Enrico wants it
534af6f
534af6f
* Tue May 17 2005 Oliver Falk <oliver@linux-kernel.at>					  - 0.85.1-2
534af6f
- Rebuild
534af6f
534af6f
* Tue May 17 2005 Oliver Falk <oliver@linux-kernel.at>					  - 0.85.1-1
34179e2
- Update
34179e2
534af6f
* Sat May 14 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.85-0
534af6f
- updated to 0.85
534af6f
534af6f
* Sun May  1 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.84-0
534af6f
- updated to 0.84
534af6f
534af6f
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
534af6f
- rebuilt
534af6f
c19278e
* Tue Feb 15 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.83-1
c19278e
- updated to 0.83
c19278e
5ec291e
* Tue Feb  8 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.82-1
5ec291e
- updated to 0.82
5ec291e
- minor spec cleanups
5ec291e
b77bb64
* Fri Jan 28 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.81-0.fdr.2
b77bb64
- build the package with '--disable-zlib-vcheck' because RH is unable to
b77bb64
  apply a fix for a 5 month old and solved security issue.  Please fill
b77bb64
  your comments at https://bugzilla.redhat.com/beta/show_bug.cgi?id=131385
b77bb64
- added 'BuildRequires: bc' (should work without also, but ./configure
b77bb64
  gives out ugly warnings else)
b77bb64
b77bb64
* Fri Jan 28 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.81-0.fdr.1
b77bb64
- updated to 0.81
b77bb64
- do not ship the 'clamd.milter' daemon anymore; clamav-milter supports
b77bb64
  an internal mode now which is enabled by default
b77bb64
- updated -milter %%description
b77bb64
b77bb64
* Thu Jan 20 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.80-0.fdr.2
b77bb64
- s!cron.d/clamav!cron.d/clamav-update! in the %%description of the -update
b77bb64
  subpackage (https://bugzilla.fedora.us/show_bug.cgi?id=1715#c39)
b77bb64
b77bb64
* Wed Nov  3 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.80-0.fdr.1
b77bb64
- updated to 0.80
b77bb64
- removed DMS, FreeBSD-HOWTO and localized docs as it is not shipped anymore
b77bb64
- buildrequire 'curl-devel'
b77bb64
- renamed clamav.conf to clamd.conf (upstream change)
b77bb64
- updated -initoff patch
b77bb64
b77bb64
* Tue Sep 14 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.75.1-0.fdr.1
b77bb64
- updated to 0.75.1
b77bb64
- use %%configure, the problems with the architecture specification
b77bb64
  seem to have passed (probably because of an autoconf update)
b77bb64
- set mode 0600 for the cron-script (required by vixie-cron)
b77bb64
- made the cronjob a spambot and send mail about deactivated freshclam
b77bb64
  service to nearly everybody... (root, postmaster, webmaster)
b77bb64
- other fixes in the notification cronjob
b77bb64
b77bb64
* Fri Jul 23 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.75-0.fdr.1
b77bb64
- updated to 0.75
b77bb64
b77bb64
* Thu Jul 15 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.74-0.fdr.2
b77bb64
- moved /usr/bin/clamav-config from main into -devel
b77bb64
b77bb64
* Wed Jun 30 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.74-0.fdr.1
b77bb64
- updated to 0.74
b77bb64
b77bb64
* Mon Jun 14 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.73-0.fdr.1
b77bb64
- updated to 0.73
b77bb64
- added pkgconfig file
b77bb64
b77bb64
* Fri Jun 11 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.72-0.fdr.3
b77bb64
- notify the user about a deactivated clamav-update service
b77bb64
- added clamd-gen script which generates template spec-files for
b77bb64
  services using clamd
b77bb64
- copied template configuration files to %pkgdatadir/template (needed
b77bb64
  for clamd-gen)
b77bb64
- moved the clamd-wrapper from %_initrddir to %{pkgdatadir}; a symlink
b77bb64
  will be provided for compatibility reasons
b77bb64
- conditionalized building of the -milter subpackage ('--without
b77bb64
  milter' switch) to enable builds on RH73 (bug #1715, comment #5/#7)
b77bb64
b77bb64
* Fri Jun  4 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.72-0.fdr.2
b77bb64
- removed 'BuildRequires: dietlibc'; it was a leftover from the
b77bb64
  pre-use-signal era (before 0.70) (bug #1716)
b77bb64
b77bb64
* Thu Jun  3 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.72-0.fdr.1
b77bb64
- updated to 0.72
b77bb64
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