From root@ns.webtt.biz  Tue Mar  4 07:12:27 2003
Return-Path: <root@ns.webtt.biz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 666F937B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Mar 2003 07:12:27 -0800 (PST)
Received: from ns.webtt.biz (ns.webtt.biz [64.239.29.225])
	by mx1.FreeBSD.org (Postfix) with SMTP id B60F643F93
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Mar 2003 07:12:26 -0800 (PST)
	(envelope-from root@ns.webtt.biz)
Received: (qmail 28115 invoked by uid 0); 4 Mar 2003 15:14:34 -0000
Message-Id: <20030304151434.28114.qmail@ns.webtt.biz>
Date: 4 Mar 2003 15:14:34 -0000
From: Rui Lopes <rui@ruilopes.com>
Reply-To: Rui Lopes <rui@ruilopes.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: PATCH: added ENABLE_MAILDIRQUOTA and some fixes to maildrop port
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48920
>Category:       ports
>Synopsis:       PATCH: added ENABLE_MAILDIRQUOTA and some fixes to maildrop port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 04 07:20:07 PST 2003
>Closed-Date:    Sat Mar 15 13:51:42 CST 2003
>Last-Modified:  Sat Mar 15 13:51:42 CST 2003
>Originator:     Rui Lopes
>Release:        FreeBSD 5.0-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD disty 5.0-RELEASE-p2 FreeBSD 5.0-RELEASE-p2 #7: Sun Feb 23 17:54:25 WET 2003 root@disty:/usr/obj/usr/src/sys/DEBUGGER i386


	
>Description:
- added a flag ENABLE_MAILDIRQUOTA for building maildrop with support for updating the maildirsize file of a maildir.
- a fix for gnu configure warning,
   ===>   maildrop-1.5.0 depends on shared library: gdbm.3 - found
   configure: WARNING: you should use --build, --host, --target
   checking for i386-portbld-freebsd5.0-gcc... cc
- added COMMENT to Makefile
	
>How-To-Repeat:
	
>Fix:
- Apply patch to file,
  $FreeBSD: ports/mail/maildrop/Makefile,v 1.23 2003/01/03 08:26:33 ijliao Exp $
- Delete pkg-comment file from port directory.
	

--- Makefile.diff begins here ---
--- Makefile-orig	Tue Mar  4 01:36:29 2003
+++ Makefile	Tue Mar  4 14:49:15 2003
@@ -12,6 +12,7 @@
 MASTER_SITE_SUBDIR=	courier
 
 MAINTAINER=	petef@FreeBSD.org
+COMMENT=	Replacement local mail delivery agent, similar to procmail
 
 # Maildrop is usually installed with gdbm extensions. If you do not
 # want these extensions installed, define WITHOUT_GDBM.
@@ -20,7 +21,8 @@
 LIB_DEPENDS=	gdbm.3:${PORTSDIR}/databases/gdbm
 .endif
 
-INSTALL_TARGET=	install-strip
+CONFIGURE_TARGET=       --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+INSTALL_TARGET=		install-strip
 
 # Maildrop will be installed with suid permissions for MAILDROP_SUID,
 # and sgid permissions for MAILDROP_SGID. If undefined, these values
@@ -37,6 +39,9 @@
 		--enable-maildrop-gid="${MAILDROP_SGID}"
 .if defined(MAILDROPDEFAULT)
 CONFIGURE_ARGS+=	--with-default-maildrop=${MAILDROPDEFAULT}
+.endif
+.if defined(ENABLE_MAILDIRQUOTA)
+CONFIGURE_ARGS+=	--enable-maildirquota
 .endif
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${CPPFLAGS}" \
 		LIBS="-L${LOCALBASE}/lib"
--- Makefile.diff ends here ---


>Release-Note:
>Audit-Trail:

From: Sergei Kolobov <sergei@kolobov.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: Rui Lopes <rui@ruilopes.com>
Subject: Re: ports/48920: PATCH: added ENABLE_MAILDIRQUOTA and some fixes to maildrop port
Date: Thu, 13 Mar 2003 03:27:01 +0300

 Superceded by ports/49974, which also contains update to 1.5.2.
State-Changed-From-To: open->closed 
State-Changed-By: petef 
State-Changed-When: Sat Mar 15 13:51:39 CST 2003 
State-Changed-Why:  
Superceded by ports/49974, which also contains an update to 1.5.2. 

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