aboutsummaryrefslogtreecommitdiff
path: root/mail/greyfix/Makefile
blob: 85bd8f8fbb45b29c8daa6c98efaec2e2c8369373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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))