head	1.4;
access;
symbols
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	old_RELEASE_6_1_0:1.1
	old_RELEASE_5_5_0:1.1;
locks; strict;
comment	@# @;


1.4
date	2011.09.30.09.12.34;	author dougb;	state dead;
branches;
next	1.3;

1.3
date	2007.06.24.15.14.54;	author rafan;	state Exp;
branches;
next	1.2;

1.2
date	2006.07.13.22.24.13;	author tdb;	state dead;
branches;
next	1.1;

1.1
date	2005.09.10.19.51.13;	author pav;	state Exp;
branches;
next	;


desc
@@


1.4
log
@As previously advertised, delete ports that have
vulnerabilities listed in portaudit, and those
that depend on them - part 1

math/mupad
	Relies on xpm, vulnerable since 2004-09-15
net-p2p/torrentflux
	Vulnerable since 2006-10-07
net/tptest
	Vulnerable since 2009-12-17
security/pgp6
	Vulnerable since 2005-07-31
www/p5-RTx-RightsMatrix
	Only works with www/rt36, which is FORBIDDEN
www/p5-RTx-Shredder
	Only works with www/rt36, which is FORBIDDEN
www/p5-RTx-Statistics
	Only works with www/rt36, which is FORBIDDEN
www/plone
	Vulnerable since 2011-02-10
www/pyblosxom
	Vulnerable since 2009-02-11
www/rt36
	Vulnerable since 2009-12-09
www/zope-archetypes
	Depends on www/plone, which is FORBIDDEN
www/zope-calendaring
	Depends on www/plone, which is FORBIDDEN
www/zope-coreblog2
	Depends on www/plone, which is FORBIDDEN
www/zope-i18nlayer
	Depends on www/plone, which is FORBIDDEN
www/zope-plonelanguagetool
	Depends on www/plone, which is FORBIDDEN
www/zope-simpleblog
	Depends on www/plone, which is FORBIDDEN
@
text
@--- lib/RT.pm.in.orig	Mon Nov  6 21:09:32 2006
+++ lib/RT.pm.in	Mon Apr 30 23:04:45 2007
@@@@ -98,6 +98,60 @@@@
 # via the web interface)
 $MasonSessionDir = '@@MASON_SESSION_PATH@@';
 
+=item import
+
+Allow override of various internal paths.
+
+    RT->import (
+            RT_INSTANCE_PATH => '/usr/local/rt/stuff',
+            SITE_CONFIG_FILE => '/etc/stuff.pm',
+              ...
+    );
+
+If RT_INSTANCE_PATH is set in the arguments (or in %ENV)
+then it replaces the old value of $BasePath in the following
+variables:
+  $SITE_CONFIG_FILE
+  $LocalPath
+  $LocalEtcPath
+  $LocalLexiconPath
+  $MasonLocalComponentRoot
+  $MasonDataDir
+  $MasonSessionDir
+
+Beyond that, those individual values can be set explicitly
+by arguments.
+
+=cut
+
+sub import {
+no strict 'refs';
+    shift;
+    my %args = @@_;
+    return unless ( scalar (keys %args) || $ENV{RT_INSTANCE_PATH} );
+
+    my @@variables = qw (
+        SITE_CONFIG_FILE
+        LocalPath
+        LocalEtcPath
+        LocalLexiconPath
+        MasonLocalComponentRoot
+        MasonDataDir
+        MasonSessionDir
+    );
+
+    my $RT_INSTANCE_PATH = $args{RT_INSTANCE_PATH} || $ENV{RT_INSTANCE_PATH};
+    if ($RT_INSTANCE_PATH) {
+        foreach my $vref (@@variables) {
+            $$vref =~ s/^\Q$BasePath\E/$RT_INSTANCE_PATH/;
+        }
+    }
+    foreach my $vref (@@variables) {
+        $$vref = $args{$vref} if defined ( $args{$vref} );
+    }
+
+use strict 'refs';
+}
 
 
 =head1 NAME
@


1.3
log
@- Add missing patch for MULTIPLE_INSTANCES

PR:   	      ports/112287
Submitted by: Sergey Prikhodko <sergey at network-asp.biz>
Approved by:  Vivek Khera <vivek at khera.org> (maintainer)
@
text
@@


1.2
log
@- Update repo-copied (from www/rt34) port www/rt36 to 3.6.0.

PR:		99660
Submitted by:	Vivek Khera <vivek@@khera.org> (maintainer)
@
text
@d1 2
a2 3
Index: lib/RT.pm.in
--- rt-3.4.2-pristine/lib/RT.pm.in      2005-05-11 20:36:48.098851448 -0400
+++ rt-3.4.2/lib/RT.pm.in       2005-05-11 20:41:52.026647400 -0400
d6 1
a6 1

d61 3
a63 1

@


1.1
log
@- Update to 3.4.4
- No longer broken with mod_perl2
- Fixed packing list when installing in non-standard path
- Added patch to Makefile.in to correctly install sample config files
- Added optional patches to support multiple instances

PR:		ports/85910
Submitted by:	Angelo Turetta <aturetta@@bestunion.it>
@
text
@@

