Created attachment 191744 [details]
update to 1.0.2 and add Python 3 support (by patching)
As far as I can tell, pymilter has now moved over to github (https://github.com/sdgathman/pymilter/) and is now at version 1.0.2.
The attached patch
- moves MASTER_SITES to github
- updates the port to 1.0.2
- adds Python flavoring
- contains and applies the optional Python 3 patch when using py3* flavoring
- adds some Python 3 compile fixes backported from github master (https://github.com/sdgathman/pymilter/commit/36750bac78681bee98d84016b8f0536d770382f6)
Have you tested the update with mails from sender with a IPv6 address.
The patch you revoke last in your diff was a fix for crashes when py-milter receives a IPv6 address. I think the fix should be in the update, as I reported the Bug back upstream when i introduced the patch in the Port.
I will test your changes and IPv6 when I'm back at work on Monday.
Thanks for your work.
P.S. email@example.com is my private E-Mail and firstname.lastname@example.org my work E-Mail. I maintain the port mainly in my free time but only have this account on Bugzilla.
> Have you tested the update with mails from sender with a IPv6 address.
No, not in practice. miltermodule.c from the package source already has
#if defined(__FreeBSD__) || defined(__linux__)
1.0.2 is after https://github.com/sdgathman/pymilter/commit/a0bd76cdedaf2f96b58df831bd74374fc4e8cda5#diff-a376aa536e156c934230ccb0bc8d0632, which introduced this change.
Sorry for the delay was quite a week at work.
I managed to do some testing with IPv6 and so far all checks out. As for the Python3 part I assume you tested it.
Thanks for your work Peter.
So I approve the changes.
A commit references this bug:
Date: Sat May 19 16:25:16 UTC 2018
New revision: 470417
- Update to 1.0.2
- Use Github
Submitted by: Peter Wullinger
Approved by: maintainer
Sponsored by: iXsystems Inc.