[CVS] OpenPKG: openpkg-src/rt/ rt.patch rt.spec

2004-03-16 Thread Michael Schloh
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Michael Schloh
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   16-Mar-2004 16:25:04
  Branch: HEAD Handle: 2004031615250300

  Modified files:
openpkg-src/rt  rt.patch rt.spec

  Log:
upgrading package: rt 3.0.8 - 3.0.9

  Summary:
RevisionChanges Path
1.19+7  -20 openpkg-src/rt/rt.patch
1.123   +3  -3  openpkg-src/rt/rt.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/rt/rt.patch
  
  $ cvs diff -u -r1.18 -r1.19 rt.patch
  --- openpkg-src/rt/rt.patch   25 Nov 2003 16:23:11 -  1.18
  +++ openpkg-src/rt/rt.patch   16 Mar 2004 15:25:03 -  1.19
  @@ -40,12 +40,12 @@
$user = 
$pass = undef
   Index: html/Ticket/Elements/ShowMessageStanza
   html/Ticket/Elements/ShowMessageStanza.orig  2003-11-18 01:31:12.0 
+0100
  -+++ html/Ticket/Elements/ShowMessageStanza   2003-11-25 17:19:25.0 +0100
  -@@ -23,23 +23,44 @@
  - %# END LICENSE BLOCK
  +--- html/Ticket/Elements/ShowMessageStanza.orig  2004-03-16 16:19:24.0 
+0100
   html/Ticket/Elements/ShowMessageStanza   2004-03-16 16:20:51.0 +0100
  +@@ -24,12 +24,40 @@
  + % if (ref($Message)) {
  + font color=%$colors[$Depth]%
%perl
  - if (ref($Message)) {
   -foreach my $stanza (@$Message) {
   -if ( ref $stanza eq ARRAY ) {
   -$m-comp( 'ShowMessageStanza',
  @@ -87,21 +87,8 @@
   +$msg .= $stanza-{raw}\n;
   +}
}
  --elsif ( ref $stanza eq HASH ) {
  --my $content = $stanza-{raw};
  --RT::Interface::Web::EscapeUTF8(\$content);
  --$m-comp('/Elements/Callback', content = \$content, %ARGS);
  --$content =~ s/\n/br/gi;
  --
  -+$wrapfunc-($msg);
  - /%perl
  --font color=%$colors[$Depth]%%$content |n%br/font
  --%   }
  --% }
  -+font color=%$colors[$Depth]%pre%$msg |n%/pre/font
  - % } else {
  - % my $content = $Message;
  - %RT::Interface::Web::EscapeUTF8(\$content);
  + elsif ( ref $stanza eq HASH ) {
  + my $content = $stanza-{raw};
   Index: lib/RT/Attachment_Overlay.pm
   --- lib/RT/Attachment_Overlay.pm.orig2003-11-18 01:31:13.0 +0100
   +++ lib/RT/Attachment_Overlay.pm 2003-11-25 17:08:38.0 +0100
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-src/rt/rt.spec
  
  $ cvs diff -u -r1.122 -r1.123 rt.spec
  --- openpkg-src/rt/rt.spec18 Feb 2004 12:22:56 -  1.122
  +++ openpkg-src/rt/rt.spec16 Mar 2004 15:25:03 -  1.123
  @@ -26,8 +26,8 @@
   #   FIXME: rse: Error: MM: mm:core: failed to open semaphore file (Permission 
denied): OS: No such file or directory
   
   #   package versions
  -%define   V_real   3-0-8
  -%define   V_here   3.0.8
  +%define   V_real   3-0-9
  +%define   V_here   3.0.9
   %define   V_log_dispatch   2.04
   %define   V_html_mason 1.25
   %define   V_mldbm  2.01
  @@ -48,7 +48,7 @@
   Group:Database
   License:  GPL
   Version:  %{V_here}
  -Release:  20040218
  +Release:  20040316
   
   #   package options
   %option   with_color_primary   336699
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/rt/ rt.patch

2003-11-25 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   25-Nov-2003 17:23:14
  Branch: HEAD Handle: 2003112516231100

  Modified files:
openpkg-src/rt  rt.patch

  Log:
fix ShowMessageStanza patch and cleanup the whole stuff by
regenerating from scratch

  Summary:
RevisionChanges Path
1.18+66 -60 openpkg-src/rt/rt.patch
  

  patch -p0 '@@ .'
  Index: openpkg-src/rt/rt.patch
  
  $ cvs diff -u -r1.17 -r1.18 rt.patch
  --- openpkg-src/rt/rt.patch   20 Nov 2003 11:16:38 -  1.17
  +++ openpkg-src/rt/rt.patch   25 Nov 2003 16:23:11 -  1.18
  @@ -1,17 +1,48 @@
   lib/RT/User_Overlay.pm.dist  Tue Sep  9 17:16:16 2003
  -+++ lib/RT/User_Overlay.pm   Tue Sep  9 17:18:24 2003
  -@@ -279,7 +279,7 @@
  - #If the create failed.
  - unless ($id) {
  - $RT::Handle-Rollback();
  --$RT::Logger-error(Could not create a new user -  .join('-'. %args));
  -+$RT::Logger-error(Could not create a new user -  .join('-', %args));
  +Index: html/Elements/Header
  +--- html/Elements/Header.orig2003-11-18 01:31:11.0 +0100
   html/Elements/Header 2003-11-25 17:08:38.0 +0100
  +@@ -40,9 +40,10 @@
  + 
  + % }
  + 
  ++% if ($session{'CurrentUser'}  $session{'CurrentUser'}-Id  $LoggedIn) {
  + table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#FF
  +   tr 
  +-td colspan=2a href=http://bestpractical.com;img 
src=%$RT::WebImagesURL%/bplogo.gif alt= width=230 height=50/a/td
  ++td colspan=2a href=%$RT::LogoLink%img src=%$RT::LogoURL% alt= 
width=230 height=50/a/td
  + tdnbsp;/td
  + tdnbsp;/td
  + td width=50% align=right
  +@@ -62,6 +63,7 @@
  + /td
  +   /tr
  + /table
  ++% }
  + %INIT

  - return ( 0, $self-loc('Could not create user') );
  - }
  + $r-header_out('Pragma' = 'no-cache');
  +Index: html/Elements/Login
  +--- html/Elements/Login.orig 2003-11-18 01:31:11.0 +0100
   html/Elements/Login  2003-11-25 17:08:38.0 +0100
  +@@ -87,12 +87,13 @@
  + If you've forgotten your username or password, RT can A
  + href=/NoAuth/Reminder.htmlsend you a reminder/a.
  + --
  ++!--
  + BR
  + BR
  + BR
  + HR
  + |/l, '2003'RT is copy; Copyright 1996-[_1] Jesse Vincent lt;[EMAIL 
PROTECTED]gt;.  It is distributed under a 
href=http://www.gnu.org/copyleft/gpl.html;Version 2 of the GNU General Public 
License./a/
  +-
  ++--
  + %ARGS
  + $user = 
  + $pass = undef
  +Index: html/Ticket/Elements/ShowMessageStanza
   --- html/Ticket/Elements/ShowMessageStanza.orig  2003-11-18 01:31:12.0 
+0100
  -+++ html/Ticket/Elements/ShowMessageStanza   2003-11-20 09:53:28.0 +0100
  -@@ -23,19 +23,46 @@
   html/Ticket/Elements/ShowMessageStanza   2003-11-25 17:19:25.0 +0100
  +@@ -23,23 +23,44 @@
%# END LICENSE BLOCK
%perl
if (ref($Message)) {
  @@ -21,7 +52,7 @@
   -  Depth   = $Depth + 1,
   -  Transaction = $Transaction,
   -  Message = $stanza );
  -+  { my $msg='';
  ++my $msg='';
   +my $wrapfunc = sub {
   +my $max = 0;
   +foreach ( split ( /\n/, $_[0] ) ) {
  @@ -63,54 +94,17 @@
   -$content =~ s/\n/br/gi;
   -
   +$wrapfunc-($msg);
  -+/%perl
  -+font color=%$colors[$Depth]%pre%$msg |n%/pre/font
  -+%perl
  -+  }
/%perl
  - font color=%$colors[$Depth]%%$content |n%br/font
  - %   }
   html/Elements/Header.dist2003-08-05 16:22:02.0 +0200
  -+++ html/Elements/Header 2003-08-05 16:24:22.0 +0200
  -@@ -40,9 +40,10 @@
  - 
  - % }
  - 
  -+% if ($session{'CurrentUser'}  $session{'CurrentUser'}-Id  $LoggedIn) {
  - table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#FF
  -   tr 
  --td colspan=2a href=http://bestpractical.com;img 
src=%$RT::WebImagesURL%/bplogo.gif alt= width=230 height=50/a/td
  -+td colspan=2a href=%$RT::LogoLink%img src=%$RT::LogoURL% alt= 
width=230 height=50/a/td
  - tdnbsp;/td
  - tdnbsp;/td
  - td width=50% align=right
  -@@ -62,6 +63,7 @@
  - /td
  -   /tr
  - /table
  -+% }
  - %INIT
  - 
  - $r-header_out('Pragma' = 'no-cache');
   html/Elements/Login.dist 2003-08-05 16:22:17.0 +0200
  -+++ html/Elements/Login  2003-08-05 16:25:30.0 +0200
  -@@ -87,12 +87,13 @@
  - If you've forgotten your username or password, RT can A
  - href=/NoAuth/Reminder.htmlsend you a reminder/a.
  - --
  -+!--
  - BR
  - BR
  - BR
  - HR
  - |/l, '2003'RT is copy; 

[CVS] OpenPKG: openpkg-src/rt/ rt.patch

2003-08-14 Thread Michael van Elst
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Michael van Elst
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   06-Aug-2003 14:05:51
  Branch: HEAD Handle: 2003080613055000

  Modified files:
openpkg-src/rt  rt.patch

  Log:
fix typo in patch

  Summary:
RevisionChanges Path
1.15+2  -2  openpkg-src/rt/rt.patch
  

  patch -p0 '@@ .'
  Index: openpkg-src/rt/rt.patch
  
  $ cvs diff -u -r1.14 -r1.15 rt.patch
  --- openpkg-src/rt/rt.patch   6 Aug 2003 11:49:43 -   1.14
  +++ openpkg-src/rt/rt.patch   6 Aug 2003 12:05:50 -   1.15
  @@ -18,7 +18,7 @@
return ( 0, $self-loc('Could not create user') );
}
   --- html/Ticket/Elements/ShowMessageStanza.dist  2003-08-05 16:21:42.0 
+0200
  -+++ html/Ticket/Elements/ShowMessageStanza   2003-08-06 13:44:18.0 +0200
   html/Ticket/Elements/ShowMessageStanza   2003-08-06 14:01:58.0 +0200
   @@ -22,23 +22,47 @@
%# 
%# END LICENSE BLOCK
  @@ -61,7 +61,7 @@
   +  Message = $stanza );
   +}
   +elsif ( ref $stanza eq HASH ) {
  -+$mst .= $stanza-{raw}\n;
  ++$msg .= $stanza-{raw}\n;
   +}
}
   -elsif ( ref $stanza eq HASH ) {
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/rt/ rt.patch

2003-08-14 Thread Michael van Elst
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Michael van Elst
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   06-Aug-2003 13:49:43
  Branch: HEAD Handle: 2003080612494300

  Modified files:
openpkg-src/rt  rt.patch

  Log:
better line wrap, handle encoding errors gracefully

  Summary:
RevisionChanges Path
1.14+38 -22 openpkg-src/rt/rt.patch
  

  patch -p0 '@@ .'
  Index: openpkg-src/rt/rt.patch
  
  $ cvs diff -u -r1.13 -r1.14 rt.patch
  --- openpkg-src/rt/rt.patch   6 Aug 2003 10:02:04 -   1.13
  +++ openpkg-src/rt/rt.patch   6 Aug 2003 11:49:43 -   1.14
  @@ -18,8 +18,8 @@
return ( 0, $self-loc('Could not create user') );
}
   --- html/Ticket/Elements/ShowMessageStanza.dist  2003-08-05 16:21:42.0 
+0200
  -+++ html/Ticket/Elements/ShowMessageStanza   2003-08-06 11:49:29.0 +0200
  -@@ -22,23 +22,44 @@
   html/Ticket/Elements/ShowMessageStanza   2003-08-06 13:44:18.0 +0200
  +@@ -22,23 +22,47 @@
%# 
%# END LICENSE BLOCK
%perl
  @@ -30,9 +30,26 @@
   -  Transaction = $Transaction,
   -  Message = $stanza );
   +  { my $msg='';
  ++my $wrapfunc = sub {
  ++my $max = 0;
  ++foreach ( split ( /\n/, $_[0] ) ) {
  ++$max = length if length  $max;
  ++}
  ++if ( $max  76 ) {
  ++require Text::Wrapper;
  ++my $wrapper = new Text::Wrapper(
  ++columns= 70,
  ++body_start = ( $max  70 * 3 ? '   ' : '' ),
  ++par_start  = '');
  ++$_[0] = $wrapper-wrap($_[0]);
  ++}
  ++RT::Interface::Web::EscapeUTF8(\$_[0]);
  ++$m-comp('/Elements/Callback', content = \$_[0], %ARGS);
  ++};
   +foreach my $stanza (@$Message) {
   +if ( ref $stanza eq ARRAY ) {
   +if ($msg ne '') {
  ++$wrapfunc-($msg);
   +/%perl
   +font color=%$colors[$Depth]%pre%$msg |n%/pre/font
   +%perl
  @@ -44,22 +61,7 @@
   +  Message = $stanza );
   +}
   +elsif ( ref $stanza eq HASH ) {
  -+my $content = $stanza-{raw};
  -+RT::Interface::Web::EscapeUTF8(\$content);
  -+$m-comp('/Elements/Callback', content = \$content, %ARGS);
  -+my $max = 0;
  -+foreach ( split ( /\n/, $content ) ) {
  -+$max = length if length  $max;
  -+}   
  -+if ( $max  76 ) {  
  -+require Text::Wrapper;
  -+my $wrapper = new Text::Wrapper(
  -+columns= 70,
  -+body_start = ( $max  70 * 3 ? '   ' : '' ),
  -+par_start  = '');
  -+$content = $wrapper-wrap($content);
  -+}
  -+$msg .= $content\n;
  ++$mst .= $stanza-{raw}\n;
   +}
}
   -elsif ( ref $stanza eq HASH ) {
  @@ -68,14 +70,15 @@
   -$m-comp('/Elements/Callback', content = \$content, %ARGS);
   -$content =~ s/\n/br/gi;
   -
  ++$wrapfunc-($msg);
  ++/%perl
  ++font color=%$colors[$Depth]%pre%$msg |n%/pre/font
  ++%perl
  ++  }
/%perl
   -font color=%$colors[$Depth]%%$content |n%br/font
   -%   }
   -% }
  -+font color=%$colors[$Depth]%pre%$msg |n%/pre/font
  -+%perl
  -+  }
  -+/%perl
%INIT
use URI::URL;
my $server = 'fsck.com';
  @@ -118,3 +121,16 @@
%ARGS
$user = 
$pass = undef
  +--- lib/RT/Attachment_Overlay.pm.dist2003-08-06 13:01:15.0 +0200
   lib/RT/Attachment_Overlay.pm 2003-08-06 13:01:32.0 +0200
  +@@ -313,7 +313,9 @@
  + # If we somehow fail to do the decode, at least push out the raw bits
  + eval {return( Encode::decode_utf8($content))} || return ($content);
  +   }
  +-  Encode::from_to($content, 'utf8' = $enc);
  ++  if (!$enc) {
  ++eval {Encode::from_to($content, 'utf8' = $enc);}
  ++  }
  +   return $content;
  + }
  + 
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/rt/ rt.patch rt.spec openpkg-web/ news.txt

2003-08-05 Thread Michael van Elst
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Michael van Elst
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web  Date:   05-Aug-2003 16:54:18
  Branch: HEAD Handle: 2003080515541601

  Modified files:
openpkg-src/rt  rt.patch rt.spec
openpkg-web news.txt

  Log:
functionality of our changes to Ticket_Overlay is now replicated in
the vendor source, however, this requires to adjust rights stored in
the database to explicitly allow taking tickets from 'Nobody' or
stealing tickets from other users

  Summary:
RevisionChanges Path
1.12+12 -68 openpkg-src/rt/rt.patch
1.90+1  -1  openpkg-src/rt/rt.spec
1.6039  +1  -0  openpkg-web/news.txt
  

  patch -p0 '@@ .'
  Index: openpkg-src/rt/rt.patch
  
  $ cvs diff -u -r1.11 -r1.12 rt.patch
  --- openpkg-src/rt/rt.patch   23 Jun 2003 10:09:55 -  1.11
  +++ openpkg-src/rt/rt.patch   5 Aug 2003 14:54:17 -   1.12
  @@ -1,5 +1,5 @@
   lib/RT/User_Overlay.pm.dist  2003-05-15 12:35:15.0 +0200
  -+++ lib/RT/User_Overlay.pm   2003-05-15 12:36:26.0 +0200
  +--- lib/RT/User_Overlay.pm.dist  2003-08-05 16:22:34.0 +0200
   lib/RT/User_Overlay.pm   2003-08-05 16:29:17.0 +0200
   @@ -203,7 +203,6 @@
@_# get the real argumentlist
);
  @@ -13,12 +13,12 @@
#If the create failed.
unless ($id) {
   -$RT::Logger-error(Could not create a new user -  .join('-'. %args));
  -+$RT::Logger-error(Could not create a new user -  .join('-',%args));
  ++$RT::Logger-error(Could not create a new user -  .join('-', %args));

return ( 0, $self-loc('Could not create user') );
}
   html/Ticket/Elements/ShowMessageStanza.dist  2003-05-15 12:30:24.0 
+0200
  -+++ html/Ticket/Elements/ShowMessageStanza   2003-05-15 12:31:11.0 +0200
  +--- html/Ticket/Elements/ShowMessageStanza.dist  2003-08-05 16:21:42.0 
+0200
   html/Ticket/Elements/ShowMessageStanza   2003-08-05 16:28:06.0 +0200
   @@ -22,22 +22,23 @@
%# 
%# END LICENSE BLOCK
  @@ -57,8 +57,8 @@
% }
%INIT
use URI::URL;
   html/Elements/Header.dist2003-04-16 10:23:42.0 +0200
  -+++ html/Elements/Header 2003-04-16 10:24:13.0 +0200
  +--- html/Elements/Header.dist2003-08-05 16:22:02.0 +0200
   html/Elements/Header 2003-08-05 16:24:22.0 +0200
   @@ -40,9 +40,10 @@

% }
  @@ -67,11 +67,11 @@
table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#FF
  tr 
   -td colspan=2a href=http://bestpractical.com;img 
src=%$RT::WebImagesURL%/bplogo.gif alt= width=230 height=50/a/td
  -+td colspan=2a href=%$RT::LogoLink%img src=%$RT::LogoURL% 
alt=/a/td
  ++td colspan=2a href=%$RT::LogoLink%img src=%$RT::LogoURL% alt= 
width=230 height=50/a/td
tdnbsp;/td
tdnbsp;/td
td width=50% align=right
  -@@ -61,6 +62,7 @@
  +@@ -62,6 +63,7 @@
/td
  /tr
/table
  @@ -79,9 +79,9 @@
%INIT

$r-header_out('Pragma' = 'no-cache');
   html/Elements/Login.dist 2003-04-16 10:23:47.0 +0200
  -+++ html/Elements/Login  2003-04-16 10:25:06.0 +0200
  -@@ -86,12 +86,13 @@
  +--- html/Elements/Login.dist 2003-08-05 16:22:17.0 +0200
   html/Elements/Login  2003-08-05 16:25:30.0 +0200
  +@@ -87,12 +87,13 @@
If you've forgotten your username or password, RT can A
href=/NoAuth/Reminder.htmlsend you a reminder/a.
--
  @@ -96,59 +96,3 @@
%ARGS
$user = 
$pass = undef
   lib/RT/Ticket_Overlay.pm.distSat Jun 21 19:02:51 2003
  -+++ lib/RT/Ticket_Overlay.pm Mon Jun 23 10:58:39 2003
  -@@ -1718,6 +1718,7 @@
  - Returns true if the specified principal (or the one corresponding to the
  - specified address) is a member of the group Type for this ticket.
  - 
  -+
  - =cut
  - 
  - sub IsWatcher {
  -@@ -2778,7 +2779,16 @@
  - my $self  = shift;
  - my $MergeInto = shift;
  - 
  --unless ( $self-CurrentUserHasRight('ModifyTicket') ) {
  -+# we want to allow to take over tickets from Nobody even
  -+# when we currently are not allowed to modify the ticket
  -+# but might own it.
  -+# it is also ok to assign it to a third user as we could
  -+# get to the same result by first owning the ticket ourselves
  -+# and then give it away to the third user.
  -+# -- mlelstv
  -+unless ( $self-CurrentUserHasRight('ModifyTicket')
  -+ or ( 

[CVS] OpenPKG: openpkg-src/rt/ rt.patch rt.spec rtapache.conf rtapache...

2003-04-04 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web  Date:   04-Apr-2003 16:53:42
  Branch: HEAD Handle: 2003040415534002

  Modified files:
openpkg-src/rt  rt.patch rt.spec rtapache.conf rtapachectl
openpkg-web news.txt

  Log:
- move webrt.css to prefix/etc/rt/ as %config for editing
- move rtapache.conf to prefix/etc/rt/ as %config for editing
- integrate primary color selection as %option to reduce post-patching
- disable useless header element on login screen
- disable nasty looking copyright message on login screen
- provide generic support for logo and URL in header

  Summary:
RevisionChanges Path
1.4 +51 -0  openpkg-src/rt/rt.patch
1.40+21 -4  openpkg-src/rt/rt.spec
1.6 +1  -1  openpkg-src/rt/rtapache.conf
1.2 +1  -2  openpkg-src/rt/rtapachectl
1.3956  +1  -0  openpkg-web/news.txt
  

  patch -p0 '@@ .'
  Index: openpkg-src/rt/rt.patch
  
  $ cvs diff -u -r1.3 -r1.4 rt.patch
  --- openpkg-src/rt/rt.patch   2 Apr 2003 15:41:46 -   1.3
  +++ openpkg-src/rt/rt.patch   4 Apr 2003 14:53:42 -   1.4
  @@ -47,3 +47,54 @@
% }
%INIT
use URI::URL;
  +--- etc/RT_Config.pm.in.orig Mon Mar 24 17:38:40 2003
   etc/RT_Config.pm.in  Fri Apr  4 16:06:52 2003
  +@@ -262,7 +262,8 @@
  + 
  + # $RTLogoURL points to the URL of the RT logo displayed in the web UI
  + 
  +-Set($LogoURL , $WebImagesURL . rt.jpg);
  ++Set($LogoURL , $WebImagesURL . /bplogo.gif);
  ++Set($LogoLink , http://bestpractical.com/;);
  + 
  + # if TrustHTMLAttachments is not defined, we will display them
  + # as text. This prevents malicious HTML and javascript from being
  +--- html/Elements/Header.origMon Mar 24 17:38:40 2003
   html/Elements/Header Fri Apr  4 16:02:16 2003
  +@@ -40,9 +40,10 @@
  + 
  + % }
  + 
  ++% if ($session{'CurrentUser'}  $session{'CurrentUser'}-Id  $LoggedIn) {
  + table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#FF
  +   tr 
  +-td colspan=2a href=http://bestpractical.com;img 
src=%$RT::WebImagesURL%/bplogo.gif alt= width=230 height=50/a/td
  ++td colspan=2a href=%$RT::LogoLink%img src=%$RT::LogoURL% alt= 
width=230 height=50/a/td
  + tdnbsp;/td
  + tdnbsp;/td
  + td width=50% align=right
  +@@ -61,6 +62,7 @@
  + /td
  +   /tr
  + /table
  ++% }
  + %INIT
  + 
  + $r-header_out('Pragma' = 'no-cache');
  +--- html/Elements/Login.orig Mon Mar 24 17:38:40 2003
   html/Elements/Login  Wed Apr  2 21:17:21 2003
  +@@ -86,12 +86,13 @@
  + If you've forgotten your username or password, RT can A
  + href=/NoAuth/Reminder.htmlsend you a reminder/a.
  + --
  ++!--
  + BR
  + BR
  + BR
  + HR
  + |/l, '2003'RT is copy; Copyright 1996-[_1] Jesse Vincent lt;[EMAIL 
PROTECTED]gt;.  It is distributed under a 
href=http://www.gnu.org/copyleft/gpl.html;Version 2 of the GNU General Public 
License./a/
  +-
  ++--
  + %ARGS
  + $user = 
  + $pass = undef
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-src/rt/rt.spec
  
  $ cvs diff -u -r1.39 -r1.40 rt.spec
  --- openpkg-src/rt/rt.spec3 Apr 2003 13:37:25 -   1.39
  +++ openpkg-src/rt/rt.spec4 Apr 2003 14:53:42 -   1.40
  @@ -47,7 +47,10 @@
   Group:Database
   License:  GPL
   Version:  %{V_here}
  -Release:  20030403
  +Release:  20030404
  +
  +#   package options
  +%option   with_color_primary  336699
   
   #   list of sources
   Source0:  
http://www.cpan.org/modules/by-module/Log/Log-Dispatch-%{V_log_dispatch}.tar.gz
  @@ -318,6 +321,12 @@
 ln -s \
   %{l_prefix}/etc/rt/RT_SiteConfig.pm \
   $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/RT_SiteConfig.pm
  +  mv \
  +$RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT/html/NoAuth/webrt.css \
  +$RPM_BUILD_ROOT%{l_prefix}/etc/rt/webrt.css
  +  ln -s \
  +%{l_prefix}/etc/rt/webrt.css \
  +$RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT/html/NoAuth/webrt.css
   ) || exit $?
   
   #   remove Win32 handler
  @@ -346,8 +355,8 @@
   #   startup script
   %{l_shtool} install -c -m 755 \
   -e 's;@l_prefix@;%{l_prefix};g' \
  --e 's;@l_rusr@;%{l_rusr};g' \
  --e 's;@l_rgrp@;%{l_rgrp};g' \
  +-e 's;@l_rusr@;%{l_rusr};g' \
  +-e 's;@l_rgrp@;%{l_rgrp};g' \
   %{SOURCE rc.rt} \
   $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
   
 

[CVS] OpenPKG: openpkg-src/rt/ rt.patch

2003-04-04 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   04-Apr-2003 17:49:38
  Branch: HEAD Handle: 2003040416493700

  Modified files:
openpkg-src/rt  rt.patch

  Log:
allow the logo image to be of any size, please

  Summary:
RevisionChanges Path
1.5 +1  -1  openpkg-src/rt/rt.patch
  

  patch -p0 '@@ .'
  Index: openpkg-src/rt/rt.patch
  
  $ cvs diff -u -r1.4 -r1.5 rt.patch
  --- openpkg-src/rt/rt.patch   4 Apr 2003 14:53:42 -   1.4
  +++ openpkg-src/rt/rt.patch   4 Apr 2003 15:49:37 -   1.5
  @@ -69,7 +69,7 @@
table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#FF
  tr 
   -td colspan=2a href=http://bestpractical.com;img 
src=%$RT::WebImagesURL%/bplogo.gif alt= width=230 height=50/a/td
  -+td colspan=2a href=%$RT::LogoLink%img src=%$RT::LogoURL% alt= 
width=230 height=50/a/td
  ++td colspan=2a href=%$RT::LogoLink%img src=%$RT::LogoURL% 
alt=/a/td
tdnbsp;/td
tdnbsp;/td
td width=50% align=right
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/rt/ rt.patch rt.spec rtapache.conf openpkg-...

2003-04-02 Thread Michael van Elst
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Michael van Elst
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web  Date:   02-Apr-2003 15:05:47
  Branch: HEAD Handle: 2003040214054501

  Added files:
openpkg-src/rt  rt.patch
  Modified files:
openpkg-src/rt  rt.spec rtapache.conf
openpkg-web news.txt

  Log:
fix CanonicalizeEmailAddress, configure MTA aliases, make apache
listen on localhost only

  Summary:
RevisionChanges Path
1.1 +11 -0  openpkg-src/rt/rt.patch
1.37+31 -1  openpkg-src/rt/rt.spec
1.5 +1  -0  openpkg-src/rt/rtapache.conf
1.3927  +1  -0  openpkg-web/news.txt
  

  patch -p0 '@@ .'
  Index: openpkg-src/rt/rt.patch
  
  $ cvs diff -u -r0 -r1.1 rt.patch
  --- /dev/null 2003-04-02 15:05:47.0 +0200
  +++ rt.patch  2003-04-02 15:05:47.0 +0200
  @@ -0,0 +1,11 @@
  +--- lib/RT/User_Overlay.pm.dist  Wed Apr  2 14:44:58 2003
   lib/RT/User_Overlay.pm   Wed Apr  2 14:45:17 2003
  +@@ -541,7 +541,7 @@
  + # coming from a subdomain as coming from second level domain
  + # foo.com
  + if ($RT::CanonicalizeEmailAddressMatch  $RT::CanonicalizeEmailAddressReplace 
) {
  +-$email =~ 
s/\$RT::CanonicalizeEmailAddressMatch/$RT::CanonicalizeEmailAddressReplace/gi;
  ++$email =~ 
s/$RT::CanonicalizeEmailAddressMatch/$RT::CanonicalizeEmailAddressReplace/gi;
  + }
  + return ($email);
  + }
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-src/rt/rt.spec
  
  $ cvs diff -u -r1.36 -r1.37 rt.spec
  --- openpkg-src/rt/rt.spec1 Apr 2003 11:26:54 -   1.36
  +++ openpkg-src/rt/rt.spec2 Apr 2003 13:05:46 -   1.37
  @@ -47,7 +47,7 @@
   Group:Database
   License:  GPL
   Version:  %{V_here}
  -Release:  20030401
  +Release:  20030402
   
   #   list of sources
   Source0:  
http://www.cpan.org/modules/by-module/Log/Log-Dispatch-%{V_log_dispatch}.tar.gz
  @@ -69,6 +69,7 @@
   Source16: rtapache.conf
   Source17: config.layout
   Source18: rt-mailgate.sh
  +Patch0:   rt.patch
   
   #   build information
   Prefix:   %{l_prefix}
  @@ -105,6 +106,9 @@
   %setup -q -T -D -a 8
   %setup -q -T -D -a 9
   %setup -q -T -D -a 10
  +( cd rt-%{V_real}
  +  %patch0 -p0
  +) || exit $?
   %{l_shtool} install -c -m 0644 \
   -e 's;@l_prefix@;%{l_prefix};' \
   %{SOURCE config.layout} rt-%{V_real}/.
  @@ -390,6 +394,20 @@
   rm -rf $RPM_BUILD_ROOT
   
   %post
  +if [ $1 -eq 1 ]; then
  +#   activate in MTA configuration
  +mta_aliases_file=`%{l_prefix}/etc/rc --query mta_aliases_file`
  +mta_aliases_update=`%{l_prefix}/etc/rc --query mta_aliases_update`
  +if [ .$mta_aliases_file != . ]; then
  +(
  +  echo rt:  \|%{l_prefix}/bin/rt-mailgate --action 
correspond --queue general --url http://127.0.0.1:8380/\;
  +  echo rt-comment:  \|%{l_prefix}/bin/rt-mailgate --action 
comment --queue general --url http://127.0.0.1:8380/\;
  +) | %{l_rpmtool} config -a -i %{l_prefix}:%{name} $mta_aliases_file
  +fi
  +if [ .$mta_aliases_update != . ]; then
  +eval $mta_aliases_update
  +fi
  +fi
   ( echo To complete installation of the RT package please check the
 echo file '$RPM_INSTALL_PREFIX/etc/rt/RT_SiteConfig.pm'. In particular
 echo you have to assign a password to the RT database user.
  @@ -406,7 +424,19 @@
   
   %preun
   if [ $1 -eq 0 ]; then
  +#   stop perhaps still running server
   $RPM_INSTALL_PREFIX/etc/rc rt stop
  +
  +#   deactivate in MTA configuration
  +mta_aliases_file=`%{l_prefix}/etc/rc --query mta_aliases_file`
  +mta_aliases_update=`%{l_prefix}/etc/rc --query mta_aliases_update`
  +if [ .$mta_aliases_file != . ]; then
  +%{l_rpmtool} config -r -i %{l_prefix}:%{name} $mta_aliases_file
  +fi
  +if [ .$mta_aliases_update != . ]; then
  +eval $mta_aliases_update
  +fi
  +
   rm -f $RPM_INSTALL_PREFIX/var/rt/mason-session/*
   rm -rf $RPM_INSTALL_PREFIX/var/rt/mason-data/*/*
   rm -f $RPM_INSTALL_PREFIX/var/rt/log/*
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-src/rt/rtapache.conf
  
  $ cvs diff -u -r1.4 -r1.5 rtapache.conf
  --- 

[CVS] OpenPKG: openpkg-src/rt/ rt.patch

2003-04-02 Thread Michael van Elst
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Michael van Elst
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   02-Apr-2003 16:20:00
  Branch: HEAD Handle: 200304021520

  Modified files:
openpkg-src/rt  rt.patch

  Log:
make messages appear as pre-formatted text

  Summary:
RevisionChanges Path
1.2 +14 -0  openpkg-src/rt/rt.patch
  

  patch -p0 '@@ .'
  Index: openpkg-src/rt/rt.patch
  
  $ cvs diff -u -r1.1 -r1.2 rt.patch
  --- openpkg-src/rt/rt.patch   2 Apr 2003 13:05:46 -   1.1
  +++ openpkg-src/rt/rt.patch   2 Apr 2003 14:20:00 -   1.2
  @@ -9,3 +9,17 @@
}
return ($email);
}
  +--- html/Ticket/Elements/ShowMessageStanza.dist  Wed Apr  2 15:28:24 2003
   html/Ticket/Elements/ShowMessageStanza   Wed Apr  2 15:28:44 2003
  +@@ -32,10 +32,9 @@
  + my $content = $stanza-{raw};
  + RT::Interface::Web::EscapeUTF8(\$content);
  + $m-comp('/Elements/Callback', content = \$content, %ARGS);
  +-$content =~ s/\n/br/gi;
  + 
  + /%perl
  +-font color=%$colors[$Depth]%%$content |n%br/font
  ++font color=%$colors[$Depth]%pre%$content |n%/prebr/font
  + %   }
  + % }
  + %INIT
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/rt/ rt.patch

2003-04-02 Thread Michael van Elst
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Michael van Elst
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   02-Apr-2003 17:41:47
  Branch: HEAD Handle: 2003040216414600

  Modified files:
openpkg-src/rt  rt.patch

  Log:
make stanzas appear as a single message

  Summary:
RevisionChanges Path
1.3 +32 -8  openpkg-src/rt/rt.patch
  

  patch -p0 '@@ .'
  Index: openpkg-src/rt/rt.patch
  
  $ cvs diff -u -r1.2 -r1.3 rt.patch
  --- openpkg-src/rt/rt.patch   2 Apr 2003 14:20:00 -   1.2
  +++ openpkg-src/rt/rt.patch   2 Apr 2003 15:41:46 -   1.3
  @@ -10,16 +10,40 @@
return ($email);
}
   --- html/Ticket/Elements/ShowMessageStanza.dist  Wed Apr  2 15:28:24 2003
  -+++ html/Ticket/Elements/ShowMessageStanza   Wed Apr  2 15:28:44 2003
  -@@ -32,10 +32,9 @@
  - my $content = $stanza-{raw};
  - RT::Interface::Web::EscapeUTF8(\$content);
  - $m-comp('/Elements/Callback', content = \$content, %ARGS);
   html/Ticket/Elements/ShowMessageStanza   Wed Apr  2 17:23:30 2003
  +@@ -22,21 +22,22 @@
  + %# 
  + %# END LICENSE BLOCK
  + %perl
  +-foreach my $stanza (@$Message) {
  +-if ( ref $stanza eq ARRAY ) {
  +-$m-comp( 'ShowMessageStanza',
  +-  Depth   = $Depth + 1,
  +-  Message = $stanza );
  ++  { my $msg = '';
  ++foreach my $stanza (@$Message) {
  ++if ( ref $stanza eq ARRAY ) {
  ++$m-comp( 'ShowMessageStanza',
  ++  Depth   = $Depth + 1,
  ++  Message = $stanza );
  ++}
  ++elsif ( ref $stanza eq HASH ) {
  ++my $content = $stanza-{raw};
  ++RT::Interface::Web::EscapeUTF8(\$content);
  ++$m-comp('/Elements/Callback', content = \$content, %ARGS);
  ++$msg .= $content\n;
  ++   }
  + }
  +-elsif ( ref $stanza eq HASH ) {
  +-my $content = $stanza-{raw};
  +-RT::Interface::Web::EscapeUTF8(\$content);
  +-$m-comp('/Elements/Callback', content = \$content, %ARGS);
   -$content =~ s/\n/br/gi;
  - 
  +-
/%perl
   -font color=%$colors[$Depth]%%$content |n%br/font
  -+font color=%$colors[$Depth]%pre%$content |n%/prebr/font
  - %   }
  +-%   }
  ++font color=%$colors[$Depth]%pre%$msg |n%/prebr/font
% }
%INIT
  + use URI::URL;
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]