aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-15 21:54:41 +0800
committerpav <pav@FreeBSD.org>2004-10-15 21:54:41 +0800
commitb746ab03b297aa832cf4936bde37b321da80e4c6 (patch)
tree3ed6488580c0654dba981dc92d22fbb832e8ecfb /www
parentc4814d7ec3e7d05828403461eb8eb4b0cda5012e (diff)
downloadfreebsd-ports-gnome-b746ab03b297aa832cf4936bde37b321da80e4c6.tar.gz
freebsd-ports-gnome-b746ab03b297aa832cf4936bde37b321da80e4c6.tar.zst
freebsd-ports-gnome-b746ab03b297aa832cf4936bde37b321da80e4c6.zip
- Add SQL authentization to upgrade process
PR: ports/72708 Submitted by: Brent B. Powers <freebsd@b2pi.com> Approved by: Autrijus Tang <autrijus@autrijus.org> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/rt32/Makefile6
-rw-r--r--www/rt34/Makefile6
-rw-r--r--www/rt36/Makefile6
3 files changed, 9 insertions, 9 deletions
diff --git a/www/rt32/Makefile b/www/rt32/Makefile
index fb790d3144fc..7a1b31e34b3b 100644
--- a/www/rt32/Makefile
+++ b/www/rt32/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."
diff --git a/www/rt34/Makefile b/www/rt34/Makefile
index fb790d3144fc..7a1b31e34b3b 100644
--- a/www/rt34/Makefile
+++ b/www/rt34/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."
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."