www/72708: rt32 Makefile doesn't include db authentication when
upgrading
Brent B. Powers
freebsd at b2pi.com
Thu Oct 14 14:10:26 PDT 2004
>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:
More information about the freebsd-www
mailing list