2 # Copyright (C) 2008-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
16 PKG_MD5SUM
:=edc5f2f3ea9f9bdd9e0f479a58903bf1
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/smtptrapd
24 TITLE
:=SMTP Trap Daemon
25 URL
:=http
://smtptrapd.sourceforge.net
/
28 define Package
/smtptrapd
/description
29 The smtptrapd program is a multi-threaded daemon that provides
30 a RFC
2821 compliant SMTP service that always returns a
4xx soft
31 error to the RCPT TO verb.
39 $(PKG_BUILD_DIR
)/smtptrapd.c \
40 -o
$(PKG_BUILD_DIR
)/smtptrapd \
45 define Package
/smtptrapd
/install
46 $(INSTALL_DIR
) $(1)/etc
/init.d
47 $(INSTALL_BIN
) .
/files
/smtptrapd.init
$(1)/etc
/init.d
/smtptrapd
48 $(INSTALL_DIR
) $(1)/usr
/sbin
49 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/smtptrapd
$(1)/usr
/sbin
/
52 $(eval
$(call BuildPackage
,smtptrapd
))