Summary: | USE=md5sum breaks compilation of ssmtp-2.60.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marius Mauch (RETIRED) <genone> |
Component: | [OLD] Unspecified | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | apermyakov, brandy, david+gentoo.org, gentoo-bugs2 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ssmtp-2.60.3 md5auth features patch
Typo fix for the ebuild Patch to ssmtp-2.60.4.ebuild |
Description
Marius Mauch (RETIRED)
![]() Ugg...and dcron depends on ssmtp. The source code contains a few errors: variable names that haven't been updated from the old 2.5.x builds and even an incorrect number of opening parentheses. Furthurmore, the configure script does not attempt to add the md5auth-specific stuff to the Makefile. Created attachment 16403 [details, diff]
ssmtp-2.60.3 md5auth features patch
This is a patch which allows ssmtp-2.60.3 to successfully compile when md5sum
is set in USE flags. :)
Created attachment 16755 [details, diff]
Typo fix for the ebuild
Well, what caused this bug appears to be just a typo in the ebuild. Brandy's
patch , which looks like it'll fix those annoying compiler errors, is
definately cool though. I'll try to merge them.
Here's the "simple fix" for now...
Carefully tested, it really looks like the "simple fix" is all that is needed. Unfortunately the "simple fix" is not a fix at all. The ssmtp configure script contains: ac_help="$ac_help --enable-md5suth support for MD5 authentication" so there's no typo in the ebuild. In fact the configure script will happily ignore --enable-md5auth and disable md5 authentication. The purpose of --enable-md5suth is to define the macro MD5AUTH. With this macro defined the md5-specific code will be built. Since this code is currently in a non-compilable state, without a patch it will fail. Since the simple fix did not patch the ssmtp source code, this is furthur evidence that it didn't have any effect. I must admit though that my first impression upon seeing this bug was that there was a typo in the ebuild (who on earth would use md5suth instead of md5auth to represent md5 authentication?) :) Okay, thanks for rectifying that. But yeah, it sure looked like a typo... Your patch works for me. Comment on attachment 16755 [details, diff]
Typo fix for the ebuild
Wrong impression, as noted by brandy.
Still a problem in 2.60.4 Fortunately the md5auth patch can also be used with ssmtp-2.60.4 Created attachment 18280 [details, diff]
Patch to ssmtp-2.60.4.ebuild
You mean, something along these lines?
fixed |