Skip to content

mailsend: fix ssl variant to use openssl#28424

Merged
GeorgeSapkin merged 1 commit intoopenwrt:masterfrom
danielfdickinson:pr-fix-mailsend-ssl-variant-has-no-ssl
Feb 4, 2026
Merged

mailsend: fix ssl variant to use openssl#28424
GeorgeSapkin merged 1 commit intoopenwrt:masterfrom
danielfdickinson:pr-fix-mailsend-ssl-variant-has-no-ssl

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).


🧪 Run Testing Details

  • OpenWrt Version: SNAPSHOT r32783-cf84e8ee86
  • OpenWrt Target/Subtarget: bcm27xx/bcm2712
  • OpenWrt Device: Raspberry Pi 5 Model B Rev 1.0

✅ 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>
@danielfdickinson danielfdickinson changed the title mailsend: fix ssl variant to use opensssl mailsend: fix ssl variant to use openssl Jan 25, 2026
@danielfdickinson
Copy link
Contributor Author

@hnyman @mhei @systemcrash This one seems pretty straightforward and fixes an issue (which the reporting user closed in anticipation of this being merged - I guess they aren't used to the merge the PR then close the ticket thing). Could it be merged?

@systemcrash
Copy link
Contributor

Seems simple enough. @GeorgeSapkin @BKPepe ?

@GeorgeSapkin GeorgeSapkin merged commit 444b62c into openwrt:master Feb 4, 2026
12 checks passed
@danielfdickinson danielfdickinson deleted the pr-fix-mailsend-ssl-variant-has-no-ssl branch February 4, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants