Commit Graph

12 Commits

Author SHA1 Message Date
Daniel F. Dickinson 444b62cbcc mailsend: fix ssl variant to use opensssl
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).

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-02-04 07:39:56 +02:00
Rosen Penev 4471b94ae7 mailsend: fix compilation with GCC14
Also fix CFLAGS not being passed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2025-05-01 22:03:21 +02:00
Ilya Lipnitskiy 5d8d4fbbcb treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Jeffery To 53e1692ae9 treewide: Use default PKG_BUILD_DIR when possible
This removes lines that set PKG_BUILD_DIR when the set value is no
different from the default value.

Specifically, the line is removed if the assigned value is:

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)

  The default PKG_BUILD_DIR was updated[1] to incorporate BUILD_VARIANT
  if it is set, so now this is identical to the default value.

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR)

  if PKG_SOURCE_SUBDIR is set to $(PKG_NAME)-$(PKG_VERSION), making it
  the same as the previous case

* $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

  This is the same as the default PKG_BUILD_DIR when there is no
  BUILD_VARIANT.

* $(BUILD_DIR)/[name]-$(PKG_VERSION)

  where [name] is a string that is identical to PKG_NAME

[1]: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=e545fac8d968864a965edb9e50c6f90940b0a6c9

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-13 02:01:34 +08:00
Rosen Penev a0f8d64661 mailsend: Remove more deprecated APIs
Fixes compile without them.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-17 11:30:39 -08:00
Eneas U de Queiroz dfe0a0edbc mailsend: add compatibility with openssl 1.1.0
Applied a patch merged upstream that adds support to openssl 1.1.0, and
added a patch, just submitted upstream, that enables compilation with
openssl 1.1.0 built without deprecated API.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-07-06 09:17:17 -03:00
Eneas U de Queiroz 06dee479da mailsend: bump to v. 1.19
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-07-06 09:16:34 -03:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Ted Hess 0b2e43d07b mailsend: split into 2 packages - with SSL and without SSL
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-03-04 16:52:02 -05:00
Nicolas Thill e24dfafb01 remove uneeded PKG_BUILD_DIR & PKG_CAT overrides
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-22 02:37:56 +01:00
Ian Leonard ac7cd4c6e6 misc: correct typo in Makefiles for PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Ted Hess 83d7ff8b71 mailsend: import command-line mail sender. Use v1.17b15 for correct IPv4/6 support
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-08-21 15:52:39 -04:00