Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922121 - mail-mta/notqmail ssl patch is wrong in mirrors
Summary: mail-mta/notqmail ssl patch is wrong in mirrors
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Rolf Eike Beer
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-01-14 17:20 UTC by Gianni Ceccarelli
Modified: 2024-06-26 09:20 UTC (History)
4 users (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 Gianni Ceccarelli 2024-01-14 17:20:22 UTC
https://gitweb.gentoo.org/repo/gentoo.git/tree/mail-mta/notqmail/notqmail-1.08.ebuild?id=d331eb76b161a27da553b85f6f6c8821d6065a0c defined a patch file `notqmail-1.08-tls-20200107.patch` containing the resource at URI https://github.com/notqmail/notqmail/commit/ed58c2eff21612037bbcc633f4b3a8e708f522a0.patch

https://gitweb.gentoo.org/repo/gentoo.git/tree/mail-mta/notqmail/notqmail-1.08-r6.ebuild?id=f7d1af445968efe9c22916a255326b8355f6b07a defines a patch file with the same name, but containing the resource at URI https://github.com/notqmail/notqmail/commit/0dc6a3aa9cb3440fe589ca5384ea27d683f05625.patch

the mirrors still contain the old patch, so the ebuild installs notqmail without the SMTP AUTH patch

Reproducible: Always

Steps to Reproduce:
USE='!qmail-spp ssl' emerge mail-mta/notqmail

Actual Results:  
qmail-smtpd doesn't expose the AUTH capability

Expected Results:  
qmail-smtpd exposes `AUTH LOGIN PLAIN`

I believe changing `QMAIL_TLS_PV` to a different value and re-generating the manifest should be enough to fix the problem
Comment 1 Larry the Git Cow gentoo-dev 2024-02-15 13:17:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e9bdd7248450a44d17b99e86c2e11f14509a2d2

commit 2e9bdd7248450a44d17b99e86c2e11f14509a2d2
Author:     Rolf Eike Beer <eike@sf-mail.de>
AuthorDate: 2024-01-28 10:56:20 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-02-15 13:17:10 +0000

    mail-mta/notqmail: fix has collision with gentoo mirrors
    
    In 88746d67250bc81b28f59c5f6845c00364e40158 I changed the commit hash of the
    patch to use. But the old file is still on the Gentoo mirrors in the original
    version, causing hash collisions. Use a new filename to solve the issue.
    
    Closes: https://bugs.gentoo.org/922121
    Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
    Closes: https://github.com/gentoo/gentoo/pull/35053
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 mail-mta/notqmail/Manifest                | 2 +-
 mail-mta/notqmail/notqmail-1.08-r6.ebuild | 4 ++--
 mail-mta/notqmail/notqmail-9999.ebuild    | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
Comment 2 Gianni Ceccarelli 2024-06-26 09:20:08 UTC
I finally got around to testing this change.

Thi file size and checksum in the manifest don't match the resource at https://github.com/notqmail/notqmail/commit/0dc6a3aa9cb3440fe589ca5384ea27d683f05625.patch

the patch is 111462 bytes, the manifest entry says 50123

(also the new patch is not on mirrors, this may or may not be an issue)