Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551364 - app-antivirus/clamav forces --disable-fanotify into configuration
Summary: app-antivirus/clamav forces --disable-fanotify into configuration
Status: RESOLVED DUPLICATE of bug 487016
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-06 13:08 UTC by Dan Goodliffe
Modified: 2015-08-29 04:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Goodliffe 2015-06-06 13:08:34 UTC
--disable-fanotify is included in econf options for all versions of clamav, effectively disabling the built in on-access scanner.
Maybe this could be a USE flag?

Reproducible: Always

Steps to Reproduce:
1. emerge clamav
Actual Results:  
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-dependency-tracking' '--disable-silent-rules' '--libdir=/usr/lib64' '--disable-experimental' '--disable-fanotify' '--enable-id-check' '--with-dbdir=/var/lib/clamav' '--with-system-tommath' '--with-zlib=/usr' '--enable-bzip2' '--disable-clamdtop' '--enable-ipv6' '--disable-milter' '--disable-static' '--with-iconv' '--without-libjson' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O3 -march=native -pipe -fno-stack-protector' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -O3 -march=native -pipe' 'CXXFLAGS=-O3 -march=native -pipe -fno-stack-protector' '--enable-optimized' 'llvm_cv_gnu_make_command=make' '--enable-targets=host-only' '--enable-bindings=none' '--enable-libffi=no' '--without-llvmgcc' '--without-llvmgxx' --cache-file=/dev/null --srcdir=.

...

configure: Summary of miscellaneous features
              check       : no (auto)
              fanotify    : no (disabled)
              fdpassing   : 1
              IPv6        : yes

Expected Results:  
fanotify : yes


src_configure() {
	econf \
		--disable-experimental \
		--disable-fanotify \
		--enable-id-check \
		--with-dbdir="${EPREFIX}"/var/lib/clamav \
		--with-system-tommath \
		--with-zlib="${EPREFIX}"/usr \
		$(use_enable bzip2) \
		$(use_enable clamdtop) \
		$(use_enable ipv6) \
		$(use_enable milter) \
		$(use_enable static-libs static) \
		$(use_with iconv) \
		$(use_with metadata-analysis-api libjson /usr)
}
Comment 1 Matt Turner gentoo-dev 2015-08-29 04:16:11 UTC

*** This bug has been marked as a duplicate of bug 487016 ***