Your message dated Sat, 17 Sep 2005 10:55:30 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#317271: fixed in request-tracker3.4 3.4.4-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 7 Jul 2005 09:24:21 +0000
>From [EMAIL PROTECTED] Thu Jul 07 02:24:21 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mxs2.siemens.at [194.138.12.133] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DqScG-0005dB-00; Thu, 07 Jul 2005 02:24:20 -0700
Received: from vies1kbx.sie.siemens.at ([158.226.129.82])
        by mxs2.siemens.at  with ESMTP id j679Jfvf014726
        for <[EMAIL PROTECTED]>; Thu, 7 Jul 2005 11:19:41 +0200
Received: from smtp.prgpu.anfdata.cz ([158.226.129.98])
        by vies1kbx.sie.siemens.at (8.12.11/8.12.1) with ESMTP id j679OEri006163
        for <[EMAIL PROTECTED]>; Thu, 7 Jul 2005 11:24:14 +0200
Received: from cz2cp83c.prgzp.anfdata.cz (cz2cp83c.ww300.siemens.net 
[163.242.89.215])
        by smtp.prgpu.anfdata.cz (Postfix) with ESMTP
        id 392E026852; Thu,  7 Jul 2005 11:24:14 +0200 (CEST)
Received: from bulb by cz2cp83c.prgzp.anfdata.cz with local (Exim 4.50)
        id 1DqSc3-0003dv-NE; Thu, 07 Jul 2005 11:24:07 +0200
Date: Thu, 7 Jul 2005 11:24:07 +0200
From: Jan Hudec <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: request-tracker3.4: Patch to work with libapache2-mod-perl2 >= 2.0
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="cWoXeonUoKmBZSoM"
Content-Disposition: inline
X-Reportbug-Version: 3.15
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: request-tracker3.4
Severity: normal
Tags: patch

Hello, I managed to get request-tracker3.4 3.4.2 working with
libapache2-mod-perl2 2.0.1.

I attach a patch describing the changes I have done to the source
itself. I have not fixed the debian control file.

The patch does these three things:
1) In webmux.pl, replaces require Apache2; require Apache::Request with
   require Apache2::Request (and the same for Apache::compat).
2) In lib/RT/Interface/Web/Handler.pm renames the wrappers for
   Apache::request and calls to Apache->server with their respective
   new names.
3) Brings back the apache2-modperl2.conf, this time without
    PerlModule Apache2 Apache::compat
   statement. webmux.pl does the right thing, so this is not needed
   here.

For updating control files please note, that the patch replaces the
statements, so it now requires libapache2-mod-perl2 >= 2.0 and
libhtml-mason-perl >= 1.29, which is the first updated version.

Please, forward upstream too.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages request-tracker3.4 depends on:
ii  apache2                      2.0.54-4    next generation, scalable, extenda
ii  apache2-mpm-worker [apache2] 2.0.54-4    high speed threaded model for Apac
ii  exim4                        4.50-8      metapackage to ease exim MTA (v4)
ii  exim4-daemon-light [mail-tra 4.50-8      lightweight exim MTA (v4) daemon
ii  libapache-dbi-perl           0.94-2      Connect apache server to database
ii  libapache-mod-perl           1.29.0.3-6  integration of perl with the Apach
ii  libapache-request-perl       1.1-0.1     Generic Apache Request Library
ii  libapache-session-perl       1.60-2      Perl modules for keeping persisten
ii  libcache-cache-perl          1.04-1      Managed caches of persistent infor
ii  libcache-simple-timedexpiry- 0.21-1      Perl module to cache and expire ke
ii  libclass-returnvalue-perl    0.52-1      A return-value object that lets yo
ii  libdbd-pg-perl               1.42-1      a PostgreSQL interface for Perl 5
ii  libdbi-perl                  1.48-1      Perl5 database interface by Tim Bu
ii  libdbix-searchbuilder-perl   1.27-1      Encapsulate SQL queries and rows i
ii  libexception-class-perl      1.20-1      a module that allows you to declar
ii  libfcgi-perl                 0.67-1      FastCGI Perl module
ii  libfreezethaw-perl           0.43-2      converting Perl structures to stri
ii  libhtml-mason-perl           1:1.29.02-1 HTML::Mason Perl module
ii  libhtml-parser-perl          3.45-2      A collection of modules that parse
ii  libhtml-scrubber-perl        0.08-2      Perl extension for scrubbing/sanit
ii  liblocale-maketext-fuzzy-per 0.02-1      Maketext from already interpolated
ii  liblocale-maketext-lexicon-p 0.49-1      Lexicon-handling backends for "Loc
ii  liblog-dispatch-perl         2.10-1      Dispatches messages to multiple Lo
ii  libmailtools-perl            1.62-1      Manipulate email in perl programs
ii  libmime-perl                 5.417-1     Perl5 modules for MIME-compliant m
ii  libmldbm-perl                2.01-1      Store multidimensional hash struct
ii  libmodule-versions-report-pe 1.02-2      Report versions of all modules in
ii  libparams-validate-perl      0.76-1      validate parameters to Perl method
ii  libregexp-common-perl        2.120-1     Provide commonly requested regular
ii  libterm-readkey-perl         2.21-1.3    A perl module for simple terminal
ii  libtest-inline-perl          0.16-1      Embed tests and code examples in P
ii  libtext-autoformat-perl      1.12-3      Perl module for automatic text wra
ii  libtext-quoted-perl          1.8-2       Extract the structure of a quoted
ii  libtext-template-perl        1.44-1.1    Text::Template perl module
ii  libtext-wrapper-perl         1.000-2     Simple word wrapping routine
ii  libtime-modules-perl         2003.1126-2 Various Perl modules for time/date
ii  libtree-simple-perl          1.15-1      A simple tree object
ii  libxml-rss-perl              1.05-1      Perl module for managing RSS (RDF
ii  libxml-simple-perl           2.14-1      Perl module for reading and writin
ii  perl                         5.8.7-3     Larry Wall's Practical Extraction
ii  rt3.4-clients                3.4.2-4     Mail gateway and command-line inte
ii  sysklogd [system-log-daemon] 1.4.1-17    System Logging Daemon

Versions of packages request-tracker3.4 recommends:
ii  postgresql                 7.4.7-6sarge1 object-relational SQL database man

-- no debconf information

--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; 
filename="request-tracker3.4-3.4.2-patch-modperl-2.0.patch"

diff -Naur request-tracker3.4-3.4.2.orig/bin/webmux.pl.in 
request-tracker3.4-3.4.2/bin/webmux.pl.in
--- request-tracker3.4-3.4.2.orig/bin/webmux.pl.in      2005-07-07 
10:57:30.442769120 +0200
+++ request-tracker3.4-3.4.2/bin/webmux.pl.in   2005-07-07 10:59:52.152226008 
+0200
@@ -56,8 +56,8 @@
     use CGI qw(-private_tempfiles);    #bring this in before mason, to make 
sure we
                                    #set private_tempfiles
 
-    eval { require Apache2; require Apache::Request; 1 } or
-    eval { require Apache2; require Apache::compat; 1 } or die $@
+    eval { require Apache2::Request; 1 } or
+    eval { require Apache2::compat; 1 } or die $@
       if $ENV{'MOD_PERL'}
       and $ENV{'MOD_PERL'} =~ m{mod_perl/(?:2|1\.9)};
 
diff -Naur request-tracker3.4-3.4.2.orig/debian/conf/apache2-modperl2.conf 
request-tracker3.4-3.4.2/debian/conf/apache2-modperl2.conf
--- request-tracker3.4-3.4.2.orig/debian/conf/apache2-modperl2.conf     
1970-01-01 01:00:00.000000000 +0100
+++ request-tracker3.4-3.4.2/debian/conf/apache2-modperl2.conf  2005-07-07 
11:02:43.022249816 +0200
@@ -0,0 +1,46 @@
+ Include this file with:
+#
+#   Include /etc/request-tracker3.4/apache2-modperl2.conf
+#
+# into your Apache configuration file, in a virtual host section
+#
+# You will need to enable the Apache modules: perl, actions, rewrite
+#
+# The best place for this in the Debian Apache2 default situation is
+# near the end of the VirtualHost section in the file
+# /etc/apache2/sites-available/default.
+
+# You might want to enable this line
+# AddDefaultCharset UTF-8
+
+PerlModule Apache::DBI
+PerlRequire /usr/share/request-tracker3.4/libexec/webmux.pl
+PerlSetVar MasonArgsMethod CGI
+
+# Normally a request for a directory will be rewritten to index.html
+# (or similar) by default if that file exists. For some reason this does
+# not happen with the handler being set to perl-script. We thus have to
+# do it ourselves using mod_rewrite.
+
+RewriteEngine on
+
+# You might need to alter these two lines which refer to /rt to match
+# whatever base URL you are using for your rt3 site.
+
+RewriteRule ^/rt$ /rt/
+RewriteRule ^/rt/(.*)$ /usr/share/request-tracker3.4/html/$1
+RewriteCond %{REQUEST_FILENAME} -d
+RewriteRule ^(/usr/share/request-tracker3.4/html.*)/$ $1/index.html
+
+# We need this to prevent requests for images being sent through to
+# the RT::Mason handler.
+
+<Directory /usr/share/request-tracker3.4/html/NoAuth/images>
+  SetHandler default-handler
+</Directory>
+
+<Directory /usr/share/request-tracker3.4/html>
+  SetHandler perl-script
+  PerlHandler RT::Mason
+</Directory>
+
diff -Naur request-tracker3.4-3.4.2.orig/lib/RT/Interface/Web/Handler.pm 
request-tracker3.4-3.4.2/lib/RT/Interface/Web/Handler.pm
--- request-tracker3.4-3.4.2.orig/lib/RT/Interface/Web/Handler.pm       
2005-07-07 10:57:30.387777480 +0200
+++ request-tracker3.4-3.4.2/lib/RT/Interface/Web/Handler.pm    2005-07-07 
10:58:29.881733024 +0200
@@ -91,10 +91,10 @@
         goto &NewApache2Handler;
     }
     elsif ( $mod_perl::VERSION && $mod_perl::VERSION >= 1.9908 ) {
-        require Apache::RequestUtil;
+        require Apache2::RequestUtil;
         no warnings 'redefine';
-        my $sub = *Apache::request{CODE};
-        *Apache::request = sub {
+        my $sub = *Apache2::RequestUtil::request{CODE};
+        *Apache2::RequestUtil::request = sub {
             my $r;
             eval { $r = $sub->('Apache'); };
 
@@ -121,9 +121,9 @@
         umask(0077);
 
         if ($CGI::MOD_PERL) {
-            chown( Apache->server->uid, Apache->server->gid,
+            chown( Apache2::ServerUtil->server->uid, 
Apache2::ServerUtil->server->gid,
                 $RT::MasonSessionDir )
-            if Apache->server->can('uid');
+            if Apache2::ServerUtil->server->can('uid');
         }
 
         # Die if WebSessionDir doesn't exist or we can't write to it

--cWoXeonUoKmBZSoM--

---------------------------------------
Received: (at 317271-close) by bugs.debian.org; 17 Sep 2005 18:08:20 +0000
>From [EMAIL PROTECTED] Sat Sep 17 11:08:20 2005
Return-path: <[EMAIL PROTECTED]>
Received: from joerg by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EGguQ-0003QX-00; Sat, 17 Sep 2005 10:55:30 -0700
From: Stephen Quinney <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#317271: fixed in request-tracker3.4 3.4.4-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Joerg Jaspert <[EMAIL PROTECTED]>
Date: Sat, 17 Sep 2005 10:55:30 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 4

Source: request-tracker3.4
Source-Version: 3.4.4-1

We believe that the bug you reported is fixed in the latest version of
request-tracker3.4, which is due to be installed in the Debian FTP archive:

request-tracker3.4_3.4.4-1.diff.gz
  to pool/main/r/request-tracker3.4/request-tracker3.4_3.4.4-1.diff.gz
request-tracker3.4_3.4.4-1.dsc
  to pool/main/r/request-tracker3.4/request-tracker3.4_3.4.4-1.dsc
request-tracker3.4_3.4.4-1_all.deb
  to pool/main/r/request-tracker3.4/request-tracker3.4_3.4.4-1_all.deb
request-tracker3.4_3.4.4.orig.tar.gz
  to pool/main/r/request-tracker3.4/request-tracker3.4_3.4.4.orig.tar.gz
rt3.4-apache2_3.4.4-1_all.deb
  to pool/main/r/request-tracker3.4/rt3.4-apache2_3.4.4-1_all.deb
rt3.4-apache_3.4.4-1_all.deb
  to pool/main/r/request-tracker3.4/rt3.4-apache_3.4.4-1_all.deb
rt3.4-clients_3.4.4-1_all.deb
  to pool/main/r/request-tracker3.4/rt3.4-clients_3.4.4-1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Quinney <[EMAIL PROTECTED]> (supplier of updated request-tracker3.4 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 15 Sep 2005 15:22:32 +0100
Source: request-tracker3.4
Binary: rt3.4-apache2 request-tracker3.4 rt3.4-apache rt3.4-clients
Architecture: source all
Version: 3.4.4-1
Distribution: unstable
Urgency: low
Maintainer: Stephen Quinney <[EMAIL PROTECTED]>
Changed-By: Stephen Quinney <[EMAIL PROTECTED]>
Description: 
 request-tracker3.4 - Extensible trouble-ticket tracking system
 rt3.4-apache - Apache 1 specific files for request-tracker3.4
 rt3.4-apache2 - Apache 2 specific files for request-tracker3.4
 rt3.4-clients - Mail gateway and command-line interface to request-tracker3.4
Closes: 272630 304614 313826 317271 317875 327232 327929
Changes: 
 request-tracker3.4 (3.4.4-1) unstable; urgency=low
 .
   * New upstream release, closes: #327929.
   * Now supports mod_perl2 again, closes: #317271.
   * Version 3.4.3 introduced an updated German translation,
     closes: #304614, #313826
   * Added new dependency on libtext-wikiformat-perl.
   * Updated minimum dependencies on libhtml-mason-perl to (>= 1.31) and
     libxml-rss-perl to (>= 1.05).
   * Increased minimum recommended postgresql version to 7.4 as some of the
     upgrade scripts do not work with earlier versions.
   * Switched to my debian.org email address.
   * Split out the apache related dependencies config files and
     dependencies into two new packages rt3.4-apache and rt3.4-apache2. The
     main package requires that one of these is installed.
   * Removed notes in README.Debian about request-tracker3.4 only being
     beta quality. It is now much better than the 3.0 or 3.2 series and is
     the only one in sid and etch.
   * Added a comment to README.Debian for rt3.4-clients about turning on
     pipe_transport for exim4, closes: #272630, #327232, #317875.
Files: 
 382ef8f47e8bd2886d6d2950a23a3993 682 misc optional 
request-tracker3.4_3.4.4-1.dsc
 769d77eea39006be643cbd2db4820ba3 1393950 misc optional 
request-tracker3.4_3.4.4.orig.tar.gz
 c6fe5d99469cf0b223a6a31a88e08993 21565 misc optional 
request-tracker3.4_3.4.4-1.diff.gz
 07ccc743464783e72aec8bb18d09b0b7 1179840 misc optional 
request-tracker3.4_3.4.4-1_all.deb
 5cd195eef99307b33adb6df92cebafe5 110602 misc optional 
rt3.4-clients_3.4.4-1_all.deb
 43ada42c22d5c14cc87385b303a27f99 85108 misc optional 
rt3.4-apache_3.4.4-1_all.deb
 5ff929166fa1f8179e020982a8c76c09 85040 misc optional 
rt3.4-apache2_3.4.4-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDKYddITGblEwaW+URAnIDAKCmXZZClOgTpHXsojY0fVYu1EztjQCeK3b1
kzUTwA01VWRmiiGpa5nbp8I=
=LQNZ
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to