Skip to content

mailsend: cherry-pick fix ssl variant to use opensssl#28868

Open
danielfdickinson wants to merge 1 commit intoopenwrt:openwrt-25.12from
danielfdickinson:pr-cherry-pick-mailsend-ssl-fix
Open

mailsend: cherry-pick fix ssl variant to use opensssl#28868
danielfdickinson wants to merge 1 commit intoopenwrt:openwrt-25.12from
danielfdickinson:pr-cherry-pick-mailsend-ssl-fix

Conversation

@danielfdickinson
Copy link
Contributor

📦 Package Details

Maintainer: @thess

Description:
As described in #28261 Not compiled with OpenSSL, the SSL variant of the mailsend package is not actually being compiled with OpenSSL.

This is due to an upstream configure check borrowed from an ancient version of BIND, which no longer works.

As a workaround we add -DHAVE_OPENSSL=1 to the TARGET_CFLAGS when building the SSL variant.

This results in a complaint about COPTS not being honoured correctly, but results in mailsend compiled with OpenSSL (i.e. works).

(cherry picked from commit 444b62c)

Closes #28695


🧪 Run Testing Details

TODO: but already tested in master

  • OpenWrt Version:
  • OpenWrt Target/Subtarget:
  • OpenWrt Device:

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

As described in openwrt#28261 Not compiled with OpenSSL, the SSL variant of
the mailsend package is not actually being compiled with OpenSSL.

This is due to an upstream configure check borrowed from an ancient
version of BIND, which no longer works.

As a workaround we add `-DHAVE_OPENSSL=1` to the `TARGET_CFLAGS` when
building the SSL variant.

This results in a complaint about COPTS not being honoured correctly,
but results in `mailsend` compiled with OpenSSL (i.e. works).

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 444b62c)
@BKPepe BKPepe added the OpenWrt 25.12 Issues/PR on branch 25.12 label Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OpenWrt 25.12 Issues/PR on branch 25.12

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants