- updated to 0.82

- minor spec cleanups
This commit is contained in:
ensc 2005-02-08 23:00:37 +00:00
parent b77bb64a6a
commit 5ec291e507

View File

@ -1,9 +1,10 @@
## $Id$
## This package understands the following switches: ## This package understands the following switches:
## --without milter ... deactivate the -milter subpackage ## --without milter ... deactivate the -milter subpackage
## Fedora Extras specific customization below... ## Fedora Extras specific customization below...
%{!?release_func:%define release_func() %1}
## ##
@ -15,10 +16,13 @@
%define milterstatedir %_var/run/clamav-milter %define milterstatedir %_var/run/clamav-milter
%define pkgdatadir %_datadir/%name %define pkgdatadir %_datadir/%name
%{!?release_func:%define release_func() %1}
Summary: End-user tools for the Clam Antivirus scanner Summary: End-user tools for the Clam Antivirus scanner
Name: clamav Name: clamav
Version: 0.81 Version: 0.82
Release: %release_func 2 Release: %release_func 1
Epoch: 0 Epoch: 0
License: GPL License: GPL
Group: Applications/File Group: Applications/File
@ -113,15 +117,6 @@ the virus database from OpenAntiVirus, but contains additional signatures
(including signatures for popular polymorphic viruses, too) and is KEPT UP (including signatures for popular polymorphic viruses, too) and is KEPT UP
TO DATE. TO DATE.
WARNING: this package was built with '--disable-zlib-vcheck' because Red Hat
is unable to apply a simple security fix within 5 months. On
failures or successful DOS attacks on your mailserver, please
blame RH but not fedora.us.
See https://bugzilla.redhat.com/beta/show_bug.cgi?id=131385 and
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0797
for references
%description lib %description lib
This package contains dynamic libraries shared between applications This package contains dynamic libraries shared between applications
@ -182,23 +177,13 @@ perl -pi -e 's!^#(UpdateLogFile )!\1!g;' etc/freshclam.conf
## ------------------------------------------------------------ ## ------------------------------------------------------------
%build %build
cat <<EOF ## '--disable-zlib-vcheck' is used because every FC<=3 ships zlib-1.2.1*
********************* ## but clamav checks for zlib >= 1.2.2. This option can be removed for
** ## FC4 builds.
** WARNING: building with '--disable-zlib-vcheck' because Red Hat is unable ##
** to apply a simple security fix within 5 months. On failures or ## See https://bugzilla.redhat.com/beta/show_bug.cgi?id=131385 and
** successful DOS attacks on your mailserver, please blame RH ## http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0797
** but not fedora.us. ## also
**
** See https://bugzilla.redhat.com/beta/show_bug.cgi?id=131385
** and http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0797
** for references
**
*********************
EOF
sleep 10
%configure --disable-clamav --with-dbdir=/var/lib/clamav \ %configure --disable-clamav --with-dbdir=/var/lib/clamav \
--disable-zlib-vcheck \ --disable-zlib-vcheck \
%{!?_without_milter:--enable-milter} %{!?_without_milter:--enable-milter}
@ -421,6 +406,10 @@ test "$1" = 0 || %{_initrddir}/clamav-milter condrestart >/dev/null || :
%endif # _without_milter %endif # _without_milter
%changelog %changelog
* Tue Feb 8 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.82-1
- updated to 0.82
- minor spec cleanups
* Fri Jan 28 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.81-0.fdr.2 * Fri Jan 28 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0:0.81-0.fdr.2
- build the package with '--disable-zlib-vcheck' because RH is unable to - build the package with '--disable-zlib-vcheck' because RH is unable to
apply a fix for a 5 month old and solved security issue. Please fill apply a fix for a 5 month old and solved security issue. Please fill