summaryrefslogtreecommitdiff
path: root/net/GeoIP/patches
diff options
context:
space:
mode:
authorheinz <heinz>2005-10-22 21:50:58 +0000
committerheinz <heinz>2005-10-22 21:50:58 +0000
commitdcf2b6e39c38f5be28f18461f2d89db1f7e47533 (patch)
treeaf3c2aeda2b2116c78fbf67c27a4223ba51cb89c /net/GeoIP/patches
parentca705954c4ee91e24344dd548132a92f14f464a0 (diff)
downloadpkgsrc-dcf2b6e39c38f5be28f18461f2d89db1f7e47533.tar.gz
According to the man page, geoiplookup has an option "-l". In reality
this is not true, so I added the same patch Debian is using for the man page.
Diffstat (limited to 'net/GeoIP/patches')
-rw-r--r--net/GeoIP/patches/patch-ab32
1 files changed, 32 insertions, 0 deletions
diff --git a/net/GeoIP/patches/patch-ab b/net/GeoIP/patches/patch-ab
new file mode 100644
index 00000000000..87710ff2ca4
--- /dev/null
+++ b/net/GeoIP/patches/patch-ab
@@ -0,0 +1,32 @@
+$NetBSD: patch-ab,v 1.1 2005/10/22 21:50:59 heinz Exp $
+
+--- man/geoiplookup.1.orig Thu Nov 21 07:12:38 2002
++++ man/geoiplookup.1
+@@ -3,23 +3,19 @@
+ .SH NAME
+ geoiplookup - look up country using IP Address or hostname
+ .SH SYNOPSIS
+-geoiplookup [-lv] <ipaddress|hostname>
++geoiplookup [-v] <ipaddress|hostname>
+ .SH DESCRIPTION
+ geoiplookup uses the GeoIP library and database to find the Country
+ that an IP address or hostname originates from.
+ .PP
+ For example
+ .PP
+-.I geoiplookup -l 80.60.233.195
++.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 NL, Netherlands
+ .SH OPTIONS
+-.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.
+ .SH AUTHOR