From b746ab03b297aa832cf4936bde37b321da80e4c6 Mon Sep 17 00:00:00 2001 From: pav Date: Fri, 15 Oct 2004 13:54:41 +0000 Subject: - Add SQL authentization to upgrade process PR: ports/72708 Submitted by: Brent B. Powers Approved by: Autrijus Tang (maintainer) --- www/rt36/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'www/rt36') diff --git a/www/rt36/Makefile b/www/rt36/Makefile index fb790d3144fc..7a1b31e34b3b 100644 --- a/www/rt36/Makefile +++ b/www/rt36/Makefile @@ -148,9 +148,9 @@ post-install: .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." -- cgit