|
@ -9,16 +9,19 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=emailrelay |
|
|
PKG_NAME:=emailrelay |
|
|
PKG_VERSION:=1.9 |
|
|
PKG_VERSION:=1.9 |
|
|
PKG_RELEASE:=4 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=5 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz |
|
|
PKG_SOURCE_URL:=@SF/emailrelay/$(PKG_VERSION) |
|
|
PKG_SOURCE_URL:=@SF/emailrelay/$(PKG_VERSION) |
|
|
PKG_HASH:=869a3e2d053237d7f63784acc25e748af2dbf2d9b9c5c48e4a5269d4e4b5bda0 |
|
|
PKG_HASH:=869a3e2d053237d7f63784acc25e748af2dbf2d9b9c5c48e4a5269d4e4b5bda0 |
|
|
|
|
|
PKG_MAINTAINER:=Federico Di Marco <fededim@gmail.com> |
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
|
|
|
|
|
|
|
|
PKG_CONFIG_DEPENDS:=CONFIG_EMAILRELAY_SUPPORT_VERBOSE_DBG CONFIG_EMAILRELAY_SSL |
|
|
|
|
|
|
|
|
PKG_CONFIG_DEPENDS:=CONFIG_EMAILRELAY_SUPPORT_VERBOSE_DBG CONFIG_EMAILRELAY_SSL |
|
|
|
|
|
|
|
|
|
|
|
PKG_LICENSE:=GPL-3.0 |
|
|
|
|
|
PKG_LICENSE_FILES:=COPYING |
|
|
|
|
|
|
|
|
#include $(INCLUDE_DIR)/uclibc++.mk # $(CXX_DEPENDS)
|
|
|
#include $(INCLUDE_DIR)/uclibc++.mk # $(CXX_DEPENDS)
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
@ -26,10 +29,9 @@ include $(INCLUDE_DIR)/package.mk |
|
|
define Package/emailrelay |
|
|
define Package/emailrelay |
|
|
SECTION:=mail |
|
|
SECTION:=mail |
|
|
CATEGORY:=Mail |
|
|
CATEGORY:=Mail |
|
|
DEPENDS:=+EMAILRELAY_SSL:libopenssl +libstdcpp |
|
|
|
|
|
|
|
|
DEPENDS:=+EMAILRELAY_SSL:libopenssl +libstdcpp |
|
|
TITLE:=A simple SMTP proxy and MTA |
|
|
TITLE:=A simple SMTP proxy and MTA |
|
|
URL:=http://emailrelay.sourceforge.net/ |
|
|
URL:=http://emailrelay.sourceforge.net/ |
|
|
MAINTAINER:=Federico Di Marco <fededim@gmail.com> |
|
|
|
|
|
MENU:=1 |
|
|
MENU:=1 |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
@ -42,7 +44,7 @@ config EMAILRELAY_SUPPORT_VERBOSE_DBG |
|
|
help |
|
|
help |
|
|
Enables support for extended logging (must also be explicitely enabled by using command line switch --debug when starting emailrelay) |
|
|
Enables support for extended logging (must also be explicitely enabled by using command line switch --debug when starting emailrelay) |
|
|
|
|
|
|
|
|
config EMAILRELAY_SSL |
|
|
|
|
|
|
|
|
config EMAILRELAY_SSL |
|
|
bool "Enable support for OpenSSL" |
|
|
bool "Enable support for OpenSSL" |
|
|
depends on PACKAGE_emailrelay |
|
|
depends on PACKAGE_emailrelay |
|
|
default y |
|
|
default y |
|
@ -54,18 +56,19 @@ endef |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define Package/emailrelay/description |
|
|
define Package/emailrelay/description |
|
|
Emailrelay is a simple SMTP proxy and store-and-forward message transfer agent (MTA). |
|
|
|
|
|
|
|
|
|
|
|
When running as a proxy all e-mail messages can be passed through |
|
|
|
|
|
a user-defined program, such as a spam filter, which can drop, |
|
|
|
|
|
re-address or edit messages as they pass through. When running |
|
|
|
|
|
as a store-and-forward MTA incoming messages are stored in a |
|
|
|
|
|
local spool directory, and then forwarded to the next SMTP |
|
|
|
|
|
server on request. |
|
|
|
|
|
|
|
|
Emailrelay is a simple SMTP proxy and store-and-forward message transfer agent (MTA). |
|
|
|
|
|
|
|
|
|
|
|
When running as a proxy all e-mail messages can be passed through |
|
|
|
|
|
a user-defined program, such as a spam filter, which can drop, |
|
|
|
|
|
re-address or edit messages as they pass through. When running |
|
|
|
|
|
as a store-and-forward MTA incoming messages are stored in a |
|
|
|
|
|
local spool directory, and then forwarded to the next SMTP |
|
|
|
|
|
server on request. |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define Package/emailrelay/conffiles |
|
|
define Package/emailrelay/conffiles |
|
|
|
|
|
/etc/config/emailrelay |
|
|
/etc/emailrelay.auth |
|
|
/etc/emailrelay.auth |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
@ -75,7 +78,7 @@ CONFIGURE_ARGS += \ |
|
|
--enable-testing=no |
|
|
--enable-testing=no |
|
|
|
|
|
|
|
|
CONFIGURE_VARS += \
|
|
|
CONFIGURE_VARS += \
|
|
|
CXXFLAGS="$$$$CXXFLAGS -fno-rtti" |
|
|
|
|
|
|
|
|
CXXFLAGS="$$$$CXXFLAGS -fno-rtti" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_EMAILRELAY_SSL),y) |
|
|
ifeq ($(CONFIG_EMAILRELAY_SSL),y) |
|
@ -94,7 +97,7 @@ endif |
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_OPENSSL_WITH_SSL3),y) |
|
|
ifeq ($(CONFIG_OPENSSL_WITH_SSL3),y) |
|
|
CONFIGURE_VARS += \
|
|
|
CONFIGURE_VARS += \
|
|
|
CXXFLAGS="$$$$CXXFLAGS -DSSL3_SUPPORT" |
|
|
|
|
|
|
|
|
CXXFLAGS="$$$$CXXFLAGS -DSSL3_SUPPORT" |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
define Package/emailrelay/install |
|
|
define Package/emailrelay/install |
|
@ -104,10 +107,10 @@ define Package/emailrelay/install |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/main/emailrelay-passwd $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/main/emailrelay-passwd $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/main/emailrelay-poke $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/main/emailrelay-poke $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/main/emailrelay-submit $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/main/emailrelay-submit $(1)/usr/bin/ |
|
|
$(INSTALL_DIR) $(1)/tmp/spool |
|
|
|
|
|
$(INSTALL_DIR) $(1)/tmp/spool/emailrelay |
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc |
|
|
$(INSTALL_DIR) $(1)/etc |
|
|
$(INSTALL_DATA) files/$(PKG_NAME).auth $(1)/etc/ |
|
|
$(INSTALL_DATA) files/$(PKG_NAME).auth $(1)/etc/ |
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config |
|
|
|
|
|
$(INSTALL_CONF) files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME) |
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
$(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME) |
|
|
$(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME) |
|
|
endef |
|
|
endef |
|
|