summaryrefslogtreecommitdiff
path: root/www/rt60/files/pkg-message.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/rt60/files/pkg-message.in')
-rw-r--r--www/rt60/files/pkg-message.in52
1 files changed, 52 insertions, 0 deletions
diff --git a/www/rt60/files/pkg-message.in b/www/rt60/files/pkg-message.in
new file mode 100644
index 000000000000..348280605082
--- /dev/null
+++ b/www/rt60/files/pkg-message.in
@@ -0,0 +1,52 @@
+[
+{ type: install
+ message: <<EOM
+To initialize RT's database:
+
+$ sudo perl rt-setup-database --action init --dba dba --dba-password X
+
+To clear a previously created RT database:
+
+$ sudo perl rt-setup-database --action drop --dba dba --dba-password X
+
+To complete the installation of this port, please follow these steps:
+
+1. Edit %%RT_ETC_PATH%%/RT_SiteConfig.pm, by referring to
+ the default config file (%%RT_ETC_PATH%%/RT_Config.pm).
+2. Configure the email and web gateways. Please refer to
+ 'SETTING UP THE MAIL GATEWAY' in %%DOCSDIR%%/README
+3. Restart Apache or whichever web delivery mechanism you selected..
+4. Do remember to *CHANGE* the root's password for the web interface.
+ The default is "password" (without the quotes.)
+5. Configure RT per the instructions at
+ https://docs.bestpractical.com/rt/6.0.0/index.html
+
+RT does not work with perl taint mode (-T) you must disable it.
+Note, some other ports like devel/bugzilla have you add this to your
+httpd.conf. This isn't actually a flaw of RT, but of a subset of the
+CPAN modules that RT uses.
+EOM
+}
+{ type: install
+ message: <<EOM
+If you're upgrading RT then it is worth reading the UPGRADING document
+at this point. Some extension you're using may have been integrated
+into core. It's recommended to use new clean directory when you're
+upgrading to new release (for example from 4.0.x to 4.2.x).
+
+To upgrade your database schema, preserving ticket history:
+
+1. Backup your RT database.
+2. If upgrading to a new major release, create a new database named
+ rt6 with appropriate rights for the rt_user and reload your
+ database backup into it.
+3. Run:
+
+# /usr/local/sbin/rt-setup-database \
+ --datadir %%DOCSDIR%%/upgrade \
+ --action upgrade --prompt-for-dba-password
+
+and answer the prompts.
+EOM
+}
+]