<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>29932</bug_id>
          
          <creation_ts>2014-03-31 20:24:03 +0400</creation_ts>
          <short_desc>Исправить в perl-Apache-Session зависимость на apache-mod_perl-base</short_desc>
          <delta_ts>2014-04-01 17:29:28 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>perl-Apache-Session</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="viy">viy</assigned_to>
          <cc>at</cc>
    
    <cc>cas</cc>
    
    <cc>crux</cc>
    
    <cc>ender</cc>
    
    <cc>lav</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>qa_viy</cc>
    
    <cc>shaba</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>145895</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2014-03-31 20:24:03 +0400</bug_when>
    <thetext>Сейчас perl-Apache-Session собирается так, что получает зависимость на 
perl(Apache.pm) (= 1.270), то есть пакет apache-mod_perl-base (для первого апача).

К Fedora имеется такой патч, который, видимо, устранит проблему:

 - make Session::Generate::ModUsertrack work with MP2.

--- Apache-Session-1.89/lib/Apache/Session/Generate/ModUsertrack.pm     2001-10-11 10:43:32.000000000 -0700
+++ Apache-Session-1.89/lib/Apache/Session/Generate/ModUsertrack.pm.mp2 2005-09-07 16:01:11.798128185 -0700
@@ -15,8 +15,14 @@

     if (!exists $cookies{$name} &amp;&amp; MOD_PERL) {
        # no cookies, try to steal from notes
-       require Apache;
-       my $r = Apache-&gt;request;
+       my $r;
+       if ( $ENV{MOD_PERL_API_VERION} == 2 ) {
+           require Apache2::RequestUtil;
+           $r = Apache2::RequestUtil-&gt;request;
+       } else {
+           require Apache;
+           $r = Apache-&gt;request;
+       }
        %cookies = CGI::Cookie-&gt;parse($r-&gt;notes(&apos;cookie&apos;));
     }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145896</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2014-03-31 21:06:51 +0400</bug_when>
    <thetext>perl-Apache-Session-1.92-alt2 -&gt; sisyphus:

* Mon Mar 31 2014 Igor Vlasenko &lt;viy@altlinux&gt; 1.92-alt2
- dropped dependency on apache-mod_perl-base (closes: #29932)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>