From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 23 23:30:29 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 73CE916A600 for ; Fri, 23 Jun 2006 23:30:29 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF18643D48 for ; Fri, 23 Jun 2006 23:30:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5NNUSmf099349 for ; Fri, 23 Jun 2006 23:30:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5NNUSaP099348; Fri, 23 Jun 2006 23:30:28 GMT (envelope-from gnats) Resent-Date: Fri, 23 Jun 2006 23:30:28 GMT Resent-Message-Id: <200606232330.k5NNUSaP099348@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, Darren Pilgrim Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9964416A49E for ; Fri, 23 Jun 2006 23:28:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 670C243D45 for ; Fri, 23 Jun 2006 23:28:20 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k5NNSKfd032860 for ; Fri, 23 Jun 2006 23:28:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k5NNSKAX032859; Fri, 23 Jun 2006 23:28:20 GMT (envelope-from nobody) Message-Id: <200606232328.k5NNSKAX032859@www.freebsd.org> Date: Fri, 23 Jun 2006 23:28:20 GMT From: Darren Pilgrim To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/99394: mail/postfixadmin - add mysqli dependency; other updates/corrections 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: Fri, 23 Jun 2006 23:30:29 -0000 >Number: 99394 >Category: ports >Synopsis: mail/postfixadmin - add mysqli dependency; other updates/corrections >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jun 23 23:30:27 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Darren Pilgrim >Release: 7.0-CURRENT >Organization: >Environment: Not applicable. >Description: Postfixadmin supports the mysqli extension as well as mysql and pgsql, so add an option to use it, but don't change the default, since mysqli doesn't support all available versions of MySQL server. While I'm here, do a few other things: - Correct the spelling of PostgreSQL in the PGSQL option description. - Clarify the POSTFIX_LOCAL option description to better its optional nature. - Make the requisite PORTREVISION bump. >How-To-Repeat: Not applicable. >Fix: Apply the following patch: --- ports/mail/postfixadmin/Makefile.orig Wed Jun 21 01:10:49 2006 +++ ports/mail/postfixadmin/Makefile Fri Jun 23 16:15:22 2006 @@ -7,7 +7,7 @@ PORTNAME= postfixadmin PORTVERSION= 2.1.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= mail www MASTER_SITES= http://high5.net/postfixadmin/ \ http://sce-tindy.tecnik93.com/FreeBSD/ports/${PORTNAME}/sources/ @@ -20,9 +20,10 @@ SUB_FILES+= pkg-message -OPTIONS= MYSQL "Use MySQL to store config data" on -OPTIONS+= PGSQL "Use PostgresQL to store config data" off -OPTIONS+= POSTFIX_LOCAL "RUN_DEPEND on postfix" off +OPTIONS= MYSQL "Use mysql (any MySQL version) to store config data" on +OPTIONS+= MYSQLI "Use mysqli (MySQL v4.1+ only) to store config data" off +OPTIONS+= PGSQL "Use PostgreSQL to store config data" off +OPTIONS+= POSTFIX_LOCAL "Add Postfix as a run dependency (OPTIONAL)" off .include @@ -34,11 +35,15 @@ USE_PHP+= mysql .endif +.ifdef(WITH_MYSQLI) +USE_PHP+= mysqli +.endif + .ifdef(WITH_PGSQL) USE_PHP+= pgsql .endif -.ifdef(WITHOUT_MYSQL) && !defined(WITH_PGSQL) +.ifdef(WITHOUT_MYSQL) && !defined(WITH_MYSQLI) && !defined(WITH_PGSQL) IGNORE= needs at least one database backend .endif >Release-Note: >Audit-Trail: >Unformatted: