summaryrefslogtreecommitdiff
path: root/mail/qgreylist/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-10-13 17:01:46 +0000
committerschmonz <schmonz@pkgsrc.org>2005-10-13 17:01:46 +0000
commit5c83741ff64de4799a86b0e0a132f01f363a0032 (patch)
treef845406dec58ae30c966a925a3d5eca3363f11f8 /mail/qgreylist/Makefile
parentc68bd0d591a1e5c51b9f22d17c726a7edc04b9fe (diff)
downloadpkgsrc-5c83741ff64de4799a86b0e0a132f01f363a0032.tar.gz
Update to 0.3. Changes:
* Updated default timeouts * Added support for matching IPs based on class-C (/24) address, rather than the full IP address - enabled by default * Added support for whitelists * Wait for the envelope before sending tempfail (helps for some buggy MTAs) * Removed qgreylist-info script (doesn't work with new class-C greylisting)
Diffstat (limited to 'mail/qgreylist/Makefile')
-rw-r--r--mail/qgreylist/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/mail/qgreylist/Makefile b/mail/qgreylist/Makefile
index f67236c87fa..e1007779209 100644
--- a/mail/qgreylist/Makefile
+++ b/mail/qgreylist/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2005/09/28 20:52:24 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2005/10/13 17:01:46 schmonz Exp $
#
-DISTNAME= qgreylist-0.2
+DISTNAME= qgreylist-0.3
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}
@@ -17,10 +17,10 @@ WRKSRC= ${WRKDIR}/qgreylist
USE_TOOLS+= perl:run
USE_PKGINSTALL= yes
OWN_DIRS_PERMS= ${PKG_SYSCONFDIR}/greylist qmaild wheel 0755
+OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/whitelist qmaild wheel 0755
NO_BUILD= yes
-QGREYLIST_SCRIPTS= greylist greylist-info
-REPLACE_PERL= ${QGREYLIST_SCRIPTS}
+REPLACE_PERL= greylist
.include "../../mk/bsd.prefs.mk"
@@ -30,25 +30,22 @@ REPLACE_PERL= ${QGREYLIST_SCRIPTS}
INSTALLED_QMAIL!= ${PKG_BEST_EXISTS} ${DEPENDS_QMAIL:C/:.*$//:Q:S/\ / /g}
. if empty(INSTALLED_QMAIL:M*_not_found_)
. if !defined(PKG_SYSCONFDIR.qgreylist)
-PKG_SYSCONFDIR.qgreylist!= \
- ${PKG_INFO} -qB ${INSTALLED_QMAIL} | \
- ${SED} -n '/^PKG_SYSCONFDIR=/s|^PKG_SYSCONFDIR=[ ]*||p'
+PKG_SYSCONFDIR.qgreylist!= ${PKG_INFO} -Q PKG_SYSCONFDIR ${INSTALLED_QMAIL}
. endif
. endif
.endif
SUBST_CLASSES+= qmaildirs
SUBST_STAGE.qmaildirs= do-configure
-SUBST_FILES.qmaildirs= ${QGREYLIST_SCRIPTS}
+SUBST_FILES.qmaildirs= greylist
SUBST_SED.qmaildirs= -e 's|/var/qmail/greylist|${PKG_SYSCONFDIR}/greylist|g'
+SUBST_SED.qmaildirs+= -e 's|/var/qmail/whitelist|${PKG_SYSCONFDIR}/whitelist|g'
SUBST_SED.qmaildirs+= -e 's|/var/qmail|${QMAILDIR}|g'
INSTALLATION_DIRS= bin share/doc/qgreylist
do-install:
- for i in ${QGREYLIST_SCRIPTS}; do \
- ${INSTALL_SCRIPT} ${WRKSRC}/$${i} ${PREFIX}/bin/q$${i}; \
- done
+ ${INSTALL_SCRIPT} ${WRKSRC}/greylist ${PREFIX}/bin/qgreylist
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/qgreylist
.include "../../mk/bsd.pkg.mk"