Accepting request 37953 from security
checked in (request 37953) OBS-URL: https://build.opensuse.org/request/show/37953 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=29
This commit is contained in:
parent
6af3573ec5
commit
d5d53b14c9
@ -20,14 +20,3 @@ Index: clamav-milter/clamfi.c
|
||||
}
|
||||
|
||||
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,10 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
13
clamav.spec
13
clamav.spec
@ -15,23 +15,21 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: clamav
|
||||
BuildRequires: ncurses-devel sed sendmail sendmail-devel
|
||||
%define llvm --disable-llvm
|
||||
%if 0%{?suse_version} >= 1010
|
||||
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
|
||||
%if 0%{?suse_version} >= 1030
|
||||
BuildRequires: check-devel pwdutils
|
||||
BuildRequires: check-devel pwdutils python
|
||||
%define clamav_check --enable-check
|
||||
%else
|
||||
%define clamav_check --disable-check
|
||||
%endif
|
||||
# Needed for the JIT bytecode compiler
|
||||
BuildRequires: gcc-c++
|
||||
Summary: Antivirus Toolkit
|
||||
Version: 0.96
|
||||
Release: 2
|
||||
@ -150,7 +148,6 @@ CFLAGS="$CFLAGS -D_FFR_QUARANTINE -D_FFR_SMFI_OPENSOCKET"
|
||||
--with-group=vscan \
|
||||
--enable-milter \
|
||||
%clamav_check \
|
||||
%llvm \
|
||||
--disable-zlib-vcheck \
|
||||
--enable-clamdtop
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user