Bug 33883 - amavisd-new has dependencies on unnecessary compression ebuilds that are marked -ppc
Bug#: 33883 Product:  Gentoo Linux Version: unspecified Platform: PPC
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: trance@gentoo.org Reported By: kc8apf@kc8apf.net
Component: Applications
URL: 
Summary: amavisd-new has dependencies on unnecessary compression ebuilds that are marked -ppc
Keywords:  
Status Whiteboard: 
Opened: 2003-11-19 17:20 0000
Description:   Opened: 2003-11-19 17:20 0000
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 From Rick Altherr 2003-12-10 16:34:58 0000 -------
Created an attachment (id=22005) [details]
Diff for the amavisd-new ebuild to support ppc

------- Comment #2 From Rick Altherr 2003-12-10 16:36:11 0000 -------
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 From Max Kalika (RETIRED) 2004-04-24 12:04:39 0000 -------
I removed those optional compression dependencies, but I'll let someone who can
test ppc add the keyword and close the bug.

------- Comment #4 From Cory Visi (RETIRED) 2004-07-28 09:00:51 0000 -------
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 From Rick Altherr 2004-07-28 09:15:28 0000 -------
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 From Cory Visi (RETIRED) 2004-07-28 10:33:57 0000 -------
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!