pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/qgreylist Update to 0.3. Changes:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45438fe54495
branches:  trunk
changeset: 500861:45438fe54495
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Oct 13 17:01:46 2005 +0000

description:
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:

 mail/qgreylist/Makefile         |  19 ++++++++-----------
 mail/qgreylist/PLIST            |   3 +--
 mail/qgreylist/distinfo         |  10 +++++-----
 mail/qgreylist/patches/patch-aa |   8 ++++----
 4 files changed, 18 insertions(+), 22 deletions(-)

diffs (105 lines):

diff -r 87a3e04e4a6c -r 45438fe54495 mail/qgreylist/Makefile
--- a/mail/qgreylist/Makefile   Thu Oct 13 16:58:08 2005 +0000
+++ b/mail/qgreylist/Makefile   Thu Oct 13 17:01:46 2005 +0000
@@ -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 @@
 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 @@
 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"
diff -r 87a3e04e4a6c -r 45438fe54495 mail/qgreylist/PLIST
--- a/mail/qgreylist/PLIST      Thu Oct 13 16:58:08 2005 +0000
+++ b/mail/qgreylist/PLIST      Thu Oct 13 17:01:46 2005 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/29 15:32:12 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/10/13 17:01:46 schmonz Exp $
 bin/qgreylist
-bin/qgreylist-info
 share/doc/qgreylist/README
 @dirrm share/doc/qgreylist
diff -r 87a3e04e4a6c -r 45438fe54495 mail/qgreylist/distinfo
--- a/mail/qgreylist/distinfo   Thu Oct 13 16:58:08 2005 +0000
+++ b/mail/qgreylist/distinfo   Thu Oct 13 17:01:46 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 09:59:28 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/10/13 17:01:46 schmonz Exp $
 
-SHA1 (qgreylist-0.2.tar.gz) = f9cb178706a3aebe87cc632bdb18e388ddb5c61b
-RMD160 (qgreylist-0.2.tar.gz) = 59194dab2477599ce98d7a5ae4f32ca7ebb6114f
-Size (qgreylist-0.2.tar.gz) = 5397 bytes
-SHA1 (patch-aa) = 6a9ba2369ae43f0df8b0afa9fff400148e4aa6d3
+SHA1 (qgreylist-0.3.tar.gz) = 9abaed7fd76f02a1090d1cf2eaad1e43dfa2f6d1
+RMD160 (qgreylist-0.3.tar.gz) = 8f85e1d19d7d9517f21c3b0f6fe0c38332e26fca
+Size (qgreylist-0.3.tar.gz) = 5822 bytes
+SHA1 (patch-aa) = afcee4cfd00481b71924ff2e0b96ad64522a8c3e
diff -r 87a3e04e4a6c -r 45438fe54495 mail/qgreylist/patches/patch-aa
--- a/mail/qgreylist/patches/patch-aa   Thu Oct 13 16:58:08 2005 +0000
+++ b/mail/qgreylist/patches/patch-aa   Thu Oct 13 17:01:46 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/08/29 15:32:12 schmonz Exp $
+$NetBSD: patch-aa,v 1.2 2005/10/13 17:01:47 schmonz Exp $
 
---- greylist.orig      2003-10-20 09:53:04.000000000 -0400
+--- greylist.orig      2005-01-17 08:38:07.000000000 -0500
 +++ greylist
-@@ -27,8 +27,9 @@ my $version = "0.2";
+@@ -27,8 +27,9 @@ my $version = "0.3";
  
  # TODO: alternative logging options, instead of syslog?
  
@@ -13,7 +13,7 @@
  
  openlog "greylist", "pid", "mail";
  
-@@ -277,14 +278,14 @@ cleanup_maybe;
+@@ -338,14 +339,14 @@ cleanup_maybe;
  # TODO: change to an immediate error here..?
  unless ( defined $ENV{TCPREMOTEIP} )
  {



Home | Main Index | Thread Index | Old Index