Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 33883

Summary: amavisd-new has dependencies on unnecessary compression ebuilds that are marked -ppc
Product: Gentoo Linux Reporter: Rick Altherr <kc8apf>
Component: Current packagesAssignee: Kevyn Shortell (RETIRED) <trance>
Status: RESOLVED FIXED    
Severity: normal CC: merlin
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Diff for the amavisd-new ebuild to support ppc

Description Rick Altherr 2003-11-19 17:20:57 UTC
amavisd-new has a dependency on every compression program that it can use in
checking attachments for viruses.  One of these has been keyworded -ppc since it
comes in a x86 binary only.  The dependencies are not necessary and probably
should just be removed with a notice at the end of the install telling the user
to install any compressors for file types they want scanned.

Reproducible: Always
Steps to Reproduce:
1. emerge amavisd-new
2.
3.

Actual Results:  
One or more dependencies are masked.

Expected Results:  
Merged amavisd-new
Comment 1 Rick Altherr 2003-12-10 16:34:58 UTC
Created attachment 22005 [details, diff]
Diff for the amavisd-new ebuild to support ppc
Comment 2 Rick Altherr 2003-12-10 16:36:11 UTC
With the attached patch and the keywording (ppc) of the following ebuilds, amavisd-new works on PPC.

dev-perl/IO-Zlib-1.01
dev-perl/MailTools-1.58
dev-perl/libnet-1.16
dev-perl/net-server-0.85
net-mail/clamav-0.60
Comment 3 Max Kalika (RETIRED) gentoo-dev 2004-04-24 12:04:39 UTC
I removed those optional compression dependencies, but I'll let someone who can test ppc add the keyword and close the bug.
Comment 4 Cory Visi (RETIRED) gentoo-dev 2004-07-28 09:00:51 UTC
I do not understand the problem with these compression dependencies. The compression utilities allow amavisd-new to scan more types of viruses/e-mails. To remove these dependencies severely reduces the affectiveness of amavisd-new.

Furthermore, all of the compression programs listed in the diff are available from source code. Why are they not available for PPC?

I am about to release a new version of amavisd-new and would like to add these dependencies back.
Comment 5 Rick Altherr 2004-07-28 09:15:28 UTC
At the time, at least one of the compression utilities was an x86 binary only.

If all of them are available as source and the ebuilds for them are keyworded for ppc, then by all means add them back.  

Amavisd-new needs to be able to be emerged on a machine keyworded as ppc.  Just make sure that is possible.
Comment 6 Cory Visi (RETIRED) gentoo-dev 2004-07-28 10:33:57 UTC
I brought the dependencies back in the new release. Please check it out, and see Bug 56233 for more details. There's some unmasking to do before this one goes stable. Thank you!