Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65248 - amavisd-new needs additional depends
Summary: amavisd-new needs additional depends
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 64462
  Show dependency tree
 
Reported: 2004-09-24 15:22 UTC by Doug Goldstein (RETIRED)
Modified: 2004-12-23 02:45 UTC (History)
2 users (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 Doug Goldstein (RETIRED) gentoo-dev 2004-09-24 15:22:22 UTC
I noticed that amavisd-new pulls in depend for extracting most archives except it's missing a couple... All are available in Portage so we just need to add depends.

The following is what I got on a new system emerging amavisd-new.

Sep 24 17:31:22 [amavis] Found $file       at /usr/bin/file
Sep 24 17:31:22 [amavis] Found $arc        at /usr/bin/arc
Sep 24 17:31:22 [amavis] Found $gzip       at /bin/gzip
Sep 24 17:31:22 [amavis] Found $bzip2      at /bin/bzip2
Sep 24 17:31:22 [amavis] No $lzop,         not using it
Sep 24 17:31:22 [amavis] Found $lha        at /usr/bin/lha
Sep 24 17:31:22 [amavis] Found $unarj      at /usr/bin/unarj
Sep 24 17:31:22 [amavis] Found $uncompress at /usr/bin/uncompress
Sep 24 17:31:22 [amavis] Found $unfreeze   at /usr/bin/unfreeze
Sep 24 17:31:22 [amavis] Found $unrar      at /usr/bin/unrar
Sep 24 17:31:22 [amavis] Found $zoo        at /usr/bin/zoo
Sep 24 17:31:22 [amavis] Found $cpio       at /usr/bin/cpio
Sep 24 17:31:22 [amavis] No $rpm2cpio,     not using it
Sep 24 17:31:22 [amavis] No $cabextract,   not using it
Sep 24 17:31:22 [amavis] No $dspam,        not using it

Now personally I wouldn't mind leaving the others off of depends with the exception of cabextract since e-mail viruses like to hide in CAB files sometimes. Never seen the other types of file extensions... but since we'll pulling in Zoo as a depend... might as well pull in the rest.
Comment 1 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2004-12-08 13:16:09 UTC
Valid point. What about adding: 

app-arch/cabextract

and removing:

app-arch/zoo
app-arch/freeze

from RDEPEND?
Comment 2 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2004-12-23 01:31:12 UTC
Fixed with new ebuild on bug #64462
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2004-12-23 02:05:19 UTC
Probably NOT fixed...

Dec 23 11:01:26 wac /usr/sbin/amavisd[30883]: starting.  /usr/sbin/amavisd at wac amavisd-new-20040701 (2.0), Unicode aware
Dec 23 11:01:26 wac /usr/sbin/amavisd[30883]: user=, EUID: 0 (0);  group=, EGID: 0 1003 27 26 20 11 10 6 4 3 2 1 0 (0 1003 27 26 20 11 10 6 4 3 2 1 0)
Dec 23 11:01:26 wac /usr/sbin/amavisd[30883]: Perl version               5.008005
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Amavis::Conf        2.02
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Archive::Tar        1.10
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Archive::Zip        1.10
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module BerkeleyDB          0.25
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Compress::Zlib      1.33
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Convert::TNEF       0.17
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Convert::UUlib      1.03
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module DBI                 1.38
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module DB_File             1.807
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module MIME::Entity        5.415
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module MIME::Parser        5.415
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module MIME::Tools         5.415
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Mail::Header        1.62
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Mail::Internet      1.62
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Mail::SpamAssassin  2.64
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Net::Cmd            2.24
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Net::DNS            0.40
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Net::SMTP           2.26
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Net::Server         0.87
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Time::HiRes         1.54
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Module Unix::Syslog        0.99
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Found $file       at /usr/bin/file
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Found $arc        at /usr/bin/arc
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Found $gzip       at /bin/gzip
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Found $bzip2      at /bin/bzip2
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Found $lzop       at /usr/bin/lzop
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Found $lha        at /usr/bin/lha
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Found $unarj      at /usr/bin/unarj
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Found $uncompress at /usr/bin/uncompress
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Found $unfreeze   at /usr/bin/unfreeze
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Found $unrar      at /usr/bin/unrar
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Found $zoo        at /usr/bin/zoo
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Found $cpio       at /usr/bin/cpio
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: No $rpm2cpio,     not using it
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: No $cabextract,   not using it
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: No $dspam,        not using it
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Using internal av scanner code for (primary) Clam Antivirus-clamd
Dec 23 11:01:27 wac /usr/sbin/amavisd[30885]: Found primary av scanner BitDefender at /usr/bin/bdc

# genlop -l | grep cabextract
     Thu Dec 23 10:18:02 2004 --> app-arch/cabextract-1.1

:-(
Comment 4 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2004-12-23 02:23:43 UTC
What is your amavisd.conf cabextract setting?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2004-12-23 02:36:30 UTC
Sorry, ignore my previous post. I did not notice that this line was missing in the old amavisd.conf. I did not update it b/c it is heavily customized. It works after adding $cabextract = 'cabextract';
Comment 6 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2004-12-23 02:45:34 UTC
np, at least I learned that closing a bug will draw comments:-) Merry Christmas!