Bug 129124 - net/GeoIP: Maxmind now charges for update
Summary: net/GeoIP: Maxmind now charges for update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-24 09:40 UTC by Bogdan Culibrk
Modified: 2008-12-01 21:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan Culibrk 2008-11-24 09:40:01 UTC
It appears that Maxmind now charges[1] for geoip database file.
Update script shipped with port zeros existing database since source URL is no longer existing.


[1] http://www.maxmind.com/app/country

Fix: 

There's GeoLite Country database at: http://www.maxmind.com/download/geoip/database/tmp/GeoIP.dat.gz

Maybe fix a script and/or add more care for not zeroing existing database?
How-To-Repeat: Run /usr/local/bin/geoipupdate.sh
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-11-24 11:26:38 UTC
State Changed
From-To: open->feedback

Which port does this PR belong to?
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2008-11-24 12:53:41 UTC
State Changed
From-To: feedback->open

Applies to net/GeoIP.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2008-11-24 14:14:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2008-11-25 11:03:08 UTC
Maintainer of net/GeoIP,

Please note that PR ports/129124 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/129124

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 5 Edwin Groothuis freebsd_committer freebsd_triage 2008-11-25 11:03:09 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 6 Dennis Herrmann 2008-11-25 17:29:05 UTC
thanks Bogdan Culibrk for the information about the source ;)

--- geoipupdate.sh.diff begins here ---
Index: files/geoipupdate.sh
===================================================================
RCS file: /home/pcvs/ports/net/GeoIP/files/geoipupdate.sh,v
retrieving revision 1.1
diff -u -r1.1 geoipupdate.sh
--- files/geoipupdate.sh        3 Jul 2008 21:52:34 -0000       1.1
+++ files/geoipupdate.sh        25 Nov 2008 17:16:02 -0000
@@ -1,5 +1,5 @@
 #!/bin/sh
 cd /tmp
-fetch http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz
+fetch http://64.246.48.99/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
 gunzip GeoIP.dat.gz
 mv -f GeoIP.dat /usr/local/share/GeoIP
--- geoipupdate.sh.diff ends here ---


-- 
+-------------------+-----------------------------+
|  PGP: 0x65181EA0  |  Mail: adox[at]MCX2[dot]org |
+-------------------+-----------------------------+
|   Durch die Macht der Wahrheit, habe ich als    |
|   Lebender das Universum erobert.               |
+-------------------------------------------------+
Comment 7 Martin Wilke freebsd_committer freebsd_triage 2008-12-01 21:15:51 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 8 dfilter service freebsd_committer freebsd_triage 2008-12-01 21:15:57 UTC
miwi        2008-12-01 21:15:44 UTC

  FreeBSD ports repository

  Modified files:
    net/GeoIP            Makefile 
    net/GeoIP/files      geoipupdate.sh 
  Log:
  - Fix Country database url
  
  PR:             129124
  Submitted by:   Bogdan Culibrk <bc@default.rs>
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.40      +1 -0      ports/net/GeoIP/Makefile
  1.2       +1 -1      ports/net/GeoIP/files/geoipupdate.sh
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"