From owner-freebsd-ports-bugs Tue Mar 4 7:20:11 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C06FA37B401 for ; Tue, 4 Mar 2003 07:20:08 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB2E643FB1 for ; Tue, 4 Mar 2003 07:20:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h24FK7NS077185 for ; Tue, 4 Mar 2003 07:20:07 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h24FK7Gv077184; Tue, 4 Mar 2003 07:20:07 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 666F937B401 for ; 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 ; 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 Reply-To: Rui Lopes To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/48920: PATCH: added ENABLE_MAILDIRQUOTA and some fixes to maildrop port Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 04 07:20:07 PST 2003 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message