|
@ -1,5 +1,5 @@ |
|
|
#
|
|
|
#
|
|
|
# Copyright (C) 2007-2014 OpenWrt.org
|
|
|
|
|
|
|
|
|
# Copyright (C) 2007-2015 OpenWrt.org
|
|
|
#
|
|
|
#
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
# See /LICENSE for more information.
|
|
|
# See /LICENSE for more information.
|
|
@ -9,8 +9,8 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=ssmtp |
|
|
PKG_NAME:=ssmtp |
|
|
PKG_VERSION:=2.64 |
|
|
PKG_VERSION:=2.64 |
|
|
PKG_RELEASE:=1.1 |
|
|
|
|
|
PKG_MAINTAINER:=Dirk Brenken <dibdot@gmail.com> |
|
|
|
|
|
|
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
PKG_MAINTAINER:=Dirk Brenken <dirk@brenken.org> |
|
|
PKG_LICENSE:=GPL-2.0+ |
|
|
PKG_LICENSE:=GPL-2.0+ |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.bz2 |
|
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.bz2 |
|
@ -21,23 +21,24 @@ include $(INCLUDE_DIR)/package.mk |
|
|
|
|
|
|
|
|
TARGET_CFLAGS += $(TARGET_CPPFLAGS) |
|
|
TARGET_CFLAGS += $(TARGET_CPPFLAGS) |
|
|
|
|
|
|
|
|
define Package/ssmtp |
|
|
|
|
|
SECTION:=mail |
|
|
|
|
|
CATEGORY:=Mail |
|
|
|
|
|
DEPENDS:=+libopenssl |
|
|
|
|
|
TITLE:=A minimal and secure mail sender with ssl support |
|
|
|
|
|
URL:=http://packages.debian.org/ssmtp |
|
|
|
|
|
|
|
|
define Package/$(PKG_NAME) |
|
|
|
|
|
SECTION:=mail |
|
|
|
|
|
CATEGORY:=Mail |
|
|
|
|
|
DEPENDS:=+libopenssl |
|
|
|
|
|
TITLE:=A minimal and secure mail sender with ssl support |
|
|
|
|
|
URL:=http://packages.debian.org/ssmtp |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/ssmtp/description |
|
|
|
|
|
A secure, effective and simple way of getting mail off a system to your |
|
|
|
|
|
mail hub. It contains no suid-binaries or other dangerous things - no |
|
|
|
|
|
mail spool to poke around in, and no daemons running in the background. |
|
|
|
|
|
Mail is simply forwarded to the configured mailhost. Extremely easy |
|
|
|
|
|
configuration. |
|
|
|
|
|
|
|
|
define Package/$(PKG_NAME)/description |
|
|
|
|
|
A secure, effective and simple way of getting mail off a system to your |
|
|
|
|
|
mail hub. It contains no suid-binaries or other dangerous things - no |
|
|
|
|
|
mail spool to poke around in, and no daemons running in the background. |
|
|
|
|
|
Mail is simply forwarded to the configured mailhost. Extremely easy |
|
|
|
|
|
configuration. |
|
|
|
|
|
|
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/ssmtp/conffiles |
|
|
|
|
|
|
|
|
define Package/$(PKG_NAME)/conffiles |
|
|
/etc/ssmtp/ssmtp.conf |
|
|
/etc/ssmtp/ssmtp.conf |
|
|
/etc/ssmtp/revaliases |
|
|
/etc/ssmtp/revaliases |
|
|
endef |
|
|
endef |
|
@ -48,7 +49,7 @@ CONFIGURE_VARS += \ |
|
|
CONFIGURE_ARGS += \
|
|
|
CONFIGURE_ARGS += \
|
|
|
--enable-ssl |
|
|
--enable-ssl |
|
|
|
|
|
|
|
|
define Package/ssmtp/install |
|
|
|
|
|
|
|
|
define Package/$(PKG_NAME)/install |
|
|
$(INSTALL_DIR) $(1)/etc/ssmtp |
|
|
$(INSTALL_DIR) $(1)/etc/ssmtp |
|
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/ssmtp.conf $(1)/etc/ssmtp/ |
|
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/ssmtp.conf $(1)/etc/ssmtp/ |
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/revaliases $(1)/etc/ssmtp/ |
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/revaliases $(1)/etc/ssmtp/ |
|
@ -56,9 +57,9 @@ define Package/ssmtp/install |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ssmtp $(1)/usr/sbin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ssmtp $(1)/usr/sbin/ |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/ssmtp/postinst |
|
|
|
|
|
|
|
|
define Package/$(PKG_NAME)/postinst |
|
|
#!/bin/sh
|
|
|
#!/bin/sh
|
|
|
ln -sf ssmtp $${IPKG_INSTROOT}/usr/sbin/sendmail |
|
|
ln -sf ssmtp $${IPKG_INSTROOT}/usr/sbin/sendmail |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,ssmtp)) |
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME))) |