summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2004-08-25 13:01:01 +0000
committerRenat Lumpau <rl03@gentoo.org>2004-08-25 13:01:01 +0000
commit17425245158c1793d34d999574fc7c853b4e2c00 (patch)
treee13dd0f0ddf1e72f3db355d811fcd80b3b37d255 /www-apps/rt/files
parentInitial commit, fixing bug #61322 (diff)
downloadhistorical-17425245158c1793d34d999574fc7c853b4e2c00.tar.gz
historical-17425245158c1793d34d999574fc7c853b4e2c00.tar.bz2
historical-17425245158c1793d34d999574fc7c853b4e2c00.zip
Initial ebuild. Closes #54764
Diffstat (limited to 'www-apps/rt/files')
-rw-r--r--www-apps/rt/files/digest-rt-3.2.11
-rw-r--r--www-apps/rt/files/postinstall-en.txt39
-rw-r--r--www-apps/rt/files/reconfig26
3 files changed, 66 insertions, 0 deletions
diff --git a/www-apps/rt/files/digest-rt-3.2.1 b/www-apps/rt/files/digest-rt-3.2.1
new file mode 100644
index 000000000000..0b9257c86db4
--- /dev/null
+++ b/www-apps/rt/files/digest-rt-3.2.1
@@ -0,0 +1 @@
+MD5 adf0c77827c8f84829bb44e28752a1d8 rt-3.2.1.tar.gz 1201592
diff --git a/www-apps/rt/files/postinstall-en.txt b/www-apps/rt/files/postinstall-en.txt
new file mode 100644
index 000000000000..c5c9ea4d099b
--- /dev/null
+++ b/www-apps/rt/files/postinstall-en.txt
@@ -0,0 +1,39 @@
+
+***********************************************************
+You now need to edit your local config files,
+which will be located in ${VHOST_ROOT}/rt-config/RT_Config.pm and RT_SiteConfig.pm
+
+BE SURE TO READ /usr/share/doc/${P}/README.gz , especially if
+you'd prefer to use an alias, or if you want to setup RT's e-mail gateway
+
+RT documentation can be found at http://www.bestpractical.com/rt/docs.html
+If you need more help, consider searching the mailing list (Google site:lists.fsck.com )
+
+***********************************************************
+1. If this is a new install, you now need to initialize RT's database.
+
+For MySQL:
+rt-setup-database --action init --dba root --prompt-for-dba-password
+For PostgreSQL:
+rt-setup-database --action init --dba postgres --prompt-for-dba-password
+
+For this to work, PostgreSQL needs to listen on TCP 5432:
+In your postgresql.conf, set tcpip_socket = true, port = 5432
+
+***********************************************************
+2. Read the README to configure your webserver for RT. For the impatient:
+put this in ${MY_INSTALLDIR}/.htaccess
+AddDefaultCharset UTF-8
+
+PerlModule Apache::DBI
+PerlRequire /usr/bin/webmux.pl
+
+SetHandler perl-script
+PerlHandler RT::Mason
+
+***********************************************************
+3. Restart your webserver (e.g., for Apache: /etc/init.d/apache restart )
+
+***********************************************************
+4. Note that the default login is 'root', and the password is 'password'. It is
+a Good Idea(TM) to change the defaults to something more secure.
diff --git a/www-apps/rt/files/reconfig b/www-apps/rt/files/reconfig
new file mode 100644
index 000000000000..cf56d1857ce8
--- /dev/null
+++ b/www-apps/rt/files/reconfig
@@ -0,0 +1,26 @@
+#!/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
+
+ # fix permissions
+ chown -R ${VHOST_SERVER_GID}:${VHOST_SERVER_UID} /var/rt
+
+ # check for upgrades
+ cd ${MY_HOSTROOTDIR}/rt-config/upgrade
+ for a in *; do
+ if test ${a} '>' ${PV}; then
+ echo "It looks like you need to upgrade your database."
+ echo "To do that, execute"
+ echo "cd ${MY_HOSTROOTDIR}/rt-config/upgrade"
+ echo "rt-setup-database --action schema --datadir ${a}"
+ echo "DO NOT DO THIS without reading /usr/share/doc/${P}/README.gz first"
+ break
+ fi
+ done
+
+else
+ echo $1
+fi