Hi, This is an ebuild script for Frisk Software's f-prot virusscanner, which is free for personal use. I plan to make an ebuild for qmail-scanner (a mailscanner which plugs into qmail) which obviously depends on a virus scanner. Since mcafee's scanner is currently not working in the portage tree and is no longer supported by mcafee, this might be a better choice. One thing: i've made it to install to /usr/local/f-prot because the virus def files must be in the same directory as the executable and I don't think /usr/bin should contain data files. Also, this location is where several programs and scripts expect f-prot to be. Suggested place in the portage tree is net-mail, since that's where mcafee lives. For periodic updates there's a check-updates.sh script installed that does the job and can be run as a cron job. Thanks, Ronald.
Created attachment 1347 [details] f-prot-3.12a.ebuild (New Package)
I've posted the qmail-scanner ebuild as bug #3552
if the URL in SRC_URI is still down (it was when i tried to get the tar.gz), then use this: SRC_URI="ftp://ftp1.mirrors.f-prot.com/pub/${A}" maybe this URL should be added to the ebuild so it automatically tries this URL too ?
It would be a good idea to have an empty src_compile() { echo Nothing to compile }. Also, installing into /usr/local breaks our established rules. I assume that F-Prot is a binary program, so it should really be installed into /opt, if at all possible.
Created attachment 1430 [details] Updated f-prot ebuild script to use /opt I updated the ebuild to install into /opt (since f-prot is indeed a binary program) and i've added an empty src_compile (). The qmail-scanner ebuild that needs this also needs to be updated, i'll post the new one in a few minutes.
Done.