Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
clamav.13052
clamav-disable-yara.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File clamav-disable-yara.patch of Package clamav.13052
--- m4/reorganization/yara.m4.orig +++ m4/reorganization/yara.m4 @@ -6,7 +6,7 @@ enable_yara=$enableval, enable_yara="yes if test "$enable_yara" = "yes"; then AC_DEFINE([HAVE_YARA],1,[yara sources are compiled in]) - AC_SUBST([HAVE_YARA]) + AC_SUBST([HAVE_YARA], 1) fi --- unit_tests/check_common.sh.orig +++ unit_tests/check_common.sh @@ -222,6 +222,7 @@ EOF scan_failed clamscan4.log "clamscan has detected spurious VI's" fi +if test "x$HAVE_YARA" = "x1"; then cat <<EOF >test-db/test.yara rule yara_at_offset {strings: \$tar_magic = { 75 73 74 61 72 } condition: \$tar_magic at 257} EOF @@ -249,6 +250,7 @@ EOF fi test_end $1 +fi } # ----------- clamd tests -------------------------------------------------------- --- configure.orig +++ configure @@ -24324,6 +24324,7 @@ if test "$enable_yara" = "yes"; then $as_echo "#define HAVE_YARA 1" >>confdefs.h + HAVE_YARA=1 fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor