df38976
## $Id: clamav.spec,v 1.65 2008/02/11 22:31:07 ensc Exp $
b77bb64
b77bb64
## Fedora Extras specific customization below...
c685721
%bcond_without       	fedora
c685721
%bcond_with		unrar
b77bb64
##
b77bb64
a71f8e3
%global username	clamav
a71f8e3
%global homedir		%_var/lib/clamav
a71f8e3
%global freshclamlog	%_var/log/freshclam.log
a71f8e3
%global milterlog	%_var/log/clamd.milter
a71f8e3
%global milteruser	clamilt
a71f8e3
%global milterstatedir	%_var/run/clamav-milter
a71f8e3
%global pkgdatadir	%_datadir/%name
cvsextras 47272f4
5ec291e
d52962c
%{!?release_func:%global release_func() %1%{?dist}}
5ec291e
cvsextras 47272f4
Summary:	End-user tools for the Clam Antivirus scanner
cvsextras 47272f4
Name:		clamav
c3a9c9c
Version:	0.92.1
df38976
Release:	%release_func 2
4d68735
c685721
License:	%{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
cvsextras 47272f4
Group:		Applications/File
cvsextras 47272f4
URL:		http://www.clamav.net
4209388
%if 0%{?with_unrar:1}
c685721
Source0:	http://download.sourceforge.net/sourceforge/clamav/%name-%version.tar.gz
c685721
Source999:	http://download.sourceforge.net/sourceforge/clamav/%name-%version.tar.gz.sig
4209388
%else
4209388
# Unfortunately, clamav includes support for RAR v3, derived from GPL 
4209388
# incompatible unrar from RARlabs. We have to pull this code out.
c3a9c9c
# tarball was created by
c3a9c9c
#
c3a9c9c
# zcat clamav-$V.tar.gz | tar --delete -f - '*/libclamunrar/*' | bzip2 -c > clamav-$V-norar.tar.bz2
c3a9c9c
#
c3a9c9c
# or
c3a9c9c
#
c3a9c9c
# make clean-sources [TARBALL=<original-tarball>]
c3a9c9c
Source0:	%name-%version-norar.tar.bz2
4209388
%endif
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
c685721
Patch24:	clamav-0.92-private.patch
b410cda
Patch25:	clamav-0.92-open.patch
df38976
# security patches
df38976
Patch26:	clamav-0.92.1-CVE-2008-0314.diff
df38976
Patch27:	clamav-0.92.1-CVE-2008-1100.diff
df38976
Patch28:	clamav-0.92.1-CVE-2008-1387.diff
df38976
Patch29:	clamav-0.92.1-CVE-2008-1833.diff
6ff0a52
BuildRoot:	%_tmppath/%name-%version-%release-root
6ff0a52
Requires:	clamav-lib = %version-%release
cvsextras 47272f4
Requires:	data(clamav)
1645496
BuildRequires:	zlib-devel bzip2-devel gmp-devel curl-devel
3aed982
BuildRequires:	%_includedir/tcpd.h
b77bb64
BuildRequires:	bc
cvsextras 47272f4
fead405
%package filesystem
fead405
Summary:	Filesystem structure for clamav
fead405
Group:		Applications/File
fead405
Provides:	user(clamav)
fead405
Provides:	group(clamav)
fead405
# Prevent version mix
fead405
Conflicts:	%name < %version-%release
fead405
Conflicts:	%name > %version-%release
fead405
BuildRequires:	fedora-usermgmt-devel
fead405
%{?FE_USERADD_REQ}
fead405
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
4563bd9
Summary:	Header files and libraries for the Clam Antivirus scanner
cvsextras 47272f4
Group:		Development/Libraries
b77bb64
Source100:	clamd-gen
fead405
Requires:	clamav-lib        = %version-%release
fead405
Requires:	clamav-filesystem = %version-%release
b77bb64
Requires(pre):	%_libdir/pkgconfig
c685721
Requires:	pkgconfig
cvsextras 47272f4
cvsextras 47272f4
%package data
4563bd9
Summary:	Virus signature data for the Clam Antivirus scanner
cvsextras 47272f4
Group:		Applications/File
fead405
Requires(pre):		clamav-filesystem = %version-%release
fead405
Requires(postun):	clamav-filesystem = %version-%release
fead405
Provides:		data(clamav) = full
fead405
Conflicts:		data(clamav) < full
fead405
Conflicts:		data(clamav) > full
fead405
fead405
%package data-empty
fead405
Summary:	Empty data package for the Clam Antivirus scanner
fead405
Group:		Applications/File
fead405
Provides:	data(clamav) = empty
fead405
Conflicts:	data(clamav) < empty
fead405
Conflicts:	data(clamav) > empty
cvsextras 47272f4
cvsextras 47272f4
%package update
4563bd9
Summary:	Auto-updater for the Clam Antivirus scanner data-files
cvsextras 47272f4
Group:		Applications/File
e5f3880
Source200:	freshclam-sleep
e5f3880
Source201:	freshclam.sysconfig
e5f3880
Source202:	clamav-update.cron
fead405
Requires:		clamav-filesystem = %version-%release
cvsextras 47272f4
Requires(pre):		/etc/cron.d
cvsextras 47272f4
Requires(postun):	/etc/cron.d
e5f3880
Requires(post):		%__chown %__chmod
6ff0a52
Requires(post):		group(clamav)
cvsextras 47272f4
cvsextras 47272f4
%package server
4563bd9
Summary:	Clam Antivirus scanner server
cvsextras 47272f4
Group:		System Environment/Daemons
cvsextras 47272f4
Requires:	init(clamav-server)
cvsextras 47272f4
Requires:	data(clamav)
fead405
Requires:	clamav-filesystem = %version-%release
fead405
Requires:	clamav-lib        = %version-%release
f1f8b45
f1f8b45
%package server-sysv
f1f8b45
Summary:	SysV initscripts for clamav server
f1f8b45
Group:		System Environment/Daemons
f1f8b45
Provides:	init(clamav-server) = sysv
f1f8b45
Requires:	clamav-server = %version-%release
cvsextras 47272f4
Requires(pre):		%_initrddir
cvsextras 47272f4
Requires(postun):	%_initrddir
cvsextras 47272f4
cvsextras 47272f4
%package milter
4563bd9
Summary:	Sendmail-milter for the Clam Antivirus scanner
cvsextras 47272f4
Group:		System Environment/Daemons
cvsextras 47272f4
Requires:	init(clamav-milter)
c685721
Source300:	README.fedora
6ff0a52
BuildRequires:	sendmail-devel
6ff0a52
BuildRequires:	fedora-usermgmt-devel
f1f8b45
Provides:	user(%milteruser)
f1f8b45
Provides:	group(%milteruser)
f1f8b45
Requires:	sendmail
f1f8b45
Requires(post):	coreutils
f1f8b45
%{?FE_USERADD_REQ}
f1f8b45
f1f8b45
%package milter-sysv
f1f8b45
Summary:	SysV initscripts for the clamav sendmail-milter
f1f8b45
Group:		System Environment/Daemons
f1f8b45
Provides:	init(clamav-milter) = sysv
f1f8b45
Requires:	clamav-milter = %version-%release
f1f8b45
Requires(post):		user(%milteruser) clamav-milter
f1f8b45
Requires(preun):	user(%milteruser) clamav-milter
cvsextras 47272f4
Requires(pre):		%_initrddir
5f98a14
Requires(postun):	%_initrddir initscripts
f1f8b45
Requires(post):		chkconfig
5f98a14
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
fead405
%description filesystem
fead405
This package provides the filesystem structure and contains the
fead405
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
fead405
ships a corresponding cron-job. This package and the
fead405
'clamav-data-empty' package are mutually exclusive.
fead405
fead405
Use -data when you want a working (but perhaps outdated) virus scanner
fead405
immediately after package installation.
fead405
fead405
Use -data-empty when you are updating the virus database regulary and
fead405
do not want to download a >5MB sized rpm-package with outdated virus
fead405
definitions.
fead405
fead405
fead405
%description data-empty
fead405
This is an empty package to fulfill inter-package dependencies of the
fead405
clamav suite. This package and the 'clamav-data' package are mutually
fead405
exclusive.
fead405
fead405
Use -data when you want a working (but perhaps outdated) virus scanner
fead405
immediately after package installation.
fead405
fead405
Use -data-empty when you are updating the virus database regulary and
fead405
do not want to download a >5MB sized rpm-package with outdated virus
fead405
definitions.
fead405
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
f1f8b45
f1f8b45
%description server-sysv
f1f8b45
SysV initscripts template for the clamav server
f1f8b45
f1f8b45
cvsextras 47272f4
%description milter
c685721
This package contains files which are needed to run the clamav-milter.
cvsextras 47272f4
f1f8b45
%description milter-sysv
f1f8b45
The SysV initscripts for clamav-milter.
f1f8b45
cvsextras 47272f4
cvsextras 47272f4
## ------------------------------------------------------------
cvsextras 47272f4
cvsextras 47272f4
%prep
b842833
%setup -q
e1f2fc0
cvsextras 47272f4
%patch21 -p1 -b .path
cvsextras 47272f4
%patch22 -p1 -b .initoff
0e58ab3
%patch24 -p1 -b .private
65b1d68
%patch25 -p1 -b .open
df38976
%patch26 -p1 -b .CVE-2008-0314
df38976
%patch27 -p1 -b .CVE-2008-1100
df38976
%patch28 -p1 -b .CVE-2008-1387
df38976
%patch29 -p1 -b .CVE-2008-1833
c685721
c685721
install -p -m0644 %SOURCE300 clamav-milter/
c685721
4209388
mkdir -p libclamunrar{,_iface}
c3a9c9c
%{!?with_unrar:touch libclamunrar/{Makefile.in,all,install}}
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
5f98a14
cvsextras 47272f4
## ------------------------------------------------------------
cvsextras 47272f4
cvsextras 47272f4
%build
bf7d59e
CFLAGS="$RPM_OPT_FLAGS -Wall -W -Wmissing-prototypes -Wmissing-declarations -std=gnu99"
0e58ab3
export LDFLAGS='-Wl,--as-needed'
0e58ab3
# HACK: remove me, when configure uses $LIBS instead of $LDFLAGS for milter check
0e58ab3
export LIBS='-lmilter -lpthread'
c685721
%configure --disable-clamav --with-dbdir=/var/lib/clamav	\
a78a54f
	--enable-milter --disable-static			\
c685721
	%{!?with_unrar:--disable-unrar}
c685721
c685721
# build with --as-needed and disable rpath
c685721
sed -i \
c685721
	-e 's! -shared ! -Wl,--as-needed\0!g' 					\
a78a54f
	-e '/sys_lib_dlsearch_path_spec=\"\/lib \/usr\/lib /s!/lib!/%_lib!g'	\
c685721
	libtool
b410cda
cvsextras 47272f4
6ff0a52
make %{?_smp_mflags}
cvsextras 47272f4
cvsextras 47272f4
cvsextras 47272f4
## ------------------------------------------------------------
cvsextras 47272f4
cvsextras 47272f4
%install
cvsextras 47272f4
rm -rf "$RPM_BUILD_ROOT" _doc*
6ff0a52
make DESTDIR="$RPM_BUILD_ROOT" install
cvsextras 47272f4
e5f3880
function smartsubst() {
e5f3880
	local tmp
e5f3880
	local regexp=$1
e5f3880
	shift
e5f3880
e5f3880
	tmp=$(mktemp /tmp/%name-subst.XXXXXX)
e5f3880
	for i; do
e5f3880
		sed -e "$regexp" "$i" >$tmp
e5f3880
		cmp -s $tmp "$i" || cat $tmp >"$i"
e5f3880
		rm -f $tmp
e5f3880
	done
e5f3880
}
e5f3880
e5f3880
6ff0a52
install -d -m755 \
6ff0a52
	${RPM_BUILD_ROOT}%_sysconfdir/{clamd.d,cron.d,logrotate.d,sysconfig} \
6ff0a52
	${RPM_BUILD_ROOT}%_var/log \
b77bb64
	${RPM_BUILD_ROOT}%milterstatedir \
b77bb64
	${RPM_BUILD_ROOT}%pkgdatadir/template \
fead405
	${RPM_BUILD_ROOT}%_initrddir \
c685721
	${RPM_BUILD_ROOT}%homedir/{main,daily}.inc
cvsextras 47272f4
6ff0a52
rm -f	${RPM_BUILD_ROOT}%_sysconfdir/clamd.conf \
6ff0a52
	${RPM_BUILD_ROOT}%_libdir/*.la
b77bb64
c685721
c685721
for i in cfg db fp hdb info mdb mdu ndb ndu pdb wdb zmd; do
c685721
	touch ${RPM_BUILD_ROOT}%homedir/daily.inc/daily.$i
c685721
	touch ${RPM_BUILD_ROOT}%homedir/main.inc/main.$i
fead405
done
fead405
c685721
touch ${RPM_BUILD_ROOT}%homedir/daily.inc/COPYING
c685721
touch ${RPM_BUILD_ROOT}%homedir/main.inc/COPYING
c685721
cvsextras 47272f4
cvsextras 47272f4
## prepare the server-files
cvsextras 47272f4
mkdir _doc_server
6ff0a52
install -m644 -p %SOURCE2	_doc_server/clamd.sysconfig
6ff0a52
install -m644 -p %SOURCE3       _doc_server/clamd.logrotate
6ff0a52
install -m755 -p %SOURCE7	_doc_server/clamd.init
6ff0a52
install -m644 -p %SOURCE5      	_doc_server/README
6ff0a52
install -m644 -p etc/clamd.conf _doc_server/clamd.conf
b77bb64
6ff0a52
install -m644 -p %SOURCE1  	$RPM_BUILD_ROOT%pkgdatadir
6ff0a52
install -m755 -p %SOURCE100     $RPM_BUILD_ROOT%pkgdatadir
6ff0a52
cp -pa _doc_server/*            $RPM_BUILD_ROOT%pkgdatadir/template
6ff0a52
ln -s %pkgdatadir/clamd-wrapper $RPM_BUILD_ROOT%_initrddir/clamd-wrapper
b77bb64
e5f3880
smartsubst 's!/usr/share/clamav!%pkgdatadir!g' $RPM_BUILD_ROOT%pkgdatadir/clamd-wrapper
b77bb64
cvsextras 47272f4
cvsextras 47272f4
## prepare the update-files
6ff0a52
install -m644 -p %SOURCE6	${RPM_BUILD_ROOT}%_sysconfdir/logrotate.d/clamav-update
6ff0a52
install -m755 -p %SOURCE8	${RPM_BUILD_ROOT}%_sbindir/clamav-notify-servers
6ff0a52
touch ${RPM_BUILD_ROOT}%freshclamlog
cvsextras 47272f4
6ff0a52
install -p -m0755 %SOURCE200	$RPM_BUILD_ROOT%pkgdatadir/freshclam-sleep
6ff0a52
install -p -m0644 %SOURCE201	$RPM_BUILD_ROOT%_sysconfdir/sysconfig/freshclam
6ff0a52
install -p -m0600 %SOURCE202	$RPM_BUILD_ROOT%_sysconfdir/cron.d/clamav-update
b77bb64
e5f3880
smartsubst 's!webmaster,clamav!webmaster,%username!g;
e5f3880
	    s!/usr/share/clamav!%pkgdatadir!g;
e5f3880
	    s!/usr/bin!%_bindir!g;
e5f3880
            s!/usr/sbin!%_sbindir!g;' \
e5f3880
   $RPM_BUILD_ROOT%_sysconfdir/cron.d/clamav-update \
e5f3880
   $RPM_BUILD_ROOT%pkgdatadir/freshclam-sleep
cvsextras 47272f4
cvsextras 47272f4
ecc95d9
#### The milter stuff
cvsextras 47272f4
function subst() {
ecc95d9
	sed -e 's!<SERVICE>!milter!g;s!<USER>!%milteruser!g;'"$3" "$1" >"$RPM_BUILD_ROOT$2"
cvsextras 47272f4
}
cvsextras 47272f4
e5f3880
ecc95d9
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
fead405
CLAMAV_FLAGS='-lo -c /etc/clamd.d/milter.conf local:%milterstatedir/clamav.sock'
cvsextras 47272f4
EOF
cvsextras 47272f4
6ff0a52
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
fead405
%pre filesystem
6ff0a52
%__fe_groupadd 4 -r %username &>/dev/null || :
6ff0a52
%__fe_useradd  4 -r -s /sbin/nologin -d %homedir -M          \
6ff0a52
                 -c 'Clamav database update user' -g %username %username &>/dev/null || :
cvsextras 47272f4
fead405
%postun filesystem
fead405
%__fe_userdel  %username &>/dev/null || :
fead405
%__fe_groupdel %username &>/dev/null || :
fead405
fead405
cvsextras 47272f4
%post update
6ff0a52
test -e %freshclamlog || {
6ff0a52
	touch %freshclamlog
6ff0a52
	%__chmod 0664 %freshclamlog
6ff0a52
	%__chown root:%username %freshclamlog
cvsextras 47272f4
}
cvsextras 47272f4
cvsextras 47272f4
%pre milter
6ff0a52
%__fe_groupadd 5 -r %milteruser &>/dev/null || :
6ff0a52
%__fe_useradd  5 -r -s /sbin/nologin -d %milterstatedir -M \
6ff0a52
                 -c 'Clamav Milter User' -g %milteruser %milteruser &>/dev/null || :
cvsextras 47272f4
cvsextras 47272f4
%post milter
5f98a14
test -e %milterlog || {
5f98a14
	touch %milterlog
5f98a14
	chmod 0620             %milterlog
5f98a14
	chown root:%milteruser %milterlog
5f98a14
}
cvsextras 47272f4
cvsextras 47272f4
%postun milter
6ff0a52
%__fe_userdel  %milteruser &>/dev/null || :
6ff0a52
%__fe_groupdel %milteruser &>/dev/null || :
f1f8b45
f1f8b45
f1f8b45
%post milter-sysv
f1f8b45
/sbin/chkconfig --add clamav-milter
f1f8b45
f1f8b45
%preun milter-sysv
f1f8b45
test "$1" != 0 || %_initrddir/clamav-milter stop &>/dev/null || :
f1f8b45
test "$1" != 0 || /sbin/chkconfig --del clamav-milter
f1f8b45
f1f8b45
%postun milter-sysv
6ff0a52
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,-)
3077ab2
%doc AUTHORS BUGS COPYING ChangeLog FAQ NEWS README UPGRADE
cvsextras 47272f4
%doc docs/*.pdf
6ff0a52
%_bindir/*
87b2de4
%_mandir/man[15]/*
b77bb64
%exclude %_bindir/clamav-config
cvsextras 47272f4
%exclude %_bindir/freshclam
0a90d81
%exclude %_mandir/*/freshclam*
cvsextras 47272f4
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files lib
cvsextras 47272f4
%defattr(-,root,root,-)
6ff0a52
%_libdir/*.so.*
cvsextras 47272f4
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files devel
cvsextras 47272f4
%defattr(-,root,root,-)
6ff0a52
%_includedir/*
6ff0a52
%_libdir/*.so
b77bb64
%pkgdatadir/template
b77bb64
%pkgdatadir/clamd-gen
b77bb64
%_libdir/pkgconfig/*
b77bb64
%_bindir/clamav-config
cvsextras 47272f4
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
fead405
%files filesystem
fead405
%attr(-,%username,%username) %dir %homedir
fead405
%attr(-,%username,%username) %dir %homedir/daily.inc
fead405
%attr(-,root,root)           %dir %pkgdatadir
fead405
fead405
## -----------------------
fead405
cvsextras 47272f4
%files data
6ff0a52
%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.
6ff0a52
%config %verify(not size md5 mtime) %homedir/*.cvd
cvsextras 47272f4
fead405
fead405
%files data-empty
fead405
%defattr(-,%username,%username,-)
fead405
%ghost %attr(0664,%username,%username) %homedir/main.cvd
fead405
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files update
cvsextras 47272f4
%defattr(-,root,root,-)
cvsextras 47272f4
%_bindir/freshclam
0a90d81
%_mandir/*/freshclam*
e5f3880
%pkgdatadir/freshclam-sleep
e5f3880
%config(noreplace) %verify(not mtime)    %_sysconfdir/freshclam.conf
e5f3880
%config(noreplace) %verify(not mtime)    %_sysconfdir/logrotate.d/*
e5f3880
%config(noreplace) %_sysconfdir/cron.d/*
e5f3880
%config(noreplace) %_sysconfdir/sysconfig/freshclam
cvsextras 47272f4
6ff0a52
%ghost %attr(0664,root,%username) %verify(not size md5 mtime) %freshclamlog
cvsextras 47272f4
c685721
%ghost %attr(0664,%username,%username) %homedir/daily.inc/*
c685721
%ghost %attr(0664,%username,%username) %homedir/main.inc/*
fead405
fead405
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files server
cvsextras 47272f4
%defattr(-,root,root,-)
cvsextras 47272f4
%doc _doc_server/*
72cd79d
%_mandir/man[58]/clamd*
6ff0a52
%_sbindir/*
b77bb64
%pkgdatadir/clamd-wrapper
f1f8b45
%dir %_sysconfdir/clamd.d
cvsextras 47272f4
cvsextras 47272f4
%exclude %_sbindir/*milter*
cvsextras 47272f4
%exclude %_mandir/man8/clamav-milter*
cvsextras 47272f4
f1f8b45
f1f8b45
%files server-sysv
f1f8b45
%defattr(-,root,root,-)
f1f8b45
%_initrddir/clamd-wrapper
f1f8b45
f1f8b45
cvsextras 47272f4
## -----------------------
cvsextras 47272f4
cvsextras 47272f4
%files milter
cvsextras 47272f4
%defattr(-,root,root,-)
c685721
%doc clamav-milter/INSTALL clamav-milter/README.fedora
cvsextras 47272f4
%_sbindir/*milter*
cvsextras 47272f4
%_mandir/man8/clamav-milter*
6ff0a52
%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
f1f8b45
f1f8b45
%files milter-sysv
f1f8b45
%defattr(-,root,root,-)
f1f8b45
%config %_initrddir/clamav-milter
f1f8b45
%config(noreplace) %verify(not mtime) %_sysconfdir/sysconfig/clamav-milter
f1f8b45
f1f8b45
cvsextras 47272f4
%changelog
df38976
* Thu Apr 24 2008 Tomas Hoger <thoger@redhat.com> - 0.92.1-2
df38976
- Security update - backport security fixes from 0.93:
df38976
  CVE-2008-1100 (#442360): Upack Processing Buffer Overflow Vulnerability
df38976
  CVE-2008-1387 (#442525): Endless loop / hang with crafted arj
df38976
  CVE-2008-0314 (#442740): PeSpin Heap Overflow Vulnerability
df38976
  CVE-2008-1833 (#442741): PE WWPack Heap Overflow Vulnerability
df38976
c3a9c9c
* Mon Feb 11 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.92.1-1
c3a9c9c
- updated to 0.92.1
c3a9c9c
4209388
* Tue Jan  1 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.92-6
4209388
- redisabled unrar stuff completely by using clean sources
4209388
a78a54f
* Tue Jan  1 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.92-5
a78a54f
- use a better way to disable RPATH-generation (needed for '--with
a78a54f
  unrar' builds)
a78a54f
c685721
* Mon Dec 31 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.92-4
c685721
- added a README.fedora to the milter package (#240610)
c685721
- ship original sources again; unrar is now licensed correctly (no more
c685721
  stolen code put under GPL). Nevertheless, this license is not GPL
c685721
  compatible, and to allow libclamav to be used by GPL applications,
c685721
  unrar is disabled by a ./configure switch.
c685721
- use pkg-config in clamav-config to emulate --cflags and --libs
c685721
  operations (fixes partly multilib issues)
c685721
- registered some more auto-updated files and marked them as %%ghost
c685721
e4a9795
* Fri Dec 21 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.92-3
b410cda
- updated to 0.92 (SECURITY):
b410cda
- CVE-2007-6335 MEW PE File Integer Overflow Vulnerability
b410cda
7fff54e
* Mon Oct 29 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.91.2-3
7fff54e
- remove RAR decompression code from source tarball because of 
7fff54e
  legal problems (resolves 334371)
7fff54e
- correct license tag
7fff54e
7fff54e
* Mon Sep 24 2007 Jesse Keating <jkeating@redhat.com> - 0.91.2-2
7fff54e
- Bump release for upgrade path.
65b1d68
48613cd
* Sat Aug 25 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.91.2-1
48613cd
- updated to 0.91.2 (SECURITY):
48613cd
- CVE-2007-4510 DOS in RTF parser
48613cd
- DOS in html normalizer
48613cd
- arbitrary command execution by special crafted recipients in
48613cd
  clamav-milter's black-hole mode
7fff54e
- fixed an open(2) issue
48613cd
7fff54e
* Tue Jul 17 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.91.1-0
c251b2e
- updated to 0.91.1
c251b2e
7fff54e
* Thu Jul 12 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.91-1
7fff54e
- updated to 0.91
7fff54e
ab138da
* Thu May 31 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.3-1
ab138da
- updated to 0.90.3
3aed982
- BR tcpd.h instead of tcp_wrappers(-devel) to make it build both
ab138da
  in FC6- and F7+
ab138da
20d8116
* Fri Apr 13 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.2-1
20d8116
- [SECURITY] updated to 0.90.2; fixes CVE-2007-1745, CVE-2007-1997 
20d8116
1645496
* Fri Mar  2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.1-2
1645496
- BR 'tcp_wrappers-devel' instead of plain 'tcp_wrappers'
1645496
3077ab2
* Fri Mar  2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.1-1
3077ab2
- updated to 0.90.1
3077ab2
- updated %%doc list
3077ab2
b842833
* Sun Feb 18 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90-1
b842833
- updated to final 0.90
b842833
- removed -visibility patch since fixed upstream
b842833
0e58ab3
* Sun Feb  4 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90-0.3.rc3
0e58ab3
- build with -Wl,-as-needed and cleaned up pkgconfig file
0e58ab3
- removed old hack which forced installation of freshclam.conf; related
0e58ab3
  check was removed upstream
0e58ab3
- removed static library
0e58ab3
- removed %%changelog entries from before 2004
0e58ab3
fead405
* Sat Feb  3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90-0.2.rc3
fead405
- updated to 0.90rc3
fead405
- splitted mandatory parts from the data-file into a separate -filesystem
fead405
  subpackage
fead405
- added a -data-empty subpackage to allow a setup where database is
fead405
  updated per cron-job and user does not want to download the large
fead405
  -data package with outdated virus definitations (#214949)
fead405
- %%ghost'ed the files downloaded by freshclam
fead405
714bcbb
* Tue Dec 12 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.7-1
714bcbb
- updated to 0.88.7
714bcbb
a8e23fb
* Sun Nov  5 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.6-1
a8e23fb
- updated to 0.88.6
a8e23fb
953d4e4
* Wed Oct 18 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.5-1
953d4e4
- updated to 0.88.5 (SECURITY); fixes CVE-2006-4182, CVE-2006-5295
953d4e4
- added patch to set '__attribute__ ((visibility("hidden")))' for
953d4e4
  exported MD5_*() functions (fixes #202043)
953d4e4
d5918e8
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.88.4-4
d5918e8
 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
d5918e8
f1f8b45
* Thu Sep 21 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.4-3
f1f8b45
- splitted SysV initscripts of -milter and -server into own subpackages
f1f8b45
3ae7322
* Fri Sep 15 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.4-2
3ae7322
- rebuilt
3ae7322
87b2de4
* Tue Aug  8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.4-1
87b2de4
- updated to 0.88.4 (SECURITY)
87b2de4
87b2de4
* Wed Jul 12 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
87b2de4
- removed the clamdscan(1) manpage from the -server subpackage
87b2de4
bf7d59e
* Sat Jul  8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
bf7d59e
- removed a superfluous '}'
bf7d59e
- removed some code which was relevant for FC-3 only
bf7d59e
6ff0a52
* Sat Jul  8 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.3-1
6ff0a52
- updated to 0.88.3
6ff0a52
- updated to new fedora-usermgmt macros
6ff0a52
6ff0a52
* Tue May 16 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.2-2
6ff0a52
- cleanups: removed unneeded curlies, use plain command instead of
6ff0a52
  %%__XXX macro, whitespace cleanup, removed unneeded versioned
6ff0a52
  dependencies
6ff0a52
- added a 'Requires(post): group(clamav)' dependencies for -update and
6ff0a52
  added the corresponding Provides: to -data
6ff0a52
- removed the %%_without_milter conditional; you won't gain anything
6ff0a52
  when milter would be disabled at buildtime
6ff0a52
de4634e
* Sun Apr 30 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.2-1
de4634e
- updated to 0.88.2 (SECURITY)
de4634e
- rediffed patches; most issues handled by 0.88.1-2 are fixed in
de4634e
  0.88.2
de4634e
e1f2fc0
* Mon Apr 24 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.1-2
e1f2fc0
- added patch which fixes some classes of compiler warnings; at least
e1f2fc0
  the using of implicitly declared functions was reported to cause
e1f2fc0
  segfaults on AMD64 (brought to my attention by Marc Perkel)
e1f2fc0
- added patch which fixes wrong usage of strncpy(3) in unrarlib.c
e1f2fc0
cf9eaf4
* Thu Apr 06 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88.1-1
cf9eaf4
- updated to 0.88.1 (SECURITY)
cf9eaf4
f03dc9c
* Sat Feb 18 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88-2
f03dc9c
- rebuilt for FC5
f03dc9c
0a90d81
* Tue Jan 10 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.88-1
0a90d81
- updated to 0.88
0a90d81
- added pseudo-versions for the 'init(...)' provides as a first step
0a90d81
  for the support of alternative initmethods
0a90d81
0a90d81
* Tue Nov 15 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.87.1-2
0a90d81
- moved 'freshclam.conf.5' man page into the -update subpackage (#173221)
0a90d81
- ship 'clamd.conf.5' man page in the -server subpackage *too*. The
0a90d81
  same file is contained in multiple packages now, but this man-page
0a90d81
  can not be removed from the base package because it also applies to
0a90d81
  'clamdscan' there (#173221).
0a90d81
3176f3c
* Fri Nov  4 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.87.1-1
3176f3c
- updated to 0.87.1
3176f3c
ecc95d9
* Sat Sep 17 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.87-1
ecc95d9
- updated to 0.87 (SECURITY)
ecc95d9
- removed -timeout patch; it is solved upstream
ecc95d9
- reverted the -exim changes; they add yet more complexity, their
ecc95d9
  functionality can go into an own package and they contained flaws
ecc95d9
d226377
* Fri Sep  9 2005 David Woodhouse <dwmw2@infradead.org> - 0.86.2-5
d226377
- Add clamav-exim configuration package
d226377
5f98a14
* Fri Jul 29 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86.2-4
5f98a14
- [milter] create the milter-logfile in the %%post scriptlet
5f98a14
- [milter] reverted the change of the default child_timeout value; it
5f98a14
  was set to 5 minutes in 0.86.2 which conflicts with the internal
5f98a14
  mode where a timeout must not be set. So, the clamav-milter would
5f98a14
  not run with the default configuration
5f98a14
4c5e9e7
* Thu Jul 28 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86.2-3
4c5e9e7
- Fixed calculation of sleep duration; on some systems/IPs, `hostid`
4c5e9e7
  results in a negative number which is retained by the bash
4c5e9e7
  modulo-operation. So the sleep may get a negative number of seconds
4c5e9e7
  being interpreted as an option. This version makes sure that the
4c5e9e7
  module-operations returns a non-negative value. [BZ #164494, James
4c5e9e7
  Wilkinson]
4c5e9e7
- added support for a /usr/sbin/clamav-notify-servers.local hook; this
4c5e9e7
  file will be executed (source'd) before all other actions and can
4c5e9e7
  abort the entire processing by invoking 'exit'
4c5e9e7
07f7b7b
* Mon Jul 25 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86.2-2
e5f3880
- updated to 0.86.2 (SECURITY)
e5f3880
- changed the freshclam updating mechanism (again); now, it consists
e5f3880
  of a crontab which does not need to be changed and a helper script
e5f3880
  (freshclam-sleep). This helper script is configured by
e5f3880
  /etc/sysconfig/freshclam
e5f3880
fd1ada7
* Sat Jun 25 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86.1-2
48f46c1
- updated to 0.86.1
48f46c1
- fixed randomization in %%post scriptlet: hour should be a range but
48f46c1
  not a single number
48f46c1
2d2f85b
* Tue Jun 21 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.86-1
2d2f85b
- updated to 0.86
2d2f85b
- randomize freshclam startup times in -update's %%post script (suggested
2d2f85b
  by Stephen Smoogen); this requires some more Requires(post): also
2d2f85b
a7b6ed1
* Wed May 18 2005 Warren Togami <wtogami@redhat.com> - 0.85.1-4
d52962c
- fix dist tagging the way Enrico wants it
d52962c
ec3e795
* Tue May 17 2005 Oliver Falk <oliver@linux-kernel.at>					  - 0.85.1-2
ec3e795
- Rebuild
ec3e795
bd5c6a1
* Tue May 17 2005 Oliver Falk <oliver@linux-kernel.at>					  - 0.85.1-1
bd5c6a1
- Update
bd5c6a1
031b1c0
* Sat May 14 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.85-0
031b1c0
- updated to 0.85
031b1c0
031b1c0
* Sun May  1 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.84-0
71de95e
- updated to 0.84
71de95e
4d68735
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
4d68735
- rebuilt
4d68735
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