--- /usr/portage/app-antivirus/clamav/clamav-0.86.1.ebuild 2005-06-25 01:05:19.000000000 +0300 +++ clamav-0.86.1-r1.ebuild 2005-07-23 12:34:24.000000000 +0300 @@ -10,8 +10,8 @@ SRC_URI="mirror://sourceforge/${PN}/${P} LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" -IUSE="crypt milter selinux mailwrapper" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="crypt milter selinux mailwrapper onaccess" DEPEND="virtual/libc crypt? ( >=dev-libs/gmp-4.1.2 ) @@ -21,11 +21,16 @@ DEPEND="virtual/libc net-dns/libidn >=sys-apps/sed-4" RDEPEND="${DEPEND} + onaccess? ( sys-fs/dazuko ) selinux? ( sec-policy/selinux-clamav ) sys-apps/grep" PROVIDE="virtual/antivirus" pkg_setup() { + if use onaccess; then + ewarn "Warning: On access support is experimental!" + fi + if use milter; then if [ ! -e /usr/lib/libmilter.a ] ; then ewarn "In order to enable milter support, clamav needs sendmail with enabled milter" @@ -115,4 +120,8 @@ pkg_postinst() { echo " zless /usr/share/doc/${PF}/clamav-milter.README.gentoo.gz" echo fi + if use onaccess; then + einfo "For on access to work, clamd must be run as root." + echo + fi }