From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 12 09:30:03 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A3EE1065676 for ; Thu, 12 Mar 2009 09:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 358DA8FC2C for ; Thu, 12 Mar 2009 09:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2C9U3GX036167 for ; Thu, 12 Mar 2009 09:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2C9U3jt036164; Thu, 12 Mar 2009 09:30:03 GMT (envelope-from gnats) Resent-Date: Thu, 12 Mar 2009 09:30:03 GMT Resent-Message-Id: <200903120930.n2C9U3jt036164@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Povolotsky Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06271106566C for ; Thu, 12 Mar 2009 09:29:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E85D58FC1F for ; Thu, 12 Mar 2009 09:29:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2C9TnVN010251 for ; Thu, 12 Mar 2009 09:29:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2C9Tn4O010250; Thu, 12 Mar 2009 09:29:49 GMT (envelope-from nobody) Message-Id: <200903120929.n2C9Tn4O010250@www.freebsd.org> Date: Thu, 12 Mar 2009 09:29:49 GMT From: Alex Povolotsky To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/132569: New version of mailfront X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 09:30:03 -0000 >Number: 132569 >Category: ports >Synopsis: New version of mailfront >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 12 09:30:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alex Povolotsky >Release: 6.3-RELEASE >Organization: >Environment: FreeBSD webdev.countrycom.ru 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:45:45 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 >Description: 1. DW_AUTH patch for mailfront is obsoleted years ago, it does not compile, and it's functionality is already in main source 2. I'm working on some improvements on mailfront (rewriting obsolete STARTTLS patches, and adding ability to check DNS name against regexps), the work is based on current version of mailfront >How-To-Repeat: >Fix: Patch to mailfront's port is attached Patch attached with submission follows: diff -Ncr mailfront.orig/Makefile mailfront/Makefile *** mailfront.orig/Makefile Wed Mar 11 20:04:03 2009 --- mailfront/Makefile Thu Mar 12 12:08:11 2009 *************** *** 6,13 **** # PORTNAME= mailfront ! PORTVERSION= 1.11 ! PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= http://untroubled.org/${PORTNAME}/ \ ${MASTER_SITE_LOCAL} --- 6,12 ---- # PORTNAME= mailfront ! PORTVERSION= 1.12 CATEGORIES= mail MASTER_SITES= http://untroubled.org/${PORTNAME}/ \ ${MASTER_SITE_LOCAL} *************** *** 31,43 **** DOCS= NEWS README TODO *.html - OPTIONS= DW_AUTH "Include Dale Woolridge's auth patch" off .include - .if defined(WITH_DW_AUTH) - EXTRA_PATCHES+= ${FILESDIR}/extra-patch-mailfront-0.92-dw-auth - .endif do-configure: ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin --- 30,38 ---- diff -Ncr mailfront.orig/distinfo mailfront/distinfo *** mailfront.orig/distinfo Fri Nov 7 13:19:37 2008 --- mailfront/distinfo Thu Mar 12 12:08:54 2009 *************** *** 1,3 **** ! MD5 (mailfront-1.11.tar.gz) = 25f5d9029335c29bc541e2c17e1afc61 ! SHA256 (mailfront-1.11.tar.gz) = fc78baad4ef064f9b3e2f4e98a0a0a8d9c9391fc3e3fddb5710df4a668d5d803 ! SIZE (mailfront-1.11.tar.gz) = 102211 --- 1,3 ---- ! MD5 (mailfront-1.12.tar.gz) = f28b2a1325e542b578d82e7153a1d2d2 ! SHA256 (mailfront-1.12.tar.gz) = 23cf29608a32c22995e4c1b847875b4c43bc17b6f4ac9ee47e780f4cbd3dd25a ! SIZE (mailfront-1.12.tar.gz) = 104598 diff -Ncr mailfront.orig/files/extra-patch-mailfront-0.92-dw-auth mailfront/files/extra-patch-mailfront-0.92-dw-auth *** mailfront.orig/files/extra-patch-mailfront-0.92-dw-auth Tue Oct 25 21:41:47 2005 --- mailfront/files/extra-patch-mailfront-0.92-dw-auth Thu Jan 1 03:00:00 1970 *************** *** 1,21 **** - Index: mailrules.c - =================================================================== - --- mailrules.c (revision 326) - +++ mailrules.c (working copy) - @@ -296,7 +296,7 @@ - struct rule* r; - unsigned long databytes; - - - if (*l != 'k' && *l != 'd' && *l != 'z' && *l != 'p' && *l != 'n') return 0; - + if (*l != 'k' && *l != 'd' && *l != 'z' && *l != 'p' && *l != 'n' && *l != 'a') return 0; - r = alloc_rule(); - r->code = *l++; - - @@ -423,6 +423,7 @@ - case 'k': code = 250; defmsg = "OK"; break; - case 'd': code = 553; defmsg = "Rejected"; break; - case 'z': code = 451; defmsg = "Deferred"; break; - + case 'a': code = 553; defmsg = "Authenticate first"; if (authenticated) return 0; break; - default: code = 451; defmsg = "Temporary failure"; break; - } - --- 0 ---- diff -Ncr mailfront.orig/pkg-plist mailfront/pkg-plist *** mailfront.orig/pkg-plist Fri Nov 14 20:33:59 2008 --- mailfront/pkg-plist Thu Mar 12 12:16:52 2009 *************** *** 1,4 **** - @comment $FreeBSD: ports/mail/mailfront/pkg-plist,v 1.11 2008/11/14 17:33:59 araujo Exp $ bin/imapfront-auth bin/mailfront bin/pop3front-auth --- 1,3 ---- *************** *** 28,35 **** libexec/mailfront/protocol-qmqp.so libexec/mailfront/protocol-qmtp.so libexec/mailfront/protocol-smtp.so - @dirrmtry libexec/mailfront - @dirrm include/mailfront %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/TODO --- 27,32 ---- *************** *** 43,51 **** %%PORTDOCS%%%%DOCSDIR%%/plugin-accept-recipient.html %%PORTDOCS%%%%DOCSDIR%%/plugin-accept-sender.html %%PORTDOCS%%%%DOCSDIR%%/plugin-accept.html - %%PORTDOCS%%%%DOCSDIR%%/plugin-api.html - %%PORTDOCS%%%%DOCSDIR%%/plugin-template.html %%PORTDOCS%%%%DOCSDIR%%/plugin-add-received.html %%PORTDOCS%%%%DOCSDIR%%/plugin-check-fqdn.html %%PORTDOCS%%%%DOCSDIR%%/plugin-clamav.html %%PORTDOCS%%%%DOCSDIR%%/plugin-counters.html --- 40,47 ---- %%PORTDOCS%%%%DOCSDIR%%/plugin-accept-recipient.html %%PORTDOCS%%%%DOCSDIR%%/plugin-accept-sender.html %%PORTDOCS%%%%DOCSDIR%%/plugin-accept.html %%PORTDOCS%%%%DOCSDIR%%/plugin-add-received.html + %%PORTDOCS%%%%DOCSDIR%%/plugin-api.html %%PORTDOCS%%%%DOCSDIR%%/plugin-check-fqdn.html %%PORTDOCS%%%%DOCSDIR%%/plugin-clamav.html %%PORTDOCS%%%%DOCSDIR%%/plugin-counters.html *************** *** 57,65 **** %%PORTDOCS%%%%DOCSDIR%%/plugin-reject.html %%PORTDOCS%%%%DOCSDIR%%/plugin-relayclient.html %%PORTDOCS%%%%DOCSDIR%%/plugin-require-auth.html %%PORTDOCS%%%%DOCSDIR%%/pop3front.html %%PORTDOCS%%%%DOCSDIR%%/protocol-qmqp.html %%PORTDOCS%%%%DOCSDIR%%/protocol-qmtp.html %%PORTDOCS%%%%DOCSDIR%%/protocol-smtp.html %%PORTDOCS%%%%DOCSDIR%%/std-handle.html ! %%PORTDOCS%%@dirrm %%DOCSDIR%% --- 53,64 ---- %%PORTDOCS%%%%DOCSDIR%%/plugin-reject.html %%PORTDOCS%%%%DOCSDIR%%/plugin-relayclient.html %%PORTDOCS%%%%DOCSDIR%%/plugin-require-auth.html + %%PORTDOCS%%%%DOCSDIR%%/plugin-template.html %%PORTDOCS%%%%DOCSDIR%%/pop3front.html %%PORTDOCS%%%%DOCSDIR%%/protocol-qmqp.html %%PORTDOCS%%%%DOCSDIR%%/protocol-qmtp.html %%PORTDOCS%%%%DOCSDIR%%/protocol-smtp.html %%PORTDOCS%%%%DOCSDIR%%/std-handle.html ! @dirrm %%PORTDOCS%%%%DOCSDIR%% ! @dirrm libexec/mailfront ! @dirrm include/mailfront >Release-Note: >Audit-Trail: >Unformatted: