You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2017 Lucian Cristian <lucian.cristian@gmail.com>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=greyfix
  9. PKG_VERSION:=0.4.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_URL:=http://www.kim-minh.com/pub/greyfix
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_HASH:=26013edce3a38d586282bfc22eb91bd22df54e3558ea1b3dae54d3e7a769e4fe
  14. MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
  15. PKG_LICENSE:=GPLv2
  16. PKG_BUILD_PARALLEL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/greyfix
  19. SECTION:=mail
  20. CATEGORY:=Mail
  21. DEPENDS:=+libdb47
  22. TITLE:=Greyfix - greylisting with Postfix.
  23. URL:=http://www.kim-minh.com/pub/greyfix/
  24. endef
  25. define Package/greyfix/description
  26. Greyfix is the greylisting policy daemon for Postfix written by Kim Minh Kaplan.
  27. endef
  28. CONFIGURE_ARGS += \
  29. --localstatedir=/usr/lib \
  30. define Package/greyfix/install
  31. $(INSTALL_DIR) $(1)/usr/sbin \
  32. $(1)/usr/lib/greyfix
  33. $(CP) $(PKG_BUILD_DIR)/greyfix $(1)/usr/sbin/
  34. endef
  35. $(eval $(call BuildPackage,greyfix))