Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317955 - net-mail/altermime-0.3.10 bump request (inc. compile fix patch)
Summary: net-mail/altermime-0.3.10 bump request (inc. compile fix patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-30 22:40 UTC by kfm
Modified: 2010-05-03 16:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix 5 lines that otherwise lead to a compile error (altermime-0.3.10-fprintf-fixes.patch,2.11 KB, patch)
2010-04-30 22:41 UTC, kfm
Details | Diff
Corrected instance of the above patch (altermime-0.3.10-fprintf-fixes.patch,2.11 KB, patch)
2010-04-30 22:48 UTC, kfm
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kfm 2010-04-30 22:40:16 UTC
At the time of writing, the latest version in portage is 0.3.8, which remains ~arch keyworded. Unfortunately, in the process of deploying altermime so as to ensure compliance with the Companies Act 2006, I found that it was unreliable in terms of adding a footer using the --disclaimer-html option. In some cases it simply fails to do the job, even with --force-bad-html specified. In fact, while succeeding with remarkably convoluted HTML, it fails on some surprisingly simple test cases such as an HTML-only email generated by Thunderbird containing minimal body content.

Not only that, the program exhibited a nasty habit of segfaulting if --disclaimer and/or --disclaimer-html referred to non-existent or unreadable files.

I bumped the ebuild to 0.3.10 in my overlay and am pleased to report that both of these issues appear to have been resolved. However, it initially failed to compile on my amd64 system. I will attach a patch which corrects this in an unintrusive manner.

The instance of altermime in portage is evidently not fit for purpose. As such, I would be most grateful if an updated ebuild were to be committed at the earliest opportunity with a view to fast-track stable keywording.
Comment 1 kfm 2010-04-30 22:41:48 UTC
Created attachment 229851 [details, diff]
Fix 5 lines that otherwise lead to a compile error
Comment 2 kfm 2010-04-30 22:47:20 UTC
Oops, I included a typo when generating that patch. Here comes a corrected version ...
Comment 3 kfm 2010-04-30 22:48:24 UTC
Created attachment 229853 [details, diff]
Corrected instance of the above patch
Comment 4 Patrick Lauer gentoo-dev 2010-05-03 16:59:34 UTC
+  03 May 2010; Patrick Lauer <patrick@gentoo.org> +altermime-0.3.10.ebuild,
+  +files/altermime-0.3.10-fprintf-fixes.patch:
+  Bump for #317955 with compile fix by Kerin Millar