<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>103663</bug_id>
          
          <creation_ts>2005-08-24 22:54 0000</creation_ts>
          <short_desc>net-www/awstats with geoip support</short_desc>
          <delta_ts>2007-05-29 00:21:02 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jakub@gentoo.org</reporter>
          <assigned_to>web-apps@gentoo.org</assigned_to>
          <cc>jesse@boldandbusted.com</cc>
    
    <cc>jesus.de.santos@gmail.com</cc>
    
    <cc>ka0ttic@gentoo.org</cc>
    
    <cc>kevin.bowling@kev009.com</cc>
    
    <cc>n.murino@theorematica.it</cc>
    
    <cc>rockoo@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-08-24 22:54:46 0000</bug_when>
            <thetext>Browsing through the gentoo forums, I&apos;ve found that many people don&apos;t know how
to enable Geo-IP plugin in awstats. Since there&apos;s a global &quot;geoip&quot; use flag, why
not use it? ;)



Reproducible: Always
Steps to Reproduce:




Dropped alpha, amd64, hppa and mips due to new dependencies. 

dev-perl/Geo-IP needs testing on alpha, amd64, hppa and mips and depends on
dev-libs/geoip, which needs testing on mips.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-08-24 22:55:50 0000</bug_when>
            <thetext>Created an attachment (id=66838)
patch against net-www/awstats-6.5 ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2005-08-24 23:25:31 0000</bug_when>
            <thetext>I can test on amd64, hppa, and mips.  CC&apos;ing alpha@.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-08-26 05:52:30 0000</bug_when>
            <thetext>dev-perl/Geo-IP doesn&apos;t build on alpha... I&apos;m trying to figure out why.

In case you were going to ask, use.mask&apos;ing geoip in alpha is not a solution
since dev-libs/geoip works fine (I&apos;m using it with webalizer)

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-09-22 07:39:48 0000</bug_when>
            <thetext>dev-libs/geoip *should* &apos;append-flags -fPIC&apos; that way everything works fine on
alpha. And follows the policy :)

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-09-22 08:00:48 0000</bug_when>
            <thetext>netmon herd, could you please fix dev-libs/geoip ebuild per comment #4? Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-10-30 04:20:48 0000</bug_when>
            <thetext>Ok, just a ping here, this is a really important issue. Please netmon, fix geoip.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-11-13 12:50:49 0000</bug_when>
            <thetext>Sorry Ferdy - added -fPIC to  geoip-1.3.13.ebuild and geoip-1.3.14.ebuild 
 
I&apos;ll need to revisit this - I&apos;m sure its an automake problem somewhere. 
  
  </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-11-26 04:14:36 0000</bug_when>
            <thetext>Thanks for fixing that one.

I marked dev-perl/Geo-IP ~alpha. If we have to do something else, please CC us
again.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-12-28 15:39:45 0000</bug_when>
            <thetext>Just a post-Xmas ping :=)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>custom_basses@yahoo.com</who>
            <bug_when>2006-01-04 06:04:00 0000</bug_when>
            <thetext>which Geo::IP ebuild should we be building for use with AWStats 6.5?  there are a few in portage:

dev-perl/Geo-IP
dev-libs/geoip
dev-python/geoip-python
dev-ruby/net-geoip

in my case, i installed using dev-libs/geoip and ran into a famous error:


&lt;snip&gt;
Error: Plugin load for plugin &apos;geoip&apos; failed with return code: Error: Can&apos;t locate Geo/IP/PurePerl.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i586-linux-thread-multi /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl . /usr/share/webapps/awstats/6.5/hostroot/cgi-bin/lib /usr/share/webapps/awstats/6.5/hostroot/cgi-bin/plugins) at (eval 3) line 1.

Setup (&apos;/etc/awstats/awstats.ahrends.conf&apos; file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in &apos;docs&apos; directory).
&lt;/snip&gt;

i ended up manually building GeoIP following the directions at maxmind.com.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-01-04 13:30:24 0000</bug_when>
            <thetext>(In reply to comment #10)
&gt; which Geo::IP ebuild should we be building for use with AWStats 6.5?  there are

Why don&apos;t you see/use the ebuild patch in Comment #1?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jesus.de.santos@gmail.com</who>
            <bug_when>2006-02-03 09:57:24 0000</bug_when>
            <thetext>Uncomenting the line

#LoadPlugin = &quot;geoip GEOIP_STANDARD&quot;

is not enough. You should add /usr/share/GeoIP/GeoIP.dat. I thinl that this should be added to the default conf too.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jesus.de.santos@gmail.com</who>
            <bug_when>2006-02-03 09:59:24 0000</bug_when>
            <thetext>(In reply to comment #12)
&gt; Uncomenting the line
&gt; 
&gt; #LoadPlugin = &quot;geoip GEOIP_STANDARD&quot;
&gt; 
&gt; is not enough. You should add /usr/share/GeoIP/GeoIP.dat. I thinl that this
&gt; should be added to the default conf too.
&gt; 

Oops. Sorry, I see that this change have been already submitted.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kevin.bowling@kev009.com</who>
            <bug_when>2007-03-24 10:39:32 0000</bug_when>
            <thetext>So, is the bug solved?  I&apos;d be more than happy to take this one on if not.  Such a trivial merge should have taken place 2 years ago!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chtekk@gentoo.org</who>
            <bug_when>2007-05-17 15:01:52 0000</bug_when>
            <thetext>I&apos;m not the maintainer of this and I don&apos;t use it...
Best regards, CHTEKK.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rl03@gentoo.org</who>
            <bug_when>2007-05-29 00:21:02 0000</bug_when>
            <thetext>done in 6.6.  not sure why this took so long.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>66838</attachid>
            <date>2005-08-24 22:55 0000</date>
            <desc>patch against net-www/awstats-6.5 ebuild</desc>
            <filename>awstats-6.5.ebuild.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGF3c3RhdHMtNi41LmVidWlsZC5vcmlnCTIwMDUtMDgtMTMgMDk6MzY6MDMuMDAwMDAwMDAw
ICswMjAwCisrKyBhd3N0YXRzLTYuNS5lYnVpbGQJMjAwNS0wOC0yNSAwNzo0NDozNi4wMDAwMDAw
MDAgKzAyMDAKQEAgLTEwLDEzICsx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