Enable SSL support in ssmtp (#1567)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6900 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d3b4ef6c0f
commit
9508b50d0d
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ssmtp
|
PKG_NAME:=ssmtp
|
||||||
PKG_VERSION:=2.61
|
PKG_VERSION:=2.61
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
|
||||||
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/s/ssmtp/
|
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/s/ssmtp/
|
||||||
@ -24,6 +24,7 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
define Package/ssmtp
|
define Package/ssmtp
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
|
DEPENDS:=+libopenssl
|
||||||
TITLE:=A minimal and secure mail sender
|
TITLE:=A minimal and secure mail sender
|
||||||
DESCRIPTION:=\
|
DESCRIPTION:=\
|
||||||
A secure, effective and simple way of getting mail off a system to your \\\
|
A secure, effective and simple way of getting mail off a system to your \\\
|
||||||
@ -36,7 +37,16 @@ endef
|
|||||||
|
|
||||||
# uses GNU configure
|
# uses GNU configure
|
||||||
|
|
||||||
|
define Build/Configure
|
||||||
|
cd $(PKG_BUILD_DIR)
|
||||||
|
$(call Build/Configure/Default, \
|
||||||
|
--enable-ssl \
|
||||||
|
)
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
EXTRA_CFLAGS="-I$(STAGING_DIR)/usr/include" \
|
||||||
|
EXTRA_LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
all
|
all
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user