Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78694 - amavisd-new doesn't apply courier patch properly
Summary: amavisd-new doesn't apply courier patch properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 10:15 UTC by Martin Allchin
Modified: 2005-02-11 14:28 UTC (History)
0 users

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 Martin Allchin 2005-01-19 10:15:41 UTC
amavisd-new supports courier through a patch.

The ebuild has code to cater for this:

src_unpack() {      
        unpack ${A}        
        cd ${S}        
        if $(has_version mail-mta/courier) ; then
                einfo "Patching with courier support."
                epatch "amavisd-new-courier.patch" || die "patch failed"
        fi          
}

Unfortunately it doesn't work, and the binary & conf installed do not have the patch applied.

Every time I upgrade amavisd-new it breaks Courier and I must manually extract the sources and apply the patch. In particular there is a '$protocol' option added to the conf file which is missing.

Also, the latest version (amavisd-new-20041222) mentions a new lighter weight conf file. It would be handy if the heavy weight version where installed as amavisd.conf-default (or something).

Reproducible: Always
Steps to Reproduce:
1. emerge amavisd-new
2.
3.
Comment 1 Tuan Van (RETIRED) gentoo-dev 2005-01-19 10:19:39 UTC
would you please try the ebuild attached in bug #77425?
Comment 2 Tuan Van (RETIRED) gentoo-dev 2005-01-19 15:23:13 UTC
2.2.1 should fixes this issue. please open a new bug if it doesn't. Thanks for reporting.
Comment 3 Martin Allchin 2005-02-11 14:28:46 UTC
Confirmation it worked, sorry for the late reply.