Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697738 - dev-python/pymilter-1.0.4 should depend on || ( mail-filter/libmilter mail-mta/sendmail )
Summary: dev-python/pymilter-1.0.4 should depend on || ( mail-filter/libmilter mail-mt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ralph Seichter
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2019-10-15 01:34 UTC by Troy Bowman
Modified: 2019-10-15 15:01 UTC (History)
1 user (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 Troy Bowman 2019-10-15 01:34:42 UTC
Sendmail started the libmilter thing to allow for plug-in mail filters.  Other MTAs followed suit by incorporating the same interface so they could use Sendmail's milters.  For the other MTAs to use it, they extracted Sendmail's libmilter library.  In Gentoo, that's the "libmilter" package.

The pymilter ebuild depends on the libmilter package, but it does not allow mail-mta/sendmail to provide that dependency (which is horribly ironic to me).


Reproducible: Always

Steps to Reproduce:
1. Install Sendmail
2. Try to install pymilter

Actual Results:  
Sendmail is blocked

Expected Results:  
Allow dependency on mail-mta/sendmail.

This fixes it:

18c18
< DEPEND="mail-filter/libmilter"
---
> DEPEND="|| ( mail-mta/sendmail mail-filter/libmilter )"


If you really need emerge --info, I'll give it, but I don't think it's 
necessary for this.
Comment 1 Ralph Seichter 2019-10-15 14:40:51 UTC
This does indeed not lack a certain irony. ;-) I can modify the dependencies, alas I don't have any system with sendmail installed (and have not had one for years). I verified that the latest ebuilds of sendmail and libmilter install the same files in /usr/include/libmilter, so I expect pymilter to build correctly, but I cannot test this myself.
Comment 2 Larry the Git Cow gentoo-dev 2019-10-15 15:01:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04395b8ec2381094aea468661c0325bdea25da9c

commit 04395b8ec2381094aea468661c0325bdea25da9c
Author:     Ralph Seichter <github@seichter.de>
AuthorDate: 2019-10-15 14:51:24 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-10-15 15:00:48 +0000

    dev-python/pymilter: Fix libmilter dependency bug
    
    Ebuild now depends on libmilter XOR sendmail to provide the
    necessary library and header files.
    
    Closes: https://bugs.gentoo.org/697738
    Package-Manager: Portage-2.3.76, Repoman-2.3.16
    Signed-off-by: Ralph Seichter <gentoo@seichter.de>
    Closes: https://github.com/gentoo/gentoo/pull/13311
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-python/pymilter/{pymilter-1.0.4.ebuild => pymilter-1.0.4-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)