@ -14,11 +14,14 @@ PKG_RELEASE:=4
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)
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
@ -26,10 +29,9 @@ include $(INCLUDE_DIR)/package.mk
d e f i n e P a c k a g e / e m a i l r e l a y
d e f i n e P a c k a g e / e m a i l r e l a y
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
e n d e f
e n d e f
@ -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)
c o n f i g E M A I L R E L A Y _ S S L
c o n f i g E M A I L R E L A Y _ S S L
bool "Enable support for OpenSSL"
bool "Enable support for OpenSSL"
depends on PACKAGE_emailrelay
depends on PACKAGE_emailrelay
default y
default y
@ -54,14 +56,14 @@ endef
d e f i n e P a c k a g e / e m a i l r e l a y / d e s c r i p t i o n
d e f i n e P a c k a g e / e m a i l r e l a y / d e s c r i p t i o n
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.
e n d e f
e n d e f
@ -75,7 +77,7 @@ CONFIGURE_ARGS += \
--enable-testing= no
--enable-testing= no
CONFIGURE_VARS += \
CONFIGURE_VARS += \
CXXFLAGS = " $$ $$ CXXFLAGS -fno-rtti "
CXXFLAGS = " $$ $$ CXXFLAGS -fno-rtti "
i f e q ( $( CONFIG_EMAILRELAY_SSL ) , y )
i f e q ( $( CONFIG_EMAILRELAY_SSL ) , y )
@ -94,7 +96,7 @@ endif
i f e q ( $( CONFIG_OPENSSL_WITH_SSL 3) , y )
i f e q ( $( CONFIG_OPENSSL_WITH_SSL 3) , y )
CONFIGURE_VARS += \
CONFIGURE_VARS += \
CXXFLAGS = " $$ $$ CXXFLAGS -DSSL3_SUPPORT "
CXXFLAGS = " $$ $$ CXXFLAGS -DSSL3_SUPPORT "
e n d i f
e n d i f
d e f i n e P a c k a g e / e m a i l r e l a y / i n s t a l l
d e f i n e P a c k a g e / e m a i l r e l a y / i n s t a l l