Re: fixing #494683
Hi
On Thu, Oct 23, 2008 at 5:36 PM, Adeodato Simó <dato@net.com.org.es> wrote:
> We normally don't give t-p-u tickets without seeing a diff first. Though
> I guess you'll just add libapache2-reload-perl to the Recommends? (In
> tha case uploading is ok.)
that would not help because libapache2-reload-perl is already
recommended through libapache2-mod-perl2. The actual patch is attached
now. Is it okay to upload?
Cheers,
Torsten
--
http://twerner.blogspot.com
Index: debian/changelog
===================================================================
--- debian/changelog (Revision 370)
+++ debian/changelog (Revision 371)
@@ -1,3 +1,10 @@
+otrs2 (2.2.7-2lenny1) testing-proposed-updates; urgency=low
+
+ * Do not load the module Apache2::Reload if it is not installed.
+ (Closes: #494683)
+
+ -- Torsten Werner <twerner@debian.org> Thu, 23 Oct 2008 06:36:29 +0200
+
otrs2 (2.2.7-2) unstable; urgency=high
* Disable the patch permissions.diff again because OTRS can't work with such
Index: debian/patches/apache.diff
===================================================================
--- debian/patches/apache.diff (Revision 370)
+++ debian/patches/apache.diff (Revision 371)
@@ -1,8 +1,23 @@
-Index: otrs2-2.2.0~beta2/scripts/apache2-httpd-new.include.conf
+Index: otrs2-2.2.7/scripts/apache2-httpd-new.include.conf
===================================================================
---- otrs2-2.2.0~beta2.orig/scripts/apache2-httpd-new.include.conf 2007-04-17 00:16:07.000000000 +0200
-+++ otrs2-2.2.0~beta2/scripts/apache2-httpd-new.include.conf 2007-04-17 00:18:28.000000000 +0200
-@@ -25,11 +25,16 @@
+--- otrs2-2.2.7.orig/scripts/apache2-httpd-new.include.conf 2008-10-23 06:22:35.000000000 +0200
++++ otrs2-2.2.7/scripts/apache2-httpd-new.include.conf 2008-10-23 06:30:33.000000000 +0200
+@@ -13,9 +13,11 @@
+ # load all otrs modules
+ Perlrequire /usr/share/otrs/scripts/apache2-perl-startup.pl
+
+- # Apache::Reload - Reload Perl Modules when Changed on Disk
+- PerlModule Apache2::Reload
+- PerlInitHandler Apache2::Reload
++ <IfModule Apache2/Reload.pm>
++ # Apache::Reload - Reload Perl Modules when Changed on Disk
++ PerlModule Apache2::Reload
++ PerlInitHandler Apache2::Reload
++ </IfModule>
+ PerlModule Apache2::RequestRec
+
+ # set mod_perl2 options
+@@ -25,11 +27,16 @@
ErrorDocument 404 /otrs/index.pl
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Reply to: