[sr-dev] git:3.1: geoip: extend docs after discussion with Francesco Castellano

Henning Westerholt henning.westerholt at 1und1.de
Mon May 16 15:59:08 CEST 2011


Module: sip-router
Branch: 3.1
Commit: 5c6f5de622ccb873701119f1e3f6e1559d56aa84
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5c6f5de622ccb873701119f1e3f6e1559d56aa84

Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date:   Mon May 16 15:48:53 2011 +0200

geoip: extend docs after discussion with Francesco Castellano
(cherry picked from commit b280f89b3ac4f97c3cad1487961509bae893f656)

---

 modules/geoip/README              |    8 ++++++++
 modules/geoip/doc/geoip_admin.xml |   11 ++++++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/modules/geoip/README b/modules/geoip/README
index 11c8c73..40bb01b 100644
--- a/modules/geoip/README
+++ b/modules/geoip/README
@@ -75,6 +75,14 @@ Chapter 1. Admin Guide
    and its derivatives as libgeoip, and probably by other distributions as
    well.
 
+   Debian Linux squeeze includes already a database as dependency, but as
+   this contain the wrong data, it will not work correctly with the
+   module. More acurate, the module expect the GeoIP City Edition, and
+   will not work with the GeoIP Country Edition. In newer Debian Linux
+   releases the package geoip-database-contrib should contain the
+   necessary database. You can download the Lite edition of the DB from
+   here.
+
    This module exports a new class of pseudo-variables - $gip(pvc=>key) -
    to enable access to the results of a query to the database.
 
diff --git a/modules/geoip/doc/geoip_admin.xml b/modules/geoip/doc/geoip_admin.xml
index b8c9f17..f1df9ca 100644
--- a/modules/geoip/doc/geoip_admin.xml
+++ b/modules/geoip/doc/geoip_admin.xml
@@ -28,7 +28,7 @@
 	</para>
 	<para>
 		This database itself can be obtained on a free or commercial basis 
-		<ulink url="http://www.maxmind.com/app/ip-location">here</ulink>.  The 
+		<ulink url="http://www.maxmind.com/app/ip-location">here</ulink>. The 
 		library that interfaces with the Max Mind API, as well as scripts to
 		automate downloading of the on-disk version of the open-source 
 		database is also packaged by the Debian Linux distribution and 
@@ -36,6 +36,15 @@
 		other distributions as well.
 	</para>
 	<para>
+		Debian Linux squeeze includes already a database as dependency, but as
+		this contain the wrong data, it will not work correctly with the module.
+		More acurate, the module expect the <emphasis>GeoIP City Edition</emphasis>,
+		and will not work with the <emphasis>GeoIP Country Edition</emphasis>. In
+		newer Debian Linux releases the package <emphasis>geoip-database-contrib</emphasis>
+		should contain the necessary database. You can download the Lite edition
+		of the DB from <ulink url="http://www.maxmind.com/app/geolitecity">here</ulink>.
+	</para>
+	<para>
 		This module exports a new class of pseudo-variables -
 		$gip(pvc=&gt;key) - to enable access to the results of a query to the
 		database.




More information about the sr-dev mailing list