From nobody@FreeBSD.org  Thu Mar 12 09:29:50 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 06271106566C
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <tarkhil@over.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New version of mailfront
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         132569
>Category:       ports
>Synopsis:       New version of mail/mailfront
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dhn
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 12 09:30:02 UTC 2009
>Closed-Date:    Thu Mar 12 19:56:46 UTC 2009
>Last-Modified:  Thu Mar 12 19:56:46 UTC 2009
>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 <bsd.port.pre.mk>
  
- .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:

From: Mark Linimon <linimon@lonesome.com>
To: Alex Povolotsky <tarkhil@over.ru>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/132569: New version of mail/mailfront
Date: Thu, 12 Mar 2009 04:57:46 -0500

 > 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
 
 It's currently unmaintained; would you like to take it over?
 
 mcl

From: Alex Povolotsky <tarkhil@over.ru>
To: Mark Linimon <linimon@lonesome.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/132569: New version of mail/mailfront
Date: Thu, 12 Mar 2009 13:20:30 +0300

 Mark Linimon wrote:
 >> 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
 >>     
 >
 > It's currently unmaintained; would you like to take it over?
 >
 > mcl
 >
 >   
 Hmmm... I'll try. Yes.
 
 Alex.
 
Responsible-Changed-From-To: freebsd-ports-bugs->dhn 
Responsible-Changed-By: dhn 
Responsible-Changed-When: Thu Mar 12 18:04:56 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132569 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/132569: commit references a PR
Date: Thu, 12 Mar 2009 19:33:27 +0000 (UTC)

 dhn         2009-03-12 19:33:13 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/mailfront       Makefile distinfo pkg-plist 
   Removed files:
     mail/mailfront/files extra-patch-mailfront-0.92-dw-auth 
   Log:
   - Update to 1.12
   - Pass maintainership to submitter
   
   PR:     ports/132569
   Submitted by:   Alex Povolotsky <tarkhil@over.ru>
   Approved by:    miwi (mentor)
   
   Revision  Changes    Path
   1.25      +2 -9      ports/mail/mailfront/Makefile
   1.18      +3 -3      ports/mail/mailfront/distinfo
   1.2       +0 -21     ports/mail/mailfront/files/extra-patch-mailfront-0.92-dw-auth (dead)
   1.12      +4 -5      ports/mail/mailfront/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: dhn 
State-Changed-When: Thu Mar 12 19:56:42 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132569 
>Unformatted:
