diff options
Diffstat (limited to 'mail/greyfix/Makefile')
-rw-r--r-- | mail/greyfix/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/mail/greyfix/Makefile b/mail/greyfix/Makefile new file mode 100644 index 000000000..85bd8f8fb --- /dev/null +++ b/mail/greyfix/Makefile @@ -0,0 +1,46 @@ +# +# Copyright (C) 2017 Lucian Cristian <lucian.cristian@gmail.com> +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=greyfix +PKG_VERSION:=0.4.0 +PKG_RELEASE:=1 + +PKG_SOURCE_URL:=http://www.kim-minh.com/pub/greyfix +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_HASH:=26013edce3a38d586282bfc22eb91bd22df54e3558ea1b3dae54d3e7a769e4fe + +MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com> +PKG_LICENSE:=GPLv2 + +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/greyfix + SECTION:=mail + CATEGORY:=Mail + DEPENDS:=+libdb47 + TITLE:=Greyfix - greylisting with Postfix. + URL:=http://www.kim-minh.com/pub/greyfix/ +endef + +define Package/greyfix/description + Greyfix is the greylisting policy daemon for Postfix written by Kim Minh Kaplan. +endef + +CONFIGURE_ARGS += \ + --localstatedir=/usr/lib \ + +define Package/greyfix/install + $(INSTALL_DIR) $(1)/usr/sbin \ + $(1)/usr/lib/greyfix + $(CP) $(PKG_BUILD_DIR)/greyfix $(1)/usr/sbin/ +endef + +$(eval $(call BuildPackage,greyfix)) |