summaryrefslogtreecommitdiff
path: root/net/GeoIP/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/GeoIP/patches/patch-ab')
-rw-r--r--net/GeoIP/patches/patch-ab21
1 files changed, 14 insertions, 7 deletions
diff --git a/net/GeoIP/patches/patch-ab b/net/GeoIP/patches/patch-ab
index 87710ff2ca4..17ac27c8266 100644
--- a/net/GeoIP/patches/patch-ab
+++ b/net/GeoIP/patches/patch-ab
@@ -1,13 +1,16 @@
-$NetBSD: patch-ab,v 1.1 2005/10/22 21:50:59 heinz Exp $
+$NetBSD: patch-ab,v 1.2 2008/02/06 23:27:02 heinz Exp $
---- man/geoiplookup.1.orig Thu Nov 21 07:12:38 2002
+ - synchronize man page with the code
+ http://sourceforge.net/tracker/index.php?func=detail&aid=1888355&group_id=66844&atid=515957
+
+--- man/geoiplookup.1.orig 2007-08-16 01:09:29.000000000 +0200
+++ man/geoiplookup.1
-@@ -3,23 +3,19 @@
+@@ -3,27 +3,24 @@
.SH NAME
geoiplookup - look up country using IP Address or hostname
.SH SYNOPSIS
-geoiplookup [-lv] <ipaddress|hostname>
-+geoiplookup [-v] <ipaddress|hostname>
++geoiplookup [-d directory] [-f filename] [-v] <ipaddress|hostname>
.SH DESCRIPTION
geoiplookup uses the GeoIP library and database to find the Country
that an IP address or hostname originates from.
@@ -18,15 +21,19 @@ $NetBSD: patch-ab,v 1.1 2005/10/22 21:50:59 heinz Exp $
+.I geoiplookup 80.60.233.195
.PP
-will find the Country that 80.60.233.195 originates from, in long format:
--.PP
--.I Netherlands
+will find the Country that 80.60.233.195 originates from, in the following format:
.PP
+-.I Netherlands
+.I NL, Netherlands
+ .PP
.SH OPTIONS
+ .IP "-f"
+ Specify a custom path to a single GeoIP datafile.
+ .IP "-d"
+ Specify a custom directory containing GeoIP datafile(s). By default geoiplookup looks in DATADIR
-.IP "-l"
-By default, geoiplookup returns the ISO 3166 country code. By specifying this
-option, geoiplookup prints the long format, namely the full country name.
.IP "-v"
- Lists the GeoIP database date and build number.
+ Lists the date and build number for the GeoIP datafile(s).
.SH AUTHOR