Summary: | mail-mta/opensmtpd: broken at runtime with openssl 3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen, mgorny, orbea, pmw.gover, treecleaner |
Priority: | Normal | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/OpenSMTPD/OpenSMTPD/issues/1171 https://bugzilla.redhat.com/show_bug.cgi?id=2132827 |
||
Whiteboard: | < dep added to ebuilds in Gentoo | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 908836 | ||
Bug Blocks: | 797325 | ||
Attachments: | An ebuild for opensnmtpd-7.3.0_p1 |
Description
Sam James
2022-11-17 22:51:19 UTC
Aim is to unmask OpenSSL 3 by end of year. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca14c6de6b4519250b55d36fd0f22a651445e0d4 commit ca14c6de6b4519250b55d36fd0f22a651445e0d4 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-13 05:24:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-13 05:24:25 +0000 mail-mta/opensmtpd: depend on < openssl 3 Broken at runtime. Bug: https://bugs.gentoo.org/881701 Signed-off-by: Sam James <sam@gentoo.org> .../{opensmtpd-6.8.0_p2-r1.ebuild => opensmtpd-6.8.0_p2-r2.ebuild} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Well, is it possible to link the package against openssl-compat? (In reply to Reva Denis from comment #3) > Well, is it possible to link the package against openssl-compat? The purpose of openssl-compat to provide old SOVERSIONs to appease prebuilt software. It doesn't provide development files. Fixed in version 7.3.0p0 opensmtpd creates lots of conflicts with openssl:3 on my system, so I made an ebuild for mail-mta/opensmtpd-7.3.0_p1, based on opensmtpd-6.8.0_p2-r2.ebuild. Worked like a dream, except for a collision with mailx on /usr/share/man/man1/lockspool.1.bz2 which I bypassed with FEATURES='-collision-protect -protect-owned' - I reckon sorting out collisions is above my pay grade... The file comes from a selection of things in the "contrib" subdirectory of the opensmtp tarball, such as libexec - should it be installing any of these? I'll attach my ebuild, for what it's worth. The result builds OK with gcc, but not clang. I presume the ~arch opensmtpd-6.8.0_p2-r3.ebuild is to handle that, but the patches don't work for 7.3.0_p1 - not a surprise, I expect they've changed a lot. Again, trying to sort that out is above my pay grade. Note that my ebuild has RESTRICT='mirror', but I don't recall why. The ebuild compiles and installs OK, and removes the last blocker for openssl:3 on my system. Having tidied that up with an emerge --update --deep ... I ran a pretty minimal test by sending myself an email, which worked fine. Created attachment 867709 [details]
An ebuild for opensnmtpd-7.3.0_p1
ping zx2c4 The proposed ebuild is working for me and opensmtpd is functional on a local setup. I'm also seeing the file collision here. Thanks Paul. PS: I had to remove the RESTRICT='mirror' to let portage download the source. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c72dffdc796b9aa428abc9e9d557f817f6f9baa commit 1c72dffdc796b9aa428abc9e9d557f817f6f9baa Author: David Seifert <soap@gentoo.org> AuthorDate: 2023-08-26 14:21:08 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2023-08-26 14:21:08 +0000 mail-mta/opensmtpd: add 7.3.0_p1 Bug: https://bugs.gentoo.org/779076 Bug: https://bugs.gentoo.org/881701 Bug: https://bugs.gentoo.org/899788 Bug: https://bugs.gentoo.org/908836 Signed-off-by: David Seifert <soap@gentoo.org> mail-mta/opensmtpd/Manifest | 1 + mail-mta/opensmtpd/files/smtpd-r1.service | 11 ++++ mail-mta/opensmtpd/opensmtpd-7.3.0_p1.ebuild | 91 ++++++++++++++++++++++++++++ 3 files changed, 103 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f571d35d15b7e75c0606e3faa6ef5aa25b8c15ec commit f571d35d15b7e75c0606e3faa6ef5aa25b8c15ec Author: David Seifert <soap@gentoo.org> AuthorDate: 2023-09-05 14:36:51 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2023-09-05 14:36:51 +0000 mail-mta/opensmtpd: drop 6.8.0_p2-r2, 6.8.0_p2-r3 Closes: https://bugs.gentoo.org/881701 Closes: https://bugs.gentoo.org/899788 Closes: https://bugs.gentoo.org/913144 Signed-off-by: David Seifert <soap@gentoo.org> mail-mta/opensmtpd/Manifest | 1 - .../opensmtpd/files/opensmtpd-6.8.0_p2-ar.patch | 42 --- ...pd-6.8.0_p2-implicit-function-declaration.patch | 303 --------------------- .../opensmtpd-6.8.0_p2-strict-prototypes.patch | 74 ----- mail-mta/opensmtpd/files/smtpd.service | 10 - mail-mta/opensmtpd/files/smtpd.socket | 8 - mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r2.ebuild | 78 ------ mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r3.ebuild | 91 ------- 8 files changed, 607 deletions(-) |