From owner-freebsd-www@FreeBSD.ORG Thu Oct 14 21:10:26 2004 Return-Path: Delivered-To: freebsd-www@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 662FF16A4CF for ; Thu, 14 Oct 2004 21:10:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D00B43D4C for ; Thu, 14 Oct 2004 21:10:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9ELAQrO070267 for ; Thu, 14 Oct 2004 21:10:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9ELAP71070266; Thu, 14 Oct 2004 21:10:25 GMT (envelope-from gnats) Resent-Date: Thu, 14 Oct 2004 21:10:25 GMT Resent-Message-Id: <200410142110.i9ELAP71070266@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-www@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Brent B. Powers" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6883A16A4CE for ; Thu, 14 Oct 2004 21:04:32 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53C9C43D31 for ; Thu, 14 Oct 2004 21:04:32 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i9EL4UDX089202 for ; Thu, 14 Oct 2004 21:04:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i9EL4UOH089201; Thu, 14 Oct 2004 21:04:30 GMT (envelope-from nobody) Message-Id: <200410142104.i9EL4UOH089201@www.freebsd.org> Date: Thu, 14 Oct 2004 21:04:30 GMT From: "Brent B. Powers" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: www/72708: rt32 Makefile doesn't include db authentication when upgrading X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 21:10:26 -0000 >Number: 72708 >Category: www >Synopsis: rt32 Makefile doesn't include db authentication when upgrading >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-www >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 14 21:10:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Brent B. Powers >Release: 5.2.1 >Organization: B2Pi >Environment: Irrelevant >Description: Port www/rt32 (3.2.1) does not set the dba name and password for an upgrade. >How-To-Repeat: Install rt3 Install rt32, defining DB_DBA_PASSWORD and DB_DBA_USER >Fix: Add --dba '${DB_DBA_USER}' --dba-password '${DB_DBA_PASSWORD}' to each of lines 151, 152, 153 of Makefile Patch: --- Makefile.orig Mon Jul 26 06:51:03 2004 +++ Makefile Thu Oct 14 11:31:30 2004 @@ -148,9 +148,9 @@ .if !defined(INITIAL_INSTALL) .if defined(UPGRADE_RT30) .for version in 3.1.0 3.1.15 3.1.17 - -@${PERL} $(RT_PATH)/sbin/rt-setup-database --action schema --datadir ${WRKSRC}/etc/upgrade/${version} - -@${PERL} $(RT_PATH)/sbin/rt-setup-database --action acl --datadir ${WRKSRC}/etc/upgrade/${version} - -@${PERL} $(RT_PATH)/sbin/rt-setup-database --action insert --datadir ${WRKSRC}/etc/upgrade/${version} + -@${PERL} $(RT_PATH)/sbin/rt-setup-database --action schema --datadir ${WRKSRC}/etc/upgrade/${version} --dba '${DB_DBA_USER}' --dba-password '${DB_DBA_PASSWORD}' + -@${PERL} $(RT_PATH)/sbin/rt-setup-database --action acl --datadir ${WRKSRC}/etc/upgrade/${version} --dba '${DB_DBA_USER}' --dba-password '${DB_DBA_PASSWORD}' + -@${PERL} $(RT_PATH)/sbin/rt-setup-database --action insert --datadir ${WRKSRC}/etc/upgrade/${version} --dba '${DB_DBA_USER}' --dba-password '${DB_DBA_PASSWORD}' .endfor @${ECHO} "" @${ECHO} "Upgrade of RT3 complete." >Release-Note: >Audit-Trail: >Unformatted: