Date: Thu, 14 Oct 2004 21:04:30 GMT From: "Brent B. Powers" <freebsd@b2pi.com> To: freebsd-gnats-submit@FreeBSD.org Subject: www/72708: rt32 Makefile doesn't include db authentication when upgrading Message-ID: <200410142104.i9EL4UOH089201@www.freebsd.org> Resent-Message-ID: <200410142110.i9ELAP71070266@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410142104.i9EL4UOH089201>