From owner-svn-ports-head@FreeBSD.ORG Fri Dec 6 16:59:38 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2463B56B; Fri, 6 Dec 2013 16:59:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 10B941EB9; Fri, 6 Dec 2013 16:59:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB6GxbjJ043046; Fri, 6 Dec 2013 16:59:37 GMT (envelope-from feld@svn.freebsd.org) Received: (from feld@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB6GxbCf043044; Fri, 6 Dec 2013 16:59:37 GMT (envelope-from feld@svn.freebsd.org) Message-Id: <201312061659.rB6GxbCf043044@svn.freebsd.org> From: Mark Felder Date: Fri, 6 Dec 2013 16:59:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335776 - in head/mail/sqlgrey: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Dec 2013 16:59:38 -0000 Author: feld Date: Fri Dec 6 16:59:37 2013 New Revision: 335776 URL: http://svnweb.freebsd.org/changeset/ports/335776 Log: Import patch to fix IPv6 greylisting This patch is floating in the bug system on SourceForge. Upstream develoment is slow/nonexistent. If you have IPv6 mail servers and run sqlgrey you may notice emails from places like GMail sometimes get lost or take forever to get be received. This is because GMail does not retry from the same server, and they have a large pool of IPv6 capable MTAs. For IPv4 sqlgrey handles this by whitelisting the entire /24, but similar logic for whitelisting a /64 in sqlgrey doesn't work consistently. This fixes it. PR: ports/182440 Approved by: crees (mentor), maintainer timeout Added: head/mail/sqlgrey/files/patch-ipv6 (contents, props changed) Modified: head/mail/sqlgrey/Makefile Modified: head/mail/sqlgrey/Makefile ============================================================================== --- head/mail/sqlgrey/Makefile Fri Dec 6 16:53:20 2013 (r335775) +++ head/mail/sqlgrey/Makefile Fri Dec 6 16:59:37 2013 (r335776) @@ -3,6 +3,7 @@ PORTNAME= sqlgrey PORTVERSION= 1.8.0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-1.8%20%28stable%29 Added: head/mail/sqlgrey/files/patch-ipv6 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/sqlgrey/files/patch-ipv6 Fri Dec 6 16:59:37 2013 (r335776) @@ -0,0 +1,11 @@ +--- sqlgrey.orig 2013-09-27 06:51:40.913265753 -0500 ++++ sqlgrey 2013-09-27 06:51:25.000000000 -0500 +@@ -1037,7 +1037,7 @@ + return join(":", (split(/:/, $addr))[0..3]); + } else { + ## For Non-EUI64 or Non-Global-Unicast return the address +- return $addr; ++ return join(":", (split(/:/, $addr))[0..3]); + } + } +