diff options
author | clsung <clsung@FreeBSD.org> | 2011-11-10 14:15:25 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2011-11-10 14:15:25 +0800 |
commit | 9ec17fca28f1f4ce953d15cd66fb7b7219870711 (patch) | |
tree | 728621a7330a8101da12ce1dfb1bc4ca98dca853 /www | |
parent | 00a3a77b7d672be36390a402383e2c84b6168bdd (diff) | |
download | freebsd-ports-gnome-9ec17fca28f1f4ce953d15cd66fb7b7219870711.tar.gz freebsd-ports-gnome-9ec17fca28f1f4ce953d15cd66fb7b7219870711.tar.zst freebsd-ports-gnome-9ec17fca28f1f4ce953d15cd66fb7b7219870711.zip |
Routine bugfix upgrade to version 4.0.3
ChangeLog:
This release contains a number of bugfixes and small improvements since
the 4.0.2 release; a few of the more notable ones include:
* Due to a change in RT 3.8.9, which also affected RT 4.0.0 and higher,
TransactionBatch scrips were run twice; this has now been fixed.
* A new toggle has been added to expand all quote folding in a ticket's
transaction history.
* New "On Forward", "On Forward Transaction" and "On Forward Ticket"
conditions have been added.
* Ticket searches no longer forget which saved search they were loaded
from when being updated.
* A new "make jsmin" target has been added to aid in downloading,
compiling, and installing jsmin.
* Improved threading for automatically generated emails concerning a
ticket.
* Improved detection of Outlook-style message fowarding headers.
* No longer error when a user has supplied a non-existant RT style;
instead, fall back to the default. This is particularly relevant for
users coming RT 3.8 with the 3.6 stylesheet applied, which no longer
exists in 4.0.
* Improved handling of files named "0", and Unicode filenames, in file
uploads.
* Tickets can no longer be linked to deleted tickets.
* Restore missing menus on simple search result pages.
* Fix support for perl 5.12 and later by removing a deprecated use of
"defined %hash".
While Here:
-- Drop last remnants of apache-1.3.x support: minimum version is
now 2.0.x
-- Install the necessary data required to update DB schema to match
the new version of RT. This should help people that install from
pkgs.
-- Update pkg-message accordingly
PR: ports/162420
Submitted by: maintainer (Matthew Seaman)
Diffstat (limited to 'www')
-rw-r--r-- | www/rt40/Makefile | 9 | ||||
-rw-r--r-- | www/rt40/distinfo | 4 | ||||
-rw-r--r-- | www/rt40/files/pkg-message.in | 20 | ||||
-rw-r--r-- | www/rt40/pkg-plist | 131 |
4 files changed, 157 insertions, 7 deletions
diff --git a/www/rt40/Makefile b/www/rt40/Makefile index 993cfabad611..52ed1a9842dd 100644 --- a/www/rt40/Makefile +++ b/www/rt40/Makefile @@ -11,7 +11,7 @@ # o install a sample into etc/apache22/Includes PORTNAME= rt -PORTVERSION= 4.0.2 +PORTVERSION= 4.0.3 CATEGORIES= www MASTER_SITES= http://download.bestpractical.com/pub/rt/release/ \ ftp://ftp.eu.uu.net/pub/unix/ticketing/rt/release/ @@ -76,7 +76,7 @@ USE_AUTOTOOLS= autoconf .include <bsd.port.pre.mk> .if defined(WITH_AP_MODPERL) || defined(WITH_AP_MODFASTCGI) -USE_APACHE= 13+ +USE_APACHE= 20+ .endif .if defined(WITH_AP_MODPERL) @@ -260,6 +260,11 @@ pre-install: @${RM} -f ${WRKSRC}/lib/RT.pm.in post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}/upgrade + (cd ${WRKSRC}/etc && \ + ${COPYTREE_SHARE} upgrade ${DOCSDIR} "! -name *\.in") +.endif @[ -f ${RT_ETC_PATH}/RT_SiteConfig.pm ] || \ ${CP} -p ${RT_ETC_PATH}/RT_SiteConfig.pm-dist ${RT_ETC_PATH}/RT_SiteConfig.pm ${CAT} ${PKGMESSAGE} diff --git a/www/rt40/distinfo b/www/rt40/distinfo index 1264b4b2ed13..f9ec7aec527b 100644 --- a/www/rt40/distinfo +++ b/www/rt40/distinfo @@ -1,2 +1,2 @@ -SHA256 (rt-4.0.2.tar.gz) = b0e7fcd1064ad2c5a6934a10aa65fbf6e77df0581d579660121934e15b346713 -SIZE (rt-4.0.2.tar.gz) = 5939320 +SHA256 (rt-4.0.3.tar.gz) = dfb507cebf19b6604e15de9a61b49a7e3af155c94a2fc3ebce858174ea6dc465 +SIZE (rt-4.0.3.tar.gz) = 5964253 diff --git a/www/rt40/files/pkg-message.in b/www/rt40/files/pkg-message.in index d06ab3186e78..a35f62088262 100644 --- a/www/rt40/files/pkg-message.in +++ b/www/rt40/files/pkg-message.in @@ -12,11 +12,25 @@ To complete the installation of this port, please follow these steps: 5. Configure RT per the instructions at http://www.bestpractical.com/rt/docs.html -If you're upgrading RT then it worth to read UPGRADING document at this -moment. Some extension you're using may have been integrated into -core. It's recommended to use new clean directory when you're +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 major release (for example from 3.8.x to 4.0.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 + rt4 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. + 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 diff --git a/www/rt40/pkg-plist b/www/rt40/pkg-plist index 4d39b7ca88fe..32a1959324ac 100644 --- a/www/rt40/pkg-plist +++ b/www/rt40/pkg-plist @@ -239,6 +239,100 @@ sbin/standalone_httpd %%PORTDOCS%%%%DOCSDIR%%/hacking.pod %%PORTDOCS%%%%DOCSDIR%%/network-diagram.svg %%PORTDOCS%%%%DOCSDIR%%/security.pod +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.1.0/acl.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.1.0/acl.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.1.0/acl.SQLite +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.1.0/acl.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.1.0/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.1.0/schema.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.1.0/schema.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.1.0/schema.SQLite +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.1.0/schema.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.1.15/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.1.17/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.0/acl.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.0/acl.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.0/acl.SQLite +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.0/acl.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.0/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.0/schema.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.0/schema.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.0/schema.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.11/acl.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.11/acl.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.11/acl.SQLite +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.11/acl.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.11/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.11/schema.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.11/schema.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.11/schema.SQLite +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.3.11/schema.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.5.1/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.7.1/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.7.10/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.7.15/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.7.19/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.7.3/schema.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.7.3/schema.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.7.3/schema.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.7.81/schema.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.7.81/schema.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.7.82/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.7.85/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.7.86/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.7.87/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.8-branded-queues-extension +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.8-ical-extension +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.8.0/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.8.1/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.8.2/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.8.3/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.8.3/schema.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.8.4/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.8.6/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.8.8/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.8.9/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.1/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.2/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.3/schema.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.3/schema.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.3/schema.SQLite +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.3/schema.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.5/backcompat +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.5/schema.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.5/schema.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.5/schema.SQLite +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.5/schema.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.6/schema.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.6/schema.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.6/schema.SQLite +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.6/schema.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.7/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.7/schema.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.7/schema.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.7/schema.SQLite +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.7/schema.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.8/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.8/schema.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.8/schema.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.8/schema.SQLite +%%PORTDOCS%%%%DOCSDIR%%/upgrade/3.9.8/schema.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/4.0.0rc2/schema.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/4.0.0rc4/schema.Oracle +%%PORTDOCS%%%%DOCSDIR%%/upgrade/4.0.0rc4/schema.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/4.0.0rc4/schema.mysql +%%PORTDOCS%%%%DOCSDIR%%/upgrade/4.0.0rc7/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/4.0.1/acl.Pg +%%PORTDOCS%%%%DOCSDIR%%/upgrade/4.0.1/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/4.0.3/content +%%PORTDOCS%%%%DOCSDIR%%/upgrade/generate-rtaddressregexp +%%PORTDOCS%%%%DOCSDIR%%/upgrade/sanity-check-stylesheets.pl +%%PORTDOCS%%%%DOCSDIR%%/upgrade/shrink_cgm_table.pl +%%PORTDOCS%%%%DOCSDIR%%/upgrade/shrink_transactions_table.pl +%%PORTDOCS%%%%DOCSDIR%%/upgrade/split-out-cf-categories +%%PORTDOCS%%%%DOCSDIR%%/upgrade/upgrade-articles +%%PORTDOCS%%%%DOCSDIR%%/upgrade/upgrade-mysql-schema.pl +%%PORTDOCS%%%%DOCSDIR%%/upgrade/vulnerable-passwords %%PORTDOCS%%%%DOCSDIR%%/web_deployment.pod share/rt40/fonts/Droid.README share/rt40/fonts/DroidSans.ttf @@ -1351,6 +1445,43 @@ share/rt40/po/zh_TW.po @dirrm share/rt40/fonts @dirrm share/rt40/etc @dirrm share/rt40 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/4.0.3 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/4.0.1 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/4.0.0rc7 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/4.0.0rc4 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/4.0.0rc2 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.9.8 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.9.7 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.9.6 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.9.5 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.9.3 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.9.2 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.9.1 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.8.9 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.8.8 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.8.6 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.8.4 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.8.3 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.8.2 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.8.1 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.8.0 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.7.87 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.7.86 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.7.85 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.7.82 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.7.81 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.7.3 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.7.19 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.7.15 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.7.10 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.7.1 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.5.1 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.3.11 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.3.0 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.1.17 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.1.15 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade/3.1.0 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/upgrade %%PORTDOCS%%@dirrm %%DOCSDIR%%/extending %%PORTDOCS%%@dirrm %%DOCSDIR%%/customizing %%PORTDOCS%%@dirrm %%DOCSDIR%% |