summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2005-12-04 16:19:15 +0000
committerRenat Lumpau <rl03@gentoo.org>2005-12-04 16:19:15 +0000
commit626ab2ae98b2cb2923aaf4439cd6bee6c96dffe8 (patch)
tree05cc2f4750bffb6b36eace9976d7c56cb31a3224 /www-apps/rt/files
parentVersion bumped to 3369 and closing buf #114321. (diff)
downloadgentoo-2-626ab2ae98b2cb2923aaf4439cd6bee6c96dffe8.tar.gz
gentoo-2-626ab2ae98b2cb2923aaf4439cd6bee6c96dffe8.tar.bz2
gentoo-2-626ab2ae98b2cb2923aaf4439cd6bee6c96dffe8.zip
Version bump
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'www-apps/rt/files')
-rw-r--r--www-apps/rt/files/3.4.2/postinstall-en.txt4
-rw-r--r--www-apps/rt/files/3.4.2/reconfig6
-rw-r--r--www-apps/rt/files/3.4.2/rt_apache2.conf30
-rw-r--r--www-apps/rt/files/3.4.4/reconfig37
-rw-r--r--www-apps/rt/files/digest-rt-3.4.41
5 files changed, 73 insertions, 5 deletions
diff --git a/www-apps/rt/files/3.4.2/postinstall-en.txt b/www-apps/rt/files/3.4.2/postinstall-en.txt
index 9a1c3a3301fd..c77c0a11e922 100644
--- a/www-apps/rt/files/3.4.2/postinstall-en.txt
+++ b/www-apps/rt/files/3.4.2/postinstall-en.txt
@@ -5,8 +5,8 @@ Please follow the Gentoo install guide found at
http://wiki.bestpractical.com/index.cgi?GentooInstallGuide
Your local config files are located here:
-${VHOST_ROOT}/${PV}-${PVR}/etc/RT_Config.pm
-${VHOST_ROOT}/${PV}-${PVR}/etc/RT_SiteConfig.pm
+${VHOST_ROOT}/${PN}-${PVR}/etc/RT_Config.pm
+${VHOST_ROOT}/${PN}-${PVR}/etc/RT_SiteConfig.pm
If you need more help, consider searching the mailing list (Google site:lists.fsck.com )
diff --git a/www-apps/rt/files/3.4.2/reconfig b/www-apps/rt/files/3.4.2/reconfig
index e71d24fdbb70..f254a3c2212f 100644
--- a/www-apps/rt/files/3.4.2/reconfig
+++ b/www-apps/rt/files/3.4.2/reconfig
@@ -14,9 +14,9 @@ if [ $1 = "install" ]; then
sed -e "s|${MY_HOSTROOTDIR}/${PF}|${VHOST_ROOT}/${PF}|g
s|${MY_HTDOCSDIR}|${MY_INSTALLDIR}|g" -i bin/* lib/RT.pm sbin/* etc/RT_Config.pm || die
- # fix Apache configs
- sed -e "s|RT_DIR|${VHOST_ROOT}/${PF}|g
- s|HTDOCS|${MY_INSTALLDIR}|g" -i ${MY_SERVERCONFIGDIR}/apache* || die
+ # don't fix Apache configs - breaks sandbox
+ # sed -e "s|RT_DIR|${VHOST_ROOT}/${PF}|g
+ # s|HTDOCS|${MY_INSTALLDIR}|g" -i ${MY_SERVERCONFIGDIR}/apache* || die
# check for upgrades
cd ${VHOST_ROOT}/${PF}/upgrade
diff --git a/www-apps/rt/files/3.4.2/rt_apache2.conf b/www-apps/rt/files/3.4.2/rt_apache2.conf
new file mode 100644
index 000000000000..896f642c55af
--- /dev/null
+++ b/www-apps/rt/files/3.4.2/rt_apache2.conf
@@ -0,0 +1,30 @@
+<IfDefine PERL>
+ <VirtualHost MY_RT_DOMAIN:80>
+ ServerName MY_RT_DOMAIN
+
+ DocumentRoot HTDOCS
+ ServerAdmin YOUR_EMAIL_HERE
+
+ AddDefaultCharset UTF-8
+ <IfDefine USERDIR>
+ UserDir disabled
+ </IfDefine>
+
+ PerlModule Apache::DBI
+ PerlRequire RT_DIR/bin/webmux.pl
+
+ <Location />
+ SetHandler perl-script
+ PerlHandler RT::Mason
+ PerlSetEnv PERL5LIB /usr/lib
+ </Location>
+
+ <Directory "HTDOCS">
+ Options Indexes FollowSymLinks
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+ </Directory>
+
+ </VirtualHost>
+</IfDefine>
diff --git a/www-apps/rt/files/3.4.4/reconfig b/www-apps/rt/files/3.4.4/reconfig
new file mode 100644
index 000000000000..61e08d74f941
--- /dev/null
+++ b/www-apps/rt/files/3.4.4/reconfig
@@ -0,0 +1,37 @@
+#!/bin/bash
+PF=${PN}-${PVR}
+
+die() {
+ echo "#####"
+ echo $1
+ echo "#####"
+ exit 1
+}
+
+if [ $1 = "install" ]; then
+ # fix location
+ cd ${VHOST_ROOT}/${PF}
+ sed -e "s|${MY_HOSTROOTDIR}/${PF}|${VHOST_ROOT}/${PF}|g
+ s|${MY_HTDOCSDIR}|${MY_INSTALLDIR}|g" -i bin/* lib/RT.pm sbin/* etc/RT_Config.pm || die
+
+ sed -e "s|RT_DIR|${VHOST_ROOT}/${PF}|g
+ s|HTDOCS|${MY_INSTALLDIR}|g" -i ${VHOST_ROOT}/${PF}/etc/rt_apache* || die
+
+ # check for upgrades
+ cd ${VHOST_ROOT}/${PF}/upgrade
+ echo "You may need to update your database."
+ echo "For each item in the output below"
+ echo "whose name is greater than your previously installed RT version,"
+ echo "rt-setup-database --action schema --datadir ${VHOST_ROOT}/${PF}/upgrade/<version>"
+ echo "rt-setup-database --action acl --datadir ${VHOST_ROOT}/${PF}/upgrade/<version>"
+ echo "rt-setup-database --action insert --datadir ${VHOST_ROOT}/${PF}/upgrade/<version>"
+ echo "Don't forget to read the online installation guide for more details"
+ ls
+
+elif [ $1 = "clean" ]; then
+ echo "Please examine the contents of the following directories"
+ echo "and delete anything that is no longer necessary"
+ echo
+ echo ${VHOST_ROOT}/${PF}
+ echo ${MY_INSTALLDIR}
+fi
diff --git a/www-apps/rt/files/digest-rt-3.4.4 b/www-apps/rt/files/digest-rt-3.4.4
new file mode 100644
index 000000000000..dbea74493d34
--- /dev/null
+++ b/www-apps/rt/files/digest-rt-3.4.4
@@ -0,0 +1 @@
+MD5 769d77eea39006be643cbd2db4820ba3 rt-3.4.4.tar.gz 1393950