Updating link to change in openSUSE:Factory/clamav revision 30.0
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=46f81c54e536534707375f6832b05d90
This commit is contained in:
parent
d5d53b14c9
commit
9c39c5da02
@ -20,3 +20,14 @@ Index: clamav-milter/clamfi.c
|
|||||||
}
|
}
|
||||||
|
|
||||||
enum CFWHAT {
|
enum CFWHAT {
|
||||||
|
--- clamav-milter/clamav-milter.c
|
||||||
|
+++ clamav-milter/clamav-milter.c
|
||||||
|
@@ -282,7 +282,7 @@
|
||||||
|
}
|
||||||
|
opt = optget(opts, "FixStaleSocket");
|
||||||
|
umsk = umask(0777); /* socket is created with 000 to avoid races */
|
||||||
|
- if(smfi_opensocket(opt->enabled) == MI_FAILURE) {
|
||||||
|
+ if(smfi_opensocket() == MI_FAILURE) {
|
||||||
|
logg("!Failed to create socket %s\n", my_socket);
|
||||||
|
localnets_free();
|
||||||
|
whitelist_free();
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 14 15:59:45 CEST 2010 - max@suse.de
|
||||||
|
|
||||||
|
- Extended the libmilter compatibility patch for SLES9.
|
||||||
|
- Explicitly disabling LLVM for versions older than SLES10 and
|
||||||
|
archs other than i586 and x86_64.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 12 11:42:39 CEST 2010 - max@suse.de
|
Mon Apr 12 11:42:39 CEST 2010 - max@suse.de
|
||||||
|
|
||||||
|
13
clamav.spec
13
clamav.spec
@ -19,20 +19,24 @@
|
|||||||
|
|
||||||
Name: clamav
|
Name: clamav
|
||||||
BuildRequires: ncurses-devel sed sendmail sendmail-devel
|
BuildRequires: ncurses-devel sed sendmail sendmail-devel
|
||||||
|
%define llvm --disable-llvm
|
||||||
%if 0%{?suse_version} >= 1010
|
%if 0%{?suse_version} >= 1010
|
||||||
BuildRequires: bc pkgconfig zlib-devel
|
BuildRequires: bc pkgconfig zlib-devel
|
||||||
|
%ifarch %ix86 x86_64
|
||||||
|
%define llvm --enable-llvm
|
||||||
|
# Needed for compiling and testing LLVM.
|
||||||
|
BuildRequires: gcc-c++ python
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} >= 1030
|
%if 0%{?suse_version} >= 1030
|
||||||
BuildRequires: check-devel pwdutils python
|
BuildRequires: check-devel pwdutils
|
||||||
%define clamav_check --enable-check
|
%define clamav_check --enable-check
|
||||||
%else
|
%else
|
||||||
%define clamav_check --disable-check
|
%define clamav_check --disable-check
|
||||||
%endif
|
%endif
|
||||||
# Needed for the JIT bytecode compiler
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
Summary: Antivirus Toolkit
|
Summary: Antivirus Toolkit
|
||||||
Version: 0.96
|
Version: 0.96
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
Url: http://www.clamav.net
|
Url: http://www.clamav.net
|
||||||
@ -148,6 +152,7 @@ CFLAGS="$CFLAGS -D_FFR_QUARANTINE -D_FFR_SMFI_OPENSOCKET"
|
|||||||
--with-group=vscan \
|
--with-group=vscan \
|
||||||
--enable-milter \
|
--enable-milter \
|
||||||
%clamav_check \
|
%clamav_check \
|
||||||
|
%llvm \
|
||||||
--disable-zlib-vcheck \
|
--disable-zlib-vcheck \
|
||||||
--enable-clamdtop
|
--enable-clamdtop
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user