aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkeichii <keichii@FreeBSD.org>2002-12-22 12:50:13 +0800
committerkeichii <keichii@FreeBSD.org>2002-12-22 12:50:13 +0800
commit68726e19e5372341b39b3f4ea319b18624a15879 (patch)
tree0d96d5f94acfe950eec8facb3eadc373d96b1039 /www
parente2856b02efaa0276e4bd88c3cb15831cdaebfe3f (diff)
downloadfreebsd-ports-gnome-68726e19e5372341b39b3f4ea319b18624a15879.tar.gz
freebsd-ports-gnome-68726e19e5372341b39b3f4ea319b18624a15879.tar.zst
freebsd-ports-gnome-68726e19e5372341b39b3f4ea319b18624a15879.zip
Add rt2 2.0.14,
rT is an industrial-grade ticketing system written in Perl. PR: 41701 Submitted by: plasma
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/rt2/Makefile143
-rw-r--r--www/rt2/distinfo1
-rw-r--r--www/rt2/files/patch-Makefile138
-rw-r--r--www/rt2/files/patch-bin-initacls.mysql12
-rw-r--r--www/rt2/files/patch-tools-initdb29
-rw-r--r--www/rt2/files/patch-tools-testdeps15
-rw-r--r--www/rt2/pkg-comment1
-rw-r--r--www/rt2/pkg-descr7
-rw-r--r--www/rt2/pkg-message17
-rw-r--r--www/rt2/pkg-plist365
-rw-r--r--www/rt3/Makefile143
-rw-r--r--www/rt3/distinfo1
-rw-r--r--www/rt3/files/patch-Makefile138
-rw-r--r--www/rt3/files/patch-bin-initacls.mysql12
-rw-r--r--www/rt3/files/patch-tools-initdb29
-rw-r--r--www/rt3/files/patch-tools-testdeps15
-rw-r--r--www/rt3/pkg-comment1
-rw-r--r--www/rt3/pkg-descr7
-rw-r--r--www/rt3/pkg-message17
-rw-r--r--www/rt3/pkg-plist365
-rw-r--r--www/rt32/Makefile143
-rw-r--r--www/rt32/distinfo1
-rw-r--r--www/rt32/files/patch-Makefile138
-rw-r--r--www/rt32/files/patch-bin-initacls.mysql12
-rw-r--r--www/rt32/files/patch-tools-initdb29
-rw-r--r--www/rt32/files/patch-tools-testdeps15
-rw-r--r--www/rt32/pkg-comment1
-rw-r--r--www/rt32/pkg-descr7
-rw-r--r--www/rt32/pkg-message17
-rw-r--r--www/rt32/pkg-plist365
-rw-r--r--www/rt34/Makefile143
-rw-r--r--www/rt34/distinfo1
-rw-r--r--www/rt34/files/patch-Makefile138
-rw-r--r--www/rt34/files/patch-bin-initacls.mysql12
-rw-r--r--www/rt34/files/patch-tools-initdb29
-rw-r--r--www/rt34/files/patch-tools-testdeps15
-rw-r--r--www/rt34/pkg-comment1
-rw-r--r--www/rt34/pkg-descr7
-rw-r--r--www/rt34/pkg-message17
-rw-r--r--www/rt34/pkg-plist365
-rw-r--r--www/rt36/Makefile143
-rw-r--r--www/rt36/distinfo1
-rw-r--r--www/rt36/files/patch-Makefile138
-rw-r--r--www/rt36/files/patch-bin-initacls.mysql12
-rw-r--r--www/rt36/files/patch-tools-initdb29
-rw-r--r--www/rt36/files/patch-tools-testdeps15
-rw-r--r--www/rt36/pkg-comment1
-rw-r--r--www/rt36/pkg-descr7
-rw-r--r--www/rt36/pkg-message17
-rw-r--r--www/rt36/pkg-plist365
51 files changed, 3641 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 7fc258ae7ef0..b5ff61eb0e9d 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -359,6 +359,7 @@
SUBDIR += reportmagic
SUBDIR += retawq
SUBDIR += roxen
+ SUBDIR += rt2
SUBDIR += ruboard
SUBDIR += ruby-google
SUBDIR += ruby-http-access
diff --git a/www/rt2/Makefile b/www/rt2/Makefile
new file mode 100644
index 000000000000..9057ebac07dd
--- /dev/null
+++ b/www/rt2/Makefile
@@ -0,0 +1,143 @@
+# New ports collection makefile for: RT2
+# Date created: 12 Auguest 2002
+# Whom: plasma
+#
+# $FreeBSD$
+#
+
+PORTNAME= rt2
+PORTVERSION= 2.0.14
+CATEGORIES= www
+MASTER_SITES= http://www.fsck.com/pub/rt/release/
+WRKSRC= ${WRKDIR}/rt-2-0-14
+DISTFILES= rt.tar.gz
+
+MAINTAINER= plasmaball@pchome.com.tw
+
+BUILD_DEPENDS= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl \
+ ${SITE_PERL}/${PERL_ARCH}/Apache/Cookie.pm:${PORTSDIR}/www/p5-libapreq \
+ ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \
+ ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+ ${SITE_PERL}/DBIx/DataSource.pm:${PORTSDIR}/databases/p5-DBIx-DataSource \
+ ${SITE_PERL}/DBIx/SearchBuilder.pm:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
+ ${SITE_PERL}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw \
+ ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
+ ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \
+ ${SITE_PERL}/Apache/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \
+ ${SITE_PERL}/Log/Dispatch.pm:${PORTSDIR}/devel/p5-Log-Dispatch \
+ ${SITE_PERL}/MIME/Entity.pm:${PORTSDIR}/mail/p5-MIME-Tools \
+ ${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM \
+ ${SITE_PERL}/Mail/Mailer.pm:${PORTSDIR}/mail/p5-Mail-Tools \
+ ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \
+ ${SITE_PERL}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
+ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
+ ${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template \
+ ${SITE_PERL}/Text/Wrapper.pm:${PORTSDIR}/textproc/p5-Text-Wrapper \
+ ${SITE_PERL}/Tie/IxHash.pm:${PORTSDIR}/devel/p5-Tie-IxHash
+
+DB_TYPE?= mysql
+
+.if ${DB_TYPE} == "Pg"
+BUILD_DEPENDS+= ${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql7
+.else
+DB_TYPE= mysql
+BUILD_DEPENDS+= ${LOCALBASE}/bin/safe_mysqld:${PORTSDIR}/databases/mysql323-server
+.endif
+
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+USE_REINPLACE= yes
+USE_PERL5= yes
+
+RT_PATH?= ${PREFIX}/rt2
+DB_DBA_PASSWORDD?=
+DB_HOST?= localhost
+DB_RT_PASS= rt_pass
+
+MAN3= RT::Links.3 \
+ RT::Watchers.3 \
+ RT::Group.3 \
+ RT::Keyword.3 \
+ RT::Record.3 \
+ RT::ScripConditions.3 \
+ RT::Action::Generic.3 \
+ RT::Transaction.3 \
+ RT::Interface::Email.3 \
+ RT::Link.3 \
+ RT.3 \
+ RT::Watcher.3 \
+ RT::ObjectKeywords.3 \
+ RT::EasySearch.3 \
+ RT::ScripActions.3 \
+ RT::Scrip.3 \
+ RT::GroupMembers.3 \
+ RT::Action::SendPasswordEmail.3 \
+ RT::Transactions.3 \
+ RT::Scrips.3 \
+ RT::Action::SendEmail.3 \
+ RT::User.3 \
+ RT::ScripCondition.3 \
+ RT::Users.3 \
+ RT::Ticket.3 \
+ RT::ACE.3 \
+ RT::Queue.3 \
+ RT::Interface::CLI.3 \
+ RT::Tickets.3 \
+ RT::GroupMember.3 \
+ RT::Template.3 \
+ RT::Templates.3 \
+ RT::Queues.3 \
+ RT::Date.3 \
+ RT::CurrentUser.3 \
+ RT::ScripAction.3 \
+ RT::Keywords.3 \
+ RT::ObjectKeyword.3 \
+ RT::Attachment.3 \
+ RT::Groups.3 \
+ RT::KeywordSelect.3 \
+ RT::Condition::Generic.3 \
+ RT::Handle.3 \
+ RT::ACL.3 \
+ RT::Attachments.3
+
+pre-fetch:
+ @${ECHO} ""
+ @${ECHO} "You may use the following build options:"
+ @${ECHO} ""
+ @${ECHO} " DB_DBA_PASSWORD=password Your password of MySQL root ();"
+ @${ECHO} " DB_HOST=hostname Where MySQL resident (localhost);"
+ @${ECHO} " DB_RT_PASS=password Your password of MySQL RT user (rt_pass);"
+ @${ECHO} " DB_TYPE=type Pg for postgresql, mysql for MySQL (mysql);"
+ @${ECHO} " INSTALL_NEW Install a fresh port, otherwise just upgrade;"
+ @${ECHO} ""
+ @${ECHO} "IMPORTANT!!! If you want to install a fresh new port, define INSTALL_NEW to do so, otherwise this port just do a upgrade."
+ @${ECHO} ""
+
+do-build:
+.for _NAME in RT_PATH DB_DBA_PASSWORD DB_HOST DB_RT_PASS DB_TYPE
+ @${REINPLACE_CMD} "s!%%${_NAME}%%!${${_NAME}}!g" ${WRKSRC}/Makefile
+.endfor
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile testdeps
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile fixdeps
+
+do-install:
+ @${MKDIR} /var/log/rt2
+.if defined(INSTALL_NEW)
+ -@cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile dropdb
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile install
+.else
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile upgrade
+.endif
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/rt2/README
+ @${CHOWN} -R www /var/log/rt2
+
+post-install:
+ @${SED} s!%%PREFIX%%!${PREFIX}!g ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/rt2/distinfo b/www/rt2/distinfo
new file mode 100644
index 000000000000..ecea48df28ce
--- /dev/null
+++ b/www/rt2/distinfo
@@ -0,0 +1 @@
+MD5 (rt.tar.gz) = 59179c054c0e05336f9b92fe3b031270
diff --git a/www/rt2/files/patch-Makefile b/www/rt2/files/patch-Makefile
new file mode 100644
index 000000000000..95f90e9782c6
--- /dev/null
+++ b/www/rt2/files/patch-Makefile
@@ -0,0 +1,138 @@
+--- Makefile Sat Jul 20 10:42:39 2002
++++ Makefile Thu Aug 15 22:17:55 2002
+@@ -2,7 +2,7 @@
+ # RT is Copyright 1996-2002 Jesse Vincent <jesse@bestpractical.com>
+ # It is distributed under the terms of the GNU General Public License, version 2
+
+-PERL = /usr/bin/perl
++PERL = /usr/local/bin/perl
+
+ RT_VERSION_MAJOR = 2
+ RT_VERSION_MINOR = 0
+@@ -15,7 +15,7 @@
+ BRANCH = HEAD
+
+ # This is the group that all of the installed files will be chgrp'ed to.
+-RTGROUP = rt
++RTGROUP = www
+
+
+ # User which should own rt binaries.
+@@ -40,7 +40,7 @@
+ # RT_PATH is the name of the directory you want make to install RT in
+ # RT must be installed in its own directory (don't set this to /usr/local)
+
+-RT_PATH = /opt/rt2
++RT_PATH = %%RT_PATH%%
+
+ # The rest of these paths are all configurable, but you probably don't want to
+ # put them elsewhere
+@@ -49,7 +49,7 @@
+ RT_ETC_PATH = $(RT_PATH)/etc
+ RT_CONFIG_PATH = $(RT_ETC_PATH)
+ RT_BIN_PATH = $(RT_PATH)/bin
+-RT_MAN_PATH = $(RT_PATH)/man
++RT_MAN_PATH = /usr/local/man
+ MASON_HTML_PATH = $(RT_PATH)/WebRT/html
+
+
+@@ -63,7 +63,7 @@
+ MASON_DATA_PATH = $(RT_PATH)/WebRT/data
+ MASON_SESSION_PATH = $(RT_PATH)/WebRT/sessiondata
+
+-RT_LOG_PATH = /tmp
++RT_LOG_PATH = /var/log/rt2
+
+ # RT_READABLE_DIR_MODE is the mode of directories that are generally meant
+ # to be accessable
+@@ -101,13 +101,13 @@
+ # "Pg" is known to work
+ # "Oracle" is in the early stages of working.
+
+-DB_TYPE = mysql
++DB_TYPE = %%DB_TYPE%%
+
+ # DB_HOME is where the Database's commandline tools live. $DB_HOME/bin
+ # should contain the binaries themselves, e.g. if "which mysql" gives
+ # "/usr/local/mysql/bin/mysql", $DB_HOME should be "/usr/local/mysql"
+
+-DB_HOME = /usr
++DB_HOME = /usr/local
+
+ # Set DBA to the name of a unix account with the proper permissions and
+ # environment to run your commandline SQL tools
+@@ -121,14 +121,14 @@
+ # For oracle, you want 'system'
+
+ DB_DBA = root
+-DB_DBA_PASSWORD =
+-
++DB_DBA_PASSWORD = %%DB_DBA_PASSWORD%%
++
+ #
+ # Set this to the Fully Qualified Domain Name of your database server.
+ # If the database is local, rather than on a remote host, using "localhost"
+ # will greatly enhance performance.
+
+-DB_HOST = localhost
++DB_HOST = %%DB_HOST%%
+
+ # If you're not running your database server on its default port,
+ # specifiy the port the database server is running on below.
+@@ -144,7 +144,7 @@
+ # to grant those database rights by hand.
+ #
+
+-DB_RT_HOST = localhost
++DB_RT_HOST = %%DB_HOST%%
+
+ # set this to the name you want to give to the RT database in
+ # your database server. For Oracle, this should be the name of your sid
+@@ -158,7 +158,7 @@
+ # Set this to the password used by the rt database user
+ # *** Change This Before Installation***
+
+-DB_RT_PASS = rt_pass
++DB_RT_PASS = %%DB_RT_PASS%%
+
+ # }}}
+
+@@ -168,7 +168,7 @@
+ # objectcode
+
+ WEB_USER = www
+-WEB_GROUP = rt
++WEB_GROUP = www
+
+ # }}}
+
+@@ -311,7 +311,7 @@
+
+
+ genschema:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' generate
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' generate
+
+
+ initialize.Pg: createdb initdb.dba acls
+@@ -333,16 +333,16 @@
+
+
+ dropdb:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' drop
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' drop
+
+
+ createdb:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' create
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' create
+ initdb.dba:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' insert
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' insert
+
+ initdb.rtuser:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_RT_USER)' '$(DB_DATABASE)' insert
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_RT_USER)' '$(DB_DATABASE)' '$(DB_RT_PASS)' insert
+
+
+
diff --git a/www/rt2/files/patch-bin-initacls.mysql b/www/rt2/files/patch-bin-initacls.mysql
new file mode 100644
index 000000000000..42837f974cb5
--- /dev/null
+++ b/www/rt2/files/patch-bin-initacls.mysql
@@ -0,0 +1,12 @@
+--- bin/initacls.mysql Wed Nov 7 07:04:00 2001
++++ bin/initacls.mysql Thu Aug 15 18:01:14 2002
+@@ -14,7 +14,7 @@
+ export PATH
+
+ echo "Enter the mysql administrator's database password to create a new user for RT"
+-$BINDIR/mysql --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} -p${DBAPASSWD} mysql < $DATABASEACLS
++$BINDIR/mysql --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} --password=${DBAPASSWD} mysql < $DATABASEACLS
+
+ echo "Enter the mysql administrator's database password to nondestructively reload the database"
+-$BINDIR/mysqladmin --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} -p${DBAPASSWD} reload
++$BINDIR/mysqladmin --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} --password=${DBAPASSWD} reload
diff --git a/www/rt2/files/patch-tools-initdb b/www/rt2/files/patch-tools-initdb
new file mode 100644
index 000000000000..1ee6462ed640
--- /dev/null
+++ b/www/rt2/files/patch-tools-initdb
@@ -0,0 +1,29 @@
+--- tools/initdb Wed Nov 7 07:06:06 2001
++++ tools/initdb Thu Aug 15 17:17:19 2002
+@@ -17,7 +17,7 @@
+ $SCHEMA_DIR ="etc";
+ $SCHEMA_FILE = "$SCHEMA_DIR/schema.pm"; #hmm
+
+-($DB_TYPE, $DB_HOME, $DB_HOST, $DB_PORT, $DB_DBA, $DB_DATABASE, $ACTION) = @ARGV;
++($DB_TYPE, $DB_HOME, $DB_HOST, $DB_PORT, $DB_DBA, $DB_DATABASE, $DB_DBA_PASSWORD, $ACTION) = @ARGV;
+
+
+ if ($DEBUG) {
+@@ -71,6 +71,8 @@
+ # {{{ sub prompt_for_dba_password
+
+ sub prompt_for_dba_password {
++ return if defined $DB_DBA_PASSWORD;
++
+ print "Enter the $DB_TYPE password for $DB_DBA: ";
+
+ system "stty -echo";
+@@ -107,7 +109,7 @@
+ If you have an existing RT 2.x installation, this will destroy all your data.
+ i
+ END
+- exit unless _yesno();
++ # exit unless _yesno();
+
+ }
+
diff --git a/www/rt2/files/patch-tools-testdeps b/www/rt2/files/patch-tools-testdeps
new file mode 100644
index 000000000000..b4e392a23cec
--- /dev/null
+++ b/www/rt2/files/patch-tools-testdeps
@@ -0,0 +1,15 @@
+--- tools/testdeps Thu Feb 28 14:38:10 2002
++++ tools/testdeps Thu Aug 15 16:43:45 2002
+@@ -107,7 +107,11 @@
+ $module = "DBD::mysql::Install" if ($module =~ /DBD::mysql/);
+
+ print "Installing with CPAN...";
+- CPAN::install($module);
++ require CPAN::FirstTime; # shut up configuration
++ no strict 'refs';
++ local $^W;
++ *{'ExtUtils::MakeMaker::prompt'} = sub ($;$) { '' };
++ CPAN::force('install', $module);
+ }
+ print "\n";
+ exit(1) if ($mode =~ /-q/);
diff --git a/www/rt2/pkg-comment b/www/rt2/pkg-comment
new file mode 100644
index 000000000000..2f709c8b1eee
--- /dev/null
+++ b/www/rt2/pkg-comment
@@ -0,0 +1 @@
+RT is an industrial-grade ticketing system written in Perl
diff --git a/www/rt2/pkg-descr b/www/rt2/pkg-descr
new file mode 100644
index 000000000000..743d89a4bec0
--- /dev/null
+++ b/www/rt2/pkg-descr
@@ -0,0 +1,7 @@
+RT is an industrial-grade ticketing system. It lets a group of people
+intelligently and efficiently manage requests submitted by a community
+of users. RT is used by systems administrators, customer support
+staffs, NOCs, developers and even marketing departments at over a
+thousand sites around the world.
+
+WWW: http://www.bestpractical.com/rt/
diff --git a/www/rt2/pkg-message b/www/rt2/pkg-message
new file mode 100644
index 000000000000..77db2d1bce37
--- /dev/null
+++ b/www/rt2/pkg-message
@@ -0,0 +1,17 @@
+===============================================================
+
+To complete the installation of this port, you have to do the
+followings:
+
+1. Run %%PREFIX%%/rt2/etc/insertdata <last_version_of_rt> if you're
+ upgrading from an older version.
+2. Edit %%PREFIX%%/rt2/etc/config.pm
+3. Configure the email and web gateways. Please refer to 'SETTING UP
+ THE MAIL GATEWAY' in %%PREFIX%%/rt2/README
+4. Restart Apache.
+5. Do remember to *CHANGE* the root's password for the web interface.
+ The default is "password" (without the quotes.)
+6. Configure RT per the instructions at http://www.fsck.com/rtfm/.
+
+
+================================================================
diff --git a/www/rt2/pkg-plist b/www/rt2/pkg-plist
new file mode 100644
index 000000000000..2447c26c7025
--- /dev/null
+++ b/www/rt2/pkg-plist
@@ -0,0 +1,365 @@
+rt2/bin/webmux.pl
+rt2/bin/rt-mailgate
+rt2/bin/rtadmin
+rt2/bin/rt
+rt2/bin/mason_handler.fcgi
+rt2/bin/mason_handler.scgi
+rt2/WebRT/html/Ticket/Attachment/CVS/Root
+rt2/WebRT/html/Ticket/Attachment/CVS/Repository
+rt2/WebRT/html/Ticket/Attachment/CVS/Entries
+rt2/WebRT/html/Ticket/Attachment/CVS/Tag
+rt2/WebRT/html/Ticket/Attachment/dhandler
+rt2/WebRT/html/Ticket/CVS/Root
+rt2/WebRT/html/Ticket/CVS/Repository
+rt2/WebRT/html/Ticket/CVS/Entries
+rt2/WebRT/html/Ticket/CVS/Tag
+rt2/WebRT/html/Ticket/Elements/CVS/Root
+rt2/WebRT/html/Ticket/Elements/CVS/Repository
+rt2/WebRT/html/Ticket/Elements/CVS/Entries
+rt2/WebRT/html/Ticket/Elements/CVS/Tag
+rt2/WebRT/html/Ticket/Elements/AddWatchers
+rt2/WebRT/html/Ticket/Elements/EditBasics
+rt2/WebRT/html/Ticket/Elements/EditDates
+rt2/WebRT/html/Ticket/Elements/EditKeywordSelects
+rt2/WebRT/html/Ticket/Elements/EditLinks
+rt2/WebRT/html/Ticket/Elements/EditPeople
+rt2/WebRT/html/Ticket/Elements/EditWatchers
+rt2/WebRT/html/Ticket/Elements/ShowBasics
+rt2/WebRT/html/Ticket/Elements/ShowDates
+rt2/WebRT/html/Ticket/Elements/ShowDependencies
+rt2/WebRT/html/Ticket/Elements/ShowHistory
+rt2/WebRT/html/Ticket/Elements/ShowKeywordSelects
+rt2/WebRT/html/Ticket/Elements/ShowLinks
+rt2/WebRT/html/Ticket/Elements/ShowMemberOf
+rt2/WebRT/html/Ticket/Elements/ShowMembers
+rt2/WebRT/html/Ticket/Elements/ShowPeople
+rt2/WebRT/html/Ticket/Elements/ShowReferences
+rt2/WebRT/html/Ticket/Elements/ShowRequestor
+rt2/WebRT/html/Ticket/Elements/ShowSummary
+rt2/WebRT/html/Ticket/Elements/ShowTransaction
+rt2/WebRT/html/Ticket/Elements/Tabs
+rt2/WebRT/html/Ticket/Elements/ToolBar
+rt2/WebRT/html/Ticket/Create.html
+rt2/WebRT/html/Ticket/Modify.html
+rt2/WebRT/html/Ticket/ModifyAll.html
+rt2/WebRT/html/Ticket/ModifyDates.html
+rt2/WebRT/html/Ticket/ModifyLinks.html
+rt2/WebRT/html/Ticket/ModifyPeople.html
+rt2/WebRT/html/Ticket/Update.html
+rt2/WebRT/html/Ticket/Display.html
+rt2/WebRT/html/Ticket/History.html
+rt2/WebRT/html/CVS/Root
+rt2/WebRT/html/CVS/Repository
+rt2/WebRT/html/CVS/Entries
+rt2/WebRT/html/CVS/Tag
+rt2/WebRT/html/User/CVS/Root
+rt2/WebRT/html/User/CVS/Repository
+rt2/WebRT/html/User/CVS/Entries
+rt2/WebRT/html/User/CVS/Tag
+rt2/WebRT/html/User/Prefs.html
+rt2/WebRT/html/Elements/CVS/Root
+rt2/WebRT/html/Elements/CVS/Repository
+rt2/WebRT/html/Elements/CVS/Entries
+rt2/WebRT/html/Elements/CVS/Tag
+rt2/WebRT/html/Elements/Checkbox
+rt2/WebRT/html/Elements/CreateTicket
+rt2/WebRT/html/Elements/CustomHomepageHeader
+rt2/WebRT/html/Elements/Error
+rt2/WebRT/html/Elements/Footer
+rt2/WebRT/html/Elements/GotoTicket
+rt2/WebRT/html/Elements/Header
+rt2/WebRT/html/Elements/ListActions
+rt2/WebRT/html/Elements/Login
+rt2/WebRT/html/Elements/MessageBox
+rt2/WebRT/html/Elements/MyRequests
+rt2/WebRT/html/Elements/MyTickets
+rt2/WebRT/html/Elements/Quicksearch
+rt2/WebRT/html/Elements/Refresh
+rt2/WebRT/html/Elements/Section
+rt2/WebRT/html/Elements/SelectBoolean
+rt2/WebRT/html/Elements/SelectDate
+rt2/WebRT/html/Elements/SelectDateRelation
+rt2/WebRT/html/Elements/SelectDateType
+rt2/WebRT/html/Elements/SelectEqualityOperator
+rt2/WebRT/html/Elements/SelectKeyword
+rt2/WebRT/html/Elements/SelectKeywordOptions
+rt2/WebRT/html/Elements/SelectLinkType
+rt2/WebRT/html/Elements/SelectMatch
+rt2/WebRT/html/Elements/SelectNewTicketQueue
+rt2/WebRT/html/Elements/SelectOwner
+rt2/WebRT/html/Elements/SelectQueue
+rt2/WebRT/html/Elements/SelectResultsPerPage
+rt2/WebRT/html/Elements/SelectSortOrder
+rt2/WebRT/html/Elements/SelectStatus
+rt2/WebRT/html/Elements/SelectTicketSortBy
+rt2/WebRT/html/Elements/SelectUsers
+rt2/WebRT/html/Elements/SelectWatcherType
+rt2/WebRT/html/Elements/ShadedBox
+rt2/WebRT/html/Elements/Submit
+rt2/WebRT/html/Elements/Tabs
+rt2/WebRT/html/Elements/TitleBoxEnd
+rt2/WebRT/html/Elements/TitleBoxStart
+rt2/WebRT/html/Elements/ViewUser
+rt2/WebRT/html/Elements/dayMenu
+rt2/WebRT/html/Elements/monthMenu
+rt2/WebRT/html/Elements/yearMenu
+rt2/WebRT/html/SelfService/Attachment/CVS/Root
+rt2/WebRT/html/SelfService/Attachment/CVS/Repository
+rt2/WebRT/html/SelfService/Attachment/CVS/Entries
+rt2/WebRT/html/SelfService/Attachment/CVS/Tag
+rt2/WebRT/html/SelfService/Attachment/dhandler
+rt2/WebRT/html/SelfService/CVS/Root
+rt2/WebRT/html/SelfService/CVS/Repository
+rt2/WebRT/html/SelfService/CVS/Entries
+rt2/WebRT/html/SelfService/CVS/Tag
+rt2/WebRT/html/SelfService/Elements/CVS/Root
+rt2/WebRT/html/SelfService/Elements/CVS/Repository
+rt2/WebRT/html/SelfService/Elements/CVS/Entries
+rt2/WebRT/html/SelfService/Elements/CVS/Tag
+rt2/WebRT/html/SelfService/Elements/GotoTicket
+rt2/WebRT/html/SelfService/Elements/Header
+rt2/WebRT/html/SelfService/Elements/MyRequests
+rt2/WebRT/html/SelfService/Elements/Tabs
+rt2/WebRT/html/SelfService/Update.html
+rt2/WebRT/html/SelfService/Error.html
+rt2/WebRT/html/SelfService/Prefs.html
+rt2/WebRT/html/SelfService/Display.html
+rt2/WebRT/html/SelfService/index.html
+rt2/WebRT/html/SelfService/Create.html
+rt2/WebRT/html/SelfService/Closed.html
+rt2/WebRT/html/Search/CVS/Root
+rt2/WebRT/html/Search/CVS/Repository
+rt2/WebRT/html/Search/CVS/Entries
+rt2/WebRT/html/Search/CVS/Tag
+rt2/WebRT/html/Search/Bulk.html
+rt2/WebRT/html/Search/Listing.html
+rt2/WebRT/html/Search/PickRestriction
+rt2/WebRT/html/Search/RestrictSearch.html
+rt2/WebRT/html/Search/TicketCell
+rt2/WebRT/html/NoAuth/CVS/Root
+rt2/WebRT/html/NoAuth/CVS/Repository
+rt2/WebRT/html/NoAuth/CVS/Entries
+rt2/WebRT/html/NoAuth/CVS/Tag
+rt2/WebRT/html/NoAuth/images/CVS/Root
+rt2/WebRT/html/NoAuth/images/CVS/Repository
+rt2/WebRT/html/NoAuth/images/CVS/Entries
+rt2/WebRT/html/NoAuth/images/CVS/Tag
+rt2/WebRT/html/NoAuth/images/rt.jpg
+rt2/WebRT/html/NoAuth/images/spacer.gif
+rt2/WebRT/html/NoAuth/Logout.html
+rt2/WebRT/html/NoAuth/Reminder.html
+rt2/WebRT/html/NoAuth/webrt.css
+rt2/WebRT/html/Admin/Global/CVS/Root
+rt2/WebRT/html/Admin/Global/CVS/Repository
+rt2/WebRT/html/Admin/Global/CVS/Entries
+rt2/WebRT/html/Admin/Global/CVS/Tag
+rt2/WebRT/html/Admin/Global/GroupRights.html
+rt2/WebRT/html/Admin/Global/Keywords.html
+rt2/WebRT/html/Admin/Global/Scrips.html
+rt2/WebRT/html/Admin/Global/Template.html
+rt2/WebRT/html/Admin/Global/Templates.html
+rt2/WebRT/html/Admin/Global/UserRights.html
+rt2/WebRT/html/Admin/Global/index.html
+rt2/WebRT/html/Admin/Users/CVS/Root
+rt2/WebRT/html/Admin/Users/CVS/Repository
+rt2/WebRT/html/Admin/Users/CVS/Entries
+rt2/WebRT/html/Admin/Users/CVS/Tag
+rt2/WebRT/html/Admin/Users/Modify.html
+rt2/WebRT/html/Admin/Users/Prefs.html
+rt2/WebRT/html/Admin/Users/Rights.html
+rt2/WebRT/html/Admin/Users/index.html
+rt2/WebRT/html/Admin/Elements/CVS/Root
+rt2/WebRT/html/Admin/Elements/CVS/Repository
+rt2/WebRT/html/Admin/Elements/CVS/Entries
+rt2/WebRT/html/Admin/Elements/CVS/Tag
+rt2/WebRT/html/Admin/Elements/CreateQueueCalled
+rt2/WebRT/html/Admin/Elements/CreateUserCalled
+rt2/WebRT/html/Admin/Elements/EditUserComments
+rt2/WebRT/html/Admin/Elements/GrantQueueRightsTo
+rt2/WebRT/html/Admin/Elements/GroupTabs
+rt2/WebRT/html/Admin/Elements/Header
+rt2/WebRT/html/Admin/Elements/ListGlobalKeywordSelects
+rt2/WebRT/html/Admin/Elements/ListGlobalScrips
+rt2/WebRT/html/Admin/Elements/ModifyKeyword
+rt2/WebRT/html/Admin/Elements/ModifyKeywordSelect
+rt2/WebRT/html/Admin/Elements/ModifyQueue
+rt2/WebRT/html/Admin/Elements/ModifyTemplate
+rt2/WebRT/html/Admin/Elements/ModifyUser
+rt2/WebRT/html/Admin/Elements/QueueRightsForUser
+rt2/WebRT/html/Admin/Elements/QueueTabs
+rt2/WebRT/html/Admin/Elements/SelectKeywordSelect
+rt2/WebRT/html/Admin/Elements/SelectModifyGroup
+rt2/WebRT/html/Admin/Elements/SelectModifyKeyword
+rt2/WebRT/html/Admin/Elements/Tabs
+rt2/WebRT/html/Admin/Elements/SelectModifyKeywordSelect
+rt2/WebRT/html/Admin/Elements/SelectModifyQueue
+rt2/WebRT/html/Admin/Elements/SelectModifyUser
+rt2/WebRT/html/Admin/Elements/SelectQueueRights
+rt2/WebRT/html/Admin/Elements/SelectRights
+rt2/WebRT/html/Admin/Elements/SelectScrip
+rt2/WebRT/html/Admin/Elements/SelectScripAction
+rt2/WebRT/html/Admin/Elements/SelectScripCondition
+rt2/WebRT/html/Admin/Elements/SelectSingleOrMultiple
+rt2/WebRT/html/Admin/Elements/SelectTemplate
+rt2/WebRT/html/Admin/Elements/SelectUsers
+rt2/WebRT/html/Admin/Elements/SystemTabs
+rt2/WebRT/html/Admin/Elements/UserTabs
+rt2/WebRT/html/Admin/Queues/CVS/Root
+rt2/WebRT/html/Admin/Queues/CVS/Repository
+rt2/WebRT/html/Admin/Queues/CVS/Entries
+rt2/WebRT/html/Admin/Queues/CVS/Tag
+rt2/WebRT/html/Admin/Queues/Create.html
+rt2/WebRT/html/Admin/Queues/GroupRights.html
+rt2/WebRT/html/Admin/Queues/Keywords.html
+rt2/WebRT/html/Admin/Queues/Modify.html
+rt2/WebRT/html/Admin/Queues/People.html
+rt2/WebRT/html/Admin/Queues/Scrips.html
+rt2/WebRT/html/Admin/Queues/Template.html
+rt2/WebRT/html/Admin/Queues/Templates.html
+rt2/WebRT/html/Admin/Queues/UserRights.html
+rt2/WebRT/html/Admin/Queues/index.html
+rt2/WebRT/html/Admin/CVS/Root
+rt2/WebRT/html/Admin/CVS/Repository
+rt2/WebRT/html/Admin/CVS/Entries
+rt2/WebRT/html/Admin/CVS/Tag
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Root
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Repository
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Entries
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Tag
+rt2/WebRT/html/Admin/KeywordSelects/Modify.html
+rt2/WebRT/html/Admin/KeywordSelects/index.html
+rt2/WebRT/html/Admin/Keywords/CVS/Root
+rt2/WebRT/html/Admin/Keywords/CVS/Repository
+rt2/WebRT/html/Admin/Keywords/CVS/Entries
+rt2/WebRT/html/Admin/Keywords/CVS/Tag
+rt2/WebRT/html/Admin/Keywords/Modify.html
+rt2/WebRT/html/Admin/Keywords/index.html
+rt2/WebRT/html/Admin/Groups/CVS/Root
+rt2/WebRT/html/Admin/Groups/CVS/Repository
+rt2/WebRT/html/Admin/Groups/CVS/Entries
+rt2/WebRT/html/Admin/Groups/CVS/Tag
+rt2/WebRT/html/Admin/Groups/Members.html
+rt2/WebRT/html/Admin/Groups/Modify.html
+rt2/WebRT/html/Admin/Groups/Rights.html
+rt2/WebRT/html/Admin/Groups/index.html
+rt2/WebRT/html/Admin/index.html
+rt2/WebRT/html/autohandler
+rt2/WebRT/html/index.html
+rt2/etc/config.pm
+rt2/etc/insertdata
+rt2/lib/RT.pm
+rt2/lib/RT/KeywordSelects.pm
+rt2/lib/RT/Links.pm
+rt2/lib/RT/Watchers.pm
+rt2/lib/RT/Group.pm
+rt2/lib/RT/Keyword.pm
+rt2/lib/RT/Record.pm
+rt2/lib/RT/ScripConditions.pm
+rt2/lib/RT/Transaction.pm
+rt2/lib/RT/TestHarness.pm
+rt2/lib/RT/Link.pm
+rt2/lib/RT/Watcher.pm
+rt2/lib/RT/ObjectKeywords.pm
+rt2/lib/RT/EasySearch.pm
+rt2/lib/RT/ScripActions.pm
+rt2/lib/RT/Scrip.pm
+rt2/lib/RT/GroupMembers.pm
+rt2/lib/RT/Transactions.pm
+rt2/lib/RT/Scrips.pm
+rt2/lib/RT/User.pm
+rt2/lib/RT/ScripCondition.pm
+rt2/lib/RT/Users.pm
+rt2/lib/RT/Ticket.pm
+rt2/lib/RT/ACE.pm
+rt2/lib/RT/Queue.pm
+rt2/lib/RT/Tickets.pm
+rt2/lib/RT/Template.pm
+rt2/lib/RT/GroupMember.pm
+rt2/lib/RT/Templates.pm
+rt2/lib/RT/Queues.pm
+rt2/lib/RT/Date.pm
+rt2/lib/RT/CurrentUser.pm
+rt2/lib/RT/ScripAction.pm
+rt2/lib/RT/Keywords.pm
+rt2/lib/RT/ObjectKeyword.pm
+rt2/lib/RT/Attachment.pm
+rt2/lib/RT/Groups.pm
+rt2/lib/RT/KeywordSelect.pm
+rt2/lib/RT/Handle.pm
+rt2/lib/RT/ACL.pm
+rt2/lib/RT/Attachments.pm
+rt2/lib/RT/Interface/Email.pm
+rt2/lib/RT/Interface/CLI.pm
+rt2/lib/RT/Interface/Web.pm
+rt2/lib/RT/Condition/NewDependency.pm
+rt2/lib/RT/Condition/StatusChange.pm
+rt2/lib/RT/Condition/AnyTransaction.pm
+rt2/lib/RT/Condition/Generic.pm
+rt2/lib/RT/Action/Generic.pm
+rt2/lib/RT/Action/OpenDependent.pm
+rt2/lib/RT/Action/StallDependent.pm
+rt2/lib/RT/Action/SendPasswordEmail.pm
+rt2/lib/RT/Action/Notify.pm
+rt2/lib/RT/Action/SendEmail.pm
+rt2/lib/RT/Action/README.hackers
+rt2/lib/RT/Action/ResolveMembers.pm
+rt2/lib/RT/Action/NotifyAsComment.pm
+rt2/lib/RT/Action/Autoreply.pm
+rt2/lib/auto/RT/.packlist
+rt2/README
+@dirrm rt2/local/WebRT/html
+@dirrm rt2/local/WebRT
+@dirrm rt2/local
+@dirrm rt2/lib/auto/RT
+@dirrm rt2/lib/auto
+@dirrm rt2/lib/RT/Interface
+@dirrm rt2/lib/RT/Condition
+@dirrm rt2/lib/RT/Action
+@dirrm rt2/lib/RT
+@dirrm rt2/lib
+@dirrm rt2/etc
+@dirrm rt2/bin
+@dirrm rt2/WebRT/sessiondata
+@dirrm rt2/WebRT/html/User/CVS
+@dirrm rt2/WebRT/html/User
+@dirrm rt2/WebRT/html/Ticket/Elements/CVS
+@dirrm rt2/WebRT/html/Ticket/Elements
+@dirrm rt2/WebRT/html/Ticket/CVS
+@dirrm rt2/WebRT/html/Ticket/Attachment/CVS
+@dirrm rt2/WebRT/html/Ticket/Attachment
+@dirrm rt2/WebRT/html/Ticket
+@dirrm rt2/WebRT/html/SelfService/Elements/CVS
+@dirrm rt2/WebRT/html/SelfService/Elements
+@dirrm rt2/WebRT/html/SelfService/CVS
+@dirrm rt2/WebRT/html/SelfService/Attachment/CVS
+@dirrm rt2/WebRT/html/SelfService/Attachment
+@dirrm rt2/WebRT/html/SelfService
+@dirrm rt2/WebRT/html/Search/CVS
+@dirrm rt2/WebRT/html/Search
+@dirrm rt2/WebRT/html/NoAuth/images/CVS
+@dirrm rt2/WebRT/html/NoAuth/images
+@dirrm rt2/WebRT/html/NoAuth/CVS
+@dirrm rt2/WebRT/html/NoAuth
+@dirrm rt2/WebRT/html/Elements/CVS
+@dirrm rt2/WebRT/html/Elements
+@dirrm rt2/WebRT/html/CVS
+@dirrm rt2/WebRT/html/Admin/Users/CVS
+@dirrm rt2/WebRT/html/Admin/Users
+@dirrm rt2/WebRT/html/Admin/Queues/CVS
+@dirrm rt2/WebRT/html/Admin/Queues
+@dirrm rt2/WebRT/html/Admin/Keywords/CVS
+@dirrm rt2/WebRT/html/Admin/Keywords
+@dirrm rt2/WebRT/html/Admin/KeywordSelects/CVS
+@dirrm rt2/WebRT/html/Admin/KeywordSelects
+@dirrm rt2/WebRT/html/Admin/Groups/CVS
+@dirrm rt2/WebRT/html/Admin/Groups
+@dirrm rt2/WebRT/html/Admin/Global/CVS
+@dirrm rt2/WebRT/html/Admin/Global
+@dirrm rt2/WebRT/html/Admin/Elements/CVS
+@dirrm rt2/WebRT/html/Admin/Elements
+@dirrm rt2/WebRT/html/Admin/CVS
+@dirrm rt2/WebRT/html/Admin
+@dirrm rt2/WebRT/html
+@dirrm rt2/WebRT/data
+@dirrm rt2/WebRT
+@unexec rmdir %D/rt2 2>/dev/null || true
diff --git a/www/rt3/Makefile b/www/rt3/Makefile
new file mode 100644
index 000000000000..9057ebac07dd
--- /dev/null
+++ b/www/rt3/Makefile
@@ -0,0 +1,143 @@
+# New ports collection makefile for: RT2
+# Date created: 12 Auguest 2002
+# Whom: plasma
+#
+# $FreeBSD$
+#
+
+PORTNAME= rt2
+PORTVERSION= 2.0.14
+CATEGORIES= www
+MASTER_SITES= http://www.fsck.com/pub/rt/release/
+WRKSRC= ${WRKDIR}/rt-2-0-14
+DISTFILES= rt.tar.gz
+
+MAINTAINER= plasmaball@pchome.com.tw
+
+BUILD_DEPENDS= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl \
+ ${SITE_PERL}/${PERL_ARCH}/Apache/Cookie.pm:${PORTSDIR}/www/p5-libapreq \
+ ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \
+ ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+ ${SITE_PERL}/DBIx/DataSource.pm:${PORTSDIR}/databases/p5-DBIx-DataSource \
+ ${SITE_PERL}/DBIx/SearchBuilder.pm:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
+ ${SITE_PERL}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw \
+ ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
+ ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \
+ ${SITE_PERL}/Apache/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \
+ ${SITE_PERL}/Log/Dispatch.pm:${PORTSDIR}/devel/p5-Log-Dispatch \
+ ${SITE_PERL}/MIME/Entity.pm:${PORTSDIR}/mail/p5-MIME-Tools \
+ ${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM \
+ ${SITE_PERL}/Mail/Mailer.pm:${PORTSDIR}/mail/p5-Mail-Tools \
+ ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \
+ ${SITE_PERL}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
+ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
+ ${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template \
+ ${SITE_PERL}/Text/Wrapper.pm:${PORTSDIR}/textproc/p5-Text-Wrapper \
+ ${SITE_PERL}/Tie/IxHash.pm:${PORTSDIR}/devel/p5-Tie-IxHash
+
+DB_TYPE?= mysql
+
+.if ${DB_TYPE} == "Pg"
+BUILD_DEPENDS+= ${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql7
+.else
+DB_TYPE= mysql
+BUILD_DEPENDS+= ${LOCALBASE}/bin/safe_mysqld:${PORTSDIR}/databases/mysql323-server
+.endif
+
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+USE_REINPLACE= yes
+USE_PERL5= yes
+
+RT_PATH?= ${PREFIX}/rt2
+DB_DBA_PASSWORDD?=
+DB_HOST?= localhost
+DB_RT_PASS= rt_pass
+
+MAN3= RT::Links.3 \
+ RT::Watchers.3 \
+ RT::Group.3 \
+ RT::Keyword.3 \
+ RT::Record.3 \
+ RT::ScripConditions.3 \
+ RT::Action::Generic.3 \
+ RT::Transaction.3 \
+ RT::Interface::Email.3 \
+ RT::Link.3 \
+ RT.3 \
+ RT::Watcher.3 \
+ RT::ObjectKeywords.3 \
+ RT::EasySearch.3 \
+ RT::ScripActions.3 \
+ RT::Scrip.3 \
+ RT::GroupMembers.3 \
+ RT::Action::SendPasswordEmail.3 \
+ RT::Transactions.3 \
+ RT::Scrips.3 \
+ RT::Action::SendEmail.3 \
+ RT::User.3 \
+ RT::ScripCondition.3 \
+ RT::Users.3 \
+ RT::Ticket.3 \
+ RT::ACE.3 \
+ RT::Queue.3 \
+ RT::Interface::CLI.3 \
+ RT::Tickets.3 \
+ RT::GroupMember.3 \
+ RT::Template.3 \
+ RT::Templates.3 \
+ RT::Queues.3 \
+ RT::Date.3 \
+ RT::CurrentUser.3 \
+ RT::ScripAction.3 \
+ RT::Keywords.3 \
+ RT::ObjectKeyword.3 \
+ RT::Attachment.3 \
+ RT::Groups.3 \
+ RT::KeywordSelect.3 \
+ RT::Condition::Generic.3 \
+ RT::Handle.3 \
+ RT::ACL.3 \
+ RT::Attachments.3
+
+pre-fetch:
+ @${ECHO} ""
+ @${ECHO} "You may use the following build options:"
+ @${ECHO} ""
+ @${ECHO} " DB_DBA_PASSWORD=password Your password of MySQL root ();"
+ @${ECHO} " DB_HOST=hostname Where MySQL resident (localhost);"
+ @${ECHO} " DB_RT_PASS=password Your password of MySQL RT user (rt_pass);"
+ @${ECHO} " DB_TYPE=type Pg for postgresql, mysql for MySQL (mysql);"
+ @${ECHO} " INSTALL_NEW Install a fresh port, otherwise just upgrade;"
+ @${ECHO} ""
+ @${ECHO} "IMPORTANT!!! If you want to install a fresh new port, define INSTALL_NEW to do so, otherwise this port just do a upgrade."
+ @${ECHO} ""
+
+do-build:
+.for _NAME in RT_PATH DB_DBA_PASSWORD DB_HOST DB_RT_PASS DB_TYPE
+ @${REINPLACE_CMD} "s!%%${_NAME}%%!${${_NAME}}!g" ${WRKSRC}/Makefile
+.endfor
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile testdeps
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile fixdeps
+
+do-install:
+ @${MKDIR} /var/log/rt2
+.if defined(INSTALL_NEW)
+ -@cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile dropdb
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile install
+.else
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile upgrade
+.endif
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/rt2/README
+ @${CHOWN} -R www /var/log/rt2
+
+post-install:
+ @${SED} s!%%PREFIX%%!${PREFIX}!g ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/rt3/distinfo b/www/rt3/distinfo
new file mode 100644
index 000000000000..ecea48df28ce
--- /dev/null
+++ b/www/rt3/distinfo
@@ -0,0 +1 @@
+MD5 (rt.tar.gz) = 59179c054c0e05336f9b92fe3b031270
diff --git a/www/rt3/files/patch-Makefile b/www/rt3/files/patch-Makefile
new file mode 100644
index 000000000000..95f90e9782c6
--- /dev/null
+++ b/www/rt3/files/patch-Makefile
@@ -0,0 +1,138 @@
+--- Makefile Sat Jul 20 10:42:39 2002
++++ Makefile Thu Aug 15 22:17:55 2002
+@@ -2,7 +2,7 @@
+ # RT is Copyright 1996-2002 Jesse Vincent <jesse@bestpractical.com>
+ # It is distributed under the terms of the GNU General Public License, version 2
+
+-PERL = /usr/bin/perl
++PERL = /usr/local/bin/perl
+
+ RT_VERSION_MAJOR = 2
+ RT_VERSION_MINOR = 0
+@@ -15,7 +15,7 @@
+ BRANCH = HEAD
+
+ # This is the group that all of the installed files will be chgrp'ed to.
+-RTGROUP = rt
++RTGROUP = www
+
+
+ # User which should own rt binaries.
+@@ -40,7 +40,7 @@
+ # RT_PATH is the name of the directory you want make to install RT in
+ # RT must be installed in its own directory (don't set this to /usr/local)
+
+-RT_PATH = /opt/rt2
++RT_PATH = %%RT_PATH%%
+
+ # The rest of these paths are all configurable, but you probably don't want to
+ # put them elsewhere
+@@ -49,7 +49,7 @@
+ RT_ETC_PATH = $(RT_PATH)/etc
+ RT_CONFIG_PATH = $(RT_ETC_PATH)
+ RT_BIN_PATH = $(RT_PATH)/bin
+-RT_MAN_PATH = $(RT_PATH)/man
++RT_MAN_PATH = /usr/local/man
+ MASON_HTML_PATH = $(RT_PATH)/WebRT/html
+
+
+@@ -63,7 +63,7 @@
+ MASON_DATA_PATH = $(RT_PATH)/WebRT/data
+ MASON_SESSION_PATH = $(RT_PATH)/WebRT/sessiondata
+
+-RT_LOG_PATH = /tmp
++RT_LOG_PATH = /var/log/rt2
+
+ # RT_READABLE_DIR_MODE is the mode of directories that are generally meant
+ # to be accessable
+@@ -101,13 +101,13 @@
+ # "Pg" is known to work
+ # "Oracle" is in the early stages of working.
+
+-DB_TYPE = mysql
++DB_TYPE = %%DB_TYPE%%
+
+ # DB_HOME is where the Database's commandline tools live. $DB_HOME/bin
+ # should contain the binaries themselves, e.g. if "which mysql" gives
+ # "/usr/local/mysql/bin/mysql", $DB_HOME should be "/usr/local/mysql"
+
+-DB_HOME = /usr
++DB_HOME = /usr/local
+
+ # Set DBA to the name of a unix account with the proper permissions and
+ # environment to run your commandline SQL tools
+@@ -121,14 +121,14 @@
+ # For oracle, you want 'system'
+
+ DB_DBA = root
+-DB_DBA_PASSWORD =
+-
++DB_DBA_PASSWORD = %%DB_DBA_PASSWORD%%
++
+ #
+ # Set this to the Fully Qualified Domain Name of your database server.
+ # If the database is local, rather than on a remote host, using "localhost"
+ # will greatly enhance performance.
+
+-DB_HOST = localhost
++DB_HOST = %%DB_HOST%%
+
+ # If you're not running your database server on its default port,
+ # specifiy the port the database server is running on below.
+@@ -144,7 +144,7 @@
+ # to grant those database rights by hand.
+ #
+
+-DB_RT_HOST = localhost
++DB_RT_HOST = %%DB_HOST%%
+
+ # set this to the name you want to give to the RT database in
+ # your database server. For Oracle, this should be the name of your sid
+@@ -158,7 +158,7 @@
+ # Set this to the password used by the rt database user
+ # *** Change This Before Installation***
+
+-DB_RT_PASS = rt_pass
++DB_RT_PASS = %%DB_RT_PASS%%
+
+ # }}}
+
+@@ -168,7 +168,7 @@
+ # objectcode
+
+ WEB_USER = www
+-WEB_GROUP = rt
++WEB_GROUP = www
+
+ # }}}
+
+@@ -311,7 +311,7 @@
+
+
+ genschema:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' generate
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' generate
+
+
+ initialize.Pg: createdb initdb.dba acls
+@@ -333,16 +333,16 @@
+
+
+ dropdb:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' drop
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' drop
+
+
+ createdb:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' create
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' create
+ initdb.dba:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' insert
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' insert
+
+ initdb.rtuser:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_RT_USER)' '$(DB_DATABASE)' insert
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_RT_USER)' '$(DB_DATABASE)' '$(DB_RT_PASS)' insert
+
+
+
diff --git a/www/rt3/files/patch-bin-initacls.mysql b/www/rt3/files/patch-bin-initacls.mysql
new file mode 100644
index 000000000000..42837f974cb5
--- /dev/null
+++ b/www/rt3/files/patch-bin-initacls.mysql
@@ -0,0 +1,12 @@
+--- bin/initacls.mysql Wed Nov 7 07:04:00 2001
++++ bin/initacls.mysql Thu Aug 15 18:01:14 2002
+@@ -14,7 +14,7 @@
+ export PATH
+
+ echo "Enter the mysql administrator's database password to create a new user for RT"
+-$BINDIR/mysql --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} -p${DBAPASSWD} mysql < $DATABASEACLS
++$BINDIR/mysql --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} --password=${DBAPASSWD} mysql < $DATABASEACLS
+
+ echo "Enter the mysql administrator's database password to nondestructively reload the database"
+-$BINDIR/mysqladmin --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} -p${DBAPASSWD} reload
++$BINDIR/mysqladmin --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} --password=${DBAPASSWD} reload
diff --git a/www/rt3/files/patch-tools-initdb b/www/rt3/files/patch-tools-initdb
new file mode 100644
index 000000000000..1ee6462ed640
--- /dev/null
+++ b/www/rt3/files/patch-tools-initdb
@@ -0,0 +1,29 @@
+--- tools/initdb Wed Nov 7 07:06:06 2001
++++ tools/initdb Thu Aug 15 17:17:19 2002
+@@ -17,7 +17,7 @@
+ $SCHEMA_DIR ="etc";
+ $SCHEMA_FILE = "$SCHEMA_DIR/schema.pm"; #hmm
+
+-($DB_TYPE, $DB_HOME, $DB_HOST, $DB_PORT, $DB_DBA, $DB_DATABASE, $ACTION) = @ARGV;
++($DB_TYPE, $DB_HOME, $DB_HOST, $DB_PORT, $DB_DBA, $DB_DATABASE, $DB_DBA_PASSWORD, $ACTION) = @ARGV;
+
+
+ if ($DEBUG) {
+@@ -71,6 +71,8 @@
+ # {{{ sub prompt_for_dba_password
+
+ sub prompt_for_dba_password {
++ return if defined $DB_DBA_PASSWORD;
++
+ print "Enter the $DB_TYPE password for $DB_DBA: ";
+
+ system "stty -echo";
+@@ -107,7 +109,7 @@
+ If you have an existing RT 2.x installation, this will destroy all your data.
+ i
+ END
+- exit unless _yesno();
++ # exit unless _yesno();
+
+ }
+
diff --git a/www/rt3/files/patch-tools-testdeps b/www/rt3/files/patch-tools-testdeps
new file mode 100644
index 000000000000..b4e392a23cec
--- /dev/null
+++ b/www/rt3/files/patch-tools-testdeps
@@ -0,0 +1,15 @@
+--- tools/testdeps Thu Feb 28 14:38:10 2002
++++ tools/testdeps Thu Aug 15 16:43:45 2002
+@@ -107,7 +107,11 @@
+ $module = "DBD::mysql::Install" if ($module =~ /DBD::mysql/);
+
+ print "Installing with CPAN...";
+- CPAN::install($module);
++ require CPAN::FirstTime; # shut up configuration
++ no strict 'refs';
++ local $^W;
++ *{'ExtUtils::MakeMaker::prompt'} = sub ($;$) { '' };
++ CPAN::force('install', $module);
+ }
+ print "\n";
+ exit(1) if ($mode =~ /-q/);
diff --git a/www/rt3/pkg-comment b/www/rt3/pkg-comment
new file mode 100644
index 000000000000..2f709c8b1eee
--- /dev/null
+++ b/www/rt3/pkg-comment
@@ -0,0 +1 @@
+RT is an industrial-grade ticketing system written in Perl
diff --git a/www/rt3/pkg-descr b/www/rt3/pkg-descr
new file mode 100644
index 000000000000..743d89a4bec0
--- /dev/null
+++ b/www/rt3/pkg-descr
@@ -0,0 +1,7 @@
+RT is an industrial-grade ticketing system. It lets a group of people
+intelligently and efficiently manage requests submitted by a community
+of users. RT is used by systems administrators, customer support
+staffs, NOCs, developers and even marketing departments at over a
+thousand sites around the world.
+
+WWW: http://www.bestpractical.com/rt/
diff --git a/www/rt3/pkg-message b/www/rt3/pkg-message
new file mode 100644
index 000000000000..77db2d1bce37
--- /dev/null
+++ b/www/rt3/pkg-message
@@ -0,0 +1,17 @@
+===============================================================
+
+To complete the installation of this port, you have to do the
+followings:
+
+1. Run %%PREFIX%%/rt2/etc/insertdata <last_version_of_rt> if you're
+ upgrading from an older version.
+2. Edit %%PREFIX%%/rt2/etc/config.pm
+3. Configure the email and web gateways. Please refer to 'SETTING UP
+ THE MAIL GATEWAY' in %%PREFIX%%/rt2/README
+4. Restart Apache.
+5. Do remember to *CHANGE* the root's password for the web interface.
+ The default is "password" (without the quotes.)
+6. Configure RT per the instructions at http://www.fsck.com/rtfm/.
+
+
+================================================================
diff --git a/www/rt3/pkg-plist b/www/rt3/pkg-plist
new file mode 100644
index 000000000000..2447c26c7025
--- /dev/null
+++ b/www/rt3/pkg-plist
@@ -0,0 +1,365 @@
+rt2/bin/webmux.pl
+rt2/bin/rt-mailgate
+rt2/bin/rtadmin
+rt2/bin/rt
+rt2/bin/mason_handler.fcgi
+rt2/bin/mason_handler.scgi
+rt2/WebRT/html/Ticket/Attachment/CVS/Root
+rt2/WebRT/html/Ticket/Attachment/CVS/Repository
+rt2/WebRT/html/Ticket/Attachment/CVS/Entries
+rt2/WebRT/html/Ticket/Attachment/CVS/Tag
+rt2/WebRT/html/Ticket/Attachment/dhandler
+rt2/WebRT/html/Ticket/CVS/Root
+rt2/WebRT/html/Ticket/CVS/Repository
+rt2/WebRT/html/Ticket/CVS/Entries
+rt2/WebRT/html/Ticket/CVS/Tag
+rt2/WebRT/html/Ticket/Elements/CVS/Root
+rt2/WebRT/html/Ticket/Elements/CVS/Repository
+rt2/WebRT/html/Ticket/Elements/CVS/Entries
+rt2/WebRT/html/Ticket/Elements/CVS/Tag
+rt2/WebRT/html/Ticket/Elements/AddWatchers
+rt2/WebRT/html/Ticket/Elements/EditBasics
+rt2/WebRT/html/Ticket/Elements/EditDates
+rt2/WebRT/html/Ticket/Elements/EditKeywordSelects
+rt2/WebRT/html/Ticket/Elements/EditLinks
+rt2/WebRT/html/Ticket/Elements/EditPeople
+rt2/WebRT/html/Ticket/Elements/EditWatchers
+rt2/WebRT/html/Ticket/Elements/ShowBasics
+rt2/WebRT/html/Ticket/Elements/ShowDates
+rt2/WebRT/html/Ticket/Elements/ShowDependencies
+rt2/WebRT/html/Ticket/Elements/ShowHistory
+rt2/WebRT/html/Ticket/Elements/ShowKeywordSelects
+rt2/WebRT/html/Ticket/Elements/ShowLinks
+rt2/WebRT/html/Ticket/Elements/ShowMemberOf
+rt2/WebRT/html/Ticket/Elements/ShowMembers
+rt2/WebRT/html/Ticket/Elements/ShowPeople
+rt2/WebRT/html/Ticket/Elements/ShowReferences
+rt2/WebRT/html/Ticket/Elements/ShowRequestor
+rt2/WebRT/html/Ticket/Elements/ShowSummary
+rt2/WebRT/html/Ticket/Elements/ShowTransaction
+rt2/WebRT/html/Ticket/Elements/Tabs
+rt2/WebRT/html/Ticket/Elements/ToolBar
+rt2/WebRT/html/Ticket/Create.html
+rt2/WebRT/html/Ticket/Modify.html
+rt2/WebRT/html/Ticket/ModifyAll.html
+rt2/WebRT/html/Ticket/ModifyDates.html
+rt2/WebRT/html/Ticket/ModifyLinks.html
+rt2/WebRT/html/Ticket/ModifyPeople.html
+rt2/WebRT/html/Ticket/Update.html
+rt2/WebRT/html/Ticket/Display.html
+rt2/WebRT/html/Ticket/History.html
+rt2/WebRT/html/CVS/Root
+rt2/WebRT/html/CVS/Repository
+rt2/WebRT/html/CVS/Entries
+rt2/WebRT/html/CVS/Tag
+rt2/WebRT/html/User/CVS/Root
+rt2/WebRT/html/User/CVS/Repository
+rt2/WebRT/html/User/CVS/Entries
+rt2/WebRT/html/User/CVS/Tag
+rt2/WebRT/html/User/Prefs.html
+rt2/WebRT/html/Elements/CVS/Root
+rt2/WebRT/html/Elements/CVS/Repository
+rt2/WebRT/html/Elements/CVS/Entries
+rt2/WebRT/html/Elements/CVS/Tag
+rt2/WebRT/html/Elements/Checkbox
+rt2/WebRT/html/Elements/CreateTicket
+rt2/WebRT/html/Elements/CustomHomepageHeader
+rt2/WebRT/html/Elements/Error
+rt2/WebRT/html/Elements/Footer
+rt2/WebRT/html/Elements/GotoTicket
+rt2/WebRT/html/Elements/Header
+rt2/WebRT/html/Elements/ListActions
+rt2/WebRT/html/Elements/Login
+rt2/WebRT/html/Elements/MessageBox
+rt2/WebRT/html/Elements/MyRequests
+rt2/WebRT/html/Elements/MyTickets
+rt2/WebRT/html/Elements/Quicksearch
+rt2/WebRT/html/Elements/Refresh
+rt2/WebRT/html/Elements/Section
+rt2/WebRT/html/Elements/SelectBoolean
+rt2/WebRT/html/Elements/SelectDate
+rt2/WebRT/html/Elements/SelectDateRelation
+rt2/WebRT/html/Elements/SelectDateType
+rt2/WebRT/html/Elements/SelectEqualityOperator
+rt2/WebRT/html/Elements/SelectKeyword
+rt2/WebRT/html/Elements/SelectKeywordOptions
+rt2/WebRT/html/Elements/SelectLinkType
+rt2/WebRT/html/Elements/SelectMatch
+rt2/WebRT/html/Elements/SelectNewTicketQueue
+rt2/WebRT/html/Elements/SelectOwner
+rt2/WebRT/html/Elements/SelectQueue
+rt2/WebRT/html/Elements/SelectResultsPerPage
+rt2/WebRT/html/Elements/SelectSortOrder
+rt2/WebRT/html/Elements/SelectStatus
+rt2/WebRT/html/Elements/SelectTicketSortBy
+rt2/WebRT/html/Elements/SelectUsers
+rt2/WebRT/html/Elements/SelectWatcherType
+rt2/WebRT/html/Elements/ShadedBox
+rt2/WebRT/html/Elements/Submit
+rt2/WebRT/html/Elements/Tabs
+rt2/WebRT/html/Elements/TitleBoxEnd
+rt2/WebRT/html/Elements/TitleBoxStart
+rt2/WebRT/html/Elements/ViewUser
+rt2/WebRT/html/Elements/dayMenu
+rt2/WebRT/html/Elements/monthMenu
+rt2/WebRT/html/Elements/yearMenu
+rt2/WebRT/html/SelfService/Attachment/CVS/Root
+rt2/WebRT/html/SelfService/Attachment/CVS/Repository
+rt2/WebRT/html/SelfService/Attachment/CVS/Entries
+rt2/WebRT/html/SelfService/Attachment/CVS/Tag
+rt2/WebRT/html/SelfService/Attachment/dhandler
+rt2/WebRT/html/SelfService/CVS/Root
+rt2/WebRT/html/SelfService/CVS/Repository
+rt2/WebRT/html/SelfService/CVS/Entries
+rt2/WebRT/html/SelfService/CVS/Tag
+rt2/WebRT/html/SelfService/Elements/CVS/Root
+rt2/WebRT/html/SelfService/Elements/CVS/Repository
+rt2/WebRT/html/SelfService/Elements/CVS/Entries
+rt2/WebRT/html/SelfService/Elements/CVS/Tag
+rt2/WebRT/html/SelfService/Elements/GotoTicket
+rt2/WebRT/html/SelfService/Elements/Header
+rt2/WebRT/html/SelfService/Elements/MyRequests
+rt2/WebRT/html/SelfService/Elements/Tabs
+rt2/WebRT/html/SelfService/Update.html
+rt2/WebRT/html/SelfService/Error.html
+rt2/WebRT/html/SelfService/Prefs.html
+rt2/WebRT/html/SelfService/Display.html
+rt2/WebRT/html/SelfService/index.html
+rt2/WebRT/html/SelfService/Create.html
+rt2/WebRT/html/SelfService/Closed.html
+rt2/WebRT/html/Search/CVS/Root
+rt2/WebRT/html/Search/CVS/Repository
+rt2/WebRT/html/Search/CVS/Entries
+rt2/WebRT/html/Search/CVS/Tag
+rt2/WebRT/html/Search/Bulk.html
+rt2/WebRT/html/Search/Listing.html
+rt2/WebRT/html/Search/PickRestriction
+rt2/WebRT/html/Search/RestrictSearch.html
+rt2/WebRT/html/Search/TicketCell
+rt2/WebRT/html/NoAuth/CVS/Root
+rt2/WebRT/html/NoAuth/CVS/Repository
+rt2/WebRT/html/NoAuth/CVS/Entries
+rt2/WebRT/html/NoAuth/CVS/Tag
+rt2/WebRT/html/NoAuth/images/CVS/Root
+rt2/WebRT/html/NoAuth/images/CVS/Repository
+rt2/WebRT/html/NoAuth/images/CVS/Entries
+rt2/WebRT/html/NoAuth/images/CVS/Tag
+rt2/WebRT/html/NoAuth/images/rt.jpg
+rt2/WebRT/html/NoAuth/images/spacer.gif
+rt2/WebRT/html/NoAuth/Logout.html
+rt2/WebRT/html/NoAuth/Reminder.html
+rt2/WebRT/html/NoAuth/webrt.css
+rt2/WebRT/html/Admin/Global/CVS/Root
+rt2/WebRT/html/Admin/Global/CVS/Repository
+rt2/WebRT/html/Admin/Global/CVS/Entries
+rt2/WebRT/html/Admin/Global/CVS/Tag
+rt2/WebRT/html/Admin/Global/GroupRights.html
+rt2/WebRT/html/Admin/Global/Keywords.html
+rt2/WebRT/html/Admin/Global/Scrips.html
+rt2/WebRT/html/Admin/Global/Template.html
+rt2/WebRT/html/Admin/Global/Templates.html
+rt2/WebRT/html/Admin/Global/UserRights.html
+rt2/WebRT/html/Admin/Global/index.html
+rt2/WebRT/html/Admin/Users/CVS/Root
+rt2/WebRT/html/Admin/Users/CVS/Repository
+rt2/WebRT/html/Admin/Users/CVS/Entries
+rt2/WebRT/html/Admin/Users/CVS/Tag
+rt2/WebRT/html/Admin/Users/Modify.html
+rt2/WebRT/html/Admin/Users/Prefs.html
+rt2/WebRT/html/Admin/Users/Rights.html
+rt2/WebRT/html/Admin/Users/index.html
+rt2/WebRT/html/Admin/Elements/CVS/Root
+rt2/WebRT/html/Admin/Elements/CVS/Repository
+rt2/WebRT/html/Admin/Elements/CVS/Entries
+rt2/WebRT/html/Admin/Elements/CVS/Tag
+rt2/WebRT/html/Admin/Elements/CreateQueueCalled
+rt2/WebRT/html/Admin/Elements/CreateUserCalled
+rt2/WebRT/html/Admin/Elements/EditUserComments
+rt2/WebRT/html/Admin/Elements/GrantQueueRightsTo
+rt2/WebRT/html/Admin/Elements/GroupTabs
+rt2/WebRT/html/Admin/Elements/Header
+rt2/WebRT/html/Admin/Elements/ListGlobalKeywordSelects
+rt2/WebRT/html/Admin/Elements/ListGlobalScrips
+rt2/WebRT/html/Admin/Elements/ModifyKeyword
+rt2/WebRT/html/Admin/Elements/ModifyKeywordSelect
+rt2/WebRT/html/Admin/Elements/ModifyQueue
+rt2/WebRT/html/Admin/Elements/ModifyTemplate
+rt2/WebRT/html/Admin/Elements/ModifyUser
+rt2/WebRT/html/Admin/Elements/QueueRightsForUser
+rt2/WebRT/html/Admin/Elements/QueueTabs
+rt2/WebRT/html/Admin/Elements/SelectKeywordSelect
+rt2/WebRT/html/Admin/Elements/SelectModifyGroup
+rt2/WebRT/html/Admin/Elements/SelectModifyKeyword
+rt2/WebRT/html/Admin/Elements/Tabs
+rt2/WebRT/html/Admin/Elements/SelectModifyKeywordSelect
+rt2/WebRT/html/Admin/Elements/SelectModifyQueue
+rt2/WebRT/html/Admin/Elements/SelectModifyUser
+rt2/WebRT/html/Admin/Elements/SelectQueueRights
+rt2/WebRT/html/Admin/Elements/SelectRights
+rt2/WebRT/html/Admin/Elements/SelectScrip
+rt2/WebRT/html/Admin/Elements/SelectScripAction
+rt2/WebRT/html/Admin/Elements/SelectScripCondition
+rt2/WebRT/html/Admin/Elements/SelectSingleOrMultiple
+rt2/WebRT/html/Admin/Elements/SelectTemplate
+rt2/WebRT/html/Admin/Elements/SelectUsers
+rt2/WebRT/html/Admin/Elements/SystemTabs
+rt2/WebRT/html/Admin/Elements/UserTabs
+rt2/WebRT/html/Admin/Queues/CVS/Root
+rt2/WebRT/html/Admin/Queues/CVS/Repository
+rt2/WebRT/html/Admin/Queues/CVS/Entries
+rt2/WebRT/html/Admin/Queues/CVS/Tag
+rt2/WebRT/html/Admin/Queues/Create.html
+rt2/WebRT/html/Admin/Queues/GroupRights.html
+rt2/WebRT/html/Admin/Queues/Keywords.html
+rt2/WebRT/html/Admin/Queues/Modify.html
+rt2/WebRT/html/Admin/Queues/People.html
+rt2/WebRT/html/Admin/Queues/Scrips.html
+rt2/WebRT/html/Admin/Queues/Template.html
+rt2/WebRT/html/Admin/Queues/Templates.html
+rt2/WebRT/html/Admin/Queues/UserRights.html
+rt2/WebRT/html/Admin/Queues/index.html
+rt2/WebRT/html/Admin/CVS/Root
+rt2/WebRT/html/Admin/CVS/Repository
+rt2/WebRT/html/Admin/CVS/Entries
+rt2/WebRT/html/Admin/CVS/Tag
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Root
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Repository
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Entries
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Tag
+rt2/WebRT/html/Admin/KeywordSelects/Modify.html
+rt2/WebRT/html/Admin/KeywordSelects/index.html
+rt2/WebRT/html/Admin/Keywords/CVS/Root
+rt2/WebRT/html/Admin/Keywords/CVS/Repository
+rt2/WebRT/html/Admin/Keywords/CVS/Entries
+rt2/WebRT/html/Admin/Keywords/CVS/Tag
+rt2/WebRT/html/Admin/Keywords/Modify.html
+rt2/WebRT/html/Admin/Keywords/index.html
+rt2/WebRT/html/Admin/Groups/CVS/Root
+rt2/WebRT/html/Admin/Groups/CVS/Repository
+rt2/WebRT/html/Admin/Groups/CVS/Entries
+rt2/WebRT/html/Admin/Groups/CVS/Tag
+rt2/WebRT/html/Admin/Groups/Members.html
+rt2/WebRT/html/Admin/Groups/Modify.html
+rt2/WebRT/html/Admin/Groups/Rights.html
+rt2/WebRT/html/Admin/Groups/index.html
+rt2/WebRT/html/Admin/index.html
+rt2/WebRT/html/autohandler
+rt2/WebRT/html/index.html
+rt2/etc/config.pm
+rt2/etc/insertdata
+rt2/lib/RT.pm
+rt2/lib/RT/KeywordSelects.pm
+rt2/lib/RT/Links.pm
+rt2/lib/RT/Watchers.pm
+rt2/lib/RT/Group.pm
+rt2/lib/RT/Keyword.pm
+rt2/lib/RT/Record.pm
+rt2/lib/RT/ScripConditions.pm
+rt2/lib/RT/Transaction.pm
+rt2/lib/RT/TestHarness.pm
+rt2/lib/RT/Link.pm
+rt2/lib/RT/Watcher.pm
+rt2/lib/RT/ObjectKeywords.pm
+rt2/lib/RT/EasySearch.pm
+rt2/lib/RT/ScripActions.pm
+rt2/lib/RT/Scrip.pm
+rt2/lib/RT/GroupMembers.pm
+rt2/lib/RT/Transactions.pm
+rt2/lib/RT/Scrips.pm
+rt2/lib/RT/User.pm
+rt2/lib/RT/ScripCondition.pm
+rt2/lib/RT/Users.pm
+rt2/lib/RT/Ticket.pm
+rt2/lib/RT/ACE.pm
+rt2/lib/RT/Queue.pm
+rt2/lib/RT/Tickets.pm
+rt2/lib/RT/Template.pm
+rt2/lib/RT/GroupMember.pm
+rt2/lib/RT/Templates.pm
+rt2/lib/RT/Queues.pm
+rt2/lib/RT/Date.pm
+rt2/lib/RT/CurrentUser.pm
+rt2/lib/RT/ScripAction.pm
+rt2/lib/RT/Keywords.pm
+rt2/lib/RT/ObjectKeyword.pm
+rt2/lib/RT/Attachment.pm
+rt2/lib/RT/Groups.pm
+rt2/lib/RT/KeywordSelect.pm
+rt2/lib/RT/Handle.pm
+rt2/lib/RT/ACL.pm
+rt2/lib/RT/Attachments.pm
+rt2/lib/RT/Interface/Email.pm
+rt2/lib/RT/Interface/CLI.pm
+rt2/lib/RT/Interface/Web.pm
+rt2/lib/RT/Condition/NewDependency.pm
+rt2/lib/RT/Condition/StatusChange.pm
+rt2/lib/RT/Condition/AnyTransaction.pm
+rt2/lib/RT/Condition/Generic.pm
+rt2/lib/RT/Action/Generic.pm
+rt2/lib/RT/Action/OpenDependent.pm
+rt2/lib/RT/Action/StallDependent.pm
+rt2/lib/RT/Action/SendPasswordEmail.pm
+rt2/lib/RT/Action/Notify.pm
+rt2/lib/RT/Action/SendEmail.pm
+rt2/lib/RT/Action/README.hackers
+rt2/lib/RT/Action/ResolveMembers.pm
+rt2/lib/RT/Action/NotifyAsComment.pm
+rt2/lib/RT/Action/Autoreply.pm
+rt2/lib/auto/RT/.packlist
+rt2/README
+@dirrm rt2/local/WebRT/html
+@dirrm rt2/local/WebRT
+@dirrm rt2/local
+@dirrm rt2/lib/auto/RT
+@dirrm rt2/lib/auto
+@dirrm rt2/lib/RT/Interface
+@dirrm rt2/lib/RT/Condition
+@dirrm rt2/lib/RT/Action
+@dirrm rt2/lib/RT
+@dirrm rt2/lib
+@dirrm rt2/etc
+@dirrm rt2/bin
+@dirrm rt2/WebRT/sessiondata
+@dirrm rt2/WebRT/html/User/CVS
+@dirrm rt2/WebRT/html/User
+@dirrm rt2/WebRT/html/Ticket/Elements/CVS
+@dirrm rt2/WebRT/html/Ticket/Elements
+@dirrm rt2/WebRT/html/Ticket/CVS
+@dirrm rt2/WebRT/html/Ticket/Attachment/CVS
+@dirrm rt2/WebRT/html/Ticket/Attachment
+@dirrm rt2/WebRT/html/Ticket
+@dirrm rt2/WebRT/html/SelfService/Elements/CVS
+@dirrm rt2/WebRT/html/SelfService/Elements
+@dirrm rt2/WebRT/html/SelfService/CVS
+@dirrm rt2/WebRT/html/SelfService/Attachment/CVS
+@dirrm rt2/WebRT/html/SelfService/Attachment
+@dirrm rt2/WebRT/html/SelfService
+@dirrm rt2/WebRT/html/Search/CVS
+@dirrm rt2/WebRT/html/Search
+@dirrm rt2/WebRT/html/NoAuth/images/CVS
+@dirrm rt2/WebRT/html/NoAuth/images
+@dirrm rt2/WebRT/html/NoAuth/CVS
+@dirrm rt2/WebRT/html/NoAuth
+@dirrm rt2/WebRT/html/Elements/CVS
+@dirrm rt2/WebRT/html/Elements
+@dirrm rt2/WebRT/html/CVS
+@dirrm rt2/WebRT/html/Admin/Users/CVS
+@dirrm rt2/WebRT/html/Admin/Users
+@dirrm rt2/WebRT/html/Admin/Queues/CVS
+@dirrm rt2/WebRT/html/Admin/Queues
+@dirrm rt2/WebRT/html/Admin/Keywords/CVS
+@dirrm rt2/WebRT/html/Admin/Keywords
+@dirrm rt2/WebRT/html/Admin/KeywordSelects/CVS
+@dirrm rt2/WebRT/html/Admin/KeywordSelects
+@dirrm rt2/WebRT/html/Admin/Groups/CVS
+@dirrm rt2/WebRT/html/Admin/Groups
+@dirrm rt2/WebRT/html/Admin/Global/CVS
+@dirrm rt2/WebRT/html/Admin/Global
+@dirrm rt2/WebRT/html/Admin/Elements/CVS
+@dirrm rt2/WebRT/html/Admin/Elements
+@dirrm rt2/WebRT/html/Admin/CVS
+@dirrm rt2/WebRT/html/Admin
+@dirrm rt2/WebRT/html
+@dirrm rt2/WebRT/data
+@dirrm rt2/WebRT
+@unexec rmdir %D/rt2 2>/dev/null || true
diff --git a/www/rt32/Makefile b/www/rt32/Makefile
new file mode 100644
index 000000000000..9057ebac07dd
--- /dev/null
+++ b/www/rt32/Makefile
@@ -0,0 +1,143 @@
+# New ports collection makefile for: RT2
+# Date created: 12 Auguest 2002
+# Whom: plasma
+#
+# $FreeBSD$
+#
+
+PORTNAME= rt2
+PORTVERSION= 2.0.14
+CATEGORIES= www
+MASTER_SITES= http://www.fsck.com/pub/rt/release/
+WRKSRC= ${WRKDIR}/rt-2-0-14
+DISTFILES= rt.tar.gz
+
+MAINTAINER= plasmaball@pchome.com.tw
+
+BUILD_DEPENDS= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl \
+ ${SITE_PERL}/${PERL_ARCH}/Apache/Cookie.pm:${PORTSDIR}/www/p5-libapreq \
+ ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \
+ ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+ ${SITE_PERL}/DBIx/DataSource.pm:${PORTSDIR}/databases/p5-DBIx-DataSource \
+ ${SITE_PERL}/DBIx/SearchBuilder.pm:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
+ ${SITE_PERL}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw \
+ ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
+ ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \
+ ${SITE_PERL}/Apache/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \
+ ${SITE_PERL}/Log/Dispatch.pm:${PORTSDIR}/devel/p5-Log-Dispatch \
+ ${SITE_PERL}/MIME/Entity.pm:${PORTSDIR}/mail/p5-MIME-Tools \
+ ${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM \
+ ${SITE_PERL}/Mail/Mailer.pm:${PORTSDIR}/mail/p5-Mail-Tools \
+ ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \
+ ${SITE_PERL}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
+ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
+ ${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template \
+ ${SITE_PERL}/Text/Wrapper.pm:${PORTSDIR}/textproc/p5-Text-Wrapper \
+ ${SITE_PERL}/Tie/IxHash.pm:${PORTSDIR}/devel/p5-Tie-IxHash
+
+DB_TYPE?= mysql
+
+.if ${DB_TYPE} == "Pg"
+BUILD_DEPENDS+= ${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql7
+.else
+DB_TYPE= mysql
+BUILD_DEPENDS+= ${LOCALBASE}/bin/safe_mysqld:${PORTSDIR}/databases/mysql323-server
+.endif
+
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+USE_REINPLACE= yes
+USE_PERL5= yes
+
+RT_PATH?= ${PREFIX}/rt2
+DB_DBA_PASSWORDD?=
+DB_HOST?= localhost
+DB_RT_PASS= rt_pass
+
+MAN3= RT::Links.3 \
+ RT::Watchers.3 \
+ RT::Group.3 \
+ RT::Keyword.3 \
+ RT::Record.3 \
+ RT::ScripConditions.3 \
+ RT::Action::Generic.3 \
+ RT::Transaction.3 \
+ RT::Interface::Email.3 \
+ RT::Link.3 \
+ RT.3 \
+ RT::Watcher.3 \
+ RT::ObjectKeywords.3 \
+ RT::EasySearch.3 \
+ RT::ScripActions.3 \
+ RT::Scrip.3 \
+ RT::GroupMembers.3 \
+ RT::Action::SendPasswordEmail.3 \
+ RT::Transactions.3 \
+ RT::Scrips.3 \
+ RT::Action::SendEmail.3 \
+ RT::User.3 \
+ RT::ScripCondition.3 \
+ RT::Users.3 \
+ RT::Ticket.3 \
+ RT::ACE.3 \
+ RT::Queue.3 \
+ RT::Interface::CLI.3 \
+ RT::Tickets.3 \
+ RT::GroupMember.3 \
+ RT::Template.3 \
+ RT::Templates.3 \
+ RT::Queues.3 \
+ RT::Date.3 \
+ RT::CurrentUser.3 \
+ RT::ScripAction.3 \
+ RT::Keywords.3 \
+ RT::ObjectKeyword.3 \
+ RT::Attachment.3 \
+ RT::Groups.3 \
+ RT::KeywordSelect.3 \
+ RT::Condition::Generic.3 \
+ RT::Handle.3 \
+ RT::ACL.3 \
+ RT::Attachments.3
+
+pre-fetch:
+ @${ECHO} ""
+ @${ECHO} "You may use the following build options:"
+ @${ECHO} ""
+ @${ECHO} " DB_DBA_PASSWORD=password Your password of MySQL root ();"
+ @${ECHO} " DB_HOST=hostname Where MySQL resident (localhost);"
+ @${ECHO} " DB_RT_PASS=password Your password of MySQL RT user (rt_pass);"
+ @${ECHO} " DB_TYPE=type Pg for postgresql, mysql for MySQL (mysql);"
+ @${ECHO} " INSTALL_NEW Install a fresh port, otherwise just upgrade;"
+ @${ECHO} ""
+ @${ECHO} "IMPORTANT!!! If you want to install a fresh new port, define INSTALL_NEW to do so, otherwise this port just do a upgrade."
+ @${ECHO} ""
+
+do-build:
+.for _NAME in RT_PATH DB_DBA_PASSWORD DB_HOST DB_RT_PASS DB_TYPE
+ @${REINPLACE_CMD} "s!%%${_NAME}%%!${${_NAME}}!g" ${WRKSRC}/Makefile
+.endfor
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile testdeps
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile fixdeps
+
+do-install:
+ @${MKDIR} /var/log/rt2
+.if defined(INSTALL_NEW)
+ -@cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile dropdb
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile install
+.else
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile upgrade
+.endif
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/rt2/README
+ @${CHOWN} -R www /var/log/rt2
+
+post-install:
+ @${SED} s!%%PREFIX%%!${PREFIX}!g ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/rt32/distinfo b/www/rt32/distinfo
new file mode 100644
index 000000000000..ecea48df28ce
--- /dev/null
+++ b/www/rt32/distinfo
@@ -0,0 +1 @@
+MD5 (rt.tar.gz) = 59179c054c0e05336f9b92fe3b031270
diff --git a/www/rt32/files/patch-Makefile b/www/rt32/files/patch-Makefile
new file mode 100644
index 000000000000..95f90e9782c6
--- /dev/null
+++ b/www/rt32/files/patch-Makefile
@@ -0,0 +1,138 @@
+--- Makefile Sat Jul 20 10:42:39 2002
++++ Makefile Thu Aug 15 22:17:55 2002
+@@ -2,7 +2,7 @@
+ # RT is Copyright 1996-2002 Jesse Vincent <jesse@bestpractical.com>
+ # It is distributed under the terms of the GNU General Public License, version 2
+
+-PERL = /usr/bin/perl
++PERL = /usr/local/bin/perl
+
+ RT_VERSION_MAJOR = 2
+ RT_VERSION_MINOR = 0
+@@ -15,7 +15,7 @@
+ BRANCH = HEAD
+
+ # This is the group that all of the installed files will be chgrp'ed to.
+-RTGROUP = rt
++RTGROUP = www
+
+
+ # User which should own rt binaries.
+@@ -40,7 +40,7 @@
+ # RT_PATH is the name of the directory you want make to install RT in
+ # RT must be installed in its own directory (don't set this to /usr/local)
+
+-RT_PATH = /opt/rt2
++RT_PATH = %%RT_PATH%%
+
+ # The rest of these paths are all configurable, but you probably don't want to
+ # put them elsewhere
+@@ -49,7 +49,7 @@
+ RT_ETC_PATH = $(RT_PATH)/etc
+ RT_CONFIG_PATH = $(RT_ETC_PATH)
+ RT_BIN_PATH = $(RT_PATH)/bin
+-RT_MAN_PATH = $(RT_PATH)/man
++RT_MAN_PATH = /usr/local/man
+ MASON_HTML_PATH = $(RT_PATH)/WebRT/html
+
+
+@@ -63,7 +63,7 @@
+ MASON_DATA_PATH = $(RT_PATH)/WebRT/data
+ MASON_SESSION_PATH = $(RT_PATH)/WebRT/sessiondata
+
+-RT_LOG_PATH = /tmp
++RT_LOG_PATH = /var/log/rt2
+
+ # RT_READABLE_DIR_MODE is the mode of directories that are generally meant
+ # to be accessable
+@@ -101,13 +101,13 @@
+ # "Pg" is known to work
+ # "Oracle" is in the early stages of working.
+
+-DB_TYPE = mysql
++DB_TYPE = %%DB_TYPE%%
+
+ # DB_HOME is where the Database's commandline tools live. $DB_HOME/bin
+ # should contain the binaries themselves, e.g. if "which mysql" gives
+ # "/usr/local/mysql/bin/mysql", $DB_HOME should be "/usr/local/mysql"
+
+-DB_HOME = /usr
++DB_HOME = /usr/local
+
+ # Set DBA to the name of a unix account with the proper permissions and
+ # environment to run your commandline SQL tools
+@@ -121,14 +121,14 @@
+ # For oracle, you want 'system'
+
+ DB_DBA = root
+-DB_DBA_PASSWORD =
+-
++DB_DBA_PASSWORD = %%DB_DBA_PASSWORD%%
++
+ #
+ # Set this to the Fully Qualified Domain Name of your database server.
+ # If the database is local, rather than on a remote host, using "localhost"
+ # will greatly enhance performance.
+
+-DB_HOST = localhost
++DB_HOST = %%DB_HOST%%
+
+ # If you're not running your database server on its default port,
+ # specifiy the port the database server is running on below.
+@@ -144,7 +144,7 @@
+ # to grant those database rights by hand.
+ #
+
+-DB_RT_HOST = localhost
++DB_RT_HOST = %%DB_HOST%%
+
+ # set this to the name you want to give to the RT database in
+ # your database server. For Oracle, this should be the name of your sid
+@@ -158,7 +158,7 @@
+ # Set this to the password used by the rt database user
+ # *** Change This Before Installation***
+
+-DB_RT_PASS = rt_pass
++DB_RT_PASS = %%DB_RT_PASS%%
+
+ # }}}
+
+@@ -168,7 +168,7 @@
+ # objectcode
+
+ WEB_USER = www
+-WEB_GROUP = rt
++WEB_GROUP = www
+
+ # }}}
+
+@@ -311,7 +311,7 @@
+
+
+ genschema:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' generate
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' generate
+
+
+ initialize.Pg: createdb initdb.dba acls
+@@ -333,16 +333,16 @@
+
+
+ dropdb:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' drop
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' drop
+
+
+ createdb:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' create
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' create
+ initdb.dba:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' insert
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' insert
+
+ initdb.rtuser:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_RT_USER)' '$(DB_DATABASE)' insert
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_RT_USER)' '$(DB_DATABASE)' '$(DB_RT_PASS)' insert
+
+
+
diff --git a/www/rt32/files/patch-bin-initacls.mysql b/www/rt32/files/patch-bin-initacls.mysql
new file mode 100644
index 000000000000..42837f974cb5
--- /dev/null
+++ b/www/rt32/files/patch-bin-initacls.mysql
@@ -0,0 +1,12 @@
+--- bin/initacls.mysql Wed Nov 7 07:04:00 2001
++++ bin/initacls.mysql Thu Aug 15 18:01:14 2002
+@@ -14,7 +14,7 @@
+ export PATH
+
+ echo "Enter the mysql administrator's database password to create a new user for RT"
+-$BINDIR/mysql --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} -p${DBAPASSWD} mysql < $DATABASEACLS
++$BINDIR/mysql --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} --password=${DBAPASSWD} mysql < $DATABASEACLS
+
+ echo "Enter the mysql administrator's database password to nondestructively reload the database"
+-$BINDIR/mysqladmin --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} -p${DBAPASSWD} reload
++$BINDIR/mysqladmin --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} --password=${DBAPASSWD} reload
diff --git a/www/rt32/files/patch-tools-initdb b/www/rt32/files/patch-tools-initdb
new file mode 100644
index 000000000000..1ee6462ed640
--- /dev/null
+++ b/www/rt32/files/patch-tools-initdb
@@ -0,0 +1,29 @@
+--- tools/initdb Wed Nov 7 07:06:06 2001
++++ tools/initdb Thu Aug 15 17:17:19 2002
+@@ -17,7 +17,7 @@
+ $SCHEMA_DIR ="etc";
+ $SCHEMA_FILE = "$SCHEMA_DIR/schema.pm"; #hmm
+
+-($DB_TYPE, $DB_HOME, $DB_HOST, $DB_PORT, $DB_DBA, $DB_DATABASE, $ACTION) = @ARGV;
++($DB_TYPE, $DB_HOME, $DB_HOST, $DB_PORT, $DB_DBA, $DB_DATABASE, $DB_DBA_PASSWORD, $ACTION) = @ARGV;
+
+
+ if ($DEBUG) {
+@@ -71,6 +71,8 @@
+ # {{{ sub prompt_for_dba_password
+
+ sub prompt_for_dba_password {
++ return if defined $DB_DBA_PASSWORD;
++
+ print "Enter the $DB_TYPE password for $DB_DBA: ";
+
+ system "stty -echo";
+@@ -107,7 +109,7 @@
+ If you have an existing RT 2.x installation, this will destroy all your data.
+ i
+ END
+- exit unless _yesno();
++ # exit unless _yesno();
+
+ }
+
diff --git a/www/rt32/files/patch-tools-testdeps b/www/rt32/files/patch-tools-testdeps
new file mode 100644
index 000000000000..b4e392a23cec
--- /dev/null
+++ b/www/rt32/files/patch-tools-testdeps
@@ -0,0 +1,15 @@
+--- tools/testdeps Thu Feb 28 14:38:10 2002
++++ tools/testdeps Thu Aug 15 16:43:45 2002
+@@ -107,7 +107,11 @@
+ $module = "DBD::mysql::Install" if ($module =~ /DBD::mysql/);
+
+ print "Installing with CPAN...";
+- CPAN::install($module);
++ require CPAN::FirstTime; # shut up configuration
++ no strict 'refs';
++ local $^W;
++ *{'ExtUtils::MakeMaker::prompt'} = sub ($;$) { '' };
++ CPAN::force('install', $module);
+ }
+ print "\n";
+ exit(1) if ($mode =~ /-q/);
diff --git a/www/rt32/pkg-comment b/www/rt32/pkg-comment
new file mode 100644
index 000000000000..2f709c8b1eee
--- /dev/null
+++ b/www/rt32/pkg-comment
@@ -0,0 +1 @@
+RT is an industrial-grade ticketing system written in Perl
diff --git a/www/rt32/pkg-descr b/www/rt32/pkg-descr
new file mode 100644
index 000000000000..743d89a4bec0
--- /dev/null
+++ b/www/rt32/pkg-descr
@@ -0,0 +1,7 @@
+RT is an industrial-grade ticketing system. It lets a group of people
+intelligently and efficiently manage requests submitted by a community
+of users. RT is used by systems administrators, customer support
+staffs, NOCs, developers and even marketing departments at over a
+thousand sites around the world.
+
+WWW: http://www.bestpractical.com/rt/
diff --git a/www/rt32/pkg-message b/www/rt32/pkg-message
new file mode 100644
index 000000000000..77db2d1bce37
--- /dev/null
+++ b/www/rt32/pkg-message
@@ -0,0 +1,17 @@
+===============================================================
+
+To complete the installation of this port, you have to do the
+followings:
+
+1. Run %%PREFIX%%/rt2/etc/insertdata <last_version_of_rt> if you're
+ upgrading from an older version.
+2. Edit %%PREFIX%%/rt2/etc/config.pm
+3. Configure the email and web gateways. Please refer to 'SETTING UP
+ THE MAIL GATEWAY' in %%PREFIX%%/rt2/README
+4. Restart Apache.
+5. Do remember to *CHANGE* the root's password for the web interface.
+ The default is "password" (without the quotes.)
+6. Configure RT per the instructions at http://www.fsck.com/rtfm/.
+
+
+================================================================
diff --git a/www/rt32/pkg-plist b/www/rt32/pkg-plist
new file mode 100644
index 000000000000..2447c26c7025
--- /dev/null
+++ b/www/rt32/pkg-plist
@@ -0,0 +1,365 @@
+rt2/bin/webmux.pl
+rt2/bin/rt-mailgate
+rt2/bin/rtadmin
+rt2/bin/rt
+rt2/bin/mason_handler.fcgi
+rt2/bin/mason_handler.scgi
+rt2/WebRT/html/Ticket/Attachment/CVS/Root
+rt2/WebRT/html/Ticket/Attachment/CVS/Repository
+rt2/WebRT/html/Ticket/Attachment/CVS/Entries
+rt2/WebRT/html/Ticket/Attachment/CVS/Tag
+rt2/WebRT/html/Ticket/Attachment/dhandler
+rt2/WebRT/html/Ticket/CVS/Root
+rt2/WebRT/html/Ticket/CVS/Repository
+rt2/WebRT/html/Ticket/CVS/Entries
+rt2/WebRT/html/Ticket/CVS/Tag
+rt2/WebRT/html/Ticket/Elements/CVS/Root
+rt2/WebRT/html/Ticket/Elements/CVS/Repository
+rt2/WebRT/html/Ticket/Elements/CVS/Entries
+rt2/WebRT/html/Ticket/Elements/CVS/Tag
+rt2/WebRT/html/Ticket/Elements/AddWatchers
+rt2/WebRT/html/Ticket/Elements/EditBasics
+rt2/WebRT/html/Ticket/Elements/EditDates
+rt2/WebRT/html/Ticket/Elements/EditKeywordSelects
+rt2/WebRT/html/Ticket/Elements/EditLinks
+rt2/WebRT/html/Ticket/Elements/EditPeople
+rt2/WebRT/html/Ticket/Elements/EditWatchers
+rt2/WebRT/html/Ticket/Elements/ShowBasics
+rt2/WebRT/html/Ticket/Elements/ShowDates
+rt2/WebRT/html/Ticket/Elements/ShowDependencies
+rt2/WebRT/html/Ticket/Elements/ShowHistory
+rt2/WebRT/html/Ticket/Elements/ShowKeywordSelects
+rt2/WebRT/html/Ticket/Elements/ShowLinks
+rt2/WebRT/html/Ticket/Elements/ShowMemberOf
+rt2/WebRT/html/Ticket/Elements/ShowMembers
+rt2/WebRT/html/Ticket/Elements/ShowPeople
+rt2/WebRT/html/Ticket/Elements/ShowReferences
+rt2/WebRT/html/Ticket/Elements/ShowRequestor
+rt2/WebRT/html/Ticket/Elements/ShowSummary
+rt2/WebRT/html/Ticket/Elements/ShowTransaction
+rt2/WebRT/html/Ticket/Elements/Tabs
+rt2/WebRT/html/Ticket/Elements/ToolBar
+rt2/WebRT/html/Ticket/Create.html
+rt2/WebRT/html/Ticket/Modify.html
+rt2/WebRT/html/Ticket/ModifyAll.html
+rt2/WebRT/html/Ticket/ModifyDates.html
+rt2/WebRT/html/Ticket/ModifyLinks.html
+rt2/WebRT/html/Ticket/ModifyPeople.html
+rt2/WebRT/html/Ticket/Update.html
+rt2/WebRT/html/Ticket/Display.html
+rt2/WebRT/html/Ticket/History.html
+rt2/WebRT/html/CVS/Root
+rt2/WebRT/html/CVS/Repository
+rt2/WebRT/html/CVS/Entries
+rt2/WebRT/html/CVS/Tag
+rt2/WebRT/html/User/CVS/Root
+rt2/WebRT/html/User/CVS/Repository
+rt2/WebRT/html/User/CVS/Entries
+rt2/WebRT/html/User/CVS/Tag
+rt2/WebRT/html/User/Prefs.html
+rt2/WebRT/html/Elements/CVS/Root
+rt2/WebRT/html/Elements/CVS/Repository
+rt2/WebRT/html/Elements/CVS/Entries
+rt2/WebRT/html/Elements/CVS/Tag
+rt2/WebRT/html/Elements/Checkbox
+rt2/WebRT/html/Elements/CreateTicket
+rt2/WebRT/html/Elements/CustomHomepageHeader
+rt2/WebRT/html/Elements/Error
+rt2/WebRT/html/Elements/Footer
+rt2/WebRT/html/Elements/GotoTicket
+rt2/WebRT/html/Elements/Header
+rt2/WebRT/html/Elements/ListActions
+rt2/WebRT/html/Elements/Login
+rt2/WebRT/html/Elements/MessageBox
+rt2/WebRT/html/Elements/MyRequests
+rt2/WebRT/html/Elements/MyTickets
+rt2/WebRT/html/Elements/Quicksearch
+rt2/WebRT/html/Elements/Refresh
+rt2/WebRT/html/Elements/Section
+rt2/WebRT/html/Elements/SelectBoolean
+rt2/WebRT/html/Elements/SelectDate
+rt2/WebRT/html/Elements/SelectDateRelation
+rt2/WebRT/html/Elements/SelectDateType
+rt2/WebRT/html/Elements/SelectEqualityOperator
+rt2/WebRT/html/Elements/SelectKeyword
+rt2/WebRT/html/Elements/SelectKeywordOptions
+rt2/WebRT/html/Elements/SelectLinkType
+rt2/WebRT/html/Elements/SelectMatch
+rt2/WebRT/html/Elements/SelectNewTicketQueue
+rt2/WebRT/html/Elements/SelectOwner
+rt2/WebRT/html/Elements/SelectQueue
+rt2/WebRT/html/Elements/SelectResultsPerPage
+rt2/WebRT/html/Elements/SelectSortOrder
+rt2/WebRT/html/Elements/SelectStatus
+rt2/WebRT/html/Elements/SelectTicketSortBy
+rt2/WebRT/html/Elements/SelectUsers
+rt2/WebRT/html/Elements/SelectWatcherType
+rt2/WebRT/html/Elements/ShadedBox
+rt2/WebRT/html/Elements/Submit
+rt2/WebRT/html/Elements/Tabs
+rt2/WebRT/html/Elements/TitleBoxEnd
+rt2/WebRT/html/Elements/TitleBoxStart
+rt2/WebRT/html/Elements/ViewUser
+rt2/WebRT/html/Elements/dayMenu
+rt2/WebRT/html/Elements/monthMenu
+rt2/WebRT/html/Elements/yearMenu
+rt2/WebRT/html/SelfService/Attachment/CVS/Root
+rt2/WebRT/html/SelfService/Attachment/CVS/Repository
+rt2/WebRT/html/SelfService/Attachment/CVS/Entries
+rt2/WebRT/html/SelfService/Attachment/CVS/Tag
+rt2/WebRT/html/SelfService/Attachment/dhandler
+rt2/WebRT/html/SelfService/CVS/Root
+rt2/WebRT/html/SelfService/CVS/Repository
+rt2/WebRT/html/SelfService/CVS/Entries
+rt2/WebRT/html/SelfService/CVS/Tag
+rt2/WebRT/html/SelfService/Elements/CVS/Root
+rt2/WebRT/html/SelfService/Elements/CVS/Repository
+rt2/WebRT/html/SelfService/Elements/CVS/Entries
+rt2/WebRT/html/SelfService/Elements/CVS/Tag
+rt2/WebRT/html/SelfService/Elements/GotoTicket
+rt2/WebRT/html/SelfService/Elements/Header
+rt2/WebRT/html/SelfService/Elements/MyRequests
+rt2/WebRT/html/SelfService/Elements/Tabs
+rt2/WebRT/html/SelfService/Update.html
+rt2/WebRT/html/SelfService/Error.html
+rt2/WebRT/html/SelfService/Prefs.html
+rt2/WebRT/html/SelfService/Display.html
+rt2/WebRT/html/SelfService/index.html
+rt2/WebRT/html/SelfService/Create.html
+rt2/WebRT/html/SelfService/Closed.html
+rt2/WebRT/html/Search/CVS/Root
+rt2/WebRT/html/Search/CVS/Repository
+rt2/WebRT/html/Search/CVS/Entries
+rt2/WebRT/html/Search/CVS/Tag
+rt2/WebRT/html/Search/Bulk.html
+rt2/WebRT/html/Search/Listing.html
+rt2/WebRT/html/Search/PickRestriction
+rt2/WebRT/html/Search/RestrictSearch.html
+rt2/WebRT/html/Search/TicketCell
+rt2/WebRT/html/NoAuth/CVS/Root
+rt2/WebRT/html/NoAuth/CVS/Repository
+rt2/WebRT/html/NoAuth/CVS/Entries
+rt2/WebRT/html/NoAuth/CVS/Tag
+rt2/WebRT/html/NoAuth/images/CVS/Root
+rt2/WebRT/html/NoAuth/images/CVS/Repository
+rt2/WebRT/html/NoAuth/images/CVS/Entries
+rt2/WebRT/html/NoAuth/images/CVS/Tag
+rt2/WebRT/html/NoAuth/images/rt.jpg
+rt2/WebRT/html/NoAuth/images/spacer.gif
+rt2/WebRT/html/NoAuth/Logout.html
+rt2/WebRT/html/NoAuth/Reminder.html
+rt2/WebRT/html/NoAuth/webrt.css
+rt2/WebRT/html/Admin/Global/CVS/Root
+rt2/WebRT/html/Admin/Global/CVS/Repository
+rt2/WebRT/html/Admin/Global/CVS/Entries
+rt2/WebRT/html/Admin/Global/CVS/Tag
+rt2/WebRT/html/Admin/Global/GroupRights.html
+rt2/WebRT/html/Admin/Global/Keywords.html
+rt2/WebRT/html/Admin/Global/Scrips.html
+rt2/WebRT/html/Admin/Global/Template.html
+rt2/WebRT/html/Admin/Global/Templates.html
+rt2/WebRT/html/Admin/Global/UserRights.html
+rt2/WebRT/html/Admin/Global/index.html
+rt2/WebRT/html/Admin/Users/CVS/Root
+rt2/WebRT/html/Admin/Users/CVS/Repository
+rt2/WebRT/html/Admin/Users/CVS/Entries
+rt2/WebRT/html/Admin/Users/CVS/Tag
+rt2/WebRT/html/Admin/Users/Modify.html
+rt2/WebRT/html/Admin/Users/Prefs.html
+rt2/WebRT/html/Admin/Users/Rights.html
+rt2/WebRT/html/Admin/Users/index.html
+rt2/WebRT/html/Admin/Elements/CVS/Root
+rt2/WebRT/html/Admin/Elements/CVS/Repository
+rt2/WebRT/html/Admin/Elements/CVS/Entries
+rt2/WebRT/html/Admin/Elements/CVS/Tag
+rt2/WebRT/html/Admin/Elements/CreateQueueCalled
+rt2/WebRT/html/Admin/Elements/CreateUserCalled
+rt2/WebRT/html/Admin/Elements/EditUserComments
+rt2/WebRT/html/Admin/Elements/GrantQueueRightsTo
+rt2/WebRT/html/Admin/Elements/GroupTabs
+rt2/WebRT/html/Admin/Elements/Header
+rt2/WebRT/html/Admin/Elements/ListGlobalKeywordSelects
+rt2/WebRT/html/Admin/Elements/ListGlobalScrips
+rt2/WebRT/html/Admin/Elements/ModifyKeyword
+rt2/WebRT/html/Admin/Elements/ModifyKeywordSelect
+rt2/WebRT/html/Admin/Elements/ModifyQueue
+rt2/WebRT/html/Admin/Elements/ModifyTemplate
+rt2/WebRT/html/Admin/Elements/ModifyUser
+rt2/WebRT/html/Admin/Elements/QueueRightsForUser
+rt2/WebRT/html/Admin/Elements/QueueTabs
+rt2/WebRT/html/Admin/Elements/SelectKeywordSelect
+rt2/WebRT/html/Admin/Elements/SelectModifyGroup
+rt2/WebRT/html/Admin/Elements/SelectModifyKeyword
+rt2/WebRT/html/Admin/Elements/Tabs
+rt2/WebRT/html/Admin/Elements/SelectModifyKeywordSelect
+rt2/WebRT/html/Admin/Elements/SelectModifyQueue
+rt2/WebRT/html/Admin/Elements/SelectModifyUser
+rt2/WebRT/html/Admin/Elements/SelectQueueRights
+rt2/WebRT/html/Admin/Elements/SelectRights
+rt2/WebRT/html/Admin/Elements/SelectScrip
+rt2/WebRT/html/Admin/Elements/SelectScripAction
+rt2/WebRT/html/Admin/Elements/SelectScripCondition
+rt2/WebRT/html/Admin/Elements/SelectSingleOrMultiple
+rt2/WebRT/html/Admin/Elements/SelectTemplate
+rt2/WebRT/html/Admin/Elements/SelectUsers
+rt2/WebRT/html/Admin/Elements/SystemTabs
+rt2/WebRT/html/Admin/Elements/UserTabs
+rt2/WebRT/html/Admin/Queues/CVS/Root
+rt2/WebRT/html/Admin/Queues/CVS/Repository
+rt2/WebRT/html/Admin/Queues/CVS/Entries
+rt2/WebRT/html/Admin/Queues/CVS/Tag
+rt2/WebRT/html/Admin/Queues/Create.html
+rt2/WebRT/html/Admin/Queues/GroupRights.html
+rt2/WebRT/html/Admin/Queues/Keywords.html
+rt2/WebRT/html/Admin/Queues/Modify.html
+rt2/WebRT/html/Admin/Queues/People.html
+rt2/WebRT/html/Admin/Queues/Scrips.html
+rt2/WebRT/html/Admin/Queues/Template.html
+rt2/WebRT/html/Admin/Queues/Templates.html
+rt2/WebRT/html/Admin/Queues/UserRights.html
+rt2/WebRT/html/Admin/Queues/index.html
+rt2/WebRT/html/Admin/CVS/Root
+rt2/WebRT/html/Admin/CVS/Repository
+rt2/WebRT/html/Admin/CVS/Entries
+rt2/WebRT/html/Admin/CVS/Tag
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Root
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Repository
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Entries
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Tag
+rt2/WebRT/html/Admin/KeywordSelects/Modify.html
+rt2/WebRT/html/Admin/KeywordSelects/index.html
+rt2/WebRT/html/Admin/Keywords/CVS/Root
+rt2/WebRT/html/Admin/Keywords/CVS/Repository
+rt2/WebRT/html/Admin/Keywords/CVS/Entries
+rt2/WebRT/html/Admin/Keywords/CVS/Tag
+rt2/WebRT/html/Admin/Keywords/Modify.html
+rt2/WebRT/html/Admin/Keywords/index.html
+rt2/WebRT/html/Admin/Groups/CVS/Root
+rt2/WebRT/html/Admin/Groups/CVS/Repository
+rt2/WebRT/html/Admin/Groups/CVS/Entries
+rt2/WebRT/html/Admin/Groups/CVS/Tag
+rt2/WebRT/html/Admin/Groups/Members.html
+rt2/WebRT/html/Admin/Groups/Modify.html
+rt2/WebRT/html/Admin/Groups/Rights.html
+rt2/WebRT/html/Admin/Groups/index.html
+rt2/WebRT/html/Admin/index.html
+rt2/WebRT/html/autohandler
+rt2/WebRT/html/index.html
+rt2/etc/config.pm
+rt2/etc/insertdata
+rt2/lib/RT.pm
+rt2/lib/RT/KeywordSelects.pm
+rt2/lib/RT/Links.pm
+rt2/lib/RT/Watchers.pm
+rt2/lib/RT/Group.pm
+rt2/lib/RT/Keyword.pm
+rt2/lib/RT/Record.pm
+rt2/lib/RT/ScripConditions.pm
+rt2/lib/RT/Transaction.pm
+rt2/lib/RT/TestHarness.pm
+rt2/lib/RT/Link.pm
+rt2/lib/RT/Watcher.pm
+rt2/lib/RT/ObjectKeywords.pm
+rt2/lib/RT/EasySearch.pm
+rt2/lib/RT/ScripActions.pm
+rt2/lib/RT/Scrip.pm
+rt2/lib/RT/GroupMembers.pm
+rt2/lib/RT/Transactions.pm
+rt2/lib/RT/Scrips.pm
+rt2/lib/RT/User.pm
+rt2/lib/RT/ScripCondition.pm
+rt2/lib/RT/Users.pm
+rt2/lib/RT/Ticket.pm
+rt2/lib/RT/ACE.pm
+rt2/lib/RT/Queue.pm
+rt2/lib/RT/Tickets.pm
+rt2/lib/RT/Template.pm
+rt2/lib/RT/GroupMember.pm
+rt2/lib/RT/Templates.pm
+rt2/lib/RT/Queues.pm
+rt2/lib/RT/Date.pm
+rt2/lib/RT/CurrentUser.pm
+rt2/lib/RT/ScripAction.pm
+rt2/lib/RT/Keywords.pm
+rt2/lib/RT/ObjectKeyword.pm
+rt2/lib/RT/Attachment.pm
+rt2/lib/RT/Groups.pm
+rt2/lib/RT/KeywordSelect.pm
+rt2/lib/RT/Handle.pm
+rt2/lib/RT/ACL.pm
+rt2/lib/RT/Attachments.pm
+rt2/lib/RT/Interface/Email.pm
+rt2/lib/RT/Interface/CLI.pm
+rt2/lib/RT/Interface/Web.pm
+rt2/lib/RT/Condition/NewDependency.pm
+rt2/lib/RT/Condition/StatusChange.pm
+rt2/lib/RT/Condition/AnyTransaction.pm
+rt2/lib/RT/Condition/Generic.pm
+rt2/lib/RT/Action/Generic.pm
+rt2/lib/RT/Action/OpenDependent.pm
+rt2/lib/RT/Action/StallDependent.pm
+rt2/lib/RT/Action/SendPasswordEmail.pm
+rt2/lib/RT/Action/Notify.pm
+rt2/lib/RT/Action/SendEmail.pm
+rt2/lib/RT/Action/README.hackers
+rt2/lib/RT/Action/ResolveMembers.pm
+rt2/lib/RT/Action/NotifyAsComment.pm
+rt2/lib/RT/Action/Autoreply.pm
+rt2/lib/auto/RT/.packlist
+rt2/README
+@dirrm rt2/local/WebRT/html
+@dirrm rt2/local/WebRT
+@dirrm rt2/local
+@dirrm rt2/lib/auto/RT
+@dirrm rt2/lib/auto
+@dirrm rt2/lib/RT/Interface
+@dirrm rt2/lib/RT/Condition
+@dirrm rt2/lib/RT/Action
+@dirrm rt2/lib/RT
+@dirrm rt2/lib
+@dirrm rt2/etc
+@dirrm rt2/bin
+@dirrm rt2/WebRT/sessiondata
+@dirrm rt2/WebRT/html/User/CVS
+@dirrm rt2/WebRT/html/User
+@dirrm rt2/WebRT/html/Ticket/Elements/CVS
+@dirrm rt2/WebRT/html/Ticket/Elements
+@dirrm rt2/WebRT/html/Ticket/CVS
+@dirrm rt2/WebRT/html/Ticket/Attachment/CVS
+@dirrm rt2/WebRT/html/Ticket/Attachment
+@dirrm rt2/WebRT/html/Ticket
+@dirrm rt2/WebRT/html/SelfService/Elements/CVS
+@dirrm rt2/WebRT/html/SelfService/Elements
+@dirrm rt2/WebRT/html/SelfService/CVS
+@dirrm rt2/WebRT/html/SelfService/Attachment/CVS
+@dirrm rt2/WebRT/html/SelfService/Attachment
+@dirrm rt2/WebRT/html/SelfService
+@dirrm rt2/WebRT/html/Search/CVS
+@dirrm rt2/WebRT/html/Search
+@dirrm rt2/WebRT/html/NoAuth/images/CVS
+@dirrm rt2/WebRT/html/NoAuth/images
+@dirrm rt2/WebRT/html/NoAuth/CVS
+@dirrm rt2/WebRT/html/NoAuth
+@dirrm rt2/WebRT/html/Elements/CVS
+@dirrm rt2/WebRT/html/Elements
+@dirrm rt2/WebRT/html/CVS
+@dirrm rt2/WebRT/html/Admin/Users/CVS
+@dirrm rt2/WebRT/html/Admin/Users
+@dirrm rt2/WebRT/html/Admin/Queues/CVS
+@dirrm rt2/WebRT/html/Admin/Queues
+@dirrm rt2/WebRT/html/Admin/Keywords/CVS
+@dirrm rt2/WebRT/html/Admin/Keywords
+@dirrm rt2/WebRT/html/Admin/KeywordSelects/CVS
+@dirrm rt2/WebRT/html/Admin/KeywordSelects
+@dirrm rt2/WebRT/html/Admin/Groups/CVS
+@dirrm rt2/WebRT/html/Admin/Groups
+@dirrm rt2/WebRT/html/Admin/Global/CVS
+@dirrm rt2/WebRT/html/Admin/Global
+@dirrm rt2/WebRT/html/Admin/Elements/CVS
+@dirrm rt2/WebRT/html/Admin/Elements
+@dirrm rt2/WebRT/html/Admin/CVS
+@dirrm rt2/WebRT/html/Admin
+@dirrm rt2/WebRT/html
+@dirrm rt2/WebRT/data
+@dirrm rt2/WebRT
+@unexec rmdir %D/rt2 2>/dev/null || true
diff --git a/www/rt34/Makefile b/www/rt34/Makefile
new file mode 100644
index 000000000000..9057ebac07dd
--- /dev/null
+++ b/www/rt34/Makefile
@@ -0,0 +1,143 @@
+# New ports collection makefile for: RT2
+# Date created: 12 Auguest 2002
+# Whom: plasma
+#
+# $FreeBSD$
+#
+
+PORTNAME= rt2
+PORTVERSION= 2.0.14
+CATEGORIES= www
+MASTER_SITES= http://www.fsck.com/pub/rt/release/
+WRKSRC= ${WRKDIR}/rt-2-0-14
+DISTFILES= rt.tar.gz
+
+MAINTAINER= plasmaball@pchome.com.tw
+
+BUILD_DEPENDS= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl \
+ ${SITE_PERL}/${PERL_ARCH}/Apache/Cookie.pm:${PORTSDIR}/www/p5-libapreq \
+ ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \
+ ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+ ${SITE_PERL}/DBIx/DataSource.pm:${PORTSDIR}/databases/p5-DBIx-DataSource \
+ ${SITE_PERL}/DBIx/SearchBuilder.pm:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
+ ${SITE_PERL}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw \
+ ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
+ ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \
+ ${SITE_PERL}/Apache/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \
+ ${SITE_PERL}/Log/Dispatch.pm:${PORTSDIR}/devel/p5-Log-Dispatch \
+ ${SITE_PERL}/MIME/Entity.pm:${PORTSDIR}/mail/p5-MIME-Tools \
+ ${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM \
+ ${SITE_PERL}/Mail/Mailer.pm:${PORTSDIR}/mail/p5-Mail-Tools \
+ ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \
+ ${SITE_PERL}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
+ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
+ ${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template \
+ ${SITE_PERL}/Text/Wrapper.pm:${PORTSDIR}/textproc/p5-Text-Wrapper \
+ ${SITE_PERL}/Tie/IxHash.pm:${PORTSDIR}/devel/p5-Tie-IxHash
+
+DB_TYPE?= mysql
+
+.if ${DB_TYPE} == "Pg"
+BUILD_DEPENDS+= ${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql7
+.else
+DB_TYPE= mysql
+BUILD_DEPENDS+= ${LOCALBASE}/bin/safe_mysqld:${PORTSDIR}/databases/mysql323-server
+.endif
+
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+USE_REINPLACE= yes
+USE_PERL5= yes
+
+RT_PATH?= ${PREFIX}/rt2
+DB_DBA_PASSWORDD?=
+DB_HOST?= localhost
+DB_RT_PASS= rt_pass
+
+MAN3= RT::Links.3 \
+ RT::Watchers.3 \
+ RT::Group.3 \
+ RT::Keyword.3 \
+ RT::Record.3 \
+ RT::ScripConditions.3 \
+ RT::Action::Generic.3 \
+ RT::Transaction.3 \
+ RT::Interface::Email.3 \
+ RT::Link.3 \
+ RT.3 \
+ RT::Watcher.3 \
+ RT::ObjectKeywords.3 \
+ RT::EasySearch.3 \
+ RT::ScripActions.3 \
+ RT::Scrip.3 \
+ RT::GroupMembers.3 \
+ RT::Action::SendPasswordEmail.3 \
+ RT::Transactions.3 \
+ RT::Scrips.3 \
+ RT::Action::SendEmail.3 \
+ RT::User.3 \
+ RT::ScripCondition.3 \
+ RT::Users.3 \
+ RT::Ticket.3 \
+ RT::ACE.3 \
+ RT::Queue.3 \
+ RT::Interface::CLI.3 \
+ RT::Tickets.3 \
+ RT::GroupMember.3 \
+ RT::Template.3 \
+ RT::Templates.3 \
+ RT::Queues.3 \
+ RT::Date.3 \
+ RT::CurrentUser.3 \
+ RT::ScripAction.3 \
+ RT::Keywords.3 \
+ RT::ObjectKeyword.3 \
+ RT::Attachment.3 \
+ RT::Groups.3 \
+ RT::KeywordSelect.3 \
+ RT::Condition::Generic.3 \
+ RT::Handle.3 \
+ RT::ACL.3 \
+ RT::Attachments.3
+
+pre-fetch:
+ @${ECHO} ""
+ @${ECHO} "You may use the following build options:"
+ @${ECHO} ""
+ @${ECHO} " DB_DBA_PASSWORD=password Your password of MySQL root ();"
+ @${ECHO} " DB_HOST=hostname Where MySQL resident (localhost);"
+ @${ECHO} " DB_RT_PASS=password Your password of MySQL RT user (rt_pass);"
+ @${ECHO} " DB_TYPE=type Pg for postgresql, mysql for MySQL (mysql);"
+ @${ECHO} " INSTALL_NEW Install a fresh port, otherwise just upgrade;"
+ @${ECHO} ""
+ @${ECHO} "IMPORTANT!!! If you want to install a fresh new port, define INSTALL_NEW to do so, otherwise this port just do a upgrade."
+ @${ECHO} ""
+
+do-build:
+.for _NAME in RT_PATH DB_DBA_PASSWORD DB_HOST DB_RT_PASS DB_TYPE
+ @${REINPLACE_CMD} "s!%%${_NAME}%%!${${_NAME}}!g" ${WRKSRC}/Makefile
+.endfor
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile testdeps
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile fixdeps
+
+do-install:
+ @${MKDIR} /var/log/rt2
+.if defined(INSTALL_NEW)
+ -@cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile dropdb
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile install
+.else
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile upgrade
+.endif
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/rt2/README
+ @${CHOWN} -R www /var/log/rt2
+
+post-install:
+ @${SED} s!%%PREFIX%%!${PREFIX}!g ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/rt34/distinfo b/www/rt34/distinfo
new file mode 100644
index 000000000000..ecea48df28ce
--- /dev/null
+++ b/www/rt34/distinfo
@@ -0,0 +1 @@
+MD5 (rt.tar.gz) = 59179c054c0e05336f9b92fe3b031270
diff --git a/www/rt34/files/patch-Makefile b/www/rt34/files/patch-Makefile
new file mode 100644
index 000000000000..95f90e9782c6
--- /dev/null
+++ b/www/rt34/files/patch-Makefile
@@ -0,0 +1,138 @@
+--- Makefile Sat Jul 20 10:42:39 2002
++++ Makefile Thu Aug 15 22:17:55 2002
+@@ -2,7 +2,7 @@
+ # RT is Copyright 1996-2002 Jesse Vincent <jesse@bestpractical.com>
+ # It is distributed under the terms of the GNU General Public License, version 2
+
+-PERL = /usr/bin/perl
++PERL = /usr/local/bin/perl
+
+ RT_VERSION_MAJOR = 2
+ RT_VERSION_MINOR = 0
+@@ -15,7 +15,7 @@
+ BRANCH = HEAD
+
+ # This is the group that all of the installed files will be chgrp'ed to.
+-RTGROUP = rt
++RTGROUP = www
+
+
+ # User which should own rt binaries.
+@@ -40,7 +40,7 @@
+ # RT_PATH is the name of the directory you want make to install RT in
+ # RT must be installed in its own directory (don't set this to /usr/local)
+
+-RT_PATH = /opt/rt2
++RT_PATH = %%RT_PATH%%
+
+ # The rest of these paths are all configurable, but you probably don't want to
+ # put them elsewhere
+@@ -49,7 +49,7 @@
+ RT_ETC_PATH = $(RT_PATH)/etc
+ RT_CONFIG_PATH = $(RT_ETC_PATH)
+ RT_BIN_PATH = $(RT_PATH)/bin
+-RT_MAN_PATH = $(RT_PATH)/man
++RT_MAN_PATH = /usr/local/man
+ MASON_HTML_PATH = $(RT_PATH)/WebRT/html
+
+
+@@ -63,7 +63,7 @@
+ MASON_DATA_PATH = $(RT_PATH)/WebRT/data
+ MASON_SESSION_PATH = $(RT_PATH)/WebRT/sessiondata
+
+-RT_LOG_PATH = /tmp
++RT_LOG_PATH = /var/log/rt2
+
+ # RT_READABLE_DIR_MODE is the mode of directories that are generally meant
+ # to be accessable
+@@ -101,13 +101,13 @@
+ # "Pg" is known to work
+ # "Oracle" is in the early stages of working.
+
+-DB_TYPE = mysql
++DB_TYPE = %%DB_TYPE%%
+
+ # DB_HOME is where the Database's commandline tools live. $DB_HOME/bin
+ # should contain the binaries themselves, e.g. if "which mysql" gives
+ # "/usr/local/mysql/bin/mysql", $DB_HOME should be "/usr/local/mysql"
+
+-DB_HOME = /usr
++DB_HOME = /usr/local
+
+ # Set DBA to the name of a unix account with the proper permissions and
+ # environment to run your commandline SQL tools
+@@ -121,14 +121,14 @@
+ # For oracle, you want 'system'
+
+ DB_DBA = root
+-DB_DBA_PASSWORD =
+-
++DB_DBA_PASSWORD = %%DB_DBA_PASSWORD%%
++
+ #
+ # Set this to the Fully Qualified Domain Name of your database server.
+ # If the database is local, rather than on a remote host, using "localhost"
+ # will greatly enhance performance.
+
+-DB_HOST = localhost
++DB_HOST = %%DB_HOST%%
+
+ # If you're not running your database server on its default port,
+ # specifiy the port the database server is running on below.
+@@ -144,7 +144,7 @@
+ # to grant those database rights by hand.
+ #
+
+-DB_RT_HOST = localhost
++DB_RT_HOST = %%DB_HOST%%
+
+ # set this to the name you want to give to the RT database in
+ # your database server. For Oracle, this should be the name of your sid
+@@ -158,7 +158,7 @@
+ # Set this to the password used by the rt database user
+ # *** Change This Before Installation***
+
+-DB_RT_PASS = rt_pass
++DB_RT_PASS = %%DB_RT_PASS%%
+
+ # }}}
+
+@@ -168,7 +168,7 @@
+ # objectcode
+
+ WEB_USER = www
+-WEB_GROUP = rt
++WEB_GROUP = www
+
+ # }}}
+
+@@ -311,7 +311,7 @@
+
+
+ genschema:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' generate
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' generate
+
+
+ initialize.Pg: createdb initdb.dba acls
+@@ -333,16 +333,16 @@
+
+
+ dropdb:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' drop
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' drop
+
+
+ createdb:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' create
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' create
+ initdb.dba:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' insert
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' insert
+
+ initdb.rtuser:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_RT_USER)' '$(DB_DATABASE)' insert
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_RT_USER)' '$(DB_DATABASE)' '$(DB_RT_PASS)' insert
+
+
+
diff --git a/www/rt34/files/patch-bin-initacls.mysql b/www/rt34/files/patch-bin-initacls.mysql
new file mode 100644
index 000000000000..42837f974cb5
--- /dev/null
+++ b/www/rt34/files/patch-bin-initacls.mysql
@@ -0,0 +1,12 @@
+--- bin/initacls.mysql Wed Nov 7 07:04:00 2001
++++ bin/initacls.mysql Thu Aug 15 18:01:14 2002
+@@ -14,7 +14,7 @@
+ export PATH
+
+ echo "Enter the mysql administrator's database password to create a new user for RT"
+-$BINDIR/mysql --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} -p${DBAPASSWD} mysql < $DATABASEACLS
++$BINDIR/mysql --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} --password=${DBAPASSWD} mysql < $DATABASEACLS
+
+ echo "Enter the mysql administrator's database password to nondestructively reload the database"
+-$BINDIR/mysqladmin --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} -p${DBAPASSWD} reload
++$BINDIR/mysqladmin --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} --password=${DBAPASSWD} reload
diff --git a/www/rt34/files/patch-tools-initdb b/www/rt34/files/patch-tools-initdb
new file mode 100644
index 000000000000..1ee6462ed640
--- /dev/null
+++ b/www/rt34/files/patch-tools-initdb
@@ -0,0 +1,29 @@
+--- tools/initdb Wed Nov 7 07:06:06 2001
++++ tools/initdb Thu Aug 15 17:17:19 2002
+@@ -17,7 +17,7 @@
+ $SCHEMA_DIR ="etc";
+ $SCHEMA_FILE = "$SCHEMA_DIR/schema.pm"; #hmm
+
+-($DB_TYPE, $DB_HOME, $DB_HOST, $DB_PORT, $DB_DBA, $DB_DATABASE, $ACTION) = @ARGV;
++($DB_TYPE, $DB_HOME, $DB_HOST, $DB_PORT, $DB_DBA, $DB_DATABASE, $DB_DBA_PASSWORD, $ACTION) = @ARGV;
+
+
+ if ($DEBUG) {
+@@ -71,6 +71,8 @@
+ # {{{ sub prompt_for_dba_password
+
+ sub prompt_for_dba_password {
++ return if defined $DB_DBA_PASSWORD;
++
+ print "Enter the $DB_TYPE password for $DB_DBA: ";
+
+ system "stty -echo";
+@@ -107,7 +109,7 @@
+ If you have an existing RT 2.x installation, this will destroy all your data.
+ i
+ END
+- exit unless _yesno();
++ # exit unless _yesno();
+
+ }
+
diff --git a/www/rt34/files/patch-tools-testdeps b/www/rt34/files/patch-tools-testdeps
new file mode 100644
index 000000000000..b4e392a23cec
--- /dev/null
+++ b/www/rt34/files/patch-tools-testdeps
@@ -0,0 +1,15 @@
+--- tools/testdeps Thu Feb 28 14:38:10 2002
++++ tools/testdeps Thu Aug 15 16:43:45 2002
+@@ -107,7 +107,11 @@
+ $module = "DBD::mysql::Install" if ($module =~ /DBD::mysql/);
+
+ print "Installing with CPAN...";
+- CPAN::install($module);
++ require CPAN::FirstTime; # shut up configuration
++ no strict 'refs';
++ local $^W;
++ *{'ExtUtils::MakeMaker::prompt'} = sub ($;$) { '' };
++ CPAN::force('install', $module);
+ }
+ print "\n";
+ exit(1) if ($mode =~ /-q/);
diff --git a/www/rt34/pkg-comment b/www/rt34/pkg-comment
new file mode 100644
index 000000000000..2f709c8b1eee
--- /dev/null
+++ b/www/rt34/pkg-comment
@@ -0,0 +1 @@
+RT is an industrial-grade ticketing system written in Perl
diff --git a/www/rt34/pkg-descr b/www/rt34/pkg-descr
new file mode 100644
index 000000000000..743d89a4bec0
--- /dev/null
+++ b/www/rt34/pkg-descr
@@ -0,0 +1,7 @@
+RT is an industrial-grade ticketing system. It lets a group of people
+intelligently and efficiently manage requests submitted by a community
+of users. RT is used by systems administrators, customer support
+staffs, NOCs, developers and even marketing departments at over a
+thousand sites around the world.
+
+WWW: http://www.bestpractical.com/rt/
diff --git a/www/rt34/pkg-message b/www/rt34/pkg-message
new file mode 100644
index 000000000000..77db2d1bce37
--- /dev/null
+++ b/www/rt34/pkg-message
@@ -0,0 +1,17 @@
+===============================================================
+
+To complete the installation of this port, you have to do the
+followings:
+
+1. Run %%PREFIX%%/rt2/etc/insertdata <last_version_of_rt> if you're
+ upgrading from an older version.
+2. Edit %%PREFIX%%/rt2/etc/config.pm
+3. Configure the email and web gateways. Please refer to 'SETTING UP
+ THE MAIL GATEWAY' in %%PREFIX%%/rt2/README
+4. Restart Apache.
+5. Do remember to *CHANGE* the root's password for the web interface.
+ The default is "password" (without the quotes.)
+6. Configure RT per the instructions at http://www.fsck.com/rtfm/.
+
+
+================================================================
diff --git a/www/rt34/pkg-plist b/www/rt34/pkg-plist
new file mode 100644
index 000000000000..2447c26c7025
--- /dev/null
+++ b/www/rt34/pkg-plist
@@ -0,0 +1,365 @@
+rt2/bin/webmux.pl
+rt2/bin/rt-mailgate
+rt2/bin/rtadmin
+rt2/bin/rt
+rt2/bin/mason_handler.fcgi
+rt2/bin/mason_handler.scgi
+rt2/WebRT/html/Ticket/Attachment/CVS/Root
+rt2/WebRT/html/Ticket/Attachment/CVS/Repository
+rt2/WebRT/html/Ticket/Attachment/CVS/Entries
+rt2/WebRT/html/Ticket/Attachment/CVS/Tag
+rt2/WebRT/html/Ticket/Attachment/dhandler
+rt2/WebRT/html/Ticket/CVS/Root
+rt2/WebRT/html/Ticket/CVS/Repository
+rt2/WebRT/html/Ticket/CVS/Entries
+rt2/WebRT/html/Ticket/CVS/Tag
+rt2/WebRT/html/Ticket/Elements/CVS/Root
+rt2/WebRT/html/Ticket/Elements/CVS/Repository
+rt2/WebRT/html/Ticket/Elements/CVS/Entries
+rt2/WebRT/html/Ticket/Elements/CVS/Tag
+rt2/WebRT/html/Ticket/Elements/AddWatchers
+rt2/WebRT/html/Ticket/Elements/EditBasics
+rt2/WebRT/html/Ticket/Elements/EditDates
+rt2/WebRT/html/Ticket/Elements/EditKeywordSelects
+rt2/WebRT/html/Ticket/Elements/EditLinks
+rt2/WebRT/html/Ticket/Elements/EditPeople
+rt2/WebRT/html/Ticket/Elements/EditWatchers
+rt2/WebRT/html/Ticket/Elements/ShowBasics
+rt2/WebRT/html/Ticket/Elements/ShowDates
+rt2/WebRT/html/Ticket/Elements/ShowDependencies
+rt2/WebRT/html/Ticket/Elements/ShowHistory
+rt2/WebRT/html/Ticket/Elements/ShowKeywordSelects
+rt2/WebRT/html/Ticket/Elements/ShowLinks
+rt2/WebRT/html/Ticket/Elements/ShowMemberOf
+rt2/WebRT/html/Ticket/Elements/ShowMembers
+rt2/WebRT/html/Ticket/Elements/ShowPeople
+rt2/WebRT/html/Ticket/Elements/ShowReferences
+rt2/WebRT/html/Ticket/Elements/ShowRequestor
+rt2/WebRT/html/Ticket/Elements/ShowSummary
+rt2/WebRT/html/Ticket/Elements/ShowTransaction
+rt2/WebRT/html/Ticket/Elements/Tabs
+rt2/WebRT/html/Ticket/Elements/ToolBar
+rt2/WebRT/html/Ticket/Create.html
+rt2/WebRT/html/Ticket/Modify.html
+rt2/WebRT/html/Ticket/ModifyAll.html
+rt2/WebRT/html/Ticket/ModifyDates.html
+rt2/WebRT/html/Ticket/ModifyLinks.html
+rt2/WebRT/html/Ticket/ModifyPeople.html
+rt2/WebRT/html/Ticket/Update.html
+rt2/WebRT/html/Ticket/Display.html
+rt2/WebRT/html/Ticket/History.html
+rt2/WebRT/html/CVS/Root
+rt2/WebRT/html/CVS/Repository
+rt2/WebRT/html/CVS/Entries
+rt2/WebRT/html/CVS/Tag
+rt2/WebRT/html/User/CVS/Root
+rt2/WebRT/html/User/CVS/Repository
+rt2/WebRT/html/User/CVS/Entries
+rt2/WebRT/html/User/CVS/Tag
+rt2/WebRT/html/User/Prefs.html
+rt2/WebRT/html/Elements/CVS/Root
+rt2/WebRT/html/Elements/CVS/Repository
+rt2/WebRT/html/Elements/CVS/Entries
+rt2/WebRT/html/Elements/CVS/Tag
+rt2/WebRT/html/Elements/Checkbox
+rt2/WebRT/html/Elements/CreateTicket
+rt2/WebRT/html/Elements/CustomHomepageHeader
+rt2/WebRT/html/Elements/Error
+rt2/WebRT/html/Elements/Footer
+rt2/WebRT/html/Elements/GotoTicket
+rt2/WebRT/html/Elements/Header
+rt2/WebRT/html/Elements/ListActions
+rt2/WebRT/html/Elements/Login
+rt2/WebRT/html/Elements/MessageBox
+rt2/WebRT/html/Elements/MyRequests
+rt2/WebRT/html/Elements/MyTickets
+rt2/WebRT/html/Elements/Quicksearch
+rt2/WebRT/html/Elements/Refresh
+rt2/WebRT/html/Elements/Section
+rt2/WebRT/html/Elements/SelectBoolean
+rt2/WebRT/html/Elements/SelectDate
+rt2/WebRT/html/Elements/SelectDateRelation
+rt2/WebRT/html/Elements/SelectDateType
+rt2/WebRT/html/Elements/SelectEqualityOperator
+rt2/WebRT/html/Elements/SelectKeyword
+rt2/WebRT/html/Elements/SelectKeywordOptions
+rt2/WebRT/html/Elements/SelectLinkType
+rt2/WebRT/html/Elements/SelectMatch
+rt2/WebRT/html/Elements/SelectNewTicketQueue
+rt2/WebRT/html/Elements/SelectOwner
+rt2/WebRT/html/Elements/SelectQueue
+rt2/WebRT/html/Elements/SelectResultsPerPage
+rt2/WebRT/html/Elements/SelectSortOrder
+rt2/WebRT/html/Elements/SelectStatus
+rt2/WebRT/html/Elements/SelectTicketSortBy
+rt2/WebRT/html/Elements/SelectUsers
+rt2/WebRT/html/Elements/SelectWatcherType
+rt2/WebRT/html/Elements/ShadedBox
+rt2/WebRT/html/Elements/Submit
+rt2/WebRT/html/Elements/Tabs
+rt2/WebRT/html/Elements/TitleBoxEnd
+rt2/WebRT/html/Elements/TitleBoxStart
+rt2/WebRT/html/Elements/ViewUser
+rt2/WebRT/html/Elements/dayMenu
+rt2/WebRT/html/Elements/monthMenu
+rt2/WebRT/html/Elements/yearMenu
+rt2/WebRT/html/SelfService/Attachment/CVS/Root
+rt2/WebRT/html/SelfService/Attachment/CVS/Repository
+rt2/WebRT/html/SelfService/Attachment/CVS/Entries
+rt2/WebRT/html/SelfService/Attachment/CVS/Tag
+rt2/WebRT/html/SelfService/Attachment/dhandler
+rt2/WebRT/html/SelfService/CVS/Root
+rt2/WebRT/html/SelfService/CVS/Repository
+rt2/WebRT/html/SelfService/CVS/Entries
+rt2/WebRT/html/SelfService/CVS/Tag
+rt2/WebRT/html/SelfService/Elements/CVS/Root
+rt2/WebRT/html/SelfService/Elements/CVS/Repository
+rt2/WebRT/html/SelfService/Elements/CVS/Entries
+rt2/WebRT/html/SelfService/Elements/CVS/Tag
+rt2/WebRT/html/SelfService/Elements/GotoTicket
+rt2/WebRT/html/SelfService/Elements/Header
+rt2/WebRT/html/SelfService/Elements/MyRequests
+rt2/WebRT/html/SelfService/Elements/Tabs
+rt2/WebRT/html/SelfService/Update.html
+rt2/WebRT/html/SelfService/Error.html
+rt2/WebRT/html/SelfService/Prefs.html
+rt2/WebRT/html/SelfService/Display.html
+rt2/WebRT/html/SelfService/index.html
+rt2/WebRT/html/SelfService/Create.html
+rt2/WebRT/html/SelfService/Closed.html
+rt2/WebRT/html/Search/CVS/Root
+rt2/WebRT/html/Search/CVS/Repository
+rt2/WebRT/html/Search/CVS/Entries
+rt2/WebRT/html/Search/CVS/Tag
+rt2/WebRT/html/Search/Bulk.html
+rt2/WebRT/html/Search/Listing.html
+rt2/WebRT/html/Search/PickRestriction
+rt2/WebRT/html/Search/RestrictSearch.html
+rt2/WebRT/html/Search/TicketCell
+rt2/WebRT/html/NoAuth/CVS/Root
+rt2/WebRT/html/NoAuth/CVS/Repository
+rt2/WebRT/html/NoAuth/CVS/Entries
+rt2/WebRT/html/NoAuth/CVS/Tag
+rt2/WebRT/html/NoAuth/images/CVS/Root
+rt2/WebRT/html/NoAuth/images/CVS/Repository
+rt2/WebRT/html/NoAuth/images/CVS/Entries
+rt2/WebRT/html/NoAuth/images/CVS/Tag
+rt2/WebRT/html/NoAuth/images/rt.jpg
+rt2/WebRT/html/NoAuth/images/spacer.gif
+rt2/WebRT/html/NoAuth/Logout.html
+rt2/WebRT/html/NoAuth/Reminder.html
+rt2/WebRT/html/NoAuth/webrt.css
+rt2/WebRT/html/Admin/Global/CVS/Root
+rt2/WebRT/html/Admin/Global/CVS/Repository
+rt2/WebRT/html/Admin/Global/CVS/Entries
+rt2/WebRT/html/Admin/Global/CVS/Tag
+rt2/WebRT/html/Admin/Global/GroupRights.html
+rt2/WebRT/html/Admin/Global/Keywords.html
+rt2/WebRT/html/Admin/Global/Scrips.html
+rt2/WebRT/html/Admin/Global/Template.html
+rt2/WebRT/html/Admin/Global/Templates.html
+rt2/WebRT/html/Admin/Global/UserRights.html
+rt2/WebRT/html/Admin/Global/index.html
+rt2/WebRT/html/Admin/Users/CVS/Root
+rt2/WebRT/html/Admin/Users/CVS/Repository
+rt2/WebRT/html/Admin/Users/CVS/Entries
+rt2/WebRT/html/Admin/Users/CVS/Tag
+rt2/WebRT/html/Admin/Users/Modify.html
+rt2/WebRT/html/Admin/Users/Prefs.html
+rt2/WebRT/html/Admin/Users/Rights.html
+rt2/WebRT/html/Admin/Users/index.html
+rt2/WebRT/html/Admin/Elements/CVS/Root
+rt2/WebRT/html/Admin/Elements/CVS/Repository
+rt2/WebRT/html/Admin/Elements/CVS/Entries
+rt2/WebRT/html/Admin/Elements/CVS/Tag
+rt2/WebRT/html/Admin/Elements/CreateQueueCalled
+rt2/WebRT/html/Admin/Elements/CreateUserCalled
+rt2/WebRT/html/Admin/Elements/EditUserComments
+rt2/WebRT/html/Admin/Elements/GrantQueueRightsTo
+rt2/WebRT/html/Admin/Elements/GroupTabs
+rt2/WebRT/html/Admin/Elements/Header
+rt2/WebRT/html/Admin/Elements/ListGlobalKeywordSelects
+rt2/WebRT/html/Admin/Elements/ListGlobalScrips
+rt2/WebRT/html/Admin/Elements/ModifyKeyword
+rt2/WebRT/html/Admin/Elements/ModifyKeywordSelect
+rt2/WebRT/html/Admin/Elements/ModifyQueue
+rt2/WebRT/html/Admin/Elements/ModifyTemplate
+rt2/WebRT/html/Admin/Elements/ModifyUser
+rt2/WebRT/html/Admin/Elements/QueueRightsForUser
+rt2/WebRT/html/Admin/Elements/QueueTabs
+rt2/WebRT/html/Admin/Elements/SelectKeywordSelect
+rt2/WebRT/html/Admin/Elements/SelectModifyGroup
+rt2/WebRT/html/Admin/Elements/SelectModifyKeyword
+rt2/WebRT/html/Admin/Elements/Tabs
+rt2/WebRT/html/Admin/Elements/SelectModifyKeywordSelect
+rt2/WebRT/html/Admin/Elements/SelectModifyQueue
+rt2/WebRT/html/Admin/Elements/SelectModifyUser
+rt2/WebRT/html/Admin/Elements/SelectQueueRights
+rt2/WebRT/html/Admin/Elements/SelectRights
+rt2/WebRT/html/Admin/Elements/SelectScrip
+rt2/WebRT/html/Admin/Elements/SelectScripAction
+rt2/WebRT/html/Admin/Elements/SelectScripCondition
+rt2/WebRT/html/Admin/Elements/SelectSingleOrMultiple
+rt2/WebRT/html/Admin/Elements/SelectTemplate
+rt2/WebRT/html/Admin/Elements/SelectUsers
+rt2/WebRT/html/Admin/Elements/SystemTabs
+rt2/WebRT/html/Admin/Elements/UserTabs
+rt2/WebRT/html/Admin/Queues/CVS/Root
+rt2/WebRT/html/Admin/Queues/CVS/Repository
+rt2/WebRT/html/Admin/Queues/CVS/Entries
+rt2/WebRT/html/Admin/Queues/CVS/Tag
+rt2/WebRT/html/Admin/Queues/Create.html
+rt2/WebRT/html/Admin/Queues/GroupRights.html
+rt2/WebRT/html/Admin/Queues/Keywords.html
+rt2/WebRT/html/Admin/Queues/Modify.html
+rt2/WebRT/html/Admin/Queues/People.html
+rt2/WebRT/html/Admin/Queues/Scrips.html
+rt2/WebRT/html/Admin/Queues/Template.html
+rt2/WebRT/html/Admin/Queues/Templates.html
+rt2/WebRT/html/Admin/Queues/UserRights.html
+rt2/WebRT/html/Admin/Queues/index.html
+rt2/WebRT/html/Admin/CVS/Root
+rt2/WebRT/html/Admin/CVS/Repository
+rt2/WebRT/html/Admin/CVS/Entries
+rt2/WebRT/html/Admin/CVS/Tag
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Root
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Repository
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Entries
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Tag
+rt2/WebRT/html/Admin/KeywordSelects/Modify.html
+rt2/WebRT/html/Admin/KeywordSelects/index.html
+rt2/WebRT/html/Admin/Keywords/CVS/Root
+rt2/WebRT/html/Admin/Keywords/CVS/Repository
+rt2/WebRT/html/Admin/Keywords/CVS/Entries
+rt2/WebRT/html/Admin/Keywords/CVS/Tag
+rt2/WebRT/html/Admin/Keywords/Modify.html
+rt2/WebRT/html/Admin/Keywords/index.html
+rt2/WebRT/html/Admin/Groups/CVS/Root
+rt2/WebRT/html/Admin/Groups/CVS/Repository
+rt2/WebRT/html/Admin/Groups/CVS/Entries
+rt2/WebRT/html/Admin/Groups/CVS/Tag
+rt2/WebRT/html/Admin/Groups/Members.html
+rt2/WebRT/html/Admin/Groups/Modify.html
+rt2/WebRT/html/Admin/Groups/Rights.html
+rt2/WebRT/html/Admin/Groups/index.html
+rt2/WebRT/html/Admin/index.html
+rt2/WebRT/html/autohandler
+rt2/WebRT/html/index.html
+rt2/etc/config.pm
+rt2/etc/insertdata
+rt2/lib/RT.pm
+rt2/lib/RT/KeywordSelects.pm
+rt2/lib/RT/Links.pm
+rt2/lib/RT/Watchers.pm
+rt2/lib/RT/Group.pm
+rt2/lib/RT/Keyword.pm
+rt2/lib/RT/Record.pm
+rt2/lib/RT/ScripConditions.pm
+rt2/lib/RT/Transaction.pm
+rt2/lib/RT/TestHarness.pm
+rt2/lib/RT/Link.pm
+rt2/lib/RT/Watcher.pm
+rt2/lib/RT/ObjectKeywords.pm
+rt2/lib/RT/EasySearch.pm
+rt2/lib/RT/ScripActions.pm
+rt2/lib/RT/Scrip.pm
+rt2/lib/RT/GroupMembers.pm
+rt2/lib/RT/Transactions.pm
+rt2/lib/RT/Scrips.pm
+rt2/lib/RT/User.pm
+rt2/lib/RT/ScripCondition.pm
+rt2/lib/RT/Users.pm
+rt2/lib/RT/Ticket.pm
+rt2/lib/RT/ACE.pm
+rt2/lib/RT/Queue.pm
+rt2/lib/RT/Tickets.pm
+rt2/lib/RT/Template.pm
+rt2/lib/RT/GroupMember.pm
+rt2/lib/RT/Templates.pm
+rt2/lib/RT/Queues.pm
+rt2/lib/RT/Date.pm
+rt2/lib/RT/CurrentUser.pm
+rt2/lib/RT/ScripAction.pm
+rt2/lib/RT/Keywords.pm
+rt2/lib/RT/ObjectKeyword.pm
+rt2/lib/RT/Attachment.pm
+rt2/lib/RT/Groups.pm
+rt2/lib/RT/KeywordSelect.pm
+rt2/lib/RT/Handle.pm
+rt2/lib/RT/ACL.pm
+rt2/lib/RT/Attachments.pm
+rt2/lib/RT/Interface/Email.pm
+rt2/lib/RT/Interface/CLI.pm
+rt2/lib/RT/Interface/Web.pm
+rt2/lib/RT/Condition/NewDependency.pm
+rt2/lib/RT/Condition/StatusChange.pm
+rt2/lib/RT/Condition/AnyTransaction.pm
+rt2/lib/RT/Condition/Generic.pm
+rt2/lib/RT/Action/Generic.pm
+rt2/lib/RT/Action/OpenDependent.pm
+rt2/lib/RT/Action/StallDependent.pm
+rt2/lib/RT/Action/SendPasswordEmail.pm
+rt2/lib/RT/Action/Notify.pm
+rt2/lib/RT/Action/SendEmail.pm
+rt2/lib/RT/Action/README.hackers
+rt2/lib/RT/Action/ResolveMembers.pm
+rt2/lib/RT/Action/NotifyAsComment.pm
+rt2/lib/RT/Action/Autoreply.pm
+rt2/lib/auto/RT/.packlist
+rt2/README
+@dirrm rt2/local/WebRT/html
+@dirrm rt2/local/WebRT
+@dirrm rt2/local
+@dirrm rt2/lib/auto/RT
+@dirrm rt2/lib/auto
+@dirrm rt2/lib/RT/Interface
+@dirrm rt2/lib/RT/Condition
+@dirrm rt2/lib/RT/Action
+@dirrm rt2/lib/RT
+@dirrm rt2/lib
+@dirrm rt2/etc
+@dirrm rt2/bin
+@dirrm rt2/WebRT/sessiondata
+@dirrm rt2/WebRT/html/User/CVS
+@dirrm rt2/WebRT/html/User
+@dirrm rt2/WebRT/html/Ticket/Elements/CVS
+@dirrm rt2/WebRT/html/Ticket/Elements
+@dirrm rt2/WebRT/html/Ticket/CVS
+@dirrm rt2/WebRT/html/Ticket/Attachment/CVS
+@dirrm rt2/WebRT/html/Ticket/Attachment
+@dirrm rt2/WebRT/html/Ticket
+@dirrm rt2/WebRT/html/SelfService/Elements/CVS
+@dirrm rt2/WebRT/html/SelfService/Elements
+@dirrm rt2/WebRT/html/SelfService/CVS
+@dirrm rt2/WebRT/html/SelfService/Attachment/CVS
+@dirrm rt2/WebRT/html/SelfService/Attachment
+@dirrm rt2/WebRT/html/SelfService
+@dirrm rt2/WebRT/html/Search/CVS
+@dirrm rt2/WebRT/html/Search
+@dirrm rt2/WebRT/html/NoAuth/images/CVS
+@dirrm rt2/WebRT/html/NoAuth/images
+@dirrm rt2/WebRT/html/NoAuth/CVS
+@dirrm rt2/WebRT/html/NoAuth
+@dirrm rt2/WebRT/html/Elements/CVS
+@dirrm rt2/WebRT/html/Elements
+@dirrm rt2/WebRT/html/CVS
+@dirrm rt2/WebRT/html/Admin/Users/CVS
+@dirrm rt2/WebRT/html/Admin/Users
+@dirrm rt2/WebRT/html/Admin/Queues/CVS
+@dirrm rt2/WebRT/html/Admin/Queues
+@dirrm rt2/WebRT/html/Admin/Keywords/CVS
+@dirrm rt2/WebRT/html/Admin/Keywords
+@dirrm rt2/WebRT/html/Admin/KeywordSelects/CVS
+@dirrm rt2/WebRT/html/Admin/KeywordSelects
+@dirrm rt2/WebRT/html/Admin/Groups/CVS
+@dirrm rt2/WebRT/html/Admin/Groups
+@dirrm rt2/WebRT/html/Admin/Global/CVS
+@dirrm rt2/WebRT/html/Admin/Global
+@dirrm rt2/WebRT/html/Admin/Elements/CVS
+@dirrm rt2/WebRT/html/Admin/Elements
+@dirrm rt2/WebRT/html/Admin/CVS
+@dirrm rt2/WebRT/html/Admin
+@dirrm rt2/WebRT/html
+@dirrm rt2/WebRT/data
+@dirrm rt2/WebRT
+@unexec rmdir %D/rt2 2>/dev/null || true
diff --git a/www/rt36/Makefile b/www/rt36/Makefile
new file mode 100644
index 000000000000..9057ebac07dd
--- /dev/null
+++ b/www/rt36/Makefile
@@ -0,0 +1,143 @@
+# New ports collection makefile for: RT2
+# Date created: 12 Auguest 2002
+# Whom: plasma
+#
+# $FreeBSD$
+#
+
+PORTNAME= rt2
+PORTVERSION= 2.0.14
+CATEGORIES= www
+MASTER_SITES= http://www.fsck.com/pub/rt/release/
+WRKSRC= ${WRKDIR}/rt-2-0-14
+DISTFILES= rt.tar.gz
+
+MAINTAINER= plasmaball@pchome.com.tw
+
+BUILD_DEPENDS= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl \
+ ${SITE_PERL}/${PERL_ARCH}/Apache/Cookie.pm:${PORTSDIR}/www/p5-libapreq \
+ ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \
+ ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+ ${SITE_PERL}/DBIx/DataSource.pm:${PORTSDIR}/databases/p5-DBIx-DataSource \
+ ${SITE_PERL}/DBIx/SearchBuilder.pm:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
+ ${SITE_PERL}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw \
+ ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
+ ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \
+ ${SITE_PERL}/Apache/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \
+ ${SITE_PERL}/Log/Dispatch.pm:${PORTSDIR}/devel/p5-Log-Dispatch \
+ ${SITE_PERL}/MIME/Entity.pm:${PORTSDIR}/mail/p5-MIME-Tools \
+ ${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM \
+ ${SITE_PERL}/Mail/Mailer.pm:${PORTSDIR}/mail/p5-Mail-Tools \
+ ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \
+ ${SITE_PERL}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
+ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
+ ${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template \
+ ${SITE_PERL}/Text/Wrapper.pm:${PORTSDIR}/textproc/p5-Text-Wrapper \
+ ${SITE_PERL}/Tie/IxHash.pm:${PORTSDIR}/devel/p5-Tie-IxHash
+
+DB_TYPE?= mysql
+
+.if ${DB_TYPE} == "Pg"
+BUILD_DEPENDS+= ${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql7
+.else
+DB_TYPE= mysql
+BUILD_DEPENDS+= ${LOCALBASE}/bin/safe_mysqld:${PORTSDIR}/databases/mysql323-server
+.endif
+
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+USE_REINPLACE= yes
+USE_PERL5= yes
+
+RT_PATH?= ${PREFIX}/rt2
+DB_DBA_PASSWORDD?=
+DB_HOST?= localhost
+DB_RT_PASS= rt_pass
+
+MAN3= RT::Links.3 \
+ RT::Watchers.3 \
+ RT::Group.3 \
+ RT::Keyword.3 \
+ RT::Record.3 \
+ RT::ScripConditions.3 \
+ RT::Action::Generic.3 \
+ RT::Transaction.3 \
+ RT::Interface::Email.3 \
+ RT::Link.3 \
+ RT.3 \
+ RT::Watcher.3 \
+ RT::ObjectKeywords.3 \
+ RT::EasySearch.3 \
+ RT::ScripActions.3 \
+ RT::Scrip.3 \
+ RT::GroupMembers.3 \
+ RT::Action::SendPasswordEmail.3 \
+ RT::Transactions.3 \
+ RT::Scrips.3 \
+ RT::Action::SendEmail.3 \
+ RT::User.3 \
+ RT::ScripCondition.3 \
+ RT::Users.3 \
+ RT::Ticket.3 \
+ RT::ACE.3 \
+ RT::Queue.3 \
+ RT::Interface::CLI.3 \
+ RT::Tickets.3 \
+ RT::GroupMember.3 \
+ RT::Template.3 \
+ RT::Templates.3 \
+ RT::Queues.3 \
+ RT::Date.3 \
+ RT::CurrentUser.3 \
+ RT::ScripAction.3 \
+ RT::Keywords.3 \
+ RT::ObjectKeyword.3 \
+ RT::Attachment.3 \
+ RT::Groups.3 \
+ RT::KeywordSelect.3 \
+ RT::Condition::Generic.3 \
+ RT::Handle.3 \
+ RT::ACL.3 \
+ RT::Attachments.3
+
+pre-fetch:
+ @${ECHO} ""
+ @${ECHO} "You may use the following build options:"
+ @${ECHO} ""
+ @${ECHO} " DB_DBA_PASSWORD=password Your password of MySQL root ();"
+ @${ECHO} " DB_HOST=hostname Where MySQL resident (localhost);"
+ @${ECHO} " DB_RT_PASS=password Your password of MySQL RT user (rt_pass);"
+ @${ECHO} " DB_TYPE=type Pg for postgresql, mysql for MySQL (mysql);"
+ @${ECHO} " INSTALL_NEW Install a fresh port, otherwise just upgrade;"
+ @${ECHO} ""
+ @${ECHO} "IMPORTANT!!! If you want to install a fresh new port, define INSTALL_NEW to do so, otherwise this port just do a upgrade."
+ @${ECHO} ""
+
+do-build:
+.for _NAME in RT_PATH DB_DBA_PASSWORD DB_HOST DB_RT_PASS DB_TYPE
+ @${REINPLACE_CMD} "s!%%${_NAME}%%!${${_NAME}}!g" ${WRKSRC}/Makefile
+.endfor
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile testdeps
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile fixdeps
+
+do-install:
+ @${MKDIR} /var/log/rt2
+.if defined(INSTALL_NEW)
+ -@cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile dropdb
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile install
+.else
+ @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile upgrade
+.endif
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/rt2/README
+ @${CHOWN} -R www /var/log/rt2
+
+post-install:
+ @${SED} s!%%PREFIX%%!${PREFIX}!g ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/rt36/distinfo b/www/rt36/distinfo
new file mode 100644
index 000000000000..ecea48df28ce
--- /dev/null
+++ b/www/rt36/distinfo
@@ -0,0 +1 @@
+MD5 (rt.tar.gz) = 59179c054c0e05336f9b92fe3b031270
diff --git a/www/rt36/files/patch-Makefile b/www/rt36/files/patch-Makefile
new file mode 100644
index 000000000000..95f90e9782c6
--- /dev/null
+++ b/www/rt36/files/patch-Makefile
@@ -0,0 +1,138 @@
+--- Makefile Sat Jul 20 10:42:39 2002
++++ Makefile Thu Aug 15 22:17:55 2002
+@@ -2,7 +2,7 @@
+ # RT is Copyright 1996-2002 Jesse Vincent <jesse@bestpractical.com>
+ # It is distributed under the terms of the GNU General Public License, version 2
+
+-PERL = /usr/bin/perl
++PERL = /usr/local/bin/perl
+
+ RT_VERSION_MAJOR = 2
+ RT_VERSION_MINOR = 0
+@@ -15,7 +15,7 @@
+ BRANCH = HEAD
+
+ # This is the group that all of the installed files will be chgrp'ed to.
+-RTGROUP = rt
++RTGROUP = www
+
+
+ # User which should own rt binaries.
+@@ -40,7 +40,7 @@
+ # RT_PATH is the name of the directory you want make to install RT in
+ # RT must be installed in its own directory (don't set this to /usr/local)
+
+-RT_PATH = /opt/rt2
++RT_PATH = %%RT_PATH%%
+
+ # The rest of these paths are all configurable, but you probably don't want to
+ # put them elsewhere
+@@ -49,7 +49,7 @@
+ RT_ETC_PATH = $(RT_PATH)/etc
+ RT_CONFIG_PATH = $(RT_ETC_PATH)
+ RT_BIN_PATH = $(RT_PATH)/bin
+-RT_MAN_PATH = $(RT_PATH)/man
++RT_MAN_PATH = /usr/local/man
+ MASON_HTML_PATH = $(RT_PATH)/WebRT/html
+
+
+@@ -63,7 +63,7 @@
+ MASON_DATA_PATH = $(RT_PATH)/WebRT/data
+ MASON_SESSION_PATH = $(RT_PATH)/WebRT/sessiondata
+
+-RT_LOG_PATH = /tmp
++RT_LOG_PATH = /var/log/rt2
+
+ # RT_READABLE_DIR_MODE is the mode of directories that are generally meant
+ # to be accessable
+@@ -101,13 +101,13 @@
+ # "Pg" is known to work
+ # "Oracle" is in the early stages of working.
+
+-DB_TYPE = mysql
++DB_TYPE = %%DB_TYPE%%
+
+ # DB_HOME is where the Database's commandline tools live. $DB_HOME/bin
+ # should contain the binaries themselves, e.g. if "which mysql" gives
+ # "/usr/local/mysql/bin/mysql", $DB_HOME should be "/usr/local/mysql"
+
+-DB_HOME = /usr
++DB_HOME = /usr/local
+
+ # Set DBA to the name of a unix account with the proper permissions and
+ # environment to run your commandline SQL tools
+@@ -121,14 +121,14 @@
+ # For oracle, you want 'system'
+
+ DB_DBA = root
+-DB_DBA_PASSWORD =
+-
++DB_DBA_PASSWORD = %%DB_DBA_PASSWORD%%
++
+ #
+ # Set this to the Fully Qualified Domain Name of your database server.
+ # If the database is local, rather than on a remote host, using "localhost"
+ # will greatly enhance performance.
+
+-DB_HOST = localhost
++DB_HOST = %%DB_HOST%%
+
+ # If you're not running your database server on its default port,
+ # specifiy the port the database server is running on below.
+@@ -144,7 +144,7 @@
+ # to grant those database rights by hand.
+ #
+
+-DB_RT_HOST = localhost
++DB_RT_HOST = %%DB_HOST%%
+
+ # set this to the name you want to give to the RT database in
+ # your database server. For Oracle, this should be the name of your sid
+@@ -158,7 +158,7 @@
+ # Set this to the password used by the rt database user
+ # *** Change This Before Installation***
+
+-DB_RT_PASS = rt_pass
++DB_RT_PASS = %%DB_RT_PASS%%
+
+ # }}}
+
+@@ -168,7 +168,7 @@
+ # objectcode
+
+ WEB_USER = www
+-WEB_GROUP = rt
++WEB_GROUP = www
+
+ # }}}
+
+@@ -311,7 +311,7 @@
+
+
+ genschema:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' generate
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' generate
+
+
+ initialize.Pg: createdb initdb.dba acls
+@@ -333,16 +333,16 @@
+
+
+ dropdb:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' drop
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' drop
+
+
+ createdb:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' create
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' create
+ initdb.dba:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' insert
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_DBA)' '$(DB_DATABASE)' '$(DB_DBA_PASSWORD)' insert
+
+ initdb.rtuser:
+- $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_RT_USER)' '$(DB_DATABASE)' insert
++ $(PERL) tools/initdb '$(DB_TYPE)' '$(DB_HOME)' '$(DB_HOST)' '$(DB_PORT)' '$(DB_RT_USER)' '$(DB_DATABASE)' '$(DB_RT_PASS)' insert
+
+
+
diff --git a/www/rt36/files/patch-bin-initacls.mysql b/www/rt36/files/patch-bin-initacls.mysql
new file mode 100644
index 000000000000..42837f974cb5
--- /dev/null
+++ b/www/rt36/files/patch-bin-initacls.mysql
@@ -0,0 +1,12 @@
+--- bin/initacls.mysql Wed Nov 7 07:04:00 2001
++++ bin/initacls.mysql Thu Aug 15 18:01:14 2002
+@@ -14,7 +14,7 @@
+ export PATH
+
+ echo "Enter the mysql administrator's database password to create a new user for RT"
+-$BINDIR/mysql --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} -p${DBAPASSWD} mysql < $DATABASEACLS
++$BINDIR/mysql --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} --password=${DBAPASSWD} mysql < $DATABASEACLS
+
+ echo "Enter the mysql administrator's database password to nondestructively reload the database"
+-$BINDIR/mysqladmin --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} -p${DBAPASSWD} reload
++$BINDIR/mysqladmin --host=${HOSTNAME} --port=${PORT} --user=${DATABASEADMIN} --password=${DBAPASSWD} reload
diff --git a/www/rt36/files/patch-tools-initdb b/www/rt36/files/patch-tools-initdb
new file mode 100644
index 000000000000..1ee6462ed640
--- /dev/null
+++ b/www/rt36/files/patch-tools-initdb
@@ -0,0 +1,29 @@
+--- tools/initdb Wed Nov 7 07:06:06 2001
++++ tools/initdb Thu Aug 15 17:17:19 2002
+@@ -17,7 +17,7 @@
+ $SCHEMA_DIR ="etc";
+ $SCHEMA_FILE = "$SCHEMA_DIR/schema.pm"; #hmm
+
+-($DB_TYPE, $DB_HOME, $DB_HOST, $DB_PORT, $DB_DBA, $DB_DATABASE, $ACTION) = @ARGV;
++($DB_TYPE, $DB_HOME, $DB_HOST, $DB_PORT, $DB_DBA, $DB_DATABASE, $DB_DBA_PASSWORD, $ACTION) = @ARGV;
+
+
+ if ($DEBUG) {
+@@ -71,6 +71,8 @@
+ # {{{ sub prompt_for_dba_password
+
+ sub prompt_for_dba_password {
++ return if defined $DB_DBA_PASSWORD;
++
+ print "Enter the $DB_TYPE password for $DB_DBA: ";
+
+ system "stty -echo";
+@@ -107,7 +109,7 @@
+ If you have an existing RT 2.x installation, this will destroy all your data.
+ i
+ END
+- exit unless _yesno();
++ # exit unless _yesno();
+
+ }
+
diff --git a/www/rt36/files/patch-tools-testdeps b/www/rt36/files/patch-tools-testdeps
new file mode 100644
index 000000000000..b4e392a23cec
--- /dev/null
+++ b/www/rt36/files/patch-tools-testdeps
@@ -0,0 +1,15 @@
+--- tools/testdeps Thu Feb 28 14:38:10 2002
++++ tools/testdeps Thu Aug 15 16:43:45 2002
+@@ -107,7 +107,11 @@
+ $module = "DBD::mysql::Install" if ($module =~ /DBD::mysql/);
+
+ print "Installing with CPAN...";
+- CPAN::install($module);
++ require CPAN::FirstTime; # shut up configuration
++ no strict 'refs';
++ local $^W;
++ *{'ExtUtils::MakeMaker::prompt'} = sub ($;$) { '' };
++ CPAN::force('install', $module);
+ }
+ print "\n";
+ exit(1) if ($mode =~ /-q/);
diff --git a/www/rt36/pkg-comment b/www/rt36/pkg-comment
new file mode 100644
index 000000000000..2f709c8b1eee
--- /dev/null
+++ b/www/rt36/pkg-comment
@@ -0,0 +1 @@
+RT is an industrial-grade ticketing system written in Perl
diff --git a/www/rt36/pkg-descr b/www/rt36/pkg-descr
new file mode 100644
index 000000000000..743d89a4bec0
--- /dev/null
+++ b/www/rt36/pkg-descr
@@ -0,0 +1,7 @@
+RT is an industrial-grade ticketing system. It lets a group of people
+intelligently and efficiently manage requests submitted by a community
+of users. RT is used by systems administrators, customer support
+staffs, NOCs, developers and even marketing departments at over a
+thousand sites around the world.
+
+WWW: http://www.bestpractical.com/rt/
diff --git a/www/rt36/pkg-message b/www/rt36/pkg-message
new file mode 100644
index 000000000000..77db2d1bce37
--- /dev/null
+++ b/www/rt36/pkg-message
@@ -0,0 +1,17 @@
+===============================================================
+
+To complete the installation of this port, you have to do the
+followings:
+
+1. Run %%PREFIX%%/rt2/etc/insertdata <last_version_of_rt> if you're
+ upgrading from an older version.
+2. Edit %%PREFIX%%/rt2/etc/config.pm
+3. Configure the email and web gateways. Please refer to 'SETTING UP
+ THE MAIL GATEWAY' in %%PREFIX%%/rt2/README
+4. Restart Apache.
+5. Do remember to *CHANGE* the root's password for the web interface.
+ The default is "password" (without the quotes.)
+6. Configure RT per the instructions at http://www.fsck.com/rtfm/.
+
+
+================================================================
diff --git a/www/rt36/pkg-plist b/www/rt36/pkg-plist
new file mode 100644
index 000000000000..2447c26c7025
--- /dev/null
+++ b/www/rt36/pkg-plist
@@ -0,0 +1,365 @@
+rt2/bin/webmux.pl
+rt2/bin/rt-mailgate
+rt2/bin/rtadmin
+rt2/bin/rt
+rt2/bin/mason_handler.fcgi
+rt2/bin/mason_handler.scgi
+rt2/WebRT/html/Ticket/Attachment/CVS/Root
+rt2/WebRT/html/Ticket/Attachment/CVS/Repository
+rt2/WebRT/html/Ticket/Attachment/CVS/Entries
+rt2/WebRT/html/Ticket/Attachment/CVS/Tag
+rt2/WebRT/html/Ticket/Attachment/dhandler
+rt2/WebRT/html/Ticket/CVS/Root
+rt2/WebRT/html/Ticket/CVS/Repository
+rt2/WebRT/html/Ticket/CVS/Entries
+rt2/WebRT/html/Ticket/CVS/Tag
+rt2/WebRT/html/Ticket/Elements/CVS/Root
+rt2/WebRT/html/Ticket/Elements/CVS/Repository
+rt2/WebRT/html/Ticket/Elements/CVS/Entries
+rt2/WebRT/html/Ticket/Elements/CVS/Tag
+rt2/WebRT/html/Ticket/Elements/AddWatchers
+rt2/WebRT/html/Ticket/Elements/EditBasics
+rt2/WebRT/html/Ticket/Elements/EditDates
+rt2/WebRT/html/Ticket/Elements/EditKeywordSelects
+rt2/WebRT/html/Ticket/Elements/EditLinks
+rt2/WebRT/html/Ticket/Elements/EditPeople
+rt2/WebRT/html/Ticket/Elements/EditWatchers
+rt2/WebRT/html/Ticket/Elements/ShowBasics
+rt2/WebRT/html/Ticket/Elements/ShowDates
+rt2/WebRT/html/Ticket/Elements/ShowDependencies
+rt2/WebRT/html/Ticket/Elements/ShowHistory
+rt2/WebRT/html/Ticket/Elements/ShowKeywordSelects
+rt2/WebRT/html/Ticket/Elements/ShowLinks
+rt2/WebRT/html/Ticket/Elements/ShowMemberOf
+rt2/WebRT/html/Ticket/Elements/ShowMembers
+rt2/WebRT/html/Ticket/Elements/ShowPeople
+rt2/WebRT/html/Ticket/Elements/ShowReferences
+rt2/WebRT/html/Ticket/Elements/ShowRequestor
+rt2/WebRT/html/Ticket/Elements/ShowSummary
+rt2/WebRT/html/Ticket/Elements/ShowTransaction
+rt2/WebRT/html/Ticket/Elements/Tabs
+rt2/WebRT/html/Ticket/Elements/ToolBar
+rt2/WebRT/html/Ticket/Create.html
+rt2/WebRT/html/Ticket/Modify.html
+rt2/WebRT/html/Ticket/ModifyAll.html
+rt2/WebRT/html/Ticket/ModifyDates.html
+rt2/WebRT/html/Ticket/ModifyLinks.html
+rt2/WebRT/html/Ticket/ModifyPeople.html
+rt2/WebRT/html/Ticket/Update.html
+rt2/WebRT/html/Ticket/Display.html
+rt2/WebRT/html/Ticket/History.html
+rt2/WebRT/html/CVS/Root
+rt2/WebRT/html/CVS/Repository
+rt2/WebRT/html/CVS/Entries
+rt2/WebRT/html/CVS/Tag
+rt2/WebRT/html/User/CVS/Root
+rt2/WebRT/html/User/CVS/Repository
+rt2/WebRT/html/User/CVS/Entries
+rt2/WebRT/html/User/CVS/Tag
+rt2/WebRT/html/User/Prefs.html
+rt2/WebRT/html/Elements/CVS/Root
+rt2/WebRT/html/Elements/CVS/Repository
+rt2/WebRT/html/Elements/CVS/Entries
+rt2/WebRT/html/Elements/CVS/Tag
+rt2/WebRT/html/Elements/Checkbox
+rt2/WebRT/html/Elements/CreateTicket
+rt2/WebRT/html/Elements/CustomHomepageHeader
+rt2/WebRT/html/Elements/Error
+rt2/WebRT/html/Elements/Footer
+rt2/WebRT/html/Elements/GotoTicket
+rt2/WebRT/html/Elements/Header
+rt2/WebRT/html/Elements/ListActions
+rt2/WebRT/html/Elements/Login
+rt2/WebRT/html/Elements/MessageBox
+rt2/WebRT/html/Elements/MyRequests
+rt2/WebRT/html/Elements/MyTickets
+rt2/WebRT/html/Elements/Quicksearch
+rt2/WebRT/html/Elements/Refresh
+rt2/WebRT/html/Elements/Section
+rt2/WebRT/html/Elements/SelectBoolean
+rt2/WebRT/html/Elements/SelectDate
+rt2/WebRT/html/Elements/SelectDateRelation
+rt2/WebRT/html/Elements/SelectDateType
+rt2/WebRT/html/Elements/SelectEqualityOperator
+rt2/WebRT/html/Elements/SelectKeyword
+rt2/WebRT/html/Elements/SelectKeywordOptions
+rt2/WebRT/html/Elements/SelectLinkType
+rt2/WebRT/html/Elements/SelectMatch
+rt2/WebRT/html/Elements/SelectNewTicketQueue
+rt2/WebRT/html/Elements/SelectOwner
+rt2/WebRT/html/Elements/SelectQueue
+rt2/WebRT/html/Elements/SelectResultsPerPage
+rt2/WebRT/html/Elements/SelectSortOrder
+rt2/WebRT/html/Elements/SelectStatus
+rt2/WebRT/html/Elements/SelectTicketSortBy
+rt2/WebRT/html/Elements/SelectUsers
+rt2/WebRT/html/Elements/SelectWatcherType
+rt2/WebRT/html/Elements/ShadedBox
+rt2/WebRT/html/Elements/Submit
+rt2/WebRT/html/Elements/Tabs
+rt2/WebRT/html/Elements/TitleBoxEnd
+rt2/WebRT/html/Elements/TitleBoxStart
+rt2/WebRT/html/Elements/ViewUser
+rt2/WebRT/html/Elements/dayMenu
+rt2/WebRT/html/Elements/monthMenu
+rt2/WebRT/html/Elements/yearMenu
+rt2/WebRT/html/SelfService/Attachment/CVS/Root
+rt2/WebRT/html/SelfService/Attachment/CVS/Repository
+rt2/WebRT/html/SelfService/Attachment/CVS/Entries
+rt2/WebRT/html/SelfService/Attachment/CVS/Tag
+rt2/WebRT/html/SelfService/Attachment/dhandler
+rt2/WebRT/html/SelfService/CVS/Root
+rt2/WebRT/html/SelfService/CVS/Repository
+rt2/WebRT/html/SelfService/CVS/Entries
+rt2/WebRT/html/SelfService/CVS/Tag
+rt2/WebRT/html/SelfService/Elements/CVS/Root
+rt2/WebRT/html/SelfService/Elements/CVS/Repository
+rt2/WebRT/html/SelfService/Elements/CVS/Entries
+rt2/WebRT/html/SelfService/Elements/CVS/Tag
+rt2/WebRT/html/SelfService/Elements/GotoTicket
+rt2/WebRT/html/SelfService/Elements/Header
+rt2/WebRT/html/SelfService/Elements/MyRequests
+rt2/WebRT/html/SelfService/Elements/Tabs
+rt2/WebRT/html/SelfService/Update.html
+rt2/WebRT/html/SelfService/Error.html
+rt2/WebRT/html/SelfService/Prefs.html
+rt2/WebRT/html/SelfService/Display.html
+rt2/WebRT/html/SelfService/index.html
+rt2/WebRT/html/SelfService/Create.html
+rt2/WebRT/html/SelfService/Closed.html
+rt2/WebRT/html/Search/CVS/Root
+rt2/WebRT/html/Search/CVS/Repository
+rt2/WebRT/html/Search/CVS/Entries
+rt2/WebRT/html/Search/CVS/Tag
+rt2/WebRT/html/Search/Bulk.html
+rt2/WebRT/html/Search/Listing.html
+rt2/WebRT/html/Search/PickRestriction
+rt2/WebRT/html/Search/RestrictSearch.html
+rt2/WebRT/html/Search/TicketCell
+rt2/WebRT/html/NoAuth/CVS/Root
+rt2/WebRT/html/NoAuth/CVS/Repository
+rt2/WebRT/html/NoAuth/CVS/Entries
+rt2/WebRT/html/NoAuth/CVS/Tag
+rt2/WebRT/html/NoAuth/images/CVS/Root
+rt2/WebRT/html/NoAuth/images/CVS/Repository
+rt2/WebRT/html/NoAuth/images/CVS/Entries
+rt2/WebRT/html/NoAuth/images/CVS/Tag
+rt2/WebRT/html/NoAuth/images/rt.jpg
+rt2/WebRT/html/NoAuth/images/spacer.gif
+rt2/WebRT/html/NoAuth/Logout.html
+rt2/WebRT/html/NoAuth/Reminder.html
+rt2/WebRT/html/NoAuth/webrt.css
+rt2/WebRT/html/Admin/Global/CVS/Root
+rt2/WebRT/html/Admin/Global/CVS/Repository
+rt2/WebRT/html/Admin/Global/CVS/Entries
+rt2/WebRT/html/Admin/Global/CVS/Tag
+rt2/WebRT/html/Admin/Global/GroupRights.html
+rt2/WebRT/html/Admin/Global/Keywords.html
+rt2/WebRT/html/Admin/Global/Scrips.html
+rt2/WebRT/html/Admin/Global/Template.html
+rt2/WebRT/html/Admin/Global/Templates.html
+rt2/WebRT/html/Admin/Global/UserRights.html
+rt2/WebRT/html/Admin/Global/index.html
+rt2/WebRT/html/Admin/Users/CVS/Root
+rt2/WebRT/html/Admin/Users/CVS/Repository
+rt2/WebRT/html/Admin/Users/CVS/Entries
+rt2/WebRT/html/Admin/Users/CVS/Tag
+rt2/WebRT/html/Admin/Users/Modify.html
+rt2/WebRT/html/Admin/Users/Prefs.html
+rt2/WebRT/html/Admin/Users/Rights.html
+rt2/WebRT/html/Admin/Users/index.html
+rt2/WebRT/html/Admin/Elements/CVS/Root
+rt2/WebRT/html/Admin/Elements/CVS/Repository
+rt2/WebRT/html/Admin/Elements/CVS/Entries
+rt2/WebRT/html/Admin/Elements/CVS/Tag
+rt2/WebRT/html/Admin/Elements/CreateQueueCalled
+rt2/WebRT/html/Admin/Elements/CreateUserCalled
+rt2/WebRT/html/Admin/Elements/EditUserComments
+rt2/WebRT/html/Admin/Elements/GrantQueueRightsTo
+rt2/WebRT/html/Admin/Elements/GroupTabs
+rt2/WebRT/html/Admin/Elements/Header
+rt2/WebRT/html/Admin/Elements/ListGlobalKeywordSelects
+rt2/WebRT/html/Admin/Elements/ListGlobalScrips
+rt2/WebRT/html/Admin/Elements/ModifyKeyword
+rt2/WebRT/html/Admin/Elements/ModifyKeywordSelect
+rt2/WebRT/html/Admin/Elements/ModifyQueue
+rt2/WebRT/html/Admin/Elements/ModifyTemplate
+rt2/WebRT/html/Admin/Elements/ModifyUser
+rt2/WebRT/html/Admin/Elements/QueueRightsForUser
+rt2/WebRT/html/Admin/Elements/QueueTabs
+rt2/WebRT/html/Admin/Elements/SelectKeywordSelect
+rt2/WebRT/html/Admin/Elements/SelectModifyGroup
+rt2/WebRT/html/Admin/Elements/SelectModifyKeyword
+rt2/WebRT/html/Admin/Elements/Tabs
+rt2/WebRT/html/Admin/Elements/SelectModifyKeywordSelect
+rt2/WebRT/html/Admin/Elements/SelectModifyQueue
+rt2/WebRT/html/Admin/Elements/SelectModifyUser
+rt2/WebRT/html/Admin/Elements/SelectQueueRights
+rt2/WebRT/html/Admin/Elements/SelectRights
+rt2/WebRT/html/Admin/Elements/SelectScrip
+rt2/WebRT/html/Admin/Elements/SelectScripAction
+rt2/WebRT/html/Admin/Elements/SelectScripCondition
+rt2/WebRT/html/Admin/Elements/SelectSingleOrMultiple
+rt2/WebRT/html/Admin/Elements/SelectTemplate
+rt2/WebRT/html/Admin/Elements/SelectUsers
+rt2/WebRT/html/Admin/Elements/SystemTabs
+rt2/WebRT/html/Admin/Elements/UserTabs
+rt2/WebRT/html/Admin/Queues/CVS/Root
+rt2/WebRT/html/Admin/Queues/CVS/Repository
+rt2/WebRT/html/Admin/Queues/CVS/Entries
+rt2/WebRT/html/Admin/Queues/CVS/Tag
+rt2/WebRT/html/Admin/Queues/Create.html
+rt2/WebRT/html/Admin/Queues/GroupRights.html
+rt2/WebRT/html/Admin/Queues/Keywords.html
+rt2/WebRT/html/Admin/Queues/Modify.html
+rt2/WebRT/html/Admin/Queues/People.html
+rt2/WebRT/html/Admin/Queues/Scrips.html
+rt2/WebRT/html/Admin/Queues/Template.html
+rt2/WebRT/html/Admin/Queues/Templates.html
+rt2/WebRT/html/Admin/Queues/UserRights.html
+rt2/WebRT/html/Admin/Queues/index.html
+rt2/WebRT/html/Admin/CVS/Root
+rt2/WebRT/html/Admin/CVS/Repository
+rt2/WebRT/html/Admin/CVS/Entries
+rt2/WebRT/html/Admin/CVS/Tag
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Root
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Repository
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Entries
+rt2/WebRT/html/Admin/KeywordSelects/CVS/Tag
+rt2/WebRT/html/Admin/KeywordSelects/Modify.html
+rt2/WebRT/html/Admin/KeywordSelects/index.html
+rt2/WebRT/html/Admin/Keywords/CVS/Root
+rt2/WebRT/html/Admin/Keywords/CVS/Repository
+rt2/WebRT/html/Admin/Keywords/CVS/Entries
+rt2/WebRT/html/Admin/Keywords/CVS/Tag
+rt2/WebRT/html/Admin/Keywords/Modify.html
+rt2/WebRT/html/Admin/Keywords/index.html
+rt2/WebRT/html/Admin/Groups/CVS/Root
+rt2/WebRT/html/Admin/Groups/CVS/Repository
+rt2/WebRT/html/Admin/Groups/CVS/Entries
+rt2/WebRT/html/Admin/Groups/CVS/Tag
+rt2/WebRT/html/Admin/Groups/Members.html
+rt2/WebRT/html/Admin/Groups/Modify.html
+rt2/WebRT/html/Admin/Groups/Rights.html
+rt2/WebRT/html/Admin/Groups/index.html
+rt2/WebRT/html/Admin/index.html
+rt2/WebRT/html/autohandler
+rt2/WebRT/html/index.html
+rt2/etc/config.pm
+rt2/etc/insertdata
+rt2/lib/RT.pm
+rt2/lib/RT/KeywordSelects.pm
+rt2/lib/RT/Links.pm
+rt2/lib/RT/Watchers.pm
+rt2/lib/RT/Group.pm
+rt2/lib/RT/Keyword.pm
+rt2/lib/RT/Record.pm
+rt2/lib/RT/ScripConditions.pm
+rt2/lib/RT/Transaction.pm
+rt2/lib/RT/TestHarness.pm
+rt2/lib/RT/Link.pm
+rt2/lib/RT/Watcher.pm
+rt2/lib/RT/ObjectKeywords.pm
+rt2/lib/RT/EasySearch.pm
+rt2/lib/RT/ScripActions.pm
+rt2/lib/RT/Scrip.pm
+rt2/lib/RT/GroupMembers.pm
+rt2/lib/RT/Transactions.pm
+rt2/lib/RT/Scrips.pm
+rt2/lib/RT/User.pm
+rt2/lib/RT/ScripCondition.pm
+rt2/lib/RT/Users.pm
+rt2/lib/RT/Ticket.pm
+rt2/lib/RT/ACE.pm
+rt2/lib/RT/Queue.pm
+rt2/lib/RT/Tickets.pm
+rt2/lib/RT/Template.pm
+rt2/lib/RT/GroupMember.pm
+rt2/lib/RT/Templates.pm
+rt2/lib/RT/Queues.pm
+rt2/lib/RT/Date.pm
+rt2/lib/RT/CurrentUser.pm
+rt2/lib/RT/ScripAction.pm
+rt2/lib/RT/Keywords.pm
+rt2/lib/RT/ObjectKeyword.pm
+rt2/lib/RT/Attachment.pm
+rt2/lib/RT/Groups.pm
+rt2/lib/RT/KeywordSelect.pm
+rt2/lib/RT/Handle.pm
+rt2/lib/RT/ACL.pm
+rt2/lib/RT/Attachments.pm
+rt2/lib/RT/Interface/Email.pm
+rt2/lib/RT/Interface/CLI.pm
+rt2/lib/RT/Interface/Web.pm
+rt2/lib/RT/Condition/NewDependency.pm
+rt2/lib/RT/Condition/StatusChange.pm
+rt2/lib/RT/Condition/AnyTransaction.pm
+rt2/lib/RT/Condition/Generic.pm
+rt2/lib/RT/Action/Generic.pm
+rt2/lib/RT/Action/OpenDependent.pm
+rt2/lib/RT/Action/StallDependent.pm
+rt2/lib/RT/Action/SendPasswordEmail.pm
+rt2/lib/RT/Action/Notify.pm
+rt2/lib/RT/Action/SendEmail.pm
+rt2/lib/RT/Action/README.hackers
+rt2/lib/RT/Action/ResolveMembers.pm
+rt2/lib/RT/Action/NotifyAsComment.pm
+rt2/lib/RT/Action/Autoreply.pm
+rt2/lib/auto/RT/.packlist
+rt2/README
+@dirrm rt2/local/WebRT/html
+@dirrm rt2/local/WebRT
+@dirrm rt2/local
+@dirrm rt2/lib/auto/RT
+@dirrm rt2/lib/auto
+@dirrm rt2/lib/RT/Interface
+@dirrm rt2/lib/RT/Condition
+@dirrm rt2/lib/RT/Action
+@dirrm rt2/lib/RT
+@dirrm rt2/lib
+@dirrm rt2/etc
+@dirrm rt2/bin
+@dirrm rt2/WebRT/sessiondata
+@dirrm rt2/WebRT/html/User/CVS
+@dirrm rt2/WebRT/html/User
+@dirrm rt2/WebRT/html/Ticket/Elements/CVS
+@dirrm rt2/WebRT/html/Ticket/Elements
+@dirrm rt2/WebRT/html/Ticket/CVS
+@dirrm rt2/WebRT/html/Ticket/Attachment/CVS
+@dirrm rt2/WebRT/html/Ticket/Attachment
+@dirrm rt2/WebRT/html/Ticket
+@dirrm rt2/WebRT/html/SelfService/Elements/CVS
+@dirrm rt2/WebRT/html/SelfService/Elements
+@dirrm rt2/WebRT/html/SelfService/CVS
+@dirrm rt2/WebRT/html/SelfService/Attachment/CVS
+@dirrm rt2/WebRT/html/SelfService/Attachment
+@dirrm rt2/WebRT/html/SelfService
+@dirrm rt2/WebRT/html/Search/CVS
+@dirrm rt2/WebRT/html/Search
+@dirrm rt2/WebRT/html/NoAuth/images/CVS
+@dirrm rt2/WebRT/html/NoAuth/images
+@dirrm rt2/WebRT/html/NoAuth/CVS
+@dirrm rt2/WebRT/html/NoAuth
+@dirrm rt2/WebRT/html/Elements/CVS
+@dirrm rt2/WebRT/html/Elements
+@dirrm rt2/WebRT/html/CVS
+@dirrm rt2/WebRT/html/Admin/Users/CVS
+@dirrm rt2/WebRT/html/Admin/Users
+@dirrm rt2/WebRT/html/Admin/Queues/CVS
+@dirrm rt2/WebRT/html/Admin/Queues
+@dirrm rt2/WebRT/html/Admin/Keywords/CVS
+@dirrm rt2/WebRT/html/Admin/Keywords
+@dirrm rt2/WebRT/html/Admin/KeywordSelects/CVS
+@dirrm rt2/WebRT/html/Admin/KeywordSelects
+@dirrm rt2/WebRT/html/Admin/Groups/CVS
+@dirrm rt2/WebRT/html/Admin/Groups
+@dirrm rt2/WebRT/html/Admin/Global/CVS
+@dirrm rt2/WebRT/html/Admin/Global
+@dirrm rt2/WebRT/html/Admin/Elements/CVS
+@dirrm rt2/WebRT/html/Admin/Elements
+@dirrm rt2/WebRT/html/Admin/CVS
+@dirrm rt2/WebRT/html/Admin
+@dirrm rt2/WebRT/html
+@dirrm rt2/WebRT/data
+@dirrm rt2/WebRT
+@unexec rmdir %D/rt2 2>/dev/null || true