summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2017-04-27 20:27:36 +0000
committerschmonz <schmonz@pkgsrc.org>2017-04-27 20:27:36 +0000
commitbea48f4e5c6057e628b34c9f2ce15ceda4b6396e (patch)
tree3134873ce8a54a43dbe7489b544ed0a6d676a35a
parent8caee854ff5a2597b23057de1b16951fcd58cd4f (diff)
downloadpkgsrc-bea48f4e5c6057e628b34c9f2ce15ceda4b6396e.tar.gz
Honor custom values of ${QMAIL_DAEMON_USER}. Define LICENSE. Comment
the patch.
-rw-r--r--mail/qgreylist/Makefile9
-rw-r--r--mail/qgreylist/distinfo4
-rw-r--r--mail/qgreylist/patches/patch-aa4
3 files changed, 11 insertions, 6 deletions
diff --git a/mail/qgreylist/Makefile b/mail/qgreylist/Makefile
index f9356269028..e6c28c2770f 100644
--- a/mail/qgreylist/Makefile
+++ b/mail/qgreylist/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2016/07/09 06:38:31 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2017/04/27 20:27:36 schmonz Exp $
#
DISTNAME= qgreylist-0.3
@@ -9,6 +9,7 @@ MASTER_SITES= ${HOMEPAGE}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://www.jonatkins.com/page/software/qgreylist
COMMENT= Simple greylisting for qmail
+LICENSE= mit
DEPENDS_QMAIL= qmail>=1.03nb8:../../mail/qmail
DEPENDS+= ${DEPENDS_QMAIL}
@@ -16,10 +17,12 @@ DEPENDS+= ${DEPENDS_QMAIL}
WRKSRC= ${WRKDIR}/qgreylist
USE_TOOLS+= perl:run
-OWN_DIRS_PERMS= ${PKG_SYSCONFDIR}/greylist qmaild wheel 0755
-OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/whitelist qmaild wheel 0755
+OWN_DIRS_PERMS= ${PKG_SYSCONFDIR}/greylist ${QMAIL_DAEMON_USER} wheel 0755
+OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/whitelist ${QMAIL_DAEMON_USER} wheel 0755
NO_BUILD= yes
+BUILD_DEFS+= QMAIL_DAEMON_USER
+
REPLACE_PERL= greylist
.include "../../mk/bsd.prefs.mk"
diff --git a/mail/qgreylist/distinfo b/mail/qgreylist/distinfo
index e4ad34d3217..14d0146edf9 100644
--- a/mail/qgreylist/distinfo
+++ b/mail/qgreylist/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 23:27:18 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/04/27 20:27:36 schmonz Exp $
SHA1 (qgreylist-0.3.tar.gz) = 9abaed7fd76f02a1090d1cf2eaad1e43dfa2f6d1
RMD160 (qgreylist-0.3.tar.gz) = 8f85e1d19d7d9517f21c3b0f6fe0c38332e26fca
SHA512 (qgreylist-0.3.tar.gz) = 126ba93090ad4889c8e223087f25d752435a9aaa21884540a59f1578595d6a22a97b9b4e77c42fce2b3ccc424df7dfab95d3c99999740da98cc8c25170b22d7c
Size (qgreylist-0.3.tar.gz) = 5822 bytes
-SHA1 (patch-aa) = afcee4cfd00481b71924ff2e0b96ad64522a8c3e
+SHA1 (patch-aa) = 1991a7374c21d8caa58dab51eed868c767e2da6e
diff --git a/mail/qgreylist/patches/patch-aa b/mail/qgreylist/patches/patch-aa
index 5e42bd295a1..5a33ef14dc9 100644
--- a/mail/qgreylist/patches/patch-aa
+++ b/mail/qgreylist/patches/patch-aa
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.2 2005/10/13 17:01:47 schmonz Exp $
+$NetBSD: patch-aa,v 1.3 2017/04/27 20:27:36 schmonz Exp $
+
+Adjust to more modern Sys::Syslog. Fix typos in error messages.
--- greylist.orig 2005-01-17 08:38:07.000000000 -0500
+++ greylist