Commit Graph

17 Commits

Author SHA1 Message Date
Andre Heider e7d9c86503 treewide: refactor to use PKG_BUILD_FLAGS:=lto
See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS"
on the main repository.

Note: Some packages only added `-flto` to CFLAGS and not LDFLAGS. This
fixes it and properly enables LTO.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Andre Heider 35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Sergey Ponomarev 735cba83ce emailrelay: update to v2.4.1
The patch seems not needed anymore.
Also remove deprecated PKG_RELEASE:=$(AUTORELEASE)

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2022-12-20 21:20:39 +01:00
Rosen Penev 0bd444e694 emailrelay: don't disable fortify source
GCC8 and 9 are gone.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-04 11:19:33 -08:00
Rosen Penev b80af2eb31 emailrelay: update to 2.2
Remove upstreamed patch.

Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-12 15:05:49 -08:00
Rosen Penev de4ed9178e emailrelay: Update to 2.1
Remove uClibc++ reference. This requires C++11 features not provided by
uClibc++.

Added size optimizations as this package is huge.

Cleaned up Makefile for consistency between packages.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-20 11:43:56 -07: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 e6919c19cb emailrelay: Remove unnecessary OpenSSL engine include
There's no usage of any ENGINE APIs and trying to include the header
breaks compilation with ENGINE support disabled.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-01 23:35:26 -08:00
Rosen Penev 2b238005c1 emailrelay: Remove SSLv3 option
The next version of OpenSSL will not include support. Removing in advance.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-28 12:57:56 -07:00
Othmar Truniger 432cc99d9a emailrelay: add some runtime options
Signed-off-by: Othmar Truniger <github@truniger.ch>
2018-08-20 19:29:41 +02:00
Eneas U de Queiroz 6cf615d90d emailrelay: avoind linking with -lpam
The package seems to link to -lpam even when using --without-pam.  Set
ac_cv_search_pam_end=no to avoid it.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-08-04 15:12:35 -03:00
Rosen Penev 213f482d30 emailrelay: Update to 2.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-07-31 14:40:04 -07:00
Paul Wassi 084a9ee0c1 mail/emailrelay: tune up initscript and config
Previously, configuration of emailrelay was done by fiddling around
with the commandline inside the initscript. Introduce a config file
in /etc/config for basic configuration and at the same time switch
to a procd-style initscript.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2017-11-17 12:07:08 +01:00
Paul Wassi e83d0c0d8d mail/emailrelay: cosmetic fixes
This is just a cosmetic thing, therefore no increase of PKG_RELEASE.
- Trailing spaces and tabs
- Add newline to end of file
- Add License info to Makefile
- Move maintainer definition to PKG_MAINTAINER

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2017-11-16 10:10:41 +01: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
Rupan 8fa1833509 emailrelay: bugfix #2401, switched to libstdcpp due to some uclibc++ issues
Signed-off-by: Federico Di Marco <fededim@gmail.com>
2016-12-07 15:39:08 +01:00
Rupan 5758939831 emailrelay: added configuration options
- moved from net to mail category
- removed no-ssl package and added ssl support as configuration option (default enabled)
- added configuration option to support extended logging (default disabled)
- disabled build of test tools
- added LEDE compatibility (support for openssl without SSL3)

Signed-off-by: Federico Di Marco <fededim@gmail.com>
2016-10-04 12:23:17 +02:00