summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2005-12-04 22:43:35 +0000
committerRenat Lumpau <rl03@gentoo.org>2005-12-04 22:43:35 +0000
commit63fca2c1accca1865ae6c5efc2ace108ccd44124 (patch)
treed9974c5f15f503b2afe02fa25c52e8694288d72c /www-apps/rt/files
parentChanged CDEPEND to COMMON_DEP. (diff)
downloadgentoo-2-63fca2c1accca1865ae6c5efc2ace108ccd44124.tar.gz
gentoo-2-63fca2c1accca1865ae6c5efc2ace108ccd44124.tar.bz2
gentoo-2-63fca2c1accca1865ae6c5efc2ace108ccd44124.zip
Fixes for w-c-1.50
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'www-apps/rt/files')
-rw-r--r--www-apps/rt/files/3.2.1/reconfig15
-rw-r--r--www-apps/rt/files/3.4.2/reconfig2
-rw-r--r--www-apps/rt/files/3.4.4/reconfig2
3 files changed, 10 insertions, 9 deletions
diff --git a/www-apps/rt/files/3.2.1/reconfig b/www-apps/rt/files/3.2.1/reconfig
index 7f831600df69..447c5b490234 100644
--- a/www-apps/rt/files/3.2.1/reconfig
+++ b/www-apps/rt/files/3.2.1/reconfig
@@ -1,12 +1,12 @@
#!/bin/bash
if [ $1 = "start" -o $1 = "install" ]; then
- # fix location
- sed -i "s|${MY_HOSTROOTDIR}|${VHOST_ROOT}|g" /usr/bin/standalone_httpd /usr/bin/rt-crontool /usr/bin/webmux.pl /usr/lib/RT.pm
- sed -i "s|${MY_HOSTROOTDIR}|\/usr|" /usr/bin/mason_handler.scgi
- sed -i "s|${MY_HTDOCSDIR}|${MY_INSTALLDIR}|" /usr/lib/RT.pm /usr/bin/rt-mailgate
+ # don't fix location - breaks sandbox
+ #sed -i "s|${MY_HOSTROOTDIR}|${VHOST_ROOT}|g" /usr/bin/standalone_httpd /usr/bin/rt-crontool /usr/bin/webmux.pl /usr/lib/RT.pm
+ # sed -i "s|${MY_HOSTROOTDIR}|\/usr|" /usr/bin/mason_handler.scgi
+ # sed -i "s|${MY_HTDOCSDIR}|${MY_INSTALLDIR}|" /usr/lib/RT.pm /usr/bin/rt-mailgate
# fix permissions
- chown -R ${VHOST_SERVER_GID}:${VHOST_SERVER_UID} /var/rt
+ # chown -R ${VHOST_SERVER_GID}:${VHOST_SERVER_UID} /var/rt
# check for upgrades
cd ${VHOST_ROOT}/rt-config/upgrade
@@ -20,6 +20,7 @@ if [ $1 = "start" -o $1 = "install" ]; then
ls
elif [ $1 = "clean" ]; then
- rm -f /usr/bin/standalone_httpd /usr/bin/rt-crontool /usr/bin/webmux.pl /usr/lib/RT.pm /usr/bin/mason_handler.scgi /usr/bin/rt-mailgate
- rm -rf /var/rt
+ echo $1
+ # rm -f /usr/bin/standalone_httpd /usr/bin/rt-crontool /usr/bin/webmux.pl /usr/lib/RT.pm /usr/bin/mason_handler.scgi /usr/bin/rt-mailgate
+ # rm -rf /var/rt
fi
diff --git a/www-apps/rt/files/3.4.2/reconfig b/www-apps/rt/files/3.4.2/reconfig
index f254a3c2212f..4f69cd0998d4 100644
--- a/www-apps/rt/files/3.4.2/reconfig
+++ b/www-apps/rt/files/3.4.2/reconfig
@@ -32,7 +32,7 @@ if [ $1 = "install" ]; then
elif [ $1 = "clean" ]; then
echo "Please examine the contents of the following directories"
echo "and delete anything that is no longer necessary"
- echo
+ echo
echo ${VHOST_ROOT}/${PF}
echo ${MY_INSTALLDIR}
fi
diff --git a/www-apps/rt/files/3.4.4/reconfig b/www-apps/rt/files/3.4.4/reconfig
index 61e08d74f941..6830548da6e8 100644
--- a/www-apps/rt/files/3.4.4/reconfig
+++ b/www-apps/rt/files/3.4.4/reconfig
@@ -31,7 +31,7 @@ if [ $1 = "install" ]; then
elif [ $1 = "clean" ]; then
echo "Please examine the contents of the following directories"
echo "and delete anything that is no longer necessary"
- echo
+ echo
echo ${VHOST_ROOT}/${PF}
echo ${MY_INSTALLDIR}
fi